Function at 0x405a90
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
xor esi, esi
push ebx
mov eax, dword [ebp + 0xc]
sub esp, 0x9c
mov dword [ebp - 0x40], 0xffffffff
mov dword [ebp - 0x3c], 0xffffffff
mov dword [ebp - 0x38], 0xfffffffd
mov word [ebp - 0x34], si
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 8]
and eax, 0x3000
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov dword [esp], str.PRINTF_EXPONENT_DIGITS
call sub.msvcrt.dll_getenv
test eax, eax
je 0x405ed5
movsx edx, byte [eax]
mov eax, 2
sub edx, 0x30
cmp edx, 2
ja 0x405ed5
xor ebx, ebx
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 0xfffffffd
mov word [ebp - 0x20], bx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x58], esi
jmp 0x405b41
mov ebx, esi
add esi, 1
mov dword [ebp - 0x58], esi
cmp byte [ebx], 0
je 0x405c30
cmp byte [esi], 0x25
jne 0x405b30
lea eax, [esi + 1]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x58]
call fcn.00404560
mov edi, eax
test eax, eax
jne 0x405ef0
mov ebx, dword [ebp - 0x58]
movzx ecx, byte [ebx]
cmp cl, 0x24
je 0x4067f5
mov dword [ebp - 0x74], esi
mov esi, ecx
jmp 0x405b86
add ebx, 1
movzx esi, byte [ebx]
mov eax, esi
mov dword [esp], str.__0
movsx edi, al
mov dword [esp + 4], edi
call sub.msvcrt.dll_strchr
test eax, eax
jne 0x405b80
mov ecx, esi
cmp cl, 0x2a
mov esi, dword [ebp - 0x74]
je 0x406103
lea edx, [edi - 0x30]
cmp edx, 9
ja 0x405bc5
add ebx, 1
movsx eax, byte [ebx]
mov ecx, eax
sub eax, 0x30
cmp eax, 9
jbe 0x405bb5
cmp cl, 0x2e
je 0x4060d0
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], ebx
call fcn.00403f00
mov ebx, dword [ebp - 0x58]
movzx edi, byte [ebx]
mov eax, edi
movsx eax, al
mov dword [esp], str.aAeEfFgGcCdiouxXnpsS
mov dword [esp + 4], eax
call sub.msvcrt.dll_strchr
test eax, eax
je 0x405c0f
sub eax, str.aAeEfFgGcCdiouxXnpsS
cdq
and edx, 7
add edx, eax
sar edx, 3
cmp edx, 0xffffffff
jne 0x4067f5
mov eax, edi
cmp al, 0x25
je 0x405fd7
mov ebx, esi
mov esi, dword [ebp - 0x70]
mov dword [ebp - 0x58], esi
cmp byte [ebx], 0
jne 0x405b41
lea esi, [esi]
mov ecx, dword [ebp - 0x6c]
lea eax, [ecx*4 + 0x12]
shr eax, 4
shl eax, 4
call fcn.00402440
mov edi, 0xffffffff
sub esp, eax
test ecx, ecx
lea eax, [esp + 0xc]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x80], eax
je 0x406003
mov dword [ebp - 0x88], esp
lea edx, [ecx + ecx]
lea eax, [edx + 0x10]
shr eax, 4
shl eax, 4
call fcn.00402440
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x54], esi
sub esp, eax
lea edi, [esp + 0xc]
add edx, edi
mov eax, edi
xor ecx, ecx
add eax, 2
mov word [eax - 2], cx
cmp edx, eax
jne 0x405c85
mov dword [ebp - 0x70], edi
jmp 0x405cb1
mov ebx, esi
add esi, 1
mov dword [ebp - 0x54], esi
cmp byte [ebx], 0
je 0x405e40
cmp byte [esi], 0x25
jne 0x405ca0
lea eax, [esi + 1]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
call fcn.00404560
mov dword [ebp - 0x74], eax
test eax, eax
jle 0x40663e
mov eax, dword [ebp - 0x54]
lea ebx, [eax + 1]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x54], ebx
jmp 0x405cf3
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 0x405cf0
mov dword [ebp - 0x54], ebx
movzx ecx, byte [ebx]
cmp cl, 0x2a
je 0x40680c
movsx edx, cl
lea eax, [ebx + 1]
sub edx, 0x30
cmp edx, 9
ja 0x405d45
mov esi, esi
lea edi, [edi]
mov dword [ebp - 0x54], eax
mov ebx, eax
movsx edx, byte [eax]
add eax, 1
mov ecx, edx
sub edx, 0x30
cmp edx, 9
jbe 0x405d30
cmp cl, 0x2e
je 0x40672f
lea eax, [ebp - 0x54]
call fcn.00403f00
cmp eax, 1
mov edx, eax
je 0x40657c
cmp eax, 4
je 0x40657c
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x8c], edx
test eax, eax
mov ebx, dword [ebp - 0x54]
je 0x406592
movsx eax, byte [ebx]
mov byte [ebp - 0x8d], al
mov dword [esp + 4], eax
mov dword [esp], str.aAeEfFgGcCdiouxXnpsS
call sub.msvcrt.dll_strchr
test eax, eax
movzx ecx, byte [ebp - 0x8d]
je 0x406595
sub eax, str.aAeEfFgGcCdiouxXnpsS
mov edi, eax
sar edi, 0x1f
and edi, 7
add edi, eax
sar edi, 3
add edi, 1
test edi, edi
jle 0x406595
mov edx, dword [ebp - 0x8c]
mov byte [ebp - 0x5c], cl
mov byte [ebp - 0x5b], dl
mov esi, edx
lea ecx, [ebp - 0x5c]
mov eax, ecx
call fcn.00404610
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x74]
lea edx, [ecx + eax*2 - 2]
cmp word [edx], 0
jne 0x40677b
mov eax, edi
mov byte [edx], al
mov eax, esi
mov byte [edx + 1], al
lea esi, [ebp - 0x48]
lea eax, [ebp - 0x50]
mov edx, dword [eax]
test edx, edx
lea ecx, [edx - 1]
mov dword [eax], ecx
jle 0x405e23
mov edi, dword [ebp - 0x70]
lea edx, [edi + ecx*2]
cmp word [edx], 0
jne 0x405e23
mov edi, 0x64
mov word [edx], di
add eax, 4
cmp esi, eax
jne 0x405e04
lea esi, [ebx + 1]
mov dword [ebp - 0x54], esi
cmp byte [ebx], 0
jne 0x405cb1
lea esi, [esi]
mov edi, dword [ebp - 0x70]
xor eax, eax
mov edx, dword [ebp - 0x6c]
nop
lea esi, [esi]
cmp word [edi + eax*2], 0
je 0x405ff0
add eax, 1
cmp eax, edx
jl 0x405e50
mov esi, dword [ebp - 0x6c]
test esi, esi
je 0x405ff7
lea eax, [edi + 1]
mov edx, dword [ebp - 0x78]
lea esi, [edi + esi*2 + 1]
mov ecx, dword [ebp + 0x18]
jmp 0x405eaf
cmp bl, 3
je 0x406600
movzx ebx, byte [eax]
cmp bl, 2
je 0x406600
cmp bl, 3
jne 0x406600
add ecx, 8
add eax, 2
add edx, 4
cmp esi, eax
je 0x405ff7
movzx ebx, byte [eax - 1]
cmp bl, 1
mov dword [edx], ecx
jne 0x405e80
movzx ebx, byte [eax]
cmp ebx, 0x4c
je 0x405ed0
test byte [0x40e06d], 1
je 0x405e9e
cmp ebx, 2
jne 0x405e9e
add ecx, 0xc
jmp 0x405ea1
xor eax, eax
test byte [0x40e06c], 1
sete al
add eax, 2
jmp 0x405b00
mov eax, dword [ebp - 0x58]
lea ebx, [eax + 1]
mov dword [ebp - 0x58], ebx
jmp 0x405f03
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 0x405f00
mov dword [ebp - 0x58], ebx
movzx ecx, byte [ebx]
cmp cl, 0x2a
je 0x406608
movsx edx, cl
sub edx, 0x30
cmp edx, 9
lea eax, [ebx + 1]
ja 0x405f55
mov esi, esi
lea edi, [edi]
mov ebx, eax
mov dword [ebp - 0x58], eax
movsx edx, byte [eax]
add eax, 1
mov ecx, edx
sub edx, 0x30
cmp edx, 9
jbe 0x405f40
cmp cl, 0x2e
jne 0x405f93
lea eax, [ebx + 1]
mov dword [ebp - 0x58], eax
movsx eax, byte [ebx + 1]
cmp al, 0x2a
je 0x4066db
sub eax, 0x30
add ebx, 2
cmp eax, 9
ja 0x405f93
mov esi, esi
lea edi, [edi]
mov eax, ebx
mov dword [ebp - 0x58], ebx
movsx eax, byte [eax]
add ebx, 1
sub eax, 0x30
cmp eax, 9
jbe 0x405f80
lea eax, [ebp - 0x58]
call fcn.00403f00
mov ebx, dword [ebp - 0x58]
movsx eax, byte [ebx]
mov byte [ebp - 0x74], al
mov dword [esp + 4], eax
mov dword [esp], str.aAeEfFgGcCdiouxXnpsS
call sub.msvcrt.dll_strchr
test eax, eax
movzx ecx, byte [ebp - 0x74]
je 0x405fe0
sub eax, str.aAeEfFgGcCdiouxXnpsS
cdq
and edx, 7
add edx, eax
sar edx, 3
cmp edx, 0xffffffff
je 0x405fe0
cmp dword [ebp - 0x6c], edi
jge 0x405fd7
mov dword [ebp - 0x6c], edi
lea esi, [ebx + 1]
jmp 0x405b35
cmp cl, 0x25
jne 0x405c19
jmp 0x405fd7
mov dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x6c]
mov esp, dword [ebp - 0x88]
lea edi, [eax - 1]
mov edx, dword [ebp + 0x14]
lea esi, [edx + 1]
mov dword [ebp + 0x14], esi
movsx eax, byte [edx]
test eax, eax
je 0x4060a0
cmp eax, 0x25
jne 0x406090
mov ebx, dword [ebp - 0x6c]
test ebx, ebx
mov ecx, esi
je 0x40603e
lea eax, [ebp + 0x14]
call fcn.004045e0
test eax, eax
jle 0x40603b
mov ecx, dword [ebp - 0x80]
mov eax, dword [ecx + eax*4 - 4]
mov dword [ebp + 0x18], eax
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x3c], 0xffffffff
mov dword [ebp - 0x40], 0xffffffff
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x40]
cmp byte [ecx], 0
mov dword [ebp - 0x78], eax
je 0x40615c
lea edx, [ecx + 1]
mov dword [ebp + 0x14], edx
movsx ebx, byte [ecx]
mov eax, ebx
sub eax, 0x20
cmp al, 0x5a
ja case.0x406088.1
movzx eax, al
jmp dword [eax*4 + 0x40b370]
lea edx, [ebp - 0x48]
call fcn.004041e0
jmp 0x406003
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x4060ba
lea edi, [edi]
mov esi, esi
sub edi, 1
lea eax, [edi + 1]
test eax, eax
jg 0x4060b0
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sub.msvcrt.dll_free
lea esp, [ebp - 0xc]
pop ebx
pop esi
mov eax, dword [ebp - 0x30]
pop edi
pop ebp
ret
movsx eax, byte [ebx + 1]
cmp al, 0x2a
je 0x406636
sub eax, 0x30
add ebx, 1
cmp eax, 9
ja 0x405bce
nop
lea esi, [esi]
add ebx, 1
movsx eax, byte [ebx]
sub eax, 0x30
cmp eax, 9
jbe 0x4060f0
jmp 0x405bce
movzx ecx, byte [ebx + 1]
add ebx, 1
jmp 0x405bc5
mov dword [ebp + 0x14], ecx
lea eax, [ebp + 0x14]
call fcn.00403f00
mov dword [ebp - 0x74], eax
mov edx, dword [ebp + 0x14]
cmp ebx, 0x6c
jne 0x40635e
test byte [0x40e06d], 1
je 0x40635e
cmp eax, 2
jne 0x40635e
mov dword [ebp - 0x74], 2
or dword [ebp - 0x44], 4
mov dword [ebp - 0x70], 4
mov ecx, edx
cmp byte [ecx], 0
jne 0x40606f
mov edx, ecx
jmp 0x406006
mov ecx, dword [ebp - 0x70]
test ecx, ecx
je 0x40679b
cmp dword [ebp - 0x70], 4
jne 0x4066c5
mov dword [ebp + 0x14], esi
lea edx, [ebp - 0x48]
mov eax, 0x25
call fcn.004041e0
mov edx, dword [ebp + 0x14]
jmp 0x406006
mov eax, dword [ebp - 0x74]
sub eax, 2
cmp eax, 1
jbe case.0x406088.51
mov eax, dword [ebp + 0x18]
add dword [ebp + 0x18], 4
mov ebx, dword [eax]
test ebx, ebx
je 0x4068c3
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
mov edx, eax
mov eax, ebx
lea ecx, [ebp - 0x48]
call fcn.00404360
mov edx, dword [ebp + 0x14]
jmp 0x406006
mov edx, dword [ebp - 0x70]
test edx, edx
jne 0x4061df
mov eax, dword [ebp - 0x7c]
cmp eax, dword [ebp - 0x44]
je 0x40690d
mov eax, dword [ebp + 0x18]
add dword [ebp + 0x18], 4
mov eax, dword [eax]
mov dword [ebp - 0x4c], 0
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov eax, 0x78
call fcn.00405760
mov edx, dword [ebp + 0x14]
jmp 0x406006
mov eax, dword [ebp - 0x70]
test eax, eax
jne 0x406151
mov ecx, edx
or dword [ebp - 0x44], 0x800
jmp 0x406153
cmp dword [ebp - 0x74], 4
mov eax, dword [ebp + 0x18]
je 0x406939
cmp dword [ebp - 0x74], 1
je 0x406974
cmp dword [ebp - 0x74], 2
je 0x406250
cmp dword [ebp - 0x74], 3
je 0x4068d2
add dword [ebp + 0x18], 4
mov eax, dword [eax]
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
jmp 0x406006
mov eax, dword [ebp - 0x44]
or eax, 0x20
mov dword [ebp - 0x44], eax
test al, 4
mov eax, dword [ebp + 0x18]
je 0x4064a1
fld xword [eax]
add dword [ebp + 0x18], 0xc
lea eax, [ebp - 0x48]
fstp xword [esp]
call fcn.00405040
mov edx, dword [ebp + 0x14]
jmp 0x406006
mov eax, dword [ebp - 0x44]
or eax, 0x20
test al, 4
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x18]
je 0x406404
fld xword [eax]
lea eax, [ebp - 0x48]
add dword [ebp + 0x18], 0xc
fstp xword [esp]
call fcn.00404f70
mov edx, dword [ebp + 0x14]
jmp 0x406006
mov eax, dword [ebp - 0x44]
or eax, 0x20
mov dword [ebp - 0x44], eax
test al, 4
mov eax, dword [ebp + 0x18]
je 0x40642b
fld xword [eax]
lea eax, [ebp - 0x48]
add dword [ebp + 0x18], 0xc
fstp xword [esp]
call fcn.00404ec0
mov edx, dword [ebp + 0x14]
jmp 0x406006
or dword [ebp - 0x44], 0x80
cmp dword [ebp - 0x74], 3
mov eax, dword [ebp + 0x18]
je 0x40694c
cmp dword [ebp - 0x74], 2
je 0x4067d5
add dword [ebp + 0x18], 4
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
sar eax, 0x1f
cmp dword [ebp - 0x74], 1
mov dword [ebp - 0x4c], eax
je 0x4068e8
cmp dword [ebp - 0x74], 4
je 0x406985
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x48]
call fcn.00404770
mov edx, dword [ebp + 0x14]
jmp 0x406006
mov ebx, dword [ebp - 0x70]
test ebx, ebx
jne 0x406151
mov ecx, edx
or dword [ebp - 0x44], 0x40
jmp 0x406153
cmp dword [ebp - 0x70], 1
jbe 0x406876
mov dword [ebp - 0x70], 4
mov ecx, edx
jmp 0x406153
mov eax, dword [ebp - 0x70]
test eax, eax
jne 0x406151
or dword [ebp - 0x44], 0x400
mov ecx, edx
jmp 0x406153
mov eax, dword [ebp - 0x70]
test eax, eax
jne 0x406151
or dword [ebp - 0x44], 0x100
mov ecx, edx
jmp 0x406153
mov eax, dword [ebp - 0x78]
test eax, eax
je 0x40635e
test byte [ebp - 0x70], 5
jne 0x4067a9
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x40683a
lea eax, [ebp + 0x14]
call fcn.004045e0
test eax, eax
jle 0x406837
mov ecx, dword [ebp - 0x80]
mov edx, dword [ebp + 0x14]
mov eax, dword [ecx + eax*4 - 4]
mov ecx, dword [ebp - 0x78]
mov eax, dword [eax]
mov dword [ecx], eax
jmp 0x406848
mov eax, dword [ebp - 0x70]
test eax, eax
jne 0x406151
mov ecx, edx
or dword [ebp - 0x44], 1
jmp 0x406153
mov eax, dword [ebp - 0x44]
test al, 4
mov eax, dword [ebp + 0x18]
jne 0x4062a1
fld qword [eax]
lea eax, [ebp - 0x48]
add dword [ebp + 0x18], 8
fstp xword [esp]
call fcn.00404f70
mov edx, dword [ebp + 0x14]
jmp 0x406006
mov eax, dword [ebp - 0x44]
test al, 4
mov eax, dword [ebp + 0x18]
jne 0x4062ce
fld qword [eax]
add dword [ebp + 0x18], 8
lea eax, [ebp - 0x48]
fstp xword [esp]
call fcn.00404ec0
mov edx, dword [ebp + 0x14]
jmp 0x406006
mov dword [ebp - 0x3c], 0xffffffff
mov edx, 1
mov eax, dword [ebp + 0x18]
lea ecx, [ebp - 0x48]
add dword [ebp + 0x18], 4
mov eax, dword [eax]
mov word [ebp - 0x50], ax
lea eax, [ebp - 0x50]
call fcn.00404240
mov edx, dword [ebp + 0x14]
jmp 0x406006
mov eax, dword [ebp - 0x44]
test al, 4
mov eax, dword [ebp + 0x18]
je 0x4064ca
fld xword [eax]
add dword [ebp + 0x18], 0xc
lea eax, [ebp - 0x48]
fstp xword [esp]
call fcn.004051c0
mov edx, dword [ebp + 0x14]
jmp 0x406006
mov eax, dword [ebp - 0x44]
test al, 4
mov eax, dword [ebp + 0x18]
jne 0x406274
fld qword [eax]
lea eax, [ebp - 0x48]
add dword [ebp + 0x18], 8
fstp xword [esp]
call fcn.00405040
mov edx, dword [ebp + 0x14]
jmp 0x406006
mov eax, dword [ebp - 0x44]
or eax, 0x20
test al, 4
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x18]
jne 0x40647a
fld qword [eax]
add dword [ebp + 0x18], 8
lea eax, [ebp - 0x48]
fstp xword [esp]
call fcn.004051c0
mov edx, dword [ebp + 0x14]
jmp 0x406006
cmp dword [ebp - 0x74], 3
mov eax, dword [ebp + 0x18]
je 0x406960
cmp dword [ebp - 0x74], 2
je 0x4067c0
add dword [ebp + 0x18], 4
cmp dword [ebp - 0x74], 1
mov eax, dword [eax]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], eax
je 0x4068fa
cmp dword [ebp - 0x74], 4
je 0x406997
cmp ebx, 0x75
je 0x406328
mov edx, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov eax, ebx
call fcn.00405760
mov edx, dword [ebp + 0x14]
jmp 0x406006
mov eax, dword [ebp - 0x74]
sub eax, 2
mov dword [ebp - 0x3c], 0xffffffff
cmp eax, 1
jbe 0x40644b
mov edx, 1
mov eax, dword [ebp + 0x18]
lea ecx, [ebp - 0x48]
add dword [ebp + 0x18], 4
mov eax, dword [eax]
mov byte [ebp - 0x50], al
lea eax, [ebp - 0x50]
call fcn.00404360
mov edx, dword [ebp + 0x14]
jmp 0x406006
mov ebx, dword [ebp - 0x54]
xor edx, edx
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x8c], edx
test eax, eax
jne 0x405d7e
movzx ecx, byte [ebx]
cmp cl, 0x25
je 0x405e2a
mov ebx, esi
mov esi, dword [ebp - 0x84]
jmp 0x405ca5
mov ecx, dword [ebp - 0x70]
cmp ecx, 4
je 0x406178
lea eax, [ebx - 0x30]
cmp eax, 9
ja 0x406178
test ecx, ecx
jne 0x4066c5
mov dword [ebp - 0x70], 1
mov eax, dword [ebp - 0x78]
test eax, eax
je 0x406151
sub ebx, 0x30
mov ecx, dword [eax]
xor eax, eax
test ecx, ecx
jle 0x4065ed
lea eax, [ecx + ecx*4]
add eax, eax
mov ecx, dword [ebp - 0x78]
add eax, ebx
mov dword [ecx], eax
mov ecx, edx
jmp 0x406153
add ecx, 4
jmp 0x405ea1
add ebx, 1
mov dword [ebp - 0x58], ebx
lea eax, [ebp - 0x58]
call fcn.00404560
test eax, eax
je 0x4067f5
cmp edi, eax
jge 0x406624
mov edi, eax
mov eax, dword [ebp - 0x58]
lea ebx, [eax + 1]
mov dword [ebp - 0x58], ebx
movzx ecx, byte [eax + 1]
jmp 0x405f55
add ebx, 2
jmp 0x405bce
mov ebx, dword [ebp - 0x54]
mov dword [ebp - 0x74], esi
jmp 0x406653
add ebx, 1
movzx edi, byte [ebx]
mov dword [esp], str.__0
mov eax, edi
movsx esi, al
mov dword [esp + 4], esi
call sub.msvcrt.dll_strchr
test eax, eax
jne 0x406650
mov ecx, edi
mov edi, esi
mov esi, dword [ebp - 0x74]
cmp cl, 0x2a
je 0x4067e9
lea edx, [edi - 0x30]
cmp edx, 9
ja 0x4066a0
mov esi, esi
lea edi, [edi]
add ebx, 1
movsx eax, byte [ebx]
mov ecx, eax
sub eax, 0x30
cmp eax, 9
jbe 0x406690
cmp cl, 0x2e
je 0x406891
lea eax, [ebp - 0x54]
mov dword [ebp - 0x54], ebx
call fcn.00403f00
mov ebx, dword [ebp - 0x54]
cmp byte [ebx], 0x25
jne 0x40659e
jmp 0x405e2a
cmp dword [ebp - 0x70], 2
jne 0x4065d2
mov dword [ebp - 0x70], 3
jmp 0x4065d2
add ebx, 2
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], ebx
call fcn.00404560
test eax, eax
je 0x4067f5
cmp edi, eax
jl 0x4067b5
add dword [ebp - 0x58], 1
jmp 0x405f93
mov eax, dword [ebp + 0x18]
add dword [ebp + 0x18], 4
mov ebx, dword [eax]
test ebx, ebx
je 0x4069aa
mov dword [esp], ebx
call sub.msvcrt.dll_wcslen
mov edx, eax
lea ecx, [ebp - 0x48]
mov eax, ebx
call fcn.00404240
mov edx, dword [ebp + 0x14]
jmp 0x406006
lea eax, [ebx + 1]
mov dword [ebp - 0x54], eax
movsx eax, byte [ebx + 1]
cmp al, 0x2a
je 0x4069b4
sub eax, 0x30
add ebx, 2
cmp eax, 9
ja 0x405d4e
mov dword [ebp - 0x54], ebx
mov eax, ebx
add ebx, 1
movsx eax, byte [eax]
sub eax, 0x30
cmp eax, 9
jbe 0x406750
lea eax, [ebp - 0x54]
call fcn.00403f00
mov edx, eax
cmp eax, 1
jne 0x405d61
jmp 0x40657c
mov dword [ebp - 0x74], edx
mov eax, edx
call fcn.00404610
mov ecx, dword [ebp - 0x84]
mov edx, dword [ebp - 0x74]
cmp ecx, eax
jbe 0x405dfe
jmp 0x405df5
or dword [ebp - 0x44], 0x200
mov ecx, edx
jmp 0x406153
mov dword [ebp - 0x78], 0
jmp 0x40635e
mov edi, eax
add dword [ebp - 0x58], 1
jmp 0x405f93
add dword [ebp + 0x18], 4
mov eax, dword [eax]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], eax
jmp 0x40651e
add dword [ebp + 0x18], 4
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
sar eax, 0x1f
mov dword [ebp - 0x4c], eax
jmp 0x406328
movzx ecx, byte [ebx + 1]
add ebx, 1
jmp 0x4066a0
mov edi, 0xffffffff
mov dword [ebp - 0x6c], 0
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x80], eax
jmp 0x406003
lea eax, [ebp - 0x54]
add ebx, 1
mov dword [ebp - 0x54], ebx
call fcn.00404560
mov dword [ebp - 0x50], eax
test eax, eax
jne 0x40691f
mov ebx, dword [ebp - 0x54]
mov dword [ebp - 0x74], 0
movzx ecx, byte [ebx]
jmp 0x405d45
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x78]
add dword [ebp + 0x18], 4
mov eax, dword [eax]
mov dword [ecx], eax
mov dword [ebp - 0x78], 0
test eax, eax
jns 0x406151
mov eax, dword [ebp - 0x70]
test eax, eax
jne 0x4069d2
mov ecx, edx
or dword [ebp - 0x44], 0x400
neg dword [ebp - 0x40]
mov dword [ebp - 0x78], eax
jmp 0x406153
lea eax, [ebp - 0x3c]
mov ecx, edx
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x70], 2
mov dword [ebp - 0x78], eax
jmp 0x406153
movsx eax, byte [ebx + 1]
cmp al, 0x2a
je 0x406931
sub eax, 0x30
add ebx, 1
cmp eax, 9
ja 0x4066a9
lea esi, [esi]
add ebx, 1
movsx eax, byte [ebx]
sub eax, 0x30
cmp eax, 9
jbe 0x4068b0
jmp 0x4066a9
mov eax, str._null_
mov edx, 6
jmp 0x4061bc
add dword [ebp + 0x18], 4
mov eax, dword [eax]
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
sar ecx, 0x1f
mov dword [eax + 4], ecx
jmp 0x406006
movsx eax, word [ebp - 0x50]
mov dword [ebp - 0x50], eax
sar eax, 0x1f
mov dword [ebp - 0x4c], eax
jmp 0x406328
movzx eax, word [ebp - 0x50]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], eax
jmp 0x40651e
or ah, 2
mov dword [ebp - 0x3c], 8
mov dword [ebp - 0x44], eax
jmp 0x4061df
mov eax, dword [ebp - 0x54]
lea ebx, [eax + 1]
mov dword [ebp - 0x54], ebx
movzx ecx, byte [eax + 1]
jmp 0x405d45
add ebx, 2
jmp 0x4066a9
mov eax, dword [eax]
mov edx, dword [ebp - 0x30]
add dword [ebp + 0x18], 4
mov byte [eax], dl
mov edx, dword [ebp + 0x14]
jmp 0x406006
mov edx, dword [eax + 4]
mov eax, dword [eax]
add dword [ebp + 0x18], 8
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
jmp 0x406328
mov edx, dword [eax + 4]
mov eax, dword [eax]
add dword [ebp + 0x18], 8
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
jmp 0x40651e
mov eax, dword [eax]
mov ecx, dword [ebp - 0x30]
add dword [ebp + 0x18], 4
mov word [eax], cx
jmp 0x406006
movsx eax, byte [ebp - 0x50]
mov dword [ebp - 0x50], eax
sar eax, 0x1f
mov dword [ebp - 0x4c], eax
jmp 0x406328
movzx eax, byte [ebp - 0x50]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], eax
jmp 0x40651e
mov ebx, 0x40b33a
jmp 0x406713
add ebx, 2
mov dword [ebp - 0x54], ebx
lea eax, [ebp - 0x54]
call fcn.00404560
test eax, eax
mov dword [ebp - 0x4c], eax
je 0x4069e0
add dword [ebp - 0x54], 1
jmp 0x405d4e
mov dword [ebp - 0x3c], 0xffffffff
mov ecx, edx
jmp 0x406153
lea eax, [ebp - 0x54]
call fcn.00403f00
mov ebx, dword [ebp - 0x54]
movzx ecx, byte [ebx]
jmp 0x406595