Function at 0x448d40
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4932f8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4c4074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp + 0xc]
call fcn.004072b0
xor bl, bl
mov byte [ebp - 0xd], bl
call fcn.00403d50
mov ecx, eax
test ecx, ecx
je 0x449088
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 1
call fcn.00403d50
mov ecx, eax
test ecx, ecx
je 0x449092
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x1c], edi
mov byte [ebp - 4], 3
xor ecx, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], ecx
mov eax, dword [eax]
cmp dword [eax - 0xc], ecx
jle 0x449031
nop word [eax + eax]
test ecx, ecx
js 0x44909c
cmp ecx, dword [eax - 0xc]
jg 0x44909c
movzx ecx, word [eax + ecx*2]
mov eax, ecx
sub eax, 0x25
je 0x448f13
sub eax, 0x36
je 0x448f01
sub eax, 2
je 0x448ec0
mov eax, ecx
test bl, bl
je 0x448e5d
mov dword [ebp - 0x28], eax
mov eax, dword [esi - 0xc]
mov dword [ebp - 0x24], eax
lea ebx, [eax + 1]
test ebx, ebx
js 0x44909c
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x448e39
push ebx
lea ecx, [ebp - 0x14]
call fcn.00402330
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov word [esi + eax*2], cx
cmp ebx, dword [esi - 8]
jg 0x44909c
mov dword [esi - 0xc], ebx
xor eax, eax
mov word [esi + ebx*2], ax
mov bl, byte [ebp - 0xd]
jmp 0x44901c
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov eax, dword [edx - 0xc]
mov dword [ebp - 0x28], eax
lea ebx, [eax + 1]
test ebx, ebx
js 0x44909c
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, ebx
or eax, ecx
jge 0x448e95
mov ecx, dword [ebp + 0xc]
push ebx
call fcn.00402330
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov word [edx + eax*2], cx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
cmp ebx, dword [eax - 8]
jg 0x44909c
mov dword [eax - 0xc], ebx
mov eax, dword [ecx]
xor ecx, ecx
mov word [eax + ebx*2], cx
mov bl, byte [ebp - 0xd]
jmp 0x44901c
lea eax, [ebp - 0x1c]
xor bl, bl
push eax
lea eax, [ebp - 0x14]
mov byte [ebp - 0xd], bl
push eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
call fcn.00432f10
mov edi, dword [ebp - 0x1c]
mov ecx, eax
mov dword [ebp - 0x24], ecx
test ecx, ecx
jg 0x449083
mov eax, dword [edi - 0xc]
test eax, eax
je 0x449083
mov ecx, dword [ebp + 0xc]
push eax
push edi
call fcn.004023a0
jmp 0x44901c
mov bl, 1
lea ecx, [ebp - 0x14]
mov byte [ebp - 0xd], bl
call fcn.004072b0
jmp 0x449019
test bl, bl
je 0x44900c
push 0x208
mov ebx, 0x104
call fcn.0046e3d0
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 4
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x448f8b
cmp eax, ebx
jb 0x448fad
add ebx, ebx
mov byte [ebp - 4], 3
push 2
push dword [ebp - 0x18]
call fcn.0046e3c2
xor ecx, ecx
mov dword [ebp - 0x18], 0
mov eax, ebx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046e3d0
add esp, 0xc
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 4
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x448f41
mov byte [ebp - 4], 3
push 2
push dword [ebp - 0x18]
call fcn.0046e3c2
add esp, 8
mov dword [ebp - 0x18], 0
mov ebx, 0xcb
jmp 0x449033
mov ebx, dword [ebp - 0x18]
test ebx, ebx
jne 0x448fb8
xor eax, eax
jmp 0x448fcf
mov eax, ebx
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x448fc0
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [ebp - 0x1c]
call fcn.00407350
mov byte [ebp - 4], 3
push 2
push ebx
call fcn.0046e3c2
mov edi, dword [ebp - 0x1c]
add esp, 8
xor ebx, ebx
mov dword [ebp - 0x18], 0
mov eax, dword [edi - 0xc]
test eax, eax
je 0x449033
mov ecx, dword [ebp + 0xc]
push eax
push edi
call fcn.004023a0
xor bl, bl
mov byte [ebp - 0xd], bl
jmp 0x44901c
lea ecx, [ebp - 0x14]
call fcn.004072b0
mov bl, 1
mov byte [ebp - 0xd], bl
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x20]
inc ecx
mov dword [ebp - 0x20], ecx
mov eax, dword [eax]
cmp ecx, dword [eax - 0xc]
jl 0x448dd0
xor ebx, ebx
mov byte [ebp - 4], 1
lea edx, [edi - 0x10]
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x449051
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x44906d
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ebx, dword [ebp - 0x24]
jmp 0x449033
push 0x80004005
call fcn.004024c0
push 0x80004005
call fcn.004024c0
push 0x80070057
call fcn.004024c0
int3