Function at 0x45e900
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x48d617
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x274]
mov dword fs:[0], eax
mov esi, edx
cmp dword [ecx + 0x10], 0
mov eax, dword [esp + 0x284]
mov dword [esp + 0x18], eax
jne 0x45e955
xor al, al
jmp 0x45ecef
xor eax, eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
mov dword [esp + 0x27c], eax
cmp dword [ecx + 0x14], 8
jb 0x45e98d
mov eax, dword [ecx]
jmp 0x45e98f
mov eax, ecx
cmp word [eax], 0x40
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jne 0x45ea26
mov eax, dword [ecx + 0x10]
mov edx, ecx
dec eax
lea ecx, [esp + 0x34]
push eax
call fcn.0040d2b0
add esp, 4
mov ebx, eax
mov byte [esp + 0x27c], 1
lea eax, [esp + 0x1c]
cmp eax, ebx
je 0x45e9f5
cmp dword [esp + 0x30], 8
jb 0x45e9d4
push dword [esp + 0x1c]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x30], 7
push ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
call fcn.00402ee0
mov byte [esp + 0x27c], 0
cmp dword [esp + 0x48], 8
jb 0x45ea0d
push dword [esp + 0x34]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
jmp 0x45ea3a
lea eax, [esp + 0x1c]
cmp eax, ecx
je 0x45ea3a
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.004030c0
xor eax, eax
push 0x206
push eax
mov word [esp + 0x6c], ax
lea eax, [esp + 0x6e]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea ecx, [esp + 0x64]
cmp dword [esp + 0x30], 8
lea eax, [esp + 0x1c]
cmovae eax, dword [esp + 0x1c]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ebp, eax
cmp ebp, 0x104
jb 0x45eae6
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0047fefc
add esp, 4
lea ecx, [esp + 0x1c]
cmp dword [esp + 0x30], 8
mov ebx, eax
cmovae ecx, dword [esp + 0x1c]
push ebp
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp word [ebx], 0
jne 0x45eab9
xor ecx, ecx
jmp 0x45eacf
mov ecx, ebx
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45eac0
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [esp + 0x24]
call fcn.00402f90
push ebx
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
add esp, 4
jmp 0x45eb1e
cmp word [esp + 0x64], 0
jne 0x45eaf2
xor ecx, ecx
jmp 0x45eb0f
lea ecx, [esp + 0x64]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45eb00
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x24]
call fcn.00402f90
push 2
xor eax, eax
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
lea ecx, [esp + 0x50]
push 0x499d88
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], 0
mov word [esp + 0x54], ax
call fcn.00402f90
mov byte [esp + 0x27c], 2
lea eax, [esp + 0x4c]
push dword [esp + 0x5c]
cmp dword [esp + 0x64], 8
lea ecx, [esp + 0x20]
push 0
cmovae eax, dword [esp + 0x54]
push eax
call fcn.0040c100
mov ebp, eax
cmp ebp, 0xffffffff
je 0x45ec6f
push ebp
lea edx, [esp + 0x20]
lea ecx, [esp + 0x38]
call fcn.0040d230
add esp, 4
mov ebx, eax
mov byte [esp + 0x27c], 3
cmp esi, ebx
je 0x45ebcd
cmp dword [esi + 0x14], 8
jb 0x45ebb2
push dword [esi]
call edi
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
push ebx
mov word [esi], ax
call fcn.00402ee0
mov byte [esp + 0x27c], 2
cmp dword [esp + 0x48], 8
jb 0x45ebe5
push dword [esp + 0x34]
call edi
add esp, 4
mov esi, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
test esi, esi
je 0x45ec6b
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x1c]
sub eax, dword [esp + 0x5c]
lea ecx, [esp + 0x34]
sub eax, ebp
push eax
call fcn.0040d2b0
add esp, 4
mov byte [esp + 0x27c], 4
lea ecx, [esp + 0x34]
cmp dword [esp + 0x48], 8
cmovae ecx, dword [esp + 0x34]
call fcn.0040cb90
mov dword [esi], eax
mov byte [esp + 0x27c], 2
cmp dword [esp + 0x48], 8
jb 0x45ec54
push dword [esp + 0x34]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
mov bl, 1
jmp 0x45ec8c
lea eax, [esp + 0x1c]
cmp esi, eax
je 0x45ec83
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.004030c0
mov esi, dword [esp + 0x18]
test esi, esi
sete bl
mov byte [esp + 0x27c], 0
cmp dword [esp + 0x60], 8
jb 0x45eca4
push dword [esp + 0x4c]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], 0
mov word [esp + 0x4c], ax
mov dword [esp + 0x27c], 0xffffffff
cmp dword [esp + 0x30], 8
jb 0x45ecd6
push dword [esp + 0x1c]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x30], 7
mov word [esp + 0x1c], ax
mov al, bl
mov dword [esp + 0x2c], 0
mov ecx, dword [esp + 0x274]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.0047ff74
add esp, 0x26c
ret