Function at 0x42567c
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2cc
mov dword [ebp - 0x294], 0x4915c0
mov dword [ebp - 0x290], 0x4926de
lea eax, [ebp - 0x28c]
lea esi, [ebp - 0x18]
mov dword [eax], esi
mov edx, 0x425ed8
mov dword [eax + 4], edx
mov dword [eax + 8], esp
lea eax, [ebp - 0x2ac]
mov dword [esp], eax
call fcn.0040d5f0
mov dword [ebp - 0x2a8], 0xffffffff
call fcn.0042563c
mov ecx, dword [ebp + 8]
mov ebx, 0
add eax, ecx
adc edx, ebx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x2a8], 0xffffffff
call fcn.0042563c
mov ecx, 1
cmp eax, dword [ebp - 0x20]
mov eax, edx
sbb eax, dword [ebp - 0x1c]
jb 0x425704
mov ecx, 0
test cl, cl
je 0x425fad
mov dword [esp], 0
mov dword [ebp - 0x2a8], 0xffffffff
call fcn.00491e20
mov dword [esp], eax
call sub.msvcrt.dll_srand
fld qword [0x4f3668]
fstp qword [esp + 8]
fld qword [0x4f3670]
fstp qword [esp]
call fcn.00424b08
fstp qword [ebp - 0x28]
fld qword [0x4f3668]
fstp qword [esp + 8]
fld qword [0x4f3670]
fstp qword [esp]
call fcn.00424b08
fstp qword [ebp - 0x30]
call sub.msvcrt.dll_rand
cdq
shr edx, 0x1e
add eax, edx
and eax, 3
sub eax, edx
movzx eax, byte [eax + str.__]
mov byte [ebp - 0x31], al
movsx eax, byte [ebp - 0x31]
fld qword [ebp - 0x30]
fstp qword [esp + 0xc]
mov dword [esp + 8], eax
fld qword [ebp - 0x28]
fstp qword [esp]
call fcn.00425fc4
fstp qword [ebp - 0x40]
lea eax, [ebp - 0x150]
fld qword [ebp - 0x40]
fstp qword [esp + 4]
mov dword [esp], eax
call fcn.0048ac40
lea eax, [ebp - 0x108]
fld qword [ebp - 0x30]
fstp qword [esp + 4]
mov dword [esp], eax
mov dword [ebp - 0x2a8], 1
call fcn.0048ac40
lea eax, [ebp - 0xa5]
mov ecx, eax
call fcn.00472f50
movsx edx, byte [ebp - 0x31]
lea eax, [ebp - 0xc0]
lea ecx, [ebp - 0xa5]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], 1
mov dword [ebp - 0x2a8], 2
mov ecx, eax
call fcn.00488928
sub esp, 0xc
lea eax, [ebp - 0x8c]
fld qword [ebp - 0x28]
fstp qword [esp + 4]
mov dword [esp], eax
mov dword [ebp - 0x2a8], 3
call fcn.0048ac40
lea eax, [ebp - 0xa4]
mov dword [esp + 8], 0x4f3260
lea edx, [ebp - 0x8c]
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [ebp - 0x2a8], 4
call fcn.0048f2a0
lea eax, [ebp - 0xd8]
lea edx, [ebp - 0xc0]
mov dword [esp + 8], edx
lea edx, [ebp - 0xa4]
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [ebp - 0x2a8], 5
call fcn.0048f2d4
lea eax, [ebp - 0xf0]
mov dword [esp + 8], 0x4f3260
lea edx, [ebp - 0xd8]
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [ebp - 0x2a8], 6
call fcn.0048f2a0
lea eax, [ebp - 0x120]
lea edx, [ebp - 0x108]
mov dword [esp + 8], edx
lea edx, [ebp - 0xf0]
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [ebp - 0x2a8], 7
call fcn.0048f2d4
lea eax, [ebp - 0x138]
mov dword [esp + 8], 0x4f3262
lea edx, [ebp - 0x120]
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [ebp - 0x2a8], 8
call fcn.0048f2a0
lea eax, [ebp - 0x168]
lea edx, [ebp - 0x150]
mov dword [esp + 8], edx
lea edx, [ebp - 0x138]
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [ebp - 0x2a8], 9
call fcn.0048f2d4
lea eax, [ebp - 0x138]
mov ecx, eax
call fcn.004889f0
lea eax, [ebp - 0x120]
mov ecx, eax
call fcn.004889f0
lea eax, [ebp - 0xf0]
mov ecx, eax
call fcn.004889f0
lea eax, [ebp - 0xd8]
mov ecx, eax
call fcn.004889f0
lea eax, [ebp - 0xa4]
mov ecx, eax
call fcn.004889f0
lea eax, [ebp - 0x8c]
mov ecx, eax
call fcn.004889f0
lea eax, [ebp - 0xc0]
mov ecx, eax
call fcn.004889f0
lea eax, [ebp - 0xa5]
mov ecx, eax
call fcn.00472f60
lea eax, [ebp - 0x108]
mov ecx, eax
call fcn.004889f0
lea eax, [ebp - 0x150]
mov ecx, eax
call fcn.004889f0
lea eax, [ebp - 0x73]
mov ecx, eax
call fcn.00472f50
lea eax, [ebp - 0x72]
mov ecx, eax
call fcn.0048f990
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
movzx eax, byte [eax + 9]
xor eax, 1
test al, al
je 0x425b30
mov eax, dword [ebp - 0x48]
lea edx, [eax + 4]
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x48]
add ecx, 0xa
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x58]
cmp eax, 7
ja 0x425b2f
jmp 0x425a17
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
lea edx, [eax + 1]
mov eax, dword [ebp - 0x50]
mov dword [eax], edx
mov eax, dword [ebp - 0x50]
mov edx, dword [eax]
mov eax, dword [ebp - 0x54]
mov eax, dword [eax]
add eax, 1
cmp edx, eax
jne 0x425a4d
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x4c]
add eax, edx
movzx ecx, byte [eax]
mov eax, dword [ebp - 0x54]
mov eax, dword [eax]
add eax, 1
mov ebx, eax
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x4c]
add eax, edx
xor ecx, ebx
mov edx, ecx
mov byte [eax], dl
jmp 0x425a0a
mov eax, dword [ebp - 0x50]
mov edx, dword [eax]
mov eax, dword [ebp - 0x54]
mov eax, dword [eax]
add eax, 2
cmp edx, eax
jne 0x425a83
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x4c]
add eax, edx
movzx ecx, byte [eax]
mov eax, dword [ebp - 0x54]
mov eax, dword [eax]
add eax, 2
mov ebx, eax
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x4c]
add eax, edx
xor ecx, ebx
mov edx, ecx
mov byte [eax], dl
jmp 0x425a0a
mov eax, dword [ebp - 0x50]
mov edx, dword [eax]
mov eax, dword [ebp - 0x54]
mov eax, dword [eax]
cmp edx, eax
jne 0x425ab4
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x4c]
add eax, edx
movzx ecx, byte [eax]
mov eax, dword [ebp - 0x58]
add eax, 0x7c
mov ebx, eax
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x4c]
add eax, edx
xor ecx, ebx
mov edx, ecx
mov byte [eax], dl
jmp 0x425b26
mov eax, dword [ebp - 0x50]
mov edx, dword [eax]
mov eax, dword [ebp - 0x54]
mov eax, dword [eax]
add eax, 4
cmp edx, eax
jne 0x425aed
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x4c]
add eax, edx
movzx ecx, byte [eax]
mov eax, dword [ebp - 0x54]
mov eax, dword [eax]
add eax, 3
mov ebx, eax
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x4c]
add eax, edx
xor ecx, ebx
mov edx, ecx
mov byte [eax], dl
jmp 0x425a0a
mov eax, dword [ebp - 0x50]
mov edx, dword [eax]
mov eax, dword [ebp - 0x54]
mov eax, dword [eax]
add eax, 5
cmp edx, eax
jne 0x425b26
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x4c]
add eax, edx
movzx ecx, byte [eax]
mov eax, dword [ebp - 0x54]
mov eax, dword [eax]
add eax, 4
mov ebx, eax
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x4c]
add eax, edx
xor ecx, ebx
mov edx, ecx
mov byte [eax], dl
jmp 0x425a0a
add dword [ebp - 0x58], 1
jmp 0x4259fc
nop
mov eax, dword [ebp - 0x48]
mov byte [eax + 9], 1
mov eax, dword [ebp - 0x48]
add eax, 0xa
nop
mov dword [esp], eax
call sub.msvcrt.dll_getenv
mov edx, eax
lea eax, [ebp - 0x180]
lea ecx, [ebp - 0x73]
mov dword [esp + 4], ecx
mov dword [esp], edx
mov dword [ebp - 0x2a8], 0xa
mov ecx, eax
call fcn.00488844
sub esp, 8
lea eax, [ebp - 0x73]
mov ecx, eax
call fcn.00472f60
lea eax, [ebp - 0x71]
mov ecx, eax
call fcn.0048f890
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
movzx eax, byte [eax + 9]
xor eax, 1
test al, al
je 0x425cee
mov eax, dword [ebp - 0x60]
lea edx, [eax + 4]
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x60]
add ecx, 0xa
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x70]
cmp eax, 0x13
ja 0x425ced
jmp 0x425bd5
mov eax, dword [ebp - 0x68]
mov eax, dword [eax]
lea edx, [eax + 1]
mov eax, dword [ebp - 0x68]
mov dword [eax], edx
mov eax, dword [ebp - 0x68]
mov edx, dword [eax]
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax]
add eax, 1
cmp edx, eax
jne 0x425c0b
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x64]
add eax, edx
movzx ecx, byte [eax]
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax]
add eax, 1
mov ebx, eax
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x64]
add eax, edx
xor ecx, ebx
mov edx, ecx
mov byte [eax], dl
jmp 0x425bc8
mov eax, dword [ebp - 0x68]
mov edx, dword [eax]
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax]
add eax, 2
cmp edx, eax
jne 0x425c41
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x64]
add eax, edx
movzx ecx, byte [eax]
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax]
add eax, 2
mov ebx, eax
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x64]
add eax, edx
xor ecx, ebx
mov edx, ecx
mov byte [eax], dl
jmp 0x425bc8
mov eax, dword [ebp - 0x68]
mov edx, dword [eax]
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax]
cmp edx, eax
jne 0x425c72
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x64]
add eax, edx
movzx ecx, byte [eax]
mov eax, dword [ebp - 0x70]
add eax, 0x7c
mov ebx, eax
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x64]
add eax, edx
xor ecx, ebx
mov edx, ecx
mov byte [eax], dl
jmp 0x425ce4
mov eax, dword [ebp - 0x68]
mov edx, dword [eax]
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax]
add eax, 4
cmp edx, eax
jne 0x425cab
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x64]
add eax, edx
movzx ecx, byte [eax]
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax]
add eax, 3
mov ebx, eax
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x64]
add eax, edx
xor ecx, ebx
mov edx, ecx
mov byte [eax], dl
jmp 0x425bc8
mov eax, dword [ebp - 0x68]
mov edx, dword [eax]
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax]
add eax, 5
cmp edx, eax
jne 0x425ce4
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x64]
add eax, edx
movzx ecx, byte [eax]
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax]
add eax, 4
mov ebx, eax
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x64]
add eax, edx
xor ecx, ebx
mov edx, ecx
mov byte [eax], dl
jmp 0x425bc8
add dword [ebp - 0x70], 1
jmp 0x425bba
nop
mov eax, dword [ebp - 0x60]
mov byte [eax + 9], 1
mov eax, dword [ebp - 0x60]
lea edx, [eax + 0xa]
nop
lea eax, [ebp - 0x180]
mov dword [esp], edx
mov dword [ebp - 0x2a8], 0xb
mov ecx, eax
call fcn.00488a20
sub esp, 4
lea eax, [ebp - 0x274]
mov dword [esp + 4], 1
lea edx, [ebp - 0x180]
mov dword [esp], edx
mov ecx, eax
call fcn.0047fc40
sub esp, 8
lea eax, [ebp - 0x274]
mov dword [ebp - 0x2a8], 0xc
mov ecx, eax
call fcn.0047fc30
test al, al
je 0x425d8b
lea eax, [ebp - 0x168]
mov dword [esp + 4], eax
lea eax, [ebp - 0x274]
mov dword [esp], eax
call fcn.0048f270
mov dword [esp], 0x48e8b0
mov ecx, eax
call fcn.00474b40
sub esp, 4
lea eax, [ebp - 0x274]
mov ecx, eax
call fcn.0047fbf0
lea eax, [ebp - 0x274]
mov ecx, eax
call fcn.0047fed0
lea eax, [ebp - 0x180]
mov ecx, eax
call fcn.004889f0
lea eax, [ebp - 0x168]
mov ecx, eax
call fcn.004889f0
jmp 0x4256e1
nop
lea eax, [ebp - 0x2ac]
mov dword [esp], eax
call fcn.0040d770
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret