Function at 0x431a10
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59aad5
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x6041c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], 0
mov eax, dword [ebp + 8]
push eax
call fcn.00433130
add esp, 4
mov dword [ebp - 0x100], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
sub eax, 1
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xc
ja case.0x431a6f.4
mov ecx, dword [ebp - 0x30]
jmp dword [ecx*4 + 0x43249c]
mov edx, dword [ebp + 0xc]
cmp dword [edx + 4], 0xc350
jne 0x431ab3
mov eax, dword [ebp + 8]
push eax
call fcn.004326e0
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x431ab3
push 0
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x2c]
push eax
mov ecx, dword [edx + 0x28]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00431620
add esp, 0x10
jmp 0x431b38
push 0
lea ecx, [ebp - 0x34]
call fcn.00430d30
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x38]
mov dword [ebp - 0x9c], edx
lea ecx, [ebp - 0x34]
call fcn.00402300
push eax
call fcn.00412cf0
add esp, 4
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
push eax
push 0x5afe98
push 0x2710
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp - 0x9c]
lea ecx, [ebp - 0x34]
call fcn.00402790
test eax, eax
je 0x431b29
lea ecx, [ebp - 0x34]
call fcn.00402790
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x54]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x54]
push ecx
mov edx, dword [eax + 0xc]
call edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00431030
jmp case.0x431a6f.4
push 0
lea ecx, [ebp - 0x14]
call fcn.00430d30
mov dword [ebp - 4], 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x38]
mov dword [ebp - 0xa4], edx
lea ecx, [ebp - 0x14]
call fcn.00402300
push eax
call fcn.00412cf0
add esp, 4
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
push eax
push 0x5afea8
push 0x271f
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp - 0xa4]
lea ecx, [ebp - 0x14]
call fcn.00402790
test eax, eax
je 0x431bb3
lea ecx, [ebp - 0x14]
call fcn.00402790
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 0x58]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x58]
push ecx
mov edx, dword [eax + 0xc]
call edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00431030
jmp case.0x431a6f.4
push 0
lea ecx, [ebp - 0x18]
call fcn.00430d30
mov dword [ebp - 4], 2
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x38]
mov dword [ebp - 0xac], edx
lea ecx, [ebp - 0x18]
call fcn.00402300
push eax
call fcn.00412cf0
add esp, 4
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
push eax
push 0x5afe98
push 0x2710
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp - 0xac]
lea ecx, [ebp - 0x18]
call fcn.00402790
test eax, eax
je 0x431c4e
lea ecx, [ebp - 0x18]
call fcn.00402790
mov dword [ebp - 0x5c], eax
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x5c]
push ecx
mov edx, dword [eax + 0xc]
call edx
jmp 0x431ccd
push 0
lea ecx, [ebp - 0x38]
call fcn.00430d30
mov byte [ebp - 4], 3
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x38]
mov dword [ebp - 0xb4], edx
lea ecx, [ebp - 0x38]
call fcn.00402300
push eax
call fcn.00412cf0
add esp, 4
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
push eax
push 0x5afeb8
push 0x2715
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp - 0xb4]
lea ecx, [ebp - 0x38]
call fcn.00402790
test eax, eax
je 0x431cc1
lea ecx, [ebp - 0x38]
call fcn.00402790
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 0x60]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x60]
push ecx
mov edx, dword [eax + 0xc]
call edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.00431030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00431030
jmp case.0x431a6f.4
push 0
lea ecx, [ebp - 0x1c]
call fcn.00430d30
mov dword [ebp - 4], 4
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x38]
mov dword [ebp - 0xbc], edx
lea ecx, [ebp - 0x1c]
call fcn.00402300
push eax
call fcn.00412cf0
add esp, 4
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
push eax
push 0x5afeb8
push 0x2715
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp - 0xbc]
lea ecx, [ebp - 0x1c]
call fcn.00402790
test eax, eax
je 0x431d66
lea ecx, [ebp - 0x1c]
call fcn.00402790
mov dword [ebp - 0x64], eax
mov edx, dword [ebp - 0x64]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x64]
push ecx
mov edx, dword [eax + 0x10]
call edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00431030
jmp case.0x431a6f.4
mov eax, dword [ebp + 0xc]
cmp dword [eax + 4], 0xc368
jne 0x431e31
push 0
lea ecx, [ebp - 0x3c]
call fcn.00430d30
mov dword [ebp - 4], 5
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x38]
mov dword [ebp - 0xc4], eax
lea ecx, [ebp - 0x3c]
call fcn.00402300
push eax
call fcn.00412cf0
add esp, 4
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xc0]
push ecx
push 0x5afec8
push 0x271a
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 0xc4]
lea ecx, [ebp - 0x3c]
call fcn.00402790
test eax, eax
je 0x431e0f
lea ecx, [ebp - 0x3c]
call fcn.00402790
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x68]
push edx
mov eax, dword [ecx + 0xc]
call eax
push 1
mov ecx, dword [ebp + 8]
push ecx
call fcn.004314e0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00431030
jmp 0x431fa3
mov edx, dword [ebp + 0xc]
cmp dword [edx + 4], 0xc352
jne 0x431f1e
push 0
lea ecx, [ebp - 0x20]
call fcn.00430d30
mov dword [ebp - 4], 6
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x38]
mov dword [ebp - 0xcc], edx
lea ecx, [ebp - 0x20]
call fcn.00402300
push eax
call fcn.00412cf0
add esp, 4
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
push eax
push 0x5afea8
push 0x271f
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp - 0xcc]
lea ecx, [ebp - 0x20]
call fcn.00402790
test eax, eax
je 0x431f0a
lea ecx, [ebp - 0x20]
call fcn.00402790
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0xd0], ecx
lea edx, [ebp - 0xd4]
push edx
mov eax, dword [ebp - 0x6c]
push eax
call dword [ebp - 0xd0]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0xd4], 1
je 0x431f0a
lea ecx, [ebp - 0x20]
call fcn.00402790
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x70]
push eax
mov ecx, dword [edx + 0xc]
call ecx
test eax, eax
je 0x431f0a
push 0
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x2c]
push eax
mov ecx, dword [edx + 0x28]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00431620
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00431030
jmp 0x431fa3
push 0
lea ecx, [ebp - 0x40]
call fcn.00430d30
mov dword [ebp - 4], 7
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x38]
mov dword [ebp - 0xdc], edx
lea ecx, [ebp - 0x40]
call fcn.00402300
push eax
call fcn.00412cf0
add esp, 4
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd8]
push eax
push 0x5afec8
push 0x271a
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp - 0xdc]
lea ecx, [ebp - 0x40]
call fcn.00402790
test eax, eax
je 0x431f94
lea ecx, [ebp - 0x40]
call fcn.00402790
mov dword [ebp - 0x74], eax
mov edx, dword [ebp - 0x74]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x74]
push ecx
mov edx, dword [eax + 0xc]
call edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00431030
jmp case.0x431a6f.4
mov eax, dword [ebp + 0xc]
cmp dword [eax + 4], 0xc368
jne 0x432050
push 0
lea ecx, [ebp - 0x44]
call fcn.00430d30
mov dword [ebp - 4], 8
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x38]
mov dword [ebp - 0xe4], eax
lea ecx, [ebp - 0x44]
call fcn.00402300
push eax
call fcn.00412cf0
add esp, 4
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 0xe0]
push ecx
push 0x5afec8
push 0x271a
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 0xe4]
lea ecx, [ebp - 0x44]
call fcn.00402790
test eax, eax
je 0x43202e
lea ecx, [ebp - 0x44]
call fcn.00402790
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x78]
push edx
mov eax, dword [ecx + 0xc]
call eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.004314e0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00431030
jmp 0x4321c8
mov edx, dword [ebp + 0xc]
cmp dword [edx + 4], 0xc352
jne 0x43213a
push 0
lea ecx, [ebp - 0x24]
call fcn.00430d30
mov dword [ebp - 4], 9
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x38]
mov dword [ebp - 0xec], edx
lea ecx, [ebp - 0x24]
call fcn.00402300
push eax
call fcn.00412cf0
add esp, 4
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xe8]
push eax
push 0x5afea8
push 0x271f
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp - 0xec]
lea ecx, [ebp - 0x24]
call fcn.00402790
test eax, eax
je 0x432126
lea ecx, [ebp - 0x24]
call fcn.00402790
mov dword [ebp - 0x7c], eax
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0xf0], ecx
lea edx, [ebp - 0xf4]
push edx
mov eax, dword [ebp - 0x7c]
push eax
call dword [ebp - 0xf0]
cmp dword [ebp - 0xf4], 0
je 0x432126
lea ecx, [ebp - 0x24]
call fcn.00402790
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x80]
push eax
mov ecx, dword [edx + 0xc]
call ecx
test eax, eax
je 0x432126
push 0
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x2c]
push eax
mov ecx, dword [edx + 0x28]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00431620
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00431030
jmp 0x4321c8
push 0
lea ecx, [ebp - 0x48]
call fcn.00430d30
mov dword [ebp - 4], 0xa
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x38]
mov dword [ebp - 0xfc], edx
lea ecx, [ebp - 0x48]
call fcn.00402300
push eax
call fcn.00412cf0
add esp, 4
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xf8]
push eax
push 0x5afec8
push 0x271a
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp - 0xfc]
lea ecx, [ebp - 0x48]
call fcn.00402790
test eax, eax
je 0x4321b9
lea ecx, [ebp - 0x48]
call fcn.00402790
mov dword [ebp - 0x84], eax
mov edx, dword [ebp - 0x84]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x84]
push ecx
mov edx, dword [eax + 0x14]
call edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00431030
jmp case.0x431a6f.4
mov eax, dword [ebp + 0xc]
cmp dword [eax + 4], 0xc353
jne 0x4321fe
mov ecx, dword [ebp + 0xc]
add ecx, 0x14
call fcn.00402790
push eax
push 0
push 0x14d
mov ecx, dword [ebp - 0x100]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x432370
mov edx, dword [ebp + 0xc]
add edx, 0x14
push edx
lea ecx, [ebp - 0x28]
call fcn.00401fd0
mov dword [ebp - 4], 0xb
push 0x104
lea ecx, [ebp - 0x28]
call fcn.00405a80
mov dword [ebp - 0x104], eax
mov ecx, dword [ebp + 0xc]
add ecx, 0x14
call fcn.00402790
mov dword [ebp - 0x108], eax
push 0x104
mov eax, dword [ebp - 0x104]
push eax
mov ecx, dword [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x28]
call fcn.00408ec0
push 0
lea ecx, [ebp - 0x4c]
call fcn.00430d30
mov byte [ebp - 4], 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0x110], ecx
lea ecx, [ebp - 0x4c]
call fcn.00402300
push eax
call fcn.00412cf0
add esp, 4
mov dword [ebp - 0x10c], eax
mov edx, dword [ebp - 0x10c]
push edx
push 0x5afed8
push 0x2712
mov eax, dword [ebp + 8]
push eax
call dword [ebp - 0x110]
mov byte [ebp - 0xd], 0
lea ecx, [ebp - 0x4c]
call fcn.00402790
test eax, eax
je 0x43232f
lea ecx, [ebp - 0x28]
call fcn.00431470
mov dword [ebp - 0x90], eax
lea ecx, [ebp - 0x4c]
call fcn.00402790
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x114], eax
mov ecx, dword [ebp - 0x90]
push ecx
mov edx, dword [ebp - 0x88]
push edx
call dword [ebp - 0x114]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x43230f
mov dword [ebp - 0x8c], 1
jmp 0x432319
mov dword [ebp - 0x8c], 0
mov al, byte [ebp - 0x8c]
mov byte [ebp - 0xd], al
mov ecx, dword [ebp - 0x90]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
movzx edx, byte [ebp - 0xd]
test edx, edx
je 0x432355
push ecx
mov ecx, esp
mov dword [ebp - 0x124], esp
lea eax, [ebp - 0x28]
push eax
call fcn.00401fd0
mov ecx, dword [ebp + 8]
push ecx
call fcn.004337b0
add esp, 8
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x4c]
call fcn.00431030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004023e0
jmp case.0x431a6f.4
push 0
lea ecx, [ebp - 0x2c]
call fcn.00430d30
mov dword [ebp - 4], 0xd
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0x11c], ecx
lea ecx, [ebp - 0x2c]
call fcn.00402300
push eax
call fcn.00412cf0
add esp, 4
mov dword [ebp - 0x118], eax
mov edx, dword [ebp - 0x118]
push edx
push 0x5afee8
push 0x2714
mov eax, dword [ebp + 8]
push eax
call dword [ebp - 0x11c]
lea ecx, [ebp - 0x2c]
call fcn.00402790
test eax, eax
je 0x432419
lea ecx, [ebp - 0x2c]
call fcn.00402790
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x94]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x120], eax
sub esp, 8
movsd xmm0, qword [0x5afef8]
movsd qword [esp], xmm0
sub esp, 8
xorps xmm0, xmm0
movsd qword [esp], xmm0
mov ecx, dword [ebp - 0x94]
push ecx
call dword [ebp - 0x120]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00431030
jmp case.0x431a6f.4
push 0
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x2c]
push eax
mov ecx, dword [edx + 0x28]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00431620
add esp, 0x10
jmp case.0x431a6f.4
push 1
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x2c]
push ecx
mov edx, dword [eax + 0x28]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00431620
add esp, 0x10
jmp case.0x431a6f.4
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx + 0x3c]
push edx
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 0x38]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0040a620
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret