Function at 0x4051d0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
xor esi, esi
sub esp, 0x8c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], 0xffffffff
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x2c], 0xfffffffd
mov word [ebp - 0x28], si
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 8]
and eax, 0x3000
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
mov dword [esp], str.PRINTF_EXPONENT_DIGITS
call sub.msvcrt.dll_getenv
test eax, eax
je 0x4055d1
movsx edx, byte [eax]
mov eax, 2
sub edx, 0x30
cmp edx, 2
ja 0x4055d1
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x50], ebx
jmp 0x405263
mov esi, ebx
add ebx, 1
mov dword [ebp - 0x50], ebx
cmp byte [esi], 0
je 0x405350
cmp byte [ebx], 0x25
jne 0x405252
lea eax, [ebx + 1]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
call fcn.00404a20
test eax, eax
mov edi, eax
jne 0x4055e3
mov edi, dword [ebp - 0x50]
movzx eax, byte [edi]
cmp al, 0x24
je 0x405ed2
mov dword [ebp - 0x64], ebx
mov ebx, eax
jmp 0x4052a6
add edi, 1
movzx ebx, byte [edi]
movsx esi, bl
mov dword [esp], str.__0
mov dword [esp + 4], esi
call sub.msvcrt.dll_strchr
test eax, eax
jne 0x4052a0
mov eax, ebx
mov ecx, ebx
mov ebx, dword [ebp - 0x64]
cmp al, 0x2a
je 0x405804
lea edx, [esi - 0x30]
cmp edx, 9
ja 0x4052e6
add edi, 1
movsx eax, byte [edi]
mov edx, eax
sub eax, 0x30
cmp eax, 9
jbe 0x4052d4
mov ecx, edx
cmp cl, 0x2e
mov eax, edi
je 0x4057d5
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
call fcn.00403840
mov esi, dword [ebp - 0x50]
movzx edi, byte [esi]
mov dword [esp], str.aAeEfFgGcCdiouxXnpsS
mov eax, edi
movsx eax, al
mov dword [esp + 4], eax
call sub.msvcrt.dll_strchr
test eax, eax
je 0x405332
sub eax, str.aAeEfFgGcCdiouxXnpsS
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 0xffffffff
jne 0x405ed2
mov eax, edi
cmp al, 0x25
je 0x4056c7
mov esi, ebx
mov ebx, dword [ebp - 0x60]
mov dword [ebp - 0x50], ebx
cmp byte [esi], 0
jne 0x405263
lea esi, [esi]
mov edx, dword [ebp - 0x5c]
lea eax, [edx*4 + 0x12]
shr eax, 4
shl eax, 4
call fcn.00402170
mov edi, 0xffffffff
sub esp, eax
test edx, edx
lea eax, [esp + 0xc]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
je 0x4056f0
lea eax, [edx + edx + 0x10]
mov dword [ebp - 0x78], esp
shr eax, 4
shl eax, 4
call fcn.00402170
mov edi, dword [ebp + 0x14]
sub esp, eax
lea eax, [esp + 0xc]
mov dword [ebp - 0x4c], edi
mov ecx, eax
mov dword [ebp - 0x60], eax
xor eax, eax
xor ebx, ebx
mov word [ecx + eax*2], bx
add eax, 1
cmp edx, eax
jg 0x4053a3
cmp byte [edi], 0x25
je 0x4053cb
mov ebx, edi
add edi, 1
mov dword [ebp - 0x4c], edi
cmp byte [ebx], 0
je 0x405530
cmp byte [edi], 0x25
jne 0x4053b5
lea eax, [edi + 1]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
call fcn.00404a20
test eax, eax
mov dword [ebp - 0x64], eax
jle 0x405d2a
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
lea ebx, [eax + 1]
mov dword [ebp - 0x4c], ebx
jmp 0x405403
add ebx, 1
movsx eax, byte [ebx]
mov dword [esp], str.__0
mov dword [esp + 4], eax
call sub.msvcrt.dll_strchr
test eax, eax
jne 0x405400
mov dword [ebp - 0x4c], ebx
movzx eax, byte [ebx]
cmp al, 0x2a
je 0x405ee9
movsx edx, al
sub edx, 0x30
cmp edx, 9
ja 0x405446
add ebx, 1
mov dword [ebp - 0x4c], ebx
movsx edx, byte [ebx]
mov eax, edx
sub edx, 0x30
cmp edx, 9
jbe 0x405433
cmp al, 0x2e
je 0x405e0e
lea eax, [ebp - 0x4c]
call fcn.00403840
cmp eax, 1
mov edx, eax
je 0x405c68
cmp eax, 4
je 0x405c68
mov esi, dword [ebp - 0x64]
mov dword [ebp - 0x7c], edx
mov ebx, dword [ebp - 0x4c]
test esi, esi
je 0x405c7b
movsx eax, byte [ebx]
mov byte [ebp - 0x7d], al
mov dword [esp + 4], eax
mov dword [esp], str.aAeEfFgGcCdiouxXnpsS
call sub.msvcrt.dll_strchr
test eax, eax
movzx ecx, byte [ebp - 0x7d]
je 0x405c7e
sub eax, str.aAeEfFgGcCdiouxXnpsS
mov esi, eax
sar esi, 0x1f
and esi, 7
add esi, eax
sar esi, 3
add esi, 1
test esi, esi
jle 0x405c7e
mov edx, dword [ebp - 0x7c]
mov byte [ebp - 0x54], cl
lea ecx, [ebp - 0x54]
mov eax, ecx
mov edi, edx
mov byte [ebp - 0x53], dl
call fcn.00404ae0
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x64]
lea ecx, [ecx + eax*2 - 2]
cmp word [ecx], 0
jne 0x405e4b
mov eax, esi
mov byte [ecx], al
mov eax, edi
mov byte [ecx + 1], al
lea eax, [ebp - 0x48]
lea esi, [ebp - 0x40]
mov edx, dword [eax]
lea ecx, [edx - 1]
test edx, edx
mov dword [eax], ecx
jle 0x405514
mov edi, dword [ebp - 0x60]
lea edx, [edi + ecx*2]
cmp word [edx], 0
jne 0x405514
mov ecx, 0x64
mov word [edx], cx
add eax, 4
cmp esi, eax
jne 0x4054f5
lea edi, [ebx + 1]
mov dword [ebp - 0x4c], edi
cmp byte [ebx], 0
jne 0x4053c6
lea esi, [esi]
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x60]
xor eax, eax
nop
lea esi, [esi]
cmp word [edx + eax*2], 0
je 0x4056e0
add eax, 1
cmp eax, ecx
jl 0x405540
mov edi, dword [ebp - 0x5c]
test edi, edi
je 0x4056e7
mov eax, dword [ebp - 0x60]
mov ebx, dword [ebp + 0x18]
xor edx, edx
mov ecx, dword [ebp - 0x74]
add eax, 1
mov dword [ebp - 0x60], ebx
jmp 0x4055a5
cmp bl, 3
je 0x405ce2
movzx esi, byte [eax]
mov ebx, esi
cmp bl, 2
je 0x405ce2
cmp bl, 3
jne 0x405ce2
add dword [ebp - 0x60], 8
add edx, 1
add ecx, 4
add eax, 2
cmp edx, edi
jge 0x4056e7
mov esi, dword [ebp - 0x60]
mov dword [ecx], esi
movzx esi, byte [eax - 1]
mov ebx, esi
cmp bl, 1
jne 0x405570
movzx esi, byte [eax]
cmp esi, 0x4c
je 0x4055cb
test byte [0x40e06d], 1
je 0x405590
cmp esi, 2
jne 0x405590
add dword [ebp - 0x60], 0xc
jmp 0x405594
mov eax, dword [0x40e06c]
and eax, 1
neg eax
add eax, 3
jmp 0x405240
mov eax, dword [ebp - 0x50]
lea esi, [eax + 1]
mov dword [ebp - 0x50], esi
jmp 0x4055f3
add esi, 1
movsx eax, byte [esi]
mov dword [esp], str.__0
mov dword [esp + 4], eax
call sub.msvcrt.dll_strchr
test eax, eax
jne 0x4055f0
mov dword [ebp - 0x50], esi
movzx eax, byte [esi]
cmp al, 0x2a
je 0x405ceb
movsx edx, al
lea ecx, [esi + 1]
sub edx, 0x30
cmp edx, 9
ja 0x405d21
mov esi, ebx
lea esi, [esi]
mov dword [ebp - 0x50], ecx
movsx edx, byte [ecx]
mov eax, ecx
lea ecx, [ecx + 1]
mov ebx, edx
sub edx, 0x30
cmp edx, 9
jbe 0x405630
mov ecx, esi
mov esi, ebx
mov edx, esi
mov ebx, ecx
cmp dl, 0x2e
jne 0x405683
lea edx, [eax + 1]
mov dword [ebp - 0x50], edx
movsx edx, byte [eax + 1]
cmp dl, 0x2a
je 0x405dbc
sub edx, 0x30
add eax, 2
cmp edx, 9
ja 0x405683
mov edx, eax
mov dword [ebp - 0x50], eax
add eax, 1
movsx edx, byte [edx]
sub edx, 0x30
cmp edx, 9
jbe 0x405670
lea eax, [ebp - 0x50]
call fcn.00403840
mov esi, dword [ebp - 0x50]
movsx eax, byte [esi]
mov byte [ebp - 0x64], al
mov dword [esp + 4], eax
mov dword [esp], str.aAeEfFgGcCdiouxXnpsS
call sub.msvcrt.dll_strchr
test eax, eax
movzx ecx, byte [ebp - 0x64]
je 0x4056d0
sub eax, str.aAeEfFgGcCdiouxXnpsS
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 0xffffffff
je 0x4056d0
cmp dword [ebp - 0x5c], edi
jge 0x4056c7
mov dword [ebp - 0x5c], edi
lea ebx, [esi + 1]
jmp 0x405257
cmp cl, 0x25
jne 0x40533c
jmp 0x4056c7
mov dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x5c]
mov esp, dword [ebp - 0x78]
lea edi, [eax - 1]
mov esi, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x74], edi
lea esi, [esi]
lea edi, [edx + 1]
mov dword [ebp + 0x14], edi
movsx eax, byte [edx]
test eax, eax
je 0x4057ac
cmp eax, 0x25
jne 0x405790
mov edx, dword [ebp - 0x5c]
mov ecx, edi
test edx, edx
je 0x405735
lea eax, [ebp + 0x14]
call fcn.00404ab0
test eax, eax
jle 0x405732
mov ecx, dword [ebp - 0x70]
mov esi, dword [ecx + eax*4 - 4]
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x34], 0xffffffff
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x38], eax
cmp byte [ecx], 0
lea eax, [ebp - 0x34]
mov dword [ebp - 0x68], eax
je 0x40583d
lea edx, [ecx + 1]
mov dword [ebp + 0x14], edx
movsx ebx, byte [ecx]
mov eax, ebx
sub eax, 0x20
cmp al, 0x5a
ja case.0x40577f.1
movzx eax, al
jmp dword [eax*4 + 0x40b290]
lea edx, [ebp - 0x3c]
call fcn.00403a50
mov edx, dword [ebp + 0x14]
lea edi, [edx + 1]
mov dword [ebp + 0x14], edi
movsx eax, byte [edx]
test eax, eax
jne 0x405711
mov eax, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x74]
test eax, eax
je 0x4057ca
lea esi, [esi]
lea edi, [edi]
sub edi, 1
lea eax, [edi + 1]
test eax, eax
jg 0x4057c0
mov eax, dword [ebp - 0x24]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
movsx edx, byte [edi + 1]
cmp dl, 0x2a
je 0x405d19
sub edx, 0x30
add eax, 1
cmp edx, 9
ja 0x4052f1
add eax, 1
movsx edx, byte [eax]
sub edx, 0x30
cmp edx, 9
jbe 0x4057f1
jmp 0x4052f1
movzx eax, byte [edi + 1]
add edi, 1
mov ecx, eax
jmp 0x4052e6
test byte [0x40e06d], 1
je 0x40585a
cmp eax, 2
jne 0x40585a
mov dword [ebp - 0x64], 2
or dword [ebp - 0x38], 4
mov dword [ebp - 0x60], 4
mov ecx, edx
cmp byte [ecx], 0
jne 0x405766
mov edx, ecx
jmp 0x405700
lea eax, [ebp + 0x14]
mov dword [ebp + 0x14], ecx
call fcn.00403840
cmp ebx, 0x6c
mov dword [ebp - 0x64], eax
mov edx, dword [ebp + 0x14]
je 0x405812
mov dword [ebp - 0x60], 4
mov ecx, edx
jmp 0x405834
mov eax, dword [ebp - 0x38]
test al, 4
je 0x405ab3
fld xword [esi]
lea ebx, [esi + 0xc]
lea eax, [ebp - 0x3c]
mov esi, ebx
fstp xword [esp]
call fcn.004048a0
mov edx, dword [ebp + 0x14]
jmp 0x405700
mov eax, dword [ebp - 0x38]
test al, 4
mov eax, esi
je 0x40591d
fld xword [eax]
lea eax, [ebp - 0x3c]
add esi, 0xc
fstp xword [esp]
call fcn.004047d0
mov edx, dword [ebp + 0x14]
jmp 0x405700
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x4058c2
mov eax, dword [ebp - 0x6c]
cmp eax, dword [ebp - 0x38]
je 0x405f98
mov eax, esi
add esi, 4
mov eax, dword [eax]
mov dword [ebp - 0x44], 0
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x3c]
mov edx, dword [ebp - 0x48]
mov dword [esp], eax
mov eax, 0x78
call fcn.00403f90
mov edx, dword [ebp + 0x14]
jmp 0x405700
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x405832
or dword [ebp - 0x38], 0x400
mov ecx, edx
jmp 0x405834
mov eax, dword [ebp - 0x38]
or eax, 0x20
test al, 4
mov dword [ebp - 0x38], eax
mov eax, esi
jne 0x405897
fld qword [eax]
lea eax, [ebp - 0x3c]
add esi, 8
fstp xword [esp]
call fcn.004047d0
mov edx, dword [ebp + 0x14]
jmp 0x405700
mov eax, dword [ebp - 0x38]
or eax, 0x20
test al, 4
mov dword [ebp - 0x38], eax
mov eax, esi
je 0x405b74
fld xword [eax]
lea eax, [ebp - 0x3c]
add esi, 0xc
fstp xword [esp]
call fcn.00404720
mov edx, dword [ebp + 0x14]
jmp 0x405700
or dword [ebp - 0x38], 0x80
cmp dword [ebp - 0x64], 3
mov eax, esi
je 0x405f39
add esi, 4
cmp dword [ebp - 0x64], 2
mov eax, dword [eax]
mov dword [ebp - 0x48], eax
mov ecx, eax
je 0x405e94
sar ecx, 0x1f
cmp dword [ebp - 0x64], 1
mov dword [ebp - 0x44], ecx
je 0x405fe4
cmp dword [ebp - 0x64], 4
je 0x405e8b
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x3c]
call fcn.00403d50
mov edx, dword [ebp + 0x14]
jmp 0x405700
mov eax, dword [ebp - 0x38]
or eax, 0x20
test al, 4
mov dword [ebp - 0x38], eax
je 0x405bd5
mov eax, esi
add esi, 0xc
fld xword [eax]
lea eax, [ebp - 0x3c]
fstp xword [esp]
call fcn.00404b70
mov edx, dword [ebp + 0x14]
jmp 0x405700
cmp dword [ebp - 0x64], 3
mov eax, esi
je 0x405f26
add esi, 4
cmp dword [ebp - 0x64], 2
mov eax, dword [eax]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], eax
je 0x405a17
cmp dword [ebp - 0x64], 1
je 0x405ff6
cmp dword [ebp - 0x64], 4
je 0x405faa
cmp ebx, 0x75
je 0x4059a1
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x3c]
mov dword [esp], eax
mov eax, ebx
call fcn.00403f90
mov edx, dword [ebp + 0x14]
jmp 0x405700
mov dword [ebp - 0x30], 0xffffffff
mov eax, dword [esi]
lea ebx, [esi + 4]
lea ecx, [ebp - 0x3c]
mov edx, 1
mov esi, ebx
mov word [ebp - 0x48], ax
lea eax, [ebp - 0x48]
call fcn.00403ab0
mov edx, dword [ebp + 0x14]
jmp 0x405700
cmp dword [ebp - 0x64], 4
je 0x405f14
cmp dword [ebp - 0x64], 1
je 0x405e9f
mov eax, esi
add esi, 4
cmp dword [ebp - 0x64], 2
mov eax, dword [eax]
mov ecx, dword [ebp - 0x24]
je 0x405fdd
cmp dword [ebp - 0x64], 3
mov dword [eax], ecx
jne 0x405700
mov edi, ecx
sar edi, 0x1f
mov dword [eax + 4], edi
jmp 0x405700
mov eax, dword [ebp - 0x38]
or eax, 0x20
test al, 4
mov dword [ebp - 0x38], eax
jne 0x405870
mov eax, esi
add esi, 8
fld qword [eax]
lea eax, [ebp - 0x3c]
fstp xword [esp]
call fcn.004048a0
mov edx, dword [ebp + 0x14]
jmp 0x405700
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x405832
or dword [ebp - 0x38], 0x800
mov ecx, edx
jmp 0x405834
mov ebx, dword [ebp - 0x60]
test ebx, ebx
jne 0x405832
or dword [ebp - 0x38], 0x40
mov ecx, edx
jmp 0x405834
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x40585a
test byte [ebp - 0x60], 5
jne 0x405e68
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x405eaf
lea eax, [ebp + 0x14]
call fcn.00404ab0
test eax, eax
jle 0x405eaf
mov ecx, dword [ebp - 0x70]
mov eax, dword [ecx + eax*4 - 4]
mov eax, dword [eax]
mov dword [ebx], eax
jmp 0x405eb9
lea edx, [ebp - 0x3c]
mov eax, ebx
call fcn.00403a50
mov edx, dword [ebp + 0x14]
jmp 0x405700
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x405832
or dword [ebp - 0x38], 0x100
mov ecx, edx
jmp 0x405834
mov eax, dword [ebp - 0x38]
test al, 4
mov eax, esi
jne 0x405948
fld qword [eax]
lea eax, [ebp - 0x3c]
add esi, 8
fstp xword [esp]
call fcn.00404720
mov edx, dword [ebp + 0x14]
jmp 0x405700
mov ecx, dword [ebp - 0x60]
test ecx, ecx
jne 0x405d9c
or dword [ebp - 0x38], 0x200
mov ecx, edx
jmp 0x405834
cmp dword [ebp - 0x60], 1
ja 0x40585a
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x60], 2
mov ecx, edx
mov dword [ebp - 0x68], eax
jmp 0x405834
mov eax, dword [ebp - 0x38]
test al, 4
jne 0x4059c8
fld qword [esi]
lea ebx, [esi + 8]
lea eax, [ebp - 0x3c]
fstp xword [esp]
mov esi, ebx
call fcn.00404b70
mov edx, dword [ebp + 0x14]
jmp 0x405700
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x30], 0xffffffff
sub eax, 2
cmp eax, 1
jbe 0x405a3e
mov eax, dword [esi]
lea ebx, [esi + 4]
lea ecx, [ebp - 0x3c]
mov edx, 1
mov esi, ebx
mov byte [ebp - 0x48], al
lea eax, [ebp - 0x48]
call fcn.00403bd0
mov edx, dword [ebp + 0x14]
jmp 0x405700
mov eax, dword [ebp - 0x64]
sub eax, 2
cmp eax, 1
jbe case.0x40577f.51
lea ebx, [esi + 4]
mov esi, dword [esi]
test esi, esi
je 0x405f4c
mov dword [esp], esi
call sub.msvcrt.dll_strlen
mov edx, eax
lea ecx, [ebp - 0x3c]
mov eax, esi
mov esi, ebx
call fcn.00403bd0
mov edx, dword [ebp + 0x14]
jmp 0x405700
mov dword [ebp - 0x64], 0
mov esi, dword [ebp - 0x64]
xor edx, edx
mov ebx, dword [ebp - 0x4c]
mov dword [ebp - 0x7c], edx
test esi, esi
jne 0x40547b
movzx ecx, byte [ebx]
cmp cl, 0x25
je 0x40551b
mov ebx, edi
mov edi, dword [ebp - 0x68]
jmp 0x4053ba
mov ecx, dword [ebp - 0x60]
cmp ecx, 4
je 0x405fc5
lea eax, [ebx - 0x30]
cmp eax, 9
ja 0x405fc5
test ecx, ecx
jne 0x405da6
mov dword [ebp - 0x60], 1
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x405832
mov ecx, dword [eax]
sub ebx, 0x30
xor eax, eax
test ecx, ecx
jle 0x405cd4
lea ecx, [ecx + ecx*4]
lea eax, [ecx + ecx]
mov ecx, dword [ebp - 0x68]
add eax, ebx
mov dword [ecx], eax
mov ecx, edx
jmp 0x405834
add dword [ebp - 0x60], 4
jmp 0x405594
lea eax, [esi + 1]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
call fcn.00404a20
test eax, eax
je 0x405ed2
cmp edi, eax
jge 0x405d07
mov edi, eax
mov edx, dword [ebp - 0x50]
lea eax, [edx + 1]
mov dword [ebp - 0x50], eax
movzx edx, byte [edx + 1]
jmp 0x40564d
add eax, 2
jmp 0x4052f1
mov edx, eax
mov eax, esi
jmp 0x40564d
mov esi, dword [ebp - 0x4c]
mov dword [ebp - 0x64], edi
jmp 0x405d35
add esi, 1
movsx edi, byte [esi]
mov dword [esp], str.__0
mov dword [esp + 4], edi
call sub.msvcrt.dll_strchr
test eax, eax
jne 0x405d32
mov eax, edi
mov ebx, edi
mov edi, dword [ebp - 0x64]
cmp al, 0x2a
je 0x405e7f
lea edx, [ebx - 0x30]
mov ebx, eax
cmp edx, 9
ja 0x405d75
add esi, 1
movsx eax, byte [esi]
mov ebx, eax
sub eax, 0x30
cmp eax, 9
jbe 0x405d65
cmp bl, 0x2e
mov eax, esi
je 0x405f5b
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
call fcn.00403840
mov ebx, dword [ebp - 0x4c]
cmp byte [ebx], 0x25
jne 0x405c87
jmp 0x40551b
cmp dword [ebp - 0x60], 4
je 0x405fc5
cmp dword [ebp - 0x60], 2
jne 0x405cb8
mov dword [ebp - 0x60], 3
jmp 0x405cb8
add eax, 2
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
call fcn.00404a20
test eax, eax
je 0x405ed2
cmp edi, eax
jl 0x405e74
add dword [ebp - 0x50], 1
jmp 0x405683
lea ebx, [esi + 4]
mov esi, dword [esi]
test esi, esi
je 0x406049
mov dword [esp], esi
call sub.msvcrt.dll_wcslen
lea ecx, [ebp - 0x3c]
mov edx, eax
mov eax, esi
mov esi, ebx
call fcn.00403ab0
mov edx, dword [ebp + 0x14]
jmp 0x405700
lea eax, [ebx + 1]
mov dword [ebp - 0x4c], eax
movsx edx, byte [ebx + 1]
cmp dl, 0x2a
jne 0x405e2b
jmp 0x40602b
add eax, 1
mov dword [ebp - 0x4c], eax
movsx edx, byte [eax]
sub edx, 0x30
cmp edx, 9
jbe 0x405e22
lea eax, [ebp - 0x4c]
call fcn.00403840
cmp eax, 1
mov edx, eax
jne 0x405461
jmp 0x405c68
mov eax, ecx
mov dword [ebp - 0x64], ecx
call fcn.00404ae0
mov edx, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
cmp edx, eax
jbe 0x4054ef
jmp 0x4054e6
mov dword [ebp - 0x68], 0
jmp 0x40585a
mov edi, eax
add dword [ebp - 0x50], 1
jmp 0x405683
movzx ebx, byte [esi + 1]
add esi, 1
jmp 0x405d75
movsx eax, byte [ebp - 0x48]
mov dword [ebp - 0x48], eax
mov ecx, eax
sar ecx, 0x1f
mov dword [ebp - 0x44], ecx
jmp 0x4059a1
mov eax, dword [esi]
mov ecx, dword [ebp - 0x24]
add esi, 4
mov word [eax], cx
jmp 0x405700
mov eax, dword [esi]
mov ecx, dword [ebp - 0x68]
add esi, 4
mov dword [ecx], eax
test eax, eax
js 0x406009
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x68], 0
mov ecx, edx
jmp 0x405834
lea eax, [ebp - 0x54]
mov edi, 0xffffffff
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x70], eax
jmp 0x4056f0
lea eax, [ebp - 0x4c]
add ebx, 1
mov dword [ebp - 0x4c], ebx
call fcn.00404a20
test eax, eax
mov dword [ebp - 0x48], eax
jne 0x405f86
mov ebx, dword [ebp - 0x4c]
mov dword [ebp - 0x64], 0
movzx eax, byte [ebx]
jmp 0x405446
mov eax, dword [esi]
mov edx, dword [ebp - 0x24]
add esi, 4
mov byte [eax], dl
mov edx, dword [ebp + 0x14]
jmp 0x405700
mov edx, dword [eax + 4]
mov eax, dword [eax]
add esi, 8
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
jmp 0x405a17
mov edx, dword [eax + 4]
mov eax, dword [eax]
add esi, 8
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
jmp 0x4059a1
mov edx, 6
mov esi, str._null_
jmp 0x405c4d
movsx edx, byte [esi + 1]
cmp dl, 0x2a
je 0x405fbd
sub edx, 0x30
add eax, 1
cmp edx, 9
ja 0x405d80
add eax, 1
movsx edx, byte [eax]
sub edx, 0x30
cmp edx, 9
jbe 0x405f73
jmp 0x405d80
mov eax, dword [ebp - 0x4c]
lea ebx, [eax + 1]
mov dword [ebp - 0x4c], ebx
movzx eax, byte [eax + 1]
jmp 0x405446
or ah, 2
mov dword [ebp - 0x30], 8
mov dword [ebp - 0x38], eax
jmp 0x4058c2
movzx eax, byte [ebp - 0x48]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], eax
jmp 0x405a17
add eax, 2
jmp 0x405d80
lea edx, [ebp - 0x3c]
mov eax, 0x25
mov dword [ebp + 0x14], edi
call fcn.00403a50
mov edx, dword [ebp + 0x14]
jmp 0x405700
mov dword [eax], ecx
jmp 0x405700
movsx eax, word [ebp - 0x48]
mov dword [ebp - 0x48], eax
sar eax, 0x1f
mov dword [ebp - 0x44], eax
jmp 0x4059a1
movzx eax, word [ebp - 0x48]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], eax
jmp 0x405a17
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x406053
mov edx, dword [ebp + 0x14]
or dword [ebp - 0x38], 0x400
neg dword [ebp - 0x34]
mov dword [ebp - 0x68], 0
mov ecx, edx
jmp 0x405834
lea eax, [ebp - 0x4c]
add ebx, 2
mov dword [ebp - 0x4c], ebx
call fcn.00404a20
test eax, eax
mov dword [ebp - 0x44], eax
je 0x40605f
add dword [ebp - 0x4c], 1
jmp 0x40544e
mov esi, 0x40b25a
jmp 0x405df0
mov dword [ebp - 0x30], 0xffffffff
jmp 0x405ec1
lea eax, [ebp - 0x4c]
call fcn.00403840
cmp eax, 1
je 0x405c61
cmp eax, 4
je 0x405c61
mov ebx, dword [ebp - 0x4c]
movzx ecx, byte [ebx]
jmp 0x405c7e