Function at 0x62bff0
Capabilities:
Query environment variable

Disassembly:
push ebp
push edi
push esi
xor esi, esi
push ebx
xor ebx, ebx
sub esp, 0x8c
mov ebp, dword [esp + 0xac]
call sub.msvcrt.dll__errno
mov eax, dword [eax]
mov dword [esp], str.PRINTF_EXPONENT_DIGITS
mov dword [esp + 0x5c], 0xffffffff
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 0x64], 0xfffffffd
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xa4]
mov word [esp + 0x68], bx
mov dword [esp + 0x6c], 0
mov word [esp + 0x70], si
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x74], 0
and eax, 0x6000
mov dword [esp + 0x24], eax
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x78], eax
call sub.msvcrt.dll_getenv
test eax, eax
je 0x62c08c
movsx edx, byte [eax]
mov eax, 2
sub edx, 0x30
cmp edx, 2
jbe 0x62c099
call fcn.006326e0
and eax, 1
neg eax
add eax, 3
mov dword [esp + 0x7c], eax
movzx ecx, byte [ebp]
lea edi, [ebp + 1]
movsx eax, cl
test eax, eax
je 0x62c140
cmp eax, 0x25
jne 0x62c150
mov eax, dword [esp + 0x24]
mov dword [esp + 0x60], 0xffffffff
mov esi, edi
xor edx, edx
movzx ecx, byte [ebp + 1]
mov dword [esp + 0x5c], 0xffffffff
mov dword [esp + 0x1c], 0
mov dword [esp + 0x58], eax
lea eax, [esp + 0x5c]
mov dword [esp + 0x20], eax
test cl, cl
je 0x62c127
lea eax, [ecx - 0x20]
movsx ebx, cl
lea ebp, [esi + 1]
cmp al, 0x5a
ja case.0x62c100.1
movzx eax, al
jmp dword [eax*4 + 0x6dbed0]
movzx ecx, byte [esi + 1]
mov dword [esp + 0x1c], 0
mov edx, 4
mov esi, ebp
test cl, cl
jne 0x62c0ec
mov ebp, esi
movsx eax, cl
lea edi, [ebp + 1]
test eax, eax
jne 0x62c0af
mov esi, esi
lea edi, [edi]
mov eax, dword [esp + 0x74]
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
lea edx, [esp + 0x54]
call fcn.0062a890
movzx ecx, byte [ebp + 1]
mov ebp, edi
jmp 0x62c0a1
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0xb0]
sub edx, 2
cmp edx, 1
jbe case.0x62c100.51
mov ebx, dword [eax]
add dword [esp + 0xb0], 4
test ebx, ebx
je 0x62c277
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
mov edx, eax
lea ecx, [esp + 0x54]
mov eax, ebx
call fcn.0062aa10
movzx ecx, byte [ebp]
jmp 0x62c0a1
test edx, edx
jne 0x62c1c2
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x58], eax
je 0x62ca06
mov eax, dword [esp + 0xb0]
xor ecx, ecx
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov edx, dword [eax]
lea ebx, [eax + 4]
lea eax, [esp + 0x54]
mov dword [esp], eax
mov eax, 0x78
mov dword [esp + 0x40], edx
call fcn.0062b6e0
mov dword [esp + 0xb0], ebx
jmp 0x62c1a2
mov eax, dword [esp + 0xb0]
cmp dword [esp + 0x1c], 5
mov edx, dword [esp + 0x74]
mov eax, dword [eax]
je 0x62c911
cmp dword [esp + 0x1c], 1
je 0x62c9cc
cmp dword [esp + 0x1c], 2
je 0x62ca49
cmp dword [esp + 0x1c], 3
mov dword [eax], edx
je 0x62cab8
mov eax, dword [esp + 0xb0]
add eax, 4
mov dword [esp + 0xb0], eax
jmp 0x62c1a2
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call sub.msvcrt.dll_strerror
mov ebx, eax
test eax, eax
jne 0x62c18d
mov edx, 6
mov ebx, str._null_
jmp 0x62c197
movzx ecx, byte [esi + 1]
cmp cl, 0x6c
je 0x62c895
mov dword [esp + 0x1c], 2
mov edx, 4
mov esi, ebp
jmp 0x62c123
movzx ecx, byte [esi + 1]
mov dword [esp + 0x1c], 3
mov edx, 4
mov esi, ebp
jmp 0x62c123
movzx ecx, byte [esi + 1]
cmp cl, 0x68
je 0x62c8f6
mov dword [esp + 0x1c], 1
mov edx, 4
mov esi, ebp
jmp 0x62c123
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0xb0]
or eax, 0x20
mov dword [esp + 0x58], eax
test al, 4
je 0x62c553
fld xword [edx]
add dword [esp + 0xb0], 0xc
lea eax, [esp + 0x54]
fstp xword [esp]
call fcn.0062b550
jmp 0x62c1a2
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0xb0]
or eax, 0x20
mov dword [esp + 0x58], eax
test al, 4
je 0x62c583
fld xword [edx]
add dword [esp + 0xb0], 0xc
lea eax, [esp + 0x54]
fstp xword [esp]
call fcn.0062afe0
jmp 0x62c1a2
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0xb0]
or eax, 0x20
mov dword [esp + 0x58], eax
test al, 4
je 0x62c5b3
fld xword [edx]
add dword [esp + 0xb0], 0xc
lea eax, [esp + 0x54]
fstp xword [esp]
call fcn.0062b4a0
jmp 0x62c1a2
cmp dword [esp + 0x1c], 3
mov eax, dword [esp + 0xb0]
je 0x62c8d3
cmp dword [esp + 0x1c], 2
je 0x62c9aa
lea ecx, [eax + 4]
xor edx, edx
mov eax, dword [eax]
cmp dword [esp + 0x1c], 1
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], eax
je 0x62ca61
cmp dword [esp + 0x1c], 5
mov dword [esp + 0xb0], ecx
je 0x62ca91
cmp ebx, 0x75
je 0x62c4f0
lea edi, [esp + 0x54]
mov ecx, edx
mov edx, eax
mov dword [esp], edi
mov eax, ebx
call fcn.0062b6e0
jmp 0x62c1a2
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x60], 0xffffffff
mov eax, dword [esp + 0xb0]
sub edx, 2
cmp edx, 1
jbe 0x62c5d8
mov eax, dword [eax]
lea ecx, [esp + 0x54]
mov edx, 1
add dword [esp + 0xb0], 4
mov byte [esp + 0x40], al
lea eax, [esp + 0x40]
call fcn.0062aa10
jmp 0x62c1a2
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0xb0]
or eax, 0x20
mov dword [esp + 0x58], eax
test al, 4
je 0x62c623
fld xword [edx]
add dword [esp + 0xb0], 0xc
lea eax, [esp + 0x54]
fstp xword [esp]
call fcn.0062ba80
jmp 0x62c1a2
or dword [esp + 0x58], 0x80
cmp dword [esp + 0x1c], 3
mov eax, dword [esp + 0xb0]
je 0x62c8b0
cmp dword [esp + 0x1c], 2
je 0x62c9e5
lea ecx, [eax + 4]
mov eax, dword [eax]
cdq
cmp dword [esp + 0x1c], 1
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
je 0x62ca2f
cmp dword [esp + 0x1c], 5
mov dword [esp + 0xb0], ecx
je 0x62caa5
mov ecx, edx
sar ecx, 0x1f
mov dword [esp + 0x48], ecx
sar ecx, 0x1f
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x54]
call fcn.0062b0c0
jmp 0x62c1a2
movzx ecx, byte [esi + 1]
mov edx, 4
mov esi, ebp
or dword [esp + 0x58], 4
jmp 0x62c123
movzx ecx, byte [esi + 1]
cmp cl, 0x36
je 0x62c929
cmp cl, 0x33
je 0x62c980
mov dword [esp + 0x1c], 0
mov edx, 4
mov esi, ebp
jmp 0x62c123
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0xb0]
test al, 4
jne 0x62c30b
fld qword [edx]
lea eax, [esp + 0x54]
fstp xword [esp]
add dword [esp + 0xb0], 8
call fcn.0062b550
jmp 0x62c1a2
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0xb0]
test al, 4
jne 0x62c34a
fld qword [edx]
lea eax, [esp + 0x54]
fstp xword [esp]
add dword [esp + 0xb0], 8
call fcn.0062afe0
jmp 0x62c1a2
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0xb0]
test al, 4
jne 0x62c37f
fld qword [edx]
lea eax, [esp + 0x54]
fstp xword [esp]
add dword [esp + 0xb0], 8
call fcn.0062b4a0
jmp 0x62c1a2
mov dword [esp + 0x60], 0xffffffff
mov eax, dword [esp + 0xb0]
lea ecx, [esp + 0x54]
mov edx, 1
lea ebx, [eax + 4]
mov eax, dword [eax]
mov word [esp + 0x40], ax
lea eax, [esp + 0x40]
call fcn.0062a8f0
mov dword [esp + 0xb0], ebx
jmp 0x62c1a2
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0xb0]
test al, 4
jne 0x62c46e
fld qword [edx]
lea eax, [esp + 0x54]
fstp xword [esp]
add dword [esp + 0xb0], 8
call fcn.0062ba80
jmp 0x62c1a2
test edx, edx
jne 0x62c800
movzx ecx, byte [esi + 1]
mov esi, ebp
or dword [esp + 0x58], 0x200
jmp 0x62c123
cmp edx, 1
jbe 0x62c94c
movzx ecx, byte [esi + 1]
mov edx, 4
mov esi, ebp
jmp 0x62c123
test edx, edx
jne 0x62c6fc
movzx ecx, byte [esi + 1]
mov esi, ebp
or dword [esp + 0x58], 0x400
jmp 0x62c123
test edx, edx
jne 0x62c6fc
movzx ecx, byte [esi + 1]
mov esi, ebp
or dword [esp + 0x58], 0x100
jmp 0x62c123
test edx, edx
jne 0x62c6fc
movzx ecx, byte [esi + 1]
mov esi, ebp
or dword [esp + 0x58], 0x800
jmp 0x62c123
test edx, edx
jne 0x62c6fc
movzx ecx, byte [esi + 1]
mov esi, ebp
or dword [esp + 0x58], 0x40
jmp 0x62c123
test edx, edx
je 0x62c838
movzx ecx, byte [esi + 1]
mov esi, ebp
jmp 0x62c123
lea edx, [esp + 0x54]
mov eax, ebx
call fcn.0062a890
jmp 0x62c1a2
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x62c669
test edx, 0xfffffffd
jne 0x62c820
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0x20]
lea ebx, [eax + 4]
mov eax, dword [eax]
mov dword [ecx], eax
test eax, eax
js 0x62ca7c
movzx ecx, byte [esi + 1]
mov dword [esp + 0xb0], ebx
mov esi, ebp
mov dword [esp + 0x20], 0
jmp 0x62c123
sub ecx, 0x30
cmp cl, 9
ja 0x62ca1a
cmp edx, 3
ja 0x62ca1a
test edx, edx
jne 0x62c809
mov edx, 1
mov eax, dword [esp + 0x20]
test eax, eax
je 0x62c6fc
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
test eax, eax
js 0x62c96c
lea eax, [eax + eax*4]
movzx ecx, byte [esi + 1]
lea eax, [ebx + eax*2 - 0x30]
mov ebx, dword [esp + 0x20]
mov dword [ebx], eax
jmp 0x62c700
mov eax, dword [esp + 0xb0]
mov ebx, dword [eax]
lea esi, [eax + 4]
mov eax, 0x6dbea4
test ebx, ebx
cmove ebx, eax
mov dword [esp], ebx
call sub.msvcrt.dll_wcslen
lea ecx, [esp + 0x54]
mov edx, eax
mov eax, ebx
call fcn.0062a8f0
mov dword [esp + 0xb0], esi
jmp 0x62c1a2
cmp edx, 3
ja 0x62ca1a
cmp edx, 2
mov eax, 3
cmove edx, eax
jmp 0x62c792
movzx ecx, byte [esi + 1]
mov dword [esp + 0x20], 0
mov edx, 4
mov esi, ebp
jmp 0x62c123
or dword [esp + 0x58], 0x1000
mov dword [esp + 0x2c], edx
lea ebx, [esp + 0x40]
mov dword [esp + 0x40], 0
call sub.msvcrt.dll_localeconv
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x10
mov eax, dword [eax + 4]
mov dword [esp + 4], eax
lea eax, [esp + 0x3e]
mov dword [esp], eax
call fcn.00625ca0
mov edx, dword [esp + 0x2c]
test eax, eax
jle 0x62c886
movzx ecx, word [esp + 0x3e]
mov word [esp + 0x70], cx
movzx ecx, byte [esi + 1]
mov dword [esp + 0x6c], eax
mov esi, ebp
jmp 0x62c123
lea ebp, [esi + 2]
movzx ecx, byte [esi + 2]
mov edx, 4
mov dword [esp + 0x1c], 3
mov esi, ebp
jmp 0x62c123
mov ebx, dword [esp + 0xb0]
mov edx, dword [eax + 4]
mov eax, dword [eax]
add ebx, 8
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], eax
mov dword [esp + 0xb0], ebx
jmp 0x62c4e0
mov edi, dword [esp + 0xb0]
mov edx, dword [eax + 4]
mov eax, dword [eax]
add edi, 8
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], eax
mov dword [esp + 0xb0], edi
jmp 0x62c3e9
lea ebp, [esi + 2]
movzx ecx, byte [esi + 2]
mov edx, 4
mov dword [esp + 0x1c], 5
mov esi, ebp
jmp 0x62c123
mov byte [eax], dl
mov eax, dword [esp + 0xb0]
add eax, 4
mov dword [esp + 0xb0], eax
jmp 0x62c1a2
cmp byte [esi + 2], 0x34
je 0x62cad6
mov ecx, 0x36
mov dword [esp + 0x1c], 0
mov edx, 4
mov esi, ebp
jmp 0x62c123
lea eax, [esp + 0x60]
movzx ecx, byte [esi + 1]
mov edx, 2
mov esi, ebp
mov dword [esp + 0x60], 0
mov dword [esp + 0x20], eax
jmp 0x62c123
mov eax, dword [esp + 0x20]
sub ebx, 0x30
movzx ecx, byte [esi + 1]
mov esi, ebp
mov dword [eax], ebx
jmp 0x62c123
cmp byte [esi + 2], 0x32
mov ecx, 0x33
jne 0x62c52b
lea ebp, [esi + 3]
movzx ecx, byte [esi + 3]
mov edx, 4
mov dword [esp + 0x1c], 2
mov esi, ebp
jmp 0x62c123
mov edi, dword [esp + 0xb0]
xor edx, edx
mov eax, dword [eax]
mov dword [esp + 0x44], edx
add edi, 4
mov dword [esp + 0x40], eax
mov dword [esp + 0xb0], edi
jmp 0x62c3e9
mov word [eax], dx
mov eax, dword [esp + 0xb0]
add eax, 4
mov dword [esp + 0xb0], eax
jmp 0x62c1a2
mov eax, dword [eax]
mov ebx, dword [esp + 0xb0]
cdq
mov dword [esp + 0x40], eax
add ebx, 4
mov dword [esp + 0x44], edx
mov dword [esp + 0xb0], ebx
jmp 0x62c4e0
or ah, 2
mov dword [esp + 0x60], 8
mov dword [esp + 0x58], eax
jmp 0x62c1c2
lea edx, [esp + 0x54]
mov eax, 0x25
mov ebp, edi
call fcn.0062a890
jmp 0x62c1a2
movsx eax, word [esp + 0x40]
mov dword [esp + 0xb0], ecx
cdq
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
jmp 0x62c4e0
mov dword [eax], edx
mov eax, dword [esp + 0xb0]
add eax, 4
mov dword [esp + 0xb0], eax
jmp 0x62c1a2
movzx eax, word [esp + 0x40]
xor edx, edx
mov dword [esp + 0xb0], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], eax
jmp 0x62c3e9
test edx, edx
jne 0x62caf1
or dword [esp + 0x58], 0x400
neg dword [esp + 0x5c]
jmp 0x62c752
movzx eax, byte [esp + 0x40]
xor edx, edx
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], eax
jmp 0x62c3e9
movsx eax, byte [esp + 0x40]
cdq
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
jmp 0x62c4e0
mov ebx, edx
sar ebx, 0x1f
mov dword [eax + 4], ebx
mov eax, dword [esp + 0xb0]
add eax, 4
mov dword [esp + 0xb0], eax
jmp 0x62c1a2
lea ebp, [esi + 3]
movzx ecx, byte [esi + 3]
mov edx, 4
mov dword [esp + 0x1c], 3
mov esi, ebp
jmp 0x62c123
movzx ecx, byte [esi + 1]
mov dword [esp + 0x60], 0xffffffff
mov esi, ebp
mov dword [esp + 0xb0], ebx
mov dword [esp + 0x20], 0
jmp 0x62c123