Function at 0x4267c0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0xcc
mov eax, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x74], eax
lea ecx, [ebp - 5]
call fcn.00450290
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 6]
call fcn.00450340
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x493e06]
mov dword [ebp - 0xa], eax
lea ecx, [ebp - 0xb]
call fcn.004503f0
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x42686d
lea eax, [ebp - 0xa]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x42686a
lea ecx, [ebp - 0x11]
call fcn.004504a0
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401c50
xor eax, eax
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GlobalFlags]
sub esp, 4
call dword [ebp - 0x10]
lea ecx, [ebp - 0x12]
call fcn.00450550
mov ecx, eax
call fcn.00401e00
mov ecx, eax
mov eax, esp
mov dword [eax], ecx
call fcn.00401450
mov ecx, dword [ebp - 0x74]
call fcn.004273b0
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp + 0xc]
call fcn.004273b0
mov ecx, eax
mov eax, esp
mov dword [eax], ecx
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x7c], ecx
call fcn.004210c0
sub esp, 4
mov edx, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x78]
mov eax, esp
mov dword [eax + 8], edx
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x38]
mov dword [eax], ecx
call fcn.00450680
jmp 0x4268cb
mov ecx, dword [ebp - 0x74]
mov eax, esp
mov dword [eax + 8], ecx
lea ecx, [ebp - 0x38]
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x2c]
mov dword [eax], ecx
call fcn.00450640
jmp 0x4268e8
mov ecx, dword [ebp + 0xc]
call fcn.0044ffa0
mov ecx, eax
shr ecx, 1
mov eax, esp
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x58]
mov dword [eax], ecx
call fcn.00462470
jmp 0x426908
mov eax, esp
lea ecx, [ebp - 0x58]
mov dword [eax + 8], ecx
lea ecx, [ebp - 0x2c]
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x20]
mov dword [eax], ecx
call fcn.00450600
jmp 0x426925
lea ecx, [ebp - 0x58]
call fcn.00461ca0
lea ecx, [ebp - 0x2c]
call fcn.00461ca0
lea ecx, [ebp - 0x38]
call fcn.00461ca0
lea ecx, [ebp - 0x44]
call fcn.00461ca0
lea ecx, [ebp - 0x59]
call fcn.004506d0
mov dword [ebp - 0x80], eax
jmp 0x426955
mov ecx, dword [ebp - 0x80]
call fcn.00401a80
mov dword [ebp - 0x84], eax
jmp 0x426968
mov ecx, dword [ebp - 0x84]
mov eax, esp
mov dword [eax], ecx
call fcn.00401450
jmp 0x42697c
lea ecx, [ebp - 0x5a]
call fcn.00450780
mov dword [ebp - 0x88], eax
jmp 0x42698f
mov ecx, dword [ebp - 0x88]
call fcn.00401b50
mov dword [ebp - 0x8c], eax
jmp 0x4269a5
mov ecx, dword [ebp - 0x8c]
mov eax, esp
mov dword [eax], ecx
call fcn.00401450
jmp 0x4269b9
mov dword [ebp - 0x60], 0xa1b0d6ea
lea ecx, [ebp - 0x61]
call fcn.00450830
mov dword [ebp - 0x90], eax
jmp 0x4269d3
mov ecx, dword [ebp - 0x90]
call fcn.004025c0
mov dword [ebp - 0x94], eax
jmp 0x4269e9
mov ecx, dword [ebp - 0x94]
mov eax, esp
mov dword [eax], ecx
call sub.msvcrt.dll_getenv
mov dword [ebp - 0x98], eax
jmp 0x426a03
mov eax, dword [ebp - 0x98]
cmp eax, 0
je 0x426af1
lea eax, [ebp - 0x60]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jne 0x426ae2
lea ecx, [ebp - 0x69]
call fcn.004508e0
mov dword [ebp - 0x9c], eax
jmp 0x426a3d
mov ecx, dword [ebp - 0x9c]
call fcn.00401b50
mov dword [ebp - 0xa0], eax
jmp 0x426a53
mov ecx, dword [ebp - 0xa0]
mov eax, esp
mov dword [eax], ecx
call fcn.00401c50
jmp 0x426a67
mov eax, esp
mov dword [eax], 0
mov eax, dword [sym.imp.KERNEL32.dll_GlobalFlags]
call eax
sub esp, 4
jmp 0x426a7e
jmp 0x426ae2
mov eax, dword [ebp - 0x68]
call eax
jmp 0x426aec
jmp 0x426af1
lea ecx, [ebp - 0x6a]
call fcn.00450990
mov dword [ebp - 0xa4], eax
jmp 0x426b04
mov ecx, dword [ebp - 0xa4]
call fcn.00401e00
mov dword [ebp - 0xa8], eax
jmp 0x426b1a
mov ecx, dword [ebp - 0xa8]
mov eax, esp
mov dword [eax], ecx
call fcn.00401450
jmp 0x426b2e
mov dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp + 0xc]
call fcn.0044ffa0
mov ecx, eax
mov eax, dword [ebp - 0xac]
cmp eax, ecx
je 0x426c49
mov ecx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xc4], eax
call fcn.0044ffa0
mov ecx, dword [ebp - 0x74]
mov esi, eax
mov eax, dword [ebp - 0xc4]
xor edx, edx
div esi
mov dword [esp], edx
call fcn.00402610
sub esp, 4
movsx eax, byte [eax]
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp + 0xc]
call fcn.0044ffa0
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp + 0xc]
call fcn.0044ffa0
mov ecx, dword [ebp - 0x74]
shr eax, 1
mov dword [ebp - 0xc0], eax
call fcn.0044ffa0
mov ecx, dword [ebp - 0xc0]
mov edx, eax
mov eax, dword [ebp - 0xbc]
imul ecx, edx
xor edx, edx
div ecx
shr eax, 1
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp + 0xc]
call fcn.0044ffa0
mov ecx, eax
mov eax, dword [ebp - 0xb8]
imul eax, ecx
mov ecx, 0xa
xor edx, edx
div ecx
mov ecx, eax
mov eax, dword [ebp - 0xb4]
xor eax, ecx
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x70]
mov dword [esp], eax
call fcn.00402610
sub esp, 4
mov edx, dword [ebp - 0xb0]
movsx ecx, byte [eax]
xor ecx, edx
mov byte [eax], cl
mov ecx, dword [ebp + 0xc]
call fcn.0044ffa0
cmp eax, 0x164
jae 0x426c36
mov dword [esp], 1
call sub.msvcrt.dll_exit
jmp 0x426c3b
mov eax, dword [ebp - 0x70]
add eax, 1
mov dword [ebp - 0x70], eax
jmp 0x426b35
lea ecx, [ebp - 0x20]
call fcn.00461ca0
add esp, 0xcc
pop esi
pop ebp
ret