Function at 0x62e8f2d0
Capabilities:
Query environment variable

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xbc
and dword [esp + 0xd0], 0x3000
mov ebx, dword [esp + 0xdc]
mov esi, dword [esp + 0xe0]
mov dword [esp], str.PRINTF_EXPONENT_DIGITS
call sub.msvcrt.dll_getenv
test eax, eax
je 0x62e8f3e8
movsx eax, byte [eax]
sub eax, 0x30
cmp eax, 2
ja 0x62e8f3e8
mov edx, 2
mov eax, dword [esp + 0xd4]
mov ecx, dword [esp + 0xd0]
mov dword [esp + 0x64], 0xffffffff
mov dword [esp + 0x68], 0xffffffff
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xd0]
or ch, 2
mov dword [esp + 0x6c], 0xfffffffd
mov word [esp + 0x70], 0
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0xd8]
mov dword [esp + 0x74], 0
mov dword [esp + 0x7c], edx
mov dword [esp + 0x78], eax
movzx edx, byte [ebx]
mov dword [esp + 0x4c], ecx
movsx eax, dl
test eax, eax
je 0x62e8f41a
cmp eax, 0x25
lea edi, [ebx + 1]
jne 0x62e8f400
mov eax, dword [esp + 0xd0]
lea ecx, [esp + 0x64]
xor ebp, ebp
mov dword [esp + 0x68], 0xffffffff
mov dword [esp + 0x64], 0xffffffff
mov dword [esp + 0x60], eax
movzx edx, byte [ebx + 1]
mov ebx, edi
mov dword [esp + 0x48], ecx
xor ecx, ecx
test dl, dl
je 0x62e8f378
movsx eax, dl
sub edx, 0x20
add ebx, 1
cmp dl, 0x5a
jbe 0x62e8f430
cmp eax, 0x39
jle 0x62e8f480
lea edx, [esp + 0x5c]
mov eax, 0x25
call fcn.62e8dfc0
mov ebx, edi
movzx edx, byte [edi]
jmp 0x62e8f378
call fcn.62e92938
mov edx, 3
test al, 1
je 0x62e8f31b
jmp 0x62e8f316
lea edx, [esp + 0x5c]
call fcn.62e8dfc0
movzx edx, byte [ebx + 1]
mov ebx, edi
movsx eax, dl
test eax, eax
jne 0x62e8f383
mov eax, dword [esp + 0x74]
add esp, 0xbc
pop ebx
pop esi
pop edi
pop ebp
ret
movzx edx, dl
jmp dword [edx*4 + 0x62e98774]
mov eax, esi
movzx edx, byte [ebx]
mov ebp, 2
mov ecx, 4
mov esi, eax
jmp 0x62e8f3b8
cmp byte [ebx], 0x6c
mov ebp, 2
jne case.0x62e8f433.44
add ebx, 1
mov bp, 3
or dword [esp + 0x60], 4
mov eax, esi
movzx edx, byte [ebx]
mov ecx, 4
mov esi, eax
jmp 0x62e8f3b8
cmp ecx, 3
ja 0x62e8f3d3
cmp eax, 0x2f
jle 0x62e8f3d3
test ecx, ecx
jne 0x62e8fb50
mov cl, 1
mov edx, dword [esp + 0x48]
test edx, edx
je 0x62e8f4c7
mov edx, dword [esp + 0x48]
mov edx, dword [edx]
test edx, edx
mov dword [esp + 0x3c], edx
js 0x62e8fc52
mov edx, dword [esp + 0x3c]
lea edx, [edx + edx*4]
lea eax, [eax + edx*2 - 0x30]
mov edx, dword [esp + 0x48]
mov dword [edx], eax
mov eax, esi
movzx edx, byte [ebx]
mov esi, eax
jmp 0x62e8f3b8
sub ebp, 2
cmp ebp, 1
jbe case.0x62e8f433.51
mov edi, dword [esi]
test edi, edi
je 0x62e8fd54
mov dword [esp], edi
call sub.msvcrt.dll_strlen
mov edx, eax
lea ecx, [esp + 0x5c]
mov eax, edi
call fcn.62e8e130
add esi, 4
movzx edx, byte [ebx]
jmp 0x62e8f378
test ecx, ecx
jne 0x62e8f525
mov ecx, dword [esp + 0xd0]
cmp dword [esp + 0x60], ecx
je 0x62e8fd7b
mov edx, dword [esi]
lea edi, [esi + 4]
xor ecx, ecx
lea esi, [esp + 0x5c]
mov eax, 0x78
mov dword [esp], esi
mov esi, edi
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa0], edx
call fcn.62e8e480
movzx edx, byte [ebx]
jmp 0x62e8f378
cmp ebp, 4
mov eax, esi
je 0x62e8fc82
cmp ebp, 1
je 0x62e8fc22
cmp ebp, 2
je 0x62e8f577
cmp ebp, 3
je 0x62e8fdfa
mov edx, dword [esp + 0x74]
add esi, 4
mov eax, dword [eax]
mov dword [eax], edx
movzx edx, byte [ebx]
jmp 0x62e8f378
mov eax, esi
movzx edx, byte [ebx]
mov ebp, 3
mov ecx, 4
mov esi, eax
jmp 0x62e8f3b8
movzx edx, byte [ebx]
cmp dl, 0x68
je 0x62e8fcb8
mov eax, esi
mov ebp, 1
mov ecx, 4
mov esi, eax
jmp 0x62e8f3b8
mov eax, dword [esp + 0x60]
mov edx, esi
or eax, 0x20
test al, 4
mov dword [esp + 0x60], eax
je 0x62e8f89e
mov eax, dword [edx]
add esi, 0xc
mov ecx, dword [edx + 8]
mov edx, dword [edx + 4]
mov dword [esp], eax
lea eax, [esp + 0x5c]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
call fcn.62e8ec70
movzx edx, byte [ebx]
jmp 0x62e8f378
mov eax, dword [esp + 0x60]
mov edx, esi
or eax, 0x20
test al, 4
mov dword [esp + 0x60], eax
je 0x62e8f8c5
mov eax, dword [edx]
add esi, 0xc
mov ecx, dword [edx + 8]
mov edx, dword [edx + 4]
mov dword [esp], eax
lea eax, [esp + 0x5c]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
call fcn.62e8eb90
movzx edx, byte [ebx]
jmp 0x62e8f378
mov eax, dword [esp + 0x60]
mov edx, esi
or eax, 0x20
test al, 4
mov dword [esp + 0x60], eax
je 0x62e8f8ee
mov eax, dword [edx]
add esi, 0xc
mov ecx, dword [edx + 8]
mov edx, dword [edx + 4]
mov dword [esp], eax
lea eax, [esp + 0x5c]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
call fcn.62e8ead0
movzx edx, byte [ebx]
jmp 0x62e8f378
sub ebp, 2
mov eax, esi
cmp ebp, 1
mov dword [esp + 0x68], 0xffffffff
jbe 0x62e8f911
mov eax, dword [eax]
mov edx, 1
add esi, 4
lea ecx, [esp + 0x5c]
mov byte [esp + 0xa0], al
lea eax, [esp + 0xa0]
call fcn.62e8e130
movzx edx, byte [ebx]
jmp 0x62e8f378
or dword [esp + 0x60], 0x80
cmp ebp, 3
mov eax, esi
je 0x62e8fcd1
cmp ebp, 2
je 0x62e8fc05
mov eax, dword [eax]
add esi, 4
mov edx, eax
sar edx, 0x1f
cmp ebp, 1
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], edx
je 0x62e8fdaf
cmp ebp, 4
je 0x62e8fe34
mov edx, dword [esp + 0xa4]
lea ecx, [esp + 0x5c]
mov eax, dword [esp + 0xa0]
call fcn.62e8e270
movzx edx, byte [ebx]
jmp 0x62e8f378
mov edx, dword [esp + 0x60]
mov eax, esi
or edx, 0x20
test dl, 4
mov dword [esp + 0x60], edx
je 0x62e8f94f
fld xword [eax]
add esi, 0xc
fld st(0)
fstp xword [esp + 0x90]
fxam
wait
fnstsw ax
and eax, 0x4500
cmp eax, 0x100
je 0x62e8fd0d
movzx ecx, word [esp + 0x98]
mov edi, ecx
and edi, 0x8000
jne 0x62e8fb60
fxam
wait
fnstsw ax
fstp st(0)
and eax, 0x4500
cmp eax, 0x500
je 0x62e8fd63
and cx, 0x7fff
test cx, cx
mov word [esp + 0x98], cx
je 0x62e8fb70
sub cx, 0x3fff
mov word [esp + 0x98], cx
lea eax, [esp + 0x5c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x90]
mov dword [esp], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0xc], eax
call fcn.62e8ee00
movzx edx, byte [ebx]
jmp 0x62e8f378
cmp ebp, 3
mov edx, esi
je 0x62e8fc67
cmp ebp, 2
nop
je 0x62e8fc36
mov ecx, dword [edx]
add esi, 4
cmp ebp, 1
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa0], ecx
je 0x62e8fd90
cmp ebp, 4
je 0x62e8fe15
cmp eax, 0x75
je 0x62e8f706
lea edx, [esp + 0x5c]
mov ecx, dword [esp + 0xa4]
mov dword [esp], edx
mov edx, dword [esp + 0xa0]
call fcn.62e8e480
movzx edx, byte [ebx]
jmp 0x62e8f378
movzx edx, byte [ebx]
cmp dl, 0x36
je 0x62e8fc95
cmp dl, 0x33
nop
je 0x62e8fbba
mov eax, esi
mov ebp, 2
mov ecx, 4
mov esi, eax
jmp 0x62e8f3b8
mov eax, dword [esp + 0x60]
mov edx, esi
test al, 4
jne 0x62e8f5da
fld qword [edx]
lea eax, [esp + 0x5c]
add esi, 8
fstp xword [esp]
call fcn.62e8ec70
movzx edx, byte [ebx]
jmp 0x62e8f378
mov eax, dword [esp + 0x60]
mov edx, esi
test al, 4
jne 0x62e8f616
fld qword [edx]
lea eax, [esp + 0x5c]
add esi, 8
fstp xword [esp]
call fcn.62e8eb90
movzx edx, byte [ebx]
jmp 0x62e8f378
mov eax, dword [esp + 0x60]
mov edx, esi
test al, 4
jne 0x62e8f655
fld qword [edx]
lea eax, [esp + 0x5c]
add esi, 8
fstp xword [esp]
call fcn.62e8ead0
movzx edx, byte [ebx]
jmp 0x62e8f378
mov dword [esp + 0x68], 0xffffffff
mov eax, esi
mov eax, dword [eax]
mov edx, 1
add esi, 4
lea ecx, [esp + 0x5c]
mov word [esp + 0xae], ax
lea eax, [esp + 0xae]
call fcn.62e8e020
movzx edx, byte [ebx]
jmp 0x62e8f378
mov edx, dword [esp + 0x60]
mov eax, esi
test dl, 4
jne 0x62e8f73b
fld qword [eax]
add esi, 8
fst qword [esp + 0x80]
fxam
wait
fnstsw ax
and eax, 0x4500
cmp eax, 0x100
je 0x62e8fd11
movzx ebp, word [esp + 0x86]
mov edi, ebp
and edi, 0x8000
je 0x62e8f989
or dl, 0x80
mov dword [esp + 0x60], edx
fstp qword [esp]
call fcn.62e91bd0
cmp eax, 0x500
je 0x62e8fd63
mov eax, dword [esp + 0x80]
shr bp, 4
mov edx, dword [esp + 0x84]
and bp, 0x7ff
mov word [esp + 0x88], bp
shld edx, eax, 8
shl eax, 8
mov dword [esp + 0x84], edx
mov dword [esp + 0x80], eax
movzx eax, word [esp + 0x86]
and ax, 0xfff
test bp, bp
mov word [esp + 0x86], ax
jne 0x62e8fd2c
mov eax, dword [esp + 0x84]
or eax, dword [esp + 0x80]
je 0x62e8fa07
mov word [esp + 0x88], 0xfc01
mov eax, dword [esp + 0x80]
lea edx, [esp + 0x5c]
mov dword [esp + 0x10], edx
mov dword [esp], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0xc], eax
call fcn.62e8ee00
movzx edx, byte [ebx]
jmp 0x62e8f378
test ecx, ecx
jne case.0x62e8f433.1
or dword [esp + 0x60], 0x200
mov eax, esi
movzx edx, byte [ebx]
mov esi, eax
jmp 0x62e8f3b8
cmp ecx, 1
jbe 0x62e8fcec
mov eax, esi
movzx edx, byte [ebx]
mov ecx, 4
mov esi, eax
jmp 0x62e8f3b8
test ecx, ecx
jne 0x62e8f4c7
or dword [esp + 0x60], 0x400
mov eax, esi
movzx edx, byte [ebx]
mov esi, eax
jmp 0x62e8f3b8
test ecx, ecx
jne 0x62e8f4c7
or dword [esp + 0x60], 0x100
mov eax, esi
movzx edx, byte [ebx]
mov esi, eax
jmp 0x62e8f3b8
mov eax, dword [esp + 0x48]
test eax, eax
je 0x62e8fa6c
test ecx, ecx
sete byte [esp + 0x2f]
cmp ecx, 2
je 0x62e8fbe0
cmp byte [esp + 0x2f], 0
jne 0x62e8fbe0
mov eax, esi
movzx edx, byte [ebx]
mov ecx, 4
mov dword [esp + 0x48], 0
mov esi, eax
jmp 0x62e8f3b8
lea edx, [esp + 0x5c]
call fcn.62e8dfc0
movzx edx, byte [ebx]
jmp 0x62e8f378
test ecx, ecx
jne 0x62e8f4c7
or dword [esp + 0x60], 0x800
mov eax, esi
movzx edx, byte [ebx]
mov esi, eax
jmp 0x62e8f3b8
test ecx, ecx
jne 0x62e8f4c7
or dword [esp + 0x60], 0x40
mov eax, esi
movzx edx, byte [ebx]
mov esi, eax
jmp 0x62e8f3b8
cmp ecx, 2
jne 0x62e8f49c
mov cl, 3
jmp 0x62e8f49c
or dl, 0x80
mov dword [esp + 0x60], edx
jmp 0x62e8f774
mov eax, dword [esp + 0x94]
or eax, dword [esp + 0x90]
je 0x62e8f7ae
jmp 0x62e8f7a1
mov edi, dword [esi]
test edi, edi
je 0x62e8fe54
mov dword [esp], edi
add esi, 4
call sub.msvcrt.dll_wcslen
lea ecx, [esp + 0x5c]
mov edx, eax
mov eax, edi
call fcn.62e8e020
movzx edx, byte [ebx]
jmp 0x62e8f378
cmp byte [ebx + 1], 0x32
jne 0x62e8f876
add ebx, 2
mov eax, esi
movzx edx, byte [ebx]
mov ebp, 2
mov ecx, 4
mov esi, eax
jmp 0x62e8f3b8
lea eax, [esi + 4]
mov esi, dword [esi]
mov edx, dword [esp + 0x48]
test esi, esi
mov dword [edx], esi
js 0x62e8fdcf
movzx edx, byte [ebx]
mov esi, eax
mov dword [esp + 0x48], 0
jmp 0x62e8f3b8
mov eax, dword [eax]
add esi, 4
mov ecx, eax
sar ecx, 0x1f
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
jmp 0x62e8f706
mov edx, dword [esp + 0x74]
add esi, 4
mov eax, dword [eax]
mov word [eax], dx
movzx edx, byte [ebx]
jmp 0x62e8f378
mov ecx, dword [edx]
add esi, 4
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa0], ecx
jmp 0x62e8f82f
mov edx, dword [esp + 0x48]
sub eax, 0x30
mov dword [edx], eax
mov eax, esi
movzx edx, byte [ebx]
mov esi, eax
jmp 0x62e8f3b8
mov ecx, dword [edx + 4]
add esi, 8
mov edx, dword [edx]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa0], edx
jmp 0x62e8f82f
mov edx, dword [esp + 0x74]
add esi, 4
mov eax, dword [eax]
mov byte [eax], dl
movzx edx, byte [ebx]
jmp 0x62e8f378
cmp byte [ebx + 1], 0x34
jne 0x62e8f876
add ebx, 2
mov eax, esi
movzx edx, byte [ebx]
mov ebp, 3
mov ecx, 4
mov esi, eax
jmp 0x62e8f3b8
add ebx, 1
mov eax, esi
movzx edx, byte [ebx]
mov ebp, 4
mov ecx, 4
mov esi, eax
jmp 0x62e8f3b8
mov edx, dword [eax + 4]
add esi, 8
mov eax, dword [eax]
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa0], eax
jmp 0x62e8f706
mov eax, esi
mov ecx, 2
lea esi, [esp + 0x68]
mov dword [esp + 0x68], 0
movzx edx, byte [ebx]
mov dword [esp + 0x48], esi
mov esi, eax
jmp 0x62e8f3b8
fstp st(0)
jmp 0x62e8fd13
fstp st(0)
mov edx, 0x62e98769
xor ax, ax
lea ecx, [esp + 0x5c]
call fcn.62e8e1e0
movzx edx, byte [ebx]
jmp 0x62e8f378
sub bp, 0x3ff
cmp bp, 0xff83
mov word [esp + 0x88], bp
jl 0x62e8fa07
add ax, 0x1000
mov word [esp + 0x86], ax
jmp 0x62e8fa07
mov edx, 6
mov edi, str._null_
jmp 0x62e8f4f3
mov edx, 0x62e9876d
mov eax, edi
lea ecx, [esp + 0x5c]
call fcn.62e8e1e0
movzx edx, byte [ebx]
jmp 0x62e8f378
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x68], 8
mov dword [esp + 0x60], eax
jmp 0x62e8f525
movzx edx, word [esp + 0xa0]
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa0], edx
jmp 0x62e8f82f
movsx eax, word [esp + 0xa0]
mov ecx, eax
sar ecx, 0x1f
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
jmp 0x62e8f706
cmp byte [esp + 0x2f], 0
je 0x62e8fe5e
or dword [esp + 0x60], 0x400
xor ecx, ecx
neg dword [esp + 0x64]
mov esi, eax
movzx edx, byte [ebx]
mov dword [esp + 0x48], 0
jmp 0x62e8f3b8
mov edx, dword [esp + 0x74]
add esi, 4
mov eax, dword [eax]
mov ecx, edx
sar ecx, 0x1f
mov dword [eax], edx
mov dword [eax + 4], ecx
movzx edx, byte [ebx]
jmp 0x62e8f378
movzx edx, byte [esp + 0xa0]
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa0], edx
jmp 0x62e8f82f
movsx eax, byte [esp + 0xa0]
mov edx, eax
sar edx, 0x1f
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], edx
jmp 0x62e8f706
mov edi, 0x62e98754
jmp 0x62e8fb9a
mov dword [esp + 0x68], 0xffffffff
jmp 0x62e8fbf3