Function at 0x45488c
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 0xc]
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 - 0x40], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x10], 0
call fcn.004abac0
call fcn.004abac0
call fcn.004abb10
mov dword [esp + 4], eax
mov dword [esp], 0x3e8
call fcn.004a9a90
sub esp, 8
call fcn.004abb10
mov dword [esp + 4], eax
lea eax, [ebp - 0x40]
mov dword [esp], eax
call fcn.004abc90
sub esp, 8
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x14], eax
mov edx, str.WINDIR
mov dword [esp + 8], 0x3e8
mov eax, dword [ebp - 0x14]
mov dword [esp + 4], eax
mov dword [esp], edx
call sub.KERNEL32.dll_GetEnvironmentVariableW
sub esp, 0xc
mov dword [ebp - 0x18], eax
mov dword [esp + 4], 0xb40a9c
lea eax, [ebp - 0x44]
mov dword [esp], eax
call fcn.004abe80
sub esp, 8
call fcn.004abac0
call fcn.004abac0
mov eax, dword [ebp - 0x40]
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 dword [esp], str.__c
call fcn.004abde0
sub esp, 4
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004abde0
sub esp, 4
call fcn.004abf70
call fcn.004abac0
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call fcn.004abde0
sub esp, 4
mov dword [esp], str.System32cmd.exe
call fcn.004abde0
sub esp, 4
call fcn.004abc10
mov dword [ebp - 0x1c], eax
call fcn.004abc10
mov dword [ebp - 0x20], eax
call fcn.004abc10
mov dword [ebp - 0x24], eax
mov dword [esp + 0xc], 0xe
mov eax, dword [ebp - 0x24]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call fcn.004856cb
sub esp, 0x10
mov dword [ebp - 0x28], eax
call fcn.004abb70
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x454afe
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.00485c30
sub esp, 4
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x454aea
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.00485c77
sub esp, 4
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x454ae4
call fcn.004abac0
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
call fcn.004abde0
sub esp, 4
call fcn.004abac0
call fcn.004abac0
call fcn.004abac0
call fcn.004abac0
call fcn.004abb10
mov dword [esp + 8], eax
mov dword [esp + 4], 0x18
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.00485c9d
sub esp, 0xc
call fcn.004abc10
mov dword [ebp - 0x34], eax
call fcn.004abb10
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
call fcn.0042086c
sub esp, 8
mov dword [ebp - 0x38], eax
call fcn.004abb10
mov dword [esp], 0xb3511c
call fcn.004abde0
sub esp, 4
call fcn.004abb10
mov dword [esp + 4], eax
lea eax, [ebp - 0x44]
mov dword [esp], eax
call fcn.004abc90
sub esp, 8
jmp 0x454a16
nop
jmp 0x454a16
nop
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.00485cd6
sub esp, 4
mov dword [ebp - 0x3c], eax
jmp 0x454aff
nop
call fcn.004abac0
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
call fcn.004abde0
sub esp, 4
call fcn.004abc10
mov dword [ebp - 0xc], eax
nop
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004abd20
sub esp, 4
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call fcn.004abd20
sub esp, 4
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
call fcn.004abd20
sub esp, 4
mov eax, dword [ebp - 0xc]
leave
ret 8