Function at 0x4497d9
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
push esi
push edi
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x449821
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x50], eax
push 0
push 0xda3
push 0x6cd2
push 0x3b3b
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
push 0xf55
call fcn.00449bed
add esp, 0x1c
jmp 0x449af9
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x68], eax
push 4
lea ecx, [ebp - 0x74]
call fcn.0042fb3f
mov dword [ebp - 8], 4
mov dword [ebp - 0xc], 0
jmp 0x449854
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 4
jge 0x44986a
push dword [ebp - 0xc]
lea ecx, [ebp - 0x74]
call fcn.0042fc2d
or dword [eax], 0xffffffff
jmp 0x44984d
mov dword [ebp - 0xc], 0
jmp 0x44987a
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
jge 0x44988d
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x58], 0xffffffff
jmp 0x449873
mov dword [ebp - 8], 0
jmp 0x44989d
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 3
jg 0x449a4e
mov dword [ebp - 0x38], 1
push dword [ebp - 8]
lea ecx, [ebp - 0x74]
call fcn.0042fc2d
cmp dword [eax], 0
je 0x4498d8
push dword [ebp - 8]
lea ecx, [ebp - 0x74]
call fcn.0042fc2d
cmp dword [eax], 0
je 0x4498d3
jmp 0x449a4e
jmp 0x449a49
push 3
lea ecx, [ebp - 0x80]
call fcn.0042fb3f
mov dword [ebp - 0x10], 0
jmp 0x4498f2
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x44990b
push dword [ebp - 0x10]
lea ecx, [ebp - 0x80]
call fcn.0042fc2d
mov dword [eax], 1
jmp 0x4498eb
push dword [ebp - 8]
lea ecx, [ebp - 0x74]
call fcn.0042fc2d
mov dword [ebp - 0x1c], eax
push 0
lea ecx, [ebp - 0x80]
call fcn.0042fc2d
mov ecx, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0
je 0x449a30
push dword [ebp - 8]
lea ecx, [ebp - 0x74]
call fcn.0042fc2d
cmp dword [eax], 0
je 0x4499a4
push 1
lea ecx, [ebp - 0x74]
call fcn.0042fc2d
mov esi, eax
push dword [ebp - 8]
lea ecx, [ebp - 0x74]
call fcn.0042fc2d
imul eax, dword [eax], 0x7a67
sub eax, 0x5fdb93c8
mov edi, eax
imul edi, dword [esi]
push dword [ebp - 8]
lea ecx, [ebp - 0x74]
call fcn.0042fc2d
cmp edi, dword [eax]
je 0x449985
mov dword [ebp - 0x20], 1
jmp 0x449989
and dword [ebp - 0x20], 0
push dword [ebp - 8]
lea ecx, [ebp - 0x74]
call fcn.0042fc2d
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [eax]
jg 0x4499a4
mov dword [ebp - 0x24], 1
jmp 0x4499a8
and dword [ebp - 0x24], 0
push dword [ebp - 8]
lea ecx, [ebp - 0x74]
call fcn.0042fc2d
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax]
jne 0x4499c3
mov dword [ebp - 0x28], 1
jmp 0x4499c7
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x28], eax
jle 0x4499d8
mov dword [ebp - 0x2c], 1
jmp 0x4499dc
and dword [ebp - 0x2c], 0
cmp dword [ebp - 0x2c], 0xffffffff
jae 0x4499eb
mov dword [ebp - 0x30], 1
jmp 0x4499ef
and dword [ebp - 0x30], 0
push 2
lea ecx, [ebp - 0x74]
call fcn.0042fc2d
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [eax]
jle 0x449a09
mov dword [ebp - 0x34], 1
jmp 0x449a0d
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x34], eax
jge 0x449a1f
push 2
lea ecx, [ebp - 0x80]
call fcn.0042fc2d
or eax, 0xffffffff
sub eax, dword [ebp - 0x38]
je 0x449a30
mov dword [ebp - 0x3c], 1
jmp 0x449a34
and dword [ebp - 0x3c], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x3c]
mov dword [ebp + eax - 0x58], ecx
lea ecx, [ebp - 0x80]
call fcn.0042fc11
jmp 0x449896
lea ecx, [ebp - 0x74]
call fcn.0042fc11
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x14], 0
jmp 0x449a73
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x449a86
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x60], 0x5cc25bfc
jmp 0x449a6c
cmp dword [ebp - 0x18], 0
jne 0x449a92
cmp dword [ebp - 0x18], 0xfffffff9
je 0x449aa1
cmp dword [ebp - 0x18], 0
je 0x449aa1
mov dword [ebp - 0x40], 1
jmp 0x449aa5
and dword [ebp - 0x40], 0
cmp dword [ebp - 0x18], 0xffffffff
jle 0x449ab4
mov dword [ebp - 0x44], 1
jmp 0x449ab8
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x44]
jl 0x449ac9
mov dword [ebp - 0x48], 1
jmp 0x449acd
and dword [ebp - 0x48], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x48]
mov dword [ebp + eax - 0x60], ecx
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x449aec
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov eax, dword [ebp - 0x64]
push dword [eax]
mov ecx, dword [ebp - 0x68]
call fcn.0044a4b8
pop edi
pop esi
mov esp, ebp
pop ebp
ret