Function at 0x419db5
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x168
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.004abe40
sub esp, 4
call fcn.004aba60
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
lea eax, [ebp + 8]
mov dword [esp], eax
call fcn.004abd50
sub esp, 8
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x34], 0
call fcn.004abac0
call fcn.004abac0
call fcn.004abb10
mov dword [esp + 4], eax
mov dword [esp], 0x1f4
call fcn.004a9a90
sub esp, 8
call fcn.004abb10
mov dword [esp + 4], eax
lea eax, [ebp - 0x148]
mov dword [esp], eax
call fcn.004abc90
sub esp, 8
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x38], eax
mov edx, str.WINDIR
mov dword [esp + 8], 0x1f4
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], eax
mov dword [esp], edx
call sub.KERNEL32.dll_GetEnvironmentVariableW
sub esp, 0xc
mov dword [ebp - 0x3c], eax
cmp dword [ebp + 0xc], 0
jle 0x419f18
call fcn.004abac0
call fcn.004abac0
mov eax, dword [ebp - 0x148]
mov dword [esp], eax
call fcn.004abde0
sub esp, 4
mov dword [esp], 0xb29a08
call fcn.004abde0
sub esp, 4
call fcn.004abf70
call fcn.004abc10
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], 0x2e
mov edx, dword [ebp - 0x40]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], str.wmic.exe
call fcn.004856cb
sub esp, 0x10
mov dword [ebp - 0x44], eax
call fcn.004abb70
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x18], eax
jmp 0x419fb2
nop
call fcn.004abac0
call fcn.004abac0
mov eax, dword [ebp - 0x148]
mov dword [esp], eax
call fcn.004abde0
sub esp, 4
mov dword [esp], 0xb29a08
call fcn.004abde0
sub esp, 4
call fcn.004abf70
call fcn.004abac0
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004abde0
sub esp, 4
mov dword [esp], str.__FORMAT:List
call fcn.004abde0
sub esp, 4
call fcn.004abf70
call fcn.004abc10
mov dword [ebp - 0x48], eax
call fcn.004abc10
mov dword [ebp - 0x4c], eax
mov dword [esp + 0xc], 0x2e
mov eax, dword [ebp - 0x4c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x48]
mov dword [esp + 4], eax
mov dword [esp], str.wmic.exe
call fcn.004856cb
sub esp, 0x10
mov dword [ebp - 0x50], eax
call fcn.004abb70
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x18], eax
mov dword [esp + 4], 0xb40a9c
lea eax, [ebp - 0x144]
mov dword [esp], eax
call fcn.004abe80
sub esp, 8
cmp dword [ebp - 0x18], 0
je 0x41a61a
mov dword [esp], 0x9c40
call fcn.004ab360
sub esp, 4
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call fcn.00485c30
sub esp, 4
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0x41a5a9
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call fcn.00485c77
sub esp, 4
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x41a52a
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x60]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call fcn.00485d2c
sub esp, 0xc
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x41a52d
call fcn.004abac0
call fcn.004abac0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x68], eax
call fcn.004abb10
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x18
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x68]
mov dword [esp], eax
call fcn.004ab560
sub esp, 0x10
call fcn.004abb10
mov dword [esp + 4], eax
lea eax, [ebp - 0x14c]
mov dword [esp], eax
call fcn.004abc90
sub esp, 8
mov eax, dword [ebp - 0x14c]
mov dword [esp], eax
call fcn.004a96c0
sub esp, 4
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
add eax, 4
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov dword [esp], eax
call fcn.004ab360
sub esp, 4
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x14c]
mov dword [esp], eax
call fcn.004a96c0
sub esp, 4
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
add eax, 4
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
mov dword [esp], eax
call fcn.004ab360
sub esp, 4
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x14c]
mov dword [esp + 0xc], 0x18
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x84]
mov dword [esp], eax
call fcn.004ab3a0
sub esp, 0x10
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp], eax
call sub.USER32.dll_OemToCharW
sub esp, 8
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14c]
mov dword [esp], eax
call fcn.004a96c0
sub esp, 4
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
add eax, 4
cmp dword [ebp - 0x14], eax
jg 0x41a450
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x14]
add eax, edx
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
mov dword [esp], eax
call fcn.004ab4f0
sub esp, 4
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0xa0], 0x6a
jne 0x41a223
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x14]
add eax, edx
add eax, 1
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
mov dword [esp], eax
call fcn.004ab4f0
sub esp, 4
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0x26
jne 0x41a226
nop
mov dword [ebp - 0x1c], 1
jmp 0x41a227
nop
jmp 0x41a227
nop
cmp dword [ebp - 0x1c], 0
je 0x41a28c
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x14]
add eax, edx
mov dword [ebp - 0xac], eax
mov dword [esp + 4], 0xd
mov eax, dword [ebp - 0xac]
mov dword [esp], eax
call fcn.004ab500
sub esp, 8
mov dword [ebp - 0xb0], eax
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x14]
add eax, edx
add eax, 1
mov dword [ebp - 0xb4], eax
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xb4]
mov dword [esp], eax
call fcn.004ab500
sub esp, 8
mov dword [ebp - 0xb8], eax
jmp 0x41a28d
nop
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x14]
add eax, edx
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
mov dword [esp], eax
call fcn.004ab4f0
sub esp, 4
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0x20], 0
cmp dword [ebp - 0xc0], 0xd9
jne 0x41a300
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x14]
add eax, edx
add eax, 1
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
mov dword [esp], eax
call fcn.004ab4f0
sub esp, 4
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0x25
jne 0x41a303
nop
mov dword [ebp - 0x20], 1
jmp 0x41a304
nop
jmp 0x41a304
nop
cmp dword [ebp - 0x20], 0
je 0x41a369
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x14]
add eax, edx
mov dword [ebp - 0xcc], eax
mov dword [esp + 4], 0xa
mov eax, dword [ebp - 0xcc]
mov dword [esp], eax
call fcn.004ab500
sub esp, 8
mov dword [ebp - 0xd0], eax
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x14]
add eax, edx
add eax, 1
mov dword [ebp - 0xd4], eax
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xd4]
mov dword [esp], eax
call fcn.004ab500
sub esp, 8
mov dword [ebp - 0xd8], eax
jmp 0x41a36a
nop
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x14]
add eax, edx
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
mov dword [esp], eax
call fcn.004ab4f0
sub esp, 4
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0x24], 0
cmp dword [ebp - 0xe0], 0xcb
jne 0x41a3dd
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x14]
add eax, edx
add eax, 1
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xe4]
mov dword [esp], eax
call fcn.004ab4f0
sub esp, 4
mov dword [ebp - 0xe8], eax
cmp dword [ebp - 0xe8], 0x25
jne 0x41a3e0
nop
mov dword [ebp - 0x24], 1
jmp 0x41a3e1
nop
jmp 0x41a3e1
nop
cmp dword [ebp - 0x24], 0
je 0x41a446
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x14]
add eax, edx
mov dword [ebp - 0xec], eax
mov dword [esp + 4], 9
mov eax, dword [ebp - 0xec]
mov dword [esp], eax
call fcn.004ab500
sub esp, 8
mov dword [ebp - 0xf0], eax
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x14]
add eax, edx
add eax, 1
mov dword [ebp - 0xf4], eax
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xf4]
mov dword [esp], eax
call fcn.004ab500
sub esp, 8
mov dword [ebp - 0xf8], eax
jmp 0x41a447
nop
add dword [ebp - 0x14], 1
jmp 0x41a18a
nop
call fcn.004abac0
call fcn.004abac0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0xfc], eax
call fcn.004abb10
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xfc]
mov dword [esp], eax
call fcn.004ab510
sub esp, 8
call fcn.004abb10
mov dword [esp + 4], eax
lea eax, [ebp - 0x14c]
mov dword [esp], eax
call fcn.004abc90
sub esp, 8
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x100]
mov dword [esp], eax
call fcn.004ab380
sub esp, 4
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x108]
mov dword [esp], eax
call fcn.004ab380
sub esp, 4
mov dword [ebp - 0x10c], eax
call fcn.004abac0
mov eax, dword [ebp - 0x144]
mov dword [esp], eax
call fcn.004abde0
sub esp, 4
mov eax, dword [ebp - 0x14c]
mov dword [esp], eax
call fcn.004abde0
sub esp, 4
mov dword [esp], 0xb3511c
call fcn.004abde0
sub esp, 4
call fcn.004abb10
mov dword [esp + 4], eax
lea eax, [ebp - 0x144]
mov dword [esp], eax
call fcn.004abc90
sub esp, 8
jmp 0x41a52e
nop
jmp 0x41a52e
nop
mov eax, dword [0xb40414]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x110]
mov dword [esp], eax
call fcn.0049196f
sub esp, 4
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
je 0x41a59d
call fcn.00491b17
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0
je 0x41a56f
jmp 0x41a559
nop
call fcn.00491b17
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
je 0x41a586
jmp 0x41a570
nop
call fcn.00491b17
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0
je 0x41a5a3
jmp 0x41a587
nop
jmp 0x419fed
nop
jmp 0x419fed
nop
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x124]
mov dword [esp], eax
call fcn.004ab380
sub esp, 4
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call fcn.00485d86
sub esp, 4
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
je 0x41a61d
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call fcn.00485cb6
sub esp, 4
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call fcn.00485cd6
sub esp, 4
mov dword [ebp - 0x134], eax
jmp 0x41a61e
nop
jmp 0x41a61e
nop
cmp dword [ebp + 0xc], 0
jle 0x41a659
call fcn.004abac0
call fcn.004abac0
call fcn.004abb10
mov ecx, eax
mov eax, dword [ebp - 0x10]
cdq
mov dword [esp + 8], ecx
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004a92f0
sub esp, 0xc
call fcn.004abc10
mov dword [ebp - 0xc], eax
jmp 0x41a7e4
nop
call fcn.004abac0
call fcn.004abac0
call fcn.004abb10
mov edx, dword [ebp - 0x144]
mov dword [esp + 8], eax
mov dword [esp + 4], 0xb1a220
mov dword [esp], edx
call fcn.004a9d70
sub esp, 0xc
call fcn.004abb10
mov dword [esp + 4], eax
lea eax, [ebp - 0x144]
mov dword [esp], eax
call fcn.004abc90
sub esp, 8
call fcn.004abac0
call fcn.004abac0
call fcn.004abb10
mov edx, dword [ebp - 0x144]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xb1a140
mov dword [esp + 4], 0xb2eafc
mov dword [esp], edx
call fcn.004aa0d0
sub esp, 0x10
call fcn.004abb10
mov dword [esp + 4], eax
lea eax, [ebp - 0x144]
mov dword [esp], eax
call fcn.004abc90
sub esp, 8
mov eax, dword [ebp - 0x144]
mov dword [esp + 4], 0xb2eafc
mov dword [esp], eax
call fcn.004a95c0
sub esp, 8
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x138], 0
je 0x41a719
nop
jmp 0x41a6a0
nop
call fcn.004abac0
call fcn.004abac0
call fcn.004abb10
mov edx, dword [ebp - 0x144]
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov dword [esp], edx
call fcn.004a9ae0
sub esp, 0xc
call fcn.004abf70
call fcn.004abbc0
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x140], 0xb1a140
mov eax, dword [ebp - 0x13c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x140]
mov dword [esp], eax
call fcn.004abda0
test eax, eax
je 0x41a7c4
call fcn.004abac0
call fcn.004abac0
call fcn.004abb10
mov edx, dword [ebp - 0x144]
mov dword [esp + 8], eax
mov dword [esp + 4], 2
mov dword [esp], edx
call fcn.004a9670
sub esp, 0xc
call fcn.004abb10
mov dword [esp + 4], eax
lea eax, [ebp - 0x144]
mov dword [esp], eax
call fcn.004abc90
sub esp, 8
jmp 0x41a7c5
nop
call fcn.004abac0
mov eax, dword [ebp - 0x144]
mov dword [esp], eax
call fcn.004abde0
sub esp, 4
call fcn.004abc10
mov dword [ebp - 0xc], eax
nop
mov eax, dword [ebp - 0x144]
mov dword [esp], eax
call fcn.004abd20
sub esp, 4
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004abd20
sub esp, 4
mov eax, dword [ebp - 0x148]
mov dword [esp], eax
call fcn.004abd20
sub esp, 4
mov eax, dword [ebp - 0x14c]
mov dword [esp], eax
call fcn.004abd20
sub esp, 4
mov eax, dword [ebp - 0xc]
leave
ret 0xc