Function at 0x40a910
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov dword [ebp - 0x2c], 0x3b3
mov dword [ebp - 0x18], 0x6e
mov dword [ebp - 0x34], 0x365
mov dword [ebp - 0x20], 0x3bc
mov dword [ebp - 4], 0x1c9
mov dword [ebp - 0x78], 0x20e
mov dword [ebp - 0x28], 0x2eb
mov dword [ebp - 0x30], 0x231
mov dword [ebp - 0x54], 0x307
mov dword [ebp - 0x4c], 0x4b
mov dword [ebp - 0x50], 0x10f
mov dword [ebp - 0x5c], 0x25c
mov dword [ebp - 0x14], 0x116
mov dword [ebp - 0x7c], 0x170
mov dword [ebp - 0x80], 0x2bb
mov dword [ebp - 0x10], 0x17e
mov dword [ebp - 0x58], 0x343
mov dword [ebp - 0x64], 0xd1
mov dword [ebp - 0x60], 0x315
mov dword [ebp - 0x1c], 0xc2
mov dword [ebp - 0x48], 0x1ea
mov dword [ebp - 0x68], 0x179
mov dword [ebp - 0x3c], 0xd6
mov dword [ebp - 0x24], 0x1c6
mov dword [ebp - 8], 0x2ed
mov eax, dword [ebp - 0x1c]
sub eax, 0x4f
push eax
mov ecx, dword [ebp - 0x20]
sub ecx, 0x9a
push ecx
mov edx, dword [ebp - 0x28]
sub edx, 0x294
push edx
mov eax, dword [ebp - 0x30]
sub eax, 0xc0
push eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x15e
push ecx
mov edx, dword [ebp - 0x10]
add edx, 0x254
push edx
mov eax, dword [ebp - 4]
sub eax, 0x1aa
push eax
mov ecx, dword [ebp - 0x48]
add ecx, 0x31
push ecx
mov edx, dword [ebp - 0x4c]
add edx, 0x107
push edx
mov eax, dword [ebp - 0x20]
sub eax, 0x19e
push eax
call fcn.0040f8a0
add esp, 0x28
mov ecx, dword [ebp - 0x2c]
sub ecx, 0x154
push ecx
mov edx, dword [ebp - 0x50]
add edx, 0x18b
push edx
mov eax, dword [ebp - 0x24]
sub eax, 0x29
push eax
mov ecx, dword [ebp - 8]
sub ecx, 0x5c
push ecx
mov edx, dword [ebp - 0x54]
add edx, 0x50
push edx
mov eax, dword [ebp - 8]
add eax, 0x22
push eax
mov ecx, dword [ebp - 0x58]
sub ecx, 0x1c0
push ecx
mov edx, dword [ebp - 8]
add edx, 0x6b
push edx
call fcn.0041f0d0
add esp, 0x20
mov dword [ebp - 0xc], 0
jmp 0x40aa86
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x5c]
sub ecx, 0x188fc
cmp dword [ebp - 0xc], ecx
jge 0x40aaa5
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov edx, dword [ebp - 4]
sub edx, 1
mov dword [ebp - 4], edx
jmp 0x40aa7d
mov eax, dword [ebp - 0x24]
sub eax, 0x153
push eax
mov ecx, dword [ebp - 0x28]
add ecx, 0x37
push ecx
mov edx, dword [ebp - 0x2c]
sub edx, 0x35c
push edx
mov eax, dword [ebp - 0x34]
sub eax, 0x1f4
push eax
mov ecx, dword [ebp - 0x60]
sub ecx, 0xf5
push ecx
mov edx, dword [ebp - 0x10]
add edx, 0x254
push edx
mov eax, dword [ebp - 0x30]
sub eax, 0x212
push eax
mov ecx, dword [ebp + 0x10]
add ecx, 0x106
push ecx
mov edx, dword [ebp - 0x10]
sub edx, 0x2c
push edx
mov eax, dword [ebp - 0x18]
add eax, 0x1b0
push eax
call fcn.0040f8a0
add esp, 0x28
mov ecx, dword [ebp - 0x64]
cmp ecx, dword [ebp - 0x68]
jge 0x40ab18
mov dword [ebp - 0x38], 1
jmp 0x40ab1f
mov dword [ebp - 0x38], 0
mov edx, dword [ebp + 8]
xor edx, dword [ebp - 0x34]
or edx, dword [ebp - 0x38]
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp + 8]
sub eax, 1
mov dword [ebp + 8], eax
cmp dword [ebp - 0x6c], 0
je 0x40ab93
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 4]
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 0x14]
sub eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x70]
cmp ecx, dword [ebp - 0x74]
jge 0x40ab63
mov dword [ebp - 0x40], 1
jmp 0x40ab6a
mov dword [ebp - 0x40], 0
mov edx, dword [ebp - 0x78]
cmp edx, dword [ebp - 0x3c]
jge 0x40ab7b
mov dword [ebp - 0x44], 1
jmp 0x40ab82
mov dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x40]
and eax, dword [ebp - 0x44]
je 0x40ab93
mov ecx, dword [ebp - 0x18]
sub ecx, 1
mov dword [ebp - 0x18], ecx
mov esp, ebp
pop ebp
ret