Function at 0x444ae0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cf13c
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x50e008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x230]
mov esi, dword [ebp + 0xc]
push eax
mov dword [ebp - 0x24c], esi
call fcn.00402770
mov dword [ebp - 4], 0
mov edx, 0x4ed19c
lea ecx, [ebp - 0x230]
call fcn.004125f0
mov edx, 0x4ed19c
lea ecx, [ebp - 0x230]
call fcn.00412670
lea ecx, [ebp - 0x230]
call fcn.00402650
test al, al
je 0x444b63
xor bl, bl
jmp 0x444c93
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004a2d80
add esp, 0xc
lea eax, [ebp - 0x218]
lea ecx, [ebp - 0x230]
push 0x104
push eax
call fcn.00405b00
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x444bbd
lea eax, [ebp - 0x218]
push eax
call fcn.00402a80
add esp, 4
lea ecx, [ebp - 0x230]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00402870
lea ecx, [ebp - 0x230]
call fcn.004095a0
lea ecx, [ebp - 0x230]
test al, al
je 0x444bfc
call fcn.00402850
cmp esi, eax
je 0x444bf5
call fcn.00402850
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x444bea
mov edx, dword [eax]
push dword [eax + 0x10]
mov ecx, esi
push edx
call fcn.00402870
mov bl, 1
jmp 0x444c93
call fcn.00402850
mov edi, eax
mov esi, edi
mov ebx, dword [edi + 0x14]
cmp ebx, 8
jb 0x444c0f
mov esi, dword [edi]
mov edx, dword [edi + 0x10]
test edx, edx
je 0x444c32
mov ecx, edx
mov eax, esi
nop word [eax + eax]
cmp word [eax], 0x22
je 0x444cc5
add eax, 2
sub ecx, 1
jne 0x444c20
mov ebx, dword [ebp - 0x24c]
lea ecx, [ebp - 0x248]
xor esi, esi
call fcn.00402750
mov byte [ebp - 4], 2
nop dword [eax]
cmp dword [edi + 0x14], 8
lea ecx, [esi + 1]
mov edx, edi
jb 0x444c5d
mov edx, dword [edi]
mov eax, dword [edi + 0x10]
cmp ecx, eax
jae 0x444c82
lea esi, [edx + ecx*2]
sub eax, ecx
je 0x444c82
nop dword [eax + eax]
cmp word [esi], 0x20
je 0x444d6d
add esi, 2
sub eax, 1
jne 0x444c70
xor bl, bl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.00402290
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00402290
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a100a
mov esp, ebp
pop ebp
ret 8
test eax, eax
je 0x444c32
sub eax, esi
cmp eax, 2
jae 0x444c32
mov esi, edi
cmp ebx, 8
jb 0x444ce1
mov esi, dword [edi]
cmp edx, 1
jbe 0x444c32
lea ecx, [edx - 1]
lea eax, [esi + 2]
test ecx, ecx
je 0x444c32
cmp word [eax], 0x22
je 0x444d0b
add eax, 2
sub ecx, 1
jne 0x444cf8
jmp 0x444c32
test eax, eax
je 0x444c32
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x444c32
dec eax
lea ecx, [ebp - 0x230]
push eax
push 1
lea eax, [ebp - 0x264]
push eax
call fcn.004088a0
mov byte [ebp - 4], 1
mov ebx, dword [ebp - 0x24c]
mov ecx, ebx
push eax
call fcn.004026c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x264]
call fcn.00402290
mov ecx, ebx
call fcn.004095a0
test al, al
je 0x444c38
mov bl, 1
jmp 0x444c93
test esi, esi
je 0x444c82
sub esi, edx
sar esi, 1
cmp esi, 0xffffffff
je 0x444c82
cmp esi, ecx
je 0x444c50
push esi
push 0
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x230]
call fcn.004088a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x248]
push eax
call fcn.004026c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x264]
call fcn.00402290
lea eax, [ebp - 0x248]
push eax
call fcn.00407bf0
add esp, 4
test al, al
jne 0x444e36
push str..exe
call fcn.00402a80
add esp, 4
lea ecx, [ebp - 0x248]
push eax
push str..exe
call fcn.00407190
lea eax, [ebp - 0x248]
push eax
call fcn.00407bf0
add esp, 4
test al, al
je 0x444c50
lea ecx, [ebp - 0x248]
call fcn.00402850
cmp ebx, eax
je 0x444e2f
call fcn.00402850
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x444e24
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, ebx
call fcn.00402870
mov bl, 1
jmp 0x444c84
lea ecx, [ebp - 0x248]
call fcn.00402850
cmp ebx, eax
je 0x444e2f
call fcn.00402850
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x444e54
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, ebx
call fcn.00402870
mov bl, 1
jmp 0x444c84