Function at 0x430e70
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x599cc5
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x6031c0]
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.00432590
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.0x430ecf.4
mov ecx, dword [ebp - 0x30]
jmp dword [ecx*4 + 0x4318fc]
mov edx, dword [ebp + 0xc]
cmp dword [edx + 4], 0xc350
jne 0x430f13
mov eax, dword [ebp + 8]
push eax
call fcn.00431b40
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x430f13
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.00430a80
add esp, 0x10
jmp 0x430f98
push 0
lea ecx, [ebp - 0x34]
call fcn.00430190
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.00412170
add esp, 4
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
push eax
push 0x5aef40
push 0x2710
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp - 0x9c]
lea ecx, [ebp - 0x34]
call fcn.00402790
test eax, eax
je 0x430f89
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.00430490
jmp case.0x430ecf.4
push 0
lea ecx, [ebp - 0x14]
call fcn.00430190
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.00412170
add esp, 4
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
push eax
push 0x5aef50
push 0x271f
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp - 0xa4]
lea ecx, [ebp - 0x14]
call fcn.00402790
test eax, eax
je 0x431013
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.00430490
jmp case.0x430ecf.4
push 0
lea ecx, [ebp - 0x18]
call fcn.00430190
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.00412170
add esp, 4
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
push eax
push 0x5aef40
push 0x2710
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp - 0xac]
lea ecx, [ebp - 0x18]
call fcn.00402790
test eax, eax
je 0x4310ae
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 0x43112d
push 0
lea ecx, [ebp - 0x38]
call fcn.00430190
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.00412170
add esp, 4
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
push eax
push 0x5aef60
push 0x2715
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp - 0xb4]
lea ecx, [ebp - 0x38]
call fcn.00402790
test eax, eax
je 0x431121
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.00430490
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00430490
jmp case.0x430ecf.4
push 0
lea ecx, [ebp - 0x1c]
call fcn.00430190
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.00412170
add esp, 4
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
push eax
push 0x5aef60
push 0x2715
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp - 0xbc]
lea ecx, [ebp - 0x1c]
call fcn.00402790
test eax, eax
je 0x4311c6
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.00430490
jmp case.0x430ecf.4
mov eax, dword [ebp + 0xc]
cmp dword [eax + 4], 0xc368
jne 0x431291
push 0
lea ecx, [ebp - 0x3c]
call fcn.00430190
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.00412170
add esp, 4
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xc0]
push ecx
push 0x5aef70
push 0x271a
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 0xc4]
lea ecx, [ebp - 0x3c]
call fcn.00402790
test eax, eax
je 0x43126f
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.00430940
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00430490
jmp 0x431403
mov edx, dword [ebp + 0xc]
cmp dword [edx + 4], 0xc352
jne 0x43137e
push 0
lea ecx, [ebp - 0x20]
call fcn.00430190
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.00412170
add esp, 4
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
push eax
push 0x5aef50
push 0x271f
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp - 0xcc]
lea ecx, [ebp - 0x20]
call fcn.00402790
test eax, eax
je 0x43136a
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 0x43136a
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 0x43136a
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.00430a80
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00430490
jmp 0x431403
push 0
lea ecx, [ebp - 0x40]
call fcn.00430190
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.00412170
add esp, 4
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd8]
push eax
push 0x5aef70
push 0x271a
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp - 0xdc]
lea ecx, [ebp - 0x40]
call fcn.00402790
test eax, eax
je 0x4313f4
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.00430490
jmp case.0x430ecf.4
mov eax, dword [ebp + 0xc]
cmp dword [eax + 4], 0xc368
jne 0x4314b0
push 0
lea ecx, [ebp - 0x44]
call fcn.00430190
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.00412170
add esp, 4
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 0xe0]
push ecx
push 0x5aef70
push 0x271a
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 0xe4]
lea ecx, [ebp - 0x44]
call fcn.00402790
test eax, eax
je 0x43148e
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.00430940
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00430490
jmp 0x431628
mov edx, dword [ebp + 0xc]
cmp dword [edx + 4], 0xc352
jne 0x43159a
push 0
lea ecx, [ebp - 0x24]
call fcn.00430190
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.00412170
add esp, 4
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xe8]
push eax
push 0x5aef50
push 0x271f
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp - 0xec]
lea ecx, [ebp - 0x24]
call fcn.00402790
test eax, eax
je 0x431586
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 0x431586
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 0x431586
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.00430a80
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00430490
jmp 0x431628
push 0
lea ecx, [ebp - 0x48]
call fcn.00430190
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.00412170
add esp, 4
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xf8]
push eax
push 0x5aef70
push 0x271a
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp - 0xfc]
lea ecx, [ebp - 0x48]
call fcn.00402790
test eax, eax
je 0x431619
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.00430490
jmp case.0x430ecf.4
mov eax, dword [ebp + 0xc]
cmp dword [eax + 4], 0xc353
jne 0x43165e
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 0x4317d0
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.00405e30
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.004094e0
push 0
lea ecx, [ebp - 0x4c]
call fcn.00430190
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.00412170
add esp, 4
mov dword [ebp - 0x10c], eax
mov edx, dword [ebp - 0x10c]
push edx
push 0x5aef80
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 0x43178f
lea ecx, [ebp - 0x28]
call fcn.004308d0
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 0x43176f
mov dword [ebp - 0x8c], 1
jmp 0x431779
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 0x4317b5
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.00432c10
add esp, 8
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x4c]
call fcn.00430490
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004023e0
jmp case.0x430ecf.4
push 0
lea ecx, [ebp - 0x2c]
call fcn.00430190
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.00412170
add esp, 4
mov dword [ebp - 0x118], eax
mov edx, dword [ebp - 0x118]
push edx
push 0x5aef90
push 0x2714
mov eax, dword [ebp + 8]
push eax
call dword [ebp - 0x11c]
lea ecx, [ebp - 0x2c]
call fcn.00402790
test eax, eax
je 0x431879
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 [0x5aefa0]
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.00430490
jmp case.0x430ecf.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.00430a80
add esp, 0x10
jmp case.0x430ecf.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.00430a80
add esp, 0x10
jmp case.0x430ecf.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.0040ab10
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret