Function at 0x4baab0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x533014]
xor eax, ebp
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 1
mov ecx, dword [ebp + 0xc]
call fcn.00410210
mov dword [ebp - 8], 0
mov ecx, dword [ebp + 8]
call fcn.0047ef80
cmp dword [ebp - 8], eax
jge 0x4bad0c
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
call fcn.004214b0
movzx ecx, ax
cmp ecx, 0x25
jne 0x4baccf
mov edx, dword [ebp - 8]
add edx, 1
push edx
push 0x25
mov ecx, dword [ebp + 8]
call fcn.0045f030
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jge 0x4bab56
mov eax, dword [ebp - 8]
mov dword [ebp - 0x248], eax
mov ecx, dword [ebp - 0x248]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004214b0
mov word [ebp - 0x24a], ax
movzx edx, word [ebp - 0x24a]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.0049aad0
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
jmp 0x4baad9
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 8]
sub ecx, 1
push ecx
mov edx, dword [ebp - 8]
add edx, 1
push edx
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp + 8]
call fcn.00434540
mov ecx, eax
call fcn.00416e70
push eax
lea ecx, [ebp - 0x14]
call fcn.00418370
lea ecx, [ebp - 0x230]
call fcn.004335b0
lea ecx, [ebp - 0x10]
call fcn.004aa750
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x238]
push edx
mov ecx, dword [ebp + 0x10]
call fcn.004bdee0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
lea eax, [ebp - 0x240]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.004bdeb0
push eax
lea ecx, [ebp - 0x10]
call fcn.0047f760
movzx ecx, al
test ecx, ecx
je 0x4bac06
lea ecx, [ebp - 0x10]
call fcn.0048e470
add eax, 4
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0041d780
lea ecx, [ebp - 0x14]
call fcn.0047ef80
add eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
add edx, 2
mov dword [ebp - 8], edx
jmp 0x4bacc5
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 8]
add eax, 1
push eax
mov ecx, dword [ebp - 8]
push ecx
lea edx, [ebp - 0x244]
push edx
mov ecx, dword [ebp + 8]
call fcn.00434540
mov ecx, eax
call fcn.00416e70
push eax
lea ecx, [ebp - 0x22c]
call fcn.00418370
lea ecx, [ebp - 0x244]
call fcn.004335b0
push 0x104
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x22c]
call fcn.0044ea20
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x104
ja 0x4bac93
lea ecx, [ebp - 0x228]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.0040e800
lea ecx, [ebp - 0x14]
call fcn.0047ef80
add eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
add edx, 2
mov dword [ebp - 8], edx
jmp 0x4bacba
mov dword [ebp - 4], 0
lea eax, [ebp - 0x22c]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0041d780
lea ecx, [ebp - 0x22c]
call fcn.0047ef80
add eax, dword [ebp - 8]
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x22c]
call fcn.004335b0
lea ecx, [ebp - 0x14]
call fcn.004335b0
jmp 0x4bad07
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x250], ecx
mov edx, dword [ebp - 0x250]
push edx
mov ecx, dword [ebp + 8]
call fcn.004214b0
mov word [ebp - 0x252], ax
movzx eax, word [ebp - 0x252]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0049aad0
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
jmp 0x4baad9
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.004eabb3
mov esp, ebp
pop ebp
ret