Function at 0x406d20
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 0x407121
movsx edx, byte [eax]
mov eax, 2
sub edx, 0x30
cmp edx, 2
ja 0x407121
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x50], ebx
jmp 0x406db3
mov esi, ebx
add ebx, 1
mov dword [ebp - 0x50], ebx
cmp byte [esi], 0
je 0x406ea0
cmp byte [ebx], 0x25
jne 0x406da2
lea eax, [ebx + 1]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
call fcn.00406570
test eax, eax
mov edi, eax
jne 0x407133
mov edi, dword [ebp - 0x50]
movzx eax, byte [edi]
cmp al, 0x24
je 0x407a22
mov dword [ebp - 0x64], ebx
mov ebx, eax
jmp 0x406df6
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 0x406df0
mov eax, ebx
mov ecx, ebx
mov ebx, dword [ebp - 0x64]
cmp al, 0x2a
je 0x407354
lea edx, [esi - 0x30]
cmp edx, 9
ja 0x406e36
add edi, 1
movsx eax, byte [edi]
mov edx, eax
sub eax, 0x30
cmp eax, 9
jbe 0x406e24
mov ecx, edx
cmp cl, 0x2e
mov eax, edi
je 0x407325
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
call fcn.00405390
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 0x406e82
sub eax, str.aAeEfFgGcCdiouxXnpsS
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 0xffffffff
jne 0x407a22
mov eax, edi
cmp al, 0x25
je 0x407217
mov esi, ebx
mov ebx, dword [ebp - 0x60]
mov dword [ebp - 0x50], ebx
cmp byte [esi], 0
jne 0x406db3
lea esi, [esi]
mov edx, dword [ebp - 0x5c]
lea eax, [edx*4 + 0x12]
shr eax, 4
shl eax, 4
call fcn.00403cc0
mov edi, 0xffffffff
sub esp, eax
test edx, edx
lea eax, [esp + 0xc]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
je 0x407240
lea eax, [edx + edx + 0x10]
mov dword [ebp - 0x78], esp
shr eax, 4
shl eax, 4
call fcn.00403cc0
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 0x406ef3
cmp byte [edi], 0x25
je 0x406f1b
mov ebx, edi
add edi, 1
mov dword [ebp - 0x4c], edi
cmp byte [ebx], 0
je 0x407080
cmp byte [edi], 0x25
jne 0x406f05
lea eax, [edi + 1]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
call fcn.00406570
test eax, eax
mov dword [ebp - 0x64], eax
jle 0x40787a
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 0x406f53
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 0x406f50
mov dword [ebp - 0x4c], ebx
movzx eax, byte [ebx]
cmp al, 0x2a
je 0x407a39
movsx edx, al
sub edx, 0x30
cmp edx, 9
ja 0x406f96
add ebx, 1
mov dword [ebp - 0x4c], ebx
movsx edx, byte [ebx]
mov eax, edx
sub edx, 0x30
cmp edx, 9
jbe 0x406f83
cmp al, 0x2e
je 0x40795e
lea eax, [ebp - 0x4c]
call fcn.00405390
cmp eax, 1
mov edx, eax
je 0x4077b8
cmp eax, 4
je 0x4077b8
mov esi, dword [ebp - 0x64]
mov dword [ebp - 0x7c], edx
mov ebx, dword [ebp - 0x4c]
test esi, esi
je 0x4077cb
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 0x4077ce
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 0x4077ce
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.00406630
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 0x40799b
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 0x407064
mov edi, dword [ebp - 0x60]
lea edx, [edi + ecx*2]
cmp word [edx], 0
jne 0x407064
mov ecx, 0x64
mov word [edx], cx
add eax, 4
cmp esi, eax
jne 0x407045
lea edi, [ebx + 1]
mov dword [ebp - 0x4c], edi
cmp byte [ebx], 0
jne 0x406f16
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 0x407230
add eax, 1
cmp eax, ecx
jl 0x407090
mov edi, dword [ebp - 0x5c]
test edi, edi
je 0x407237
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 0x4070f5
cmp bl, 3
je 0x407832
movzx esi, byte [eax]
mov ebx, esi
cmp bl, 2
je 0x407832
cmp bl, 3
jne 0x407832
add dword [ebp - 0x60], 8
add edx, 1
add ecx, 4
add eax, 2
cmp edx, edi
jge 0x407237
mov esi, dword [ebp - 0x60]
mov dword [ecx], esi
movzx esi, byte [eax - 1]
mov ebx, esi
cmp bl, 1
jne 0x4070c0
movzx esi, byte [eax]
cmp esi, 0x4c
je 0x40711b
test byte [0x40f071], 1
je 0x4070e0
cmp esi, 2
jne 0x4070e0
add dword [ebp - 0x60], 0xc
jmp 0x4070e4
mov eax, dword [0x40f070]
and eax, 1
neg eax
add eax, 3
jmp 0x406d90
mov eax, dword [ebp - 0x50]
lea esi, [eax + 1]
mov dword [ebp - 0x50], esi
jmp 0x407143
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 0x407140
mov dword [ebp - 0x50], esi
movzx eax, byte [esi]
cmp al, 0x2a
je 0x40783b
movsx edx, al
lea ecx, [esi + 1]
sub edx, 0x30
cmp edx, 9
ja 0x407871
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 0x407180
mov ecx, esi
mov esi, ebx
mov edx, esi
mov ebx, ecx
cmp dl, 0x2e
jne 0x4071d3
lea edx, [eax + 1]
mov dword [ebp - 0x50], edx
movsx edx, byte [eax + 1]
cmp dl, 0x2a
je 0x40790c
sub edx, 0x30
add eax, 2
cmp edx, 9
ja 0x4071d3
mov edx, eax
mov dword [ebp - 0x50], eax
add eax, 1
movsx edx, byte [edx]
sub edx, 0x30
cmp edx, 9
jbe 0x4071c0
lea eax, [ebp - 0x50]
call fcn.00405390
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 0x407220
sub eax, str.aAeEfFgGcCdiouxXnpsS
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 0xffffffff
je 0x407220
cmp dword [ebp - 0x5c], edi
jge 0x407217
mov dword [ebp - 0x5c], edi
lea ebx, [esi + 1]
jmp 0x406da7
cmp cl, 0x25
jne 0x406e8c
jmp 0x407217
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 0x4072fc
cmp eax, 0x25
jne 0x4072e0
mov edx, dword [ebp - 0x5c]
mov ecx, edi
test edx, edx
je 0x407285
lea eax, [ebp + 0x14]
call fcn.00406600
test eax, eax
jle 0x407282
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 0x40738d
lea edx, [ecx + 1]
mov dword [ebp + 0x14], edx
movsx ebx, byte [ecx]
mov eax, ebx
sub eax, 0x20
cmp al, 0x5a
ja case.0x4072cf.1
movzx eax, al
jmp dword [eax*4 + 0x40c9bc]
lea edx, [ebp - 0x3c]
call fcn.004055a0
mov edx, dword [ebp + 0x14]
lea edi, [edx + 1]
mov dword [ebp + 0x14], edi
movsx eax, byte [edx]
test eax, eax
jne 0x407261
mov eax, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x74]
test eax, eax
je 0x40731a
lea esi, [esi]
lea edi, [edi]
sub edi, 1
lea eax, [edi + 1]
test eax, eax
jg 0x407310
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 0x407869
sub edx, 0x30
add eax, 1
cmp edx, 9
ja 0x406e41
add eax, 1
movsx edx, byte [eax]
sub edx, 0x30
cmp edx, 9
jbe 0x407341
jmp 0x406e41
movzx eax, byte [edi + 1]
add edi, 1
mov ecx, eax
jmp 0x406e36
test byte [0x40f071], 1
je 0x4073aa
cmp eax, 2
jne 0x4073aa
mov dword [ebp - 0x64], 2
or dword [ebp - 0x38], 4
mov dword [ebp - 0x60], 4
mov ecx, edx
cmp byte [ecx], 0
jne 0x4072b6
mov edx, ecx
jmp 0x407250
lea eax, [ebp + 0x14]
mov dword [ebp + 0x14], ecx
call fcn.00405390
cmp ebx, 0x6c
mov dword [ebp - 0x64], eax
mov edx, dword [ebp + 0x14]
je 0x407362
mov dword [ebp - 0x60], 4
mov ecx, edx
jmp 0x407384
mov eax, dword [ebp - 0x38]
test al, 4
je 0x407603
fld xword [esi]
lea ebx, [esi + 0xc]
lea eax, [ebp - 0x3c]
mov esi, ebx
fstp xword [esp]
call fcn.004063f0
mov edx, dword [ebp + 0x14]
jmp 0x407250
mov eax, dword [ebp - 0x38]
test al, 4
mov eax, esi
je 0x40746d
fld xword [eax]
lea eax, [ebp - 0x3c]
add esi, 0xc
fstp xword [esp]
call fcn.00406320
mov edx, dword [ebp + 0x14]
jmp 0x407250
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x407412
mov eax, dword [ebp - 0x6c]
cmp eax, dword [ebp - 0x38]
je 0x407ae8
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.00405ae0
mov edx, dword [ebp + 0x14]
jmp 0x407250
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x407382
or dword [ebp - 0x38], 0x400
mov ecx, edx
jmp 0x407384
mov eax, dword [ebp - 0x38]
or eax, 0x20
test al, 4
mov dword [ebp - 0x38], eax
mov eax, esi
jne 0x4073e7
fld qword [eax]
lea eax, [ebp - 0x3c]
add esi, 8
fstp xword [esp]
call fcn.00406320
mov edx, dword [ebp + 0x14]
jmp 0x407250
mov eax, dword [ebp - 0x38]
or eax, 0x20
test al, 4
mov dword [ebp - 0x38], eax
mov eax, esi
je 0x4076c4
fld xword [eax]
lea eax, [ebp - 0x3c]
add esi, 0xc
fstp xword [esp]
call fcn.00406270
mov edx, dword [ebp + 0x14]
jmp 0x407250
or dword [ebp - 0x38], 0x80
cmp dword [ebp - 0x64], 3
mov eax, esi
je 0x407a89
add esi, 4
cmp dword [ebp - 0x64], 2
mov eax, dword [eax]
mov dword [ebp - 0x48], eax
mov ecx, eax
je 0x4079e4
sar ecx, 0x1f
cmp dword [ebp - 0x64], 1
mov dword [ebp - 0x44], ecx
je 0x407b34
cmp dword [ebp - 0x64], 4
je 0x4079db
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x3c]
call fcn.004058a0
mov edx, dword [ebp + 0x14]
jmp 0x407250
mov eax, dword [ebp - 0x38]
or eax, 0x20
test al, 4
mov dword [ebp - 0x38], eax
je 0x407725
mov eax, esi
add esi, 0xc
fld xword [eax]
lea eax, [ebp - 0x3c]
fstp xword [esp]
call fcn.004066c0
mov edx, dword [ebp + 0x14]
jmp 0x407250
cmp dword [ebp - 0x64], 3
mov eax, esi
je 0x407a76
add esi, 4
cmp dword [ebp - 0x64], 2
mov eax, dword [eax]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], eax
je 0x407567
cmp dword [ebp - 0x64], 1
je 0x407b46
cmp dword [ebp - 0x64], 4
je 0x407afa
cmp ebx, 0x75
je 0x4074f1
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x3c]
mov dword [esp], eax
mov eax, ebx
call fcn.00405ae0
mov edx, dword [ebp + 0x14]
jmp 0x407250
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.00405600
mov edx, dword [ebp + 0x14]
jmp 0x407250
cmp dword [ebp - 0x64], 4
je 0x407a64
cmp dword [ebp - 0x64], 1
je 0x4079ef
mov eax, esi
add esi, 4
cmp dword [ebp - 0x64], 2
mov eax, dword [eax]
mov ecx, dword [ebp - 0x24]
je 0x407b2d
cmp dword [ebp - 0x64], 3
mov dword [eax], ecx
jne 0x407250
mov edi, ecx
sar edi, 0x1f
mov dword [eax + 4], edi
jmp 0x407250
mov eax, dword [ebp - 0x38]
or eax, 0x20
test al, 4
mov dword [ebp - 0x38], eax
jne 0x4073c0
mov eax, esi
add esi, 8
fld qword [eax]
lea eax, [ebp - 0x3c]
fstp xword [esp]
call fcn.004063f0
mov edx, dword [ebp + 0x14]
jmp 0x407250
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x407382
or dword [ebp - 0x38], 0x800
mov ecx, edx
jmp 0x407384
mov ebx, dword [ebp - 0x60]
test ebx, ebx
jne 0x407382
or dword [ebp - 0x38], 0x40
mov ecx, edx
jmp 0x407384
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x4073aa
test byte [ebp - 0x60], 5
jne 0x4079b8
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x4079ff
lea eax, [ebp + 0x14]
call fcn.00406600
test eax, eax
jle 0x4079ff
mov ecx, dword [ebp - 0x70]
mov eax, dword [ecx + eax*4 - 4]
mov eax, dword [eax]
mov dword [ebx], eax
jmp 0x407a09
lea edx, [ebp - 0x3c]
mov eax, ebx
call fcn.004055a0
mov edx, dword [ebp + 0x14]
jmp 0x407250
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x407382
or dword [ebp - 0x38], 0x100
mov ecx, edx
jmp 0x407384
mov eax, dword [ebp - 0x38]
test al, 4
mov eax, esi
jne 0x407498
fld qword [eax]
lea eax, [ebp - 0x3c]
add esi, 8
fstp xword [esp]
call fcn.00406270
mov edx, dword [ebp + 0x14]
jmp 0x407250
mov ecx, dword [ebp - 0x60]
test ecx, ecx
jne 0x4078ec
or dword [ebp - 0x38], 0x200
mov ecx, edx
jmp 0x407384
cmp dword [ebp - 0x60], 1
ja 0x4073aa
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x60], 2
mov ecx, edx
mov dword [ebp - 0x68], eax
jmp 0x407384
mov eax, dword [ebp - 0x38]
test al, 4
jne 0x407518
fld qword [esi]
lea ebx, [esi + 8]
lea eax, [ebp - 0x3c]
fstp xword [esp]
mov esi, ebx
call fcn.004066c0
mov edx, dword [ebp + 0x14]
jmp 0x407250
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x30], 0xffffffff
sub eax, 2
cmp eax, 1
jbe 0x40758e
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.00405720
mov edx, dword [ebp + 0x14]
jmp 0x407250
mov eax, dword [ebp - 0x64]
sub eax, 2
cmp eax, 1
jbe case.0x4072cf.51
lea ebx, [esi + 4]
mov esi, dword [esi]
test esi, esi
je 0x407a9c
mov dword [esp], esi
call sub.msvcrt.dll_strlen
mov edx, eax
lea ecx, [ebp - 0x3c]
mov eax, esi
mov esi, ebx
call fcn.00405720
mov edx, dword [ebp + 0x14]
jmp 0x407250
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 0x406fcb
movzx ecx, byte [ebx]
cmp cl, 0x25
je 0x40706b
mov ebx, edi
mov edi, dword [ebp - 0x68]
jmp 0x406f0a
mov ecx, dword [ebp - 0x60]
cmp ecx, 4
je 0x407b15
lea eax, [ebx - 0x30]
cmp eax, 9
ja 0x407b15
test ecx, ecx
jne 0x4078f6
mov dword [ebp - 0x60], 1
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x407382
mov ecx, dword [eax]
sub ebx, 0x30
xor eax, eax
test ecx, ecx
jle 0x407824
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 0x407384
add dword [ebp - 0x60], 4
jmp 0x4070e4
lea eax, [esi + 1]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
call fcn.00406570
test eax, eax
je 0x407a22
cmp edi, eax
jge 0x407857
mov edi, eax
mov edx, dword [ebp - 0x50]
lea eax, [edx + 1]
mov dword [ebp - 0x50], eax
movzx edx, byte [edx + 1]
jmp 0x40719d
add eax, 2
jmp 0x406e41
mov edx, eax
mov eax, esi
jmp 0x40719d
mov esi, dword [ebp - 0x4c]
mov dword [ebp - 0x64], edi
jmp 0x407885
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 0x407882
mov eax, edi
mov ebx, edi
mov edi, dword [ebp - 0x64]
cmp al, 0x2a
je 0x4079cf
lea edx, [ebx - 0x30]
mov ebx, eax
cmp edx, 9
ja 0x4078c5
add esi, 1
movsx eax, byte [esi]
mov ebx, eax
sub eax, 0x30
cmp eax, 9
jbe 0x4078b5
cmp bl, 0x2e
mov eax, esi
je 0x407aab
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
call fcn.00405390
mov ebx, dword [ebp - 0x4c]
cmp byte [ebx], 0x25
jne 0x4077d7
jmp 0x40706b
cmp dword [ebp - 0x60], 4
je 0x407b15
cmp dword [ebp - 0x60], 2
jne 0x407808
mov dword [ebp - 0x60], 3
jmp 0x407808
add eax, 2
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
call fcn.00406570
test eax, eax
je 0x407a22
cmp edi, eax
jl 0x4079c4
add dword [ebp - 0x50], 1
jmp 0x4071d3
lea ebx, [esi + 4]
mov esi, dword [esi]
test esi, esi
je 0x407b99
mov dword [esp], esi
call sub.msvcrt.dll_wcslen
lea ecx, [ebp - 0x3c]
mov edx, eax
mov eax, esi
mov esi, ebx
call fcn.00405600
mov edx, dword [ebp + 0x14]
jmp 0x407250
lea eax, [ebx + 1]
mov dword [ebp - 0x4c], eax
movsx edx, byte [ebx + 1]
cmp dl, 0x2a
jne 0x40797b
jmp 0x407b7b
add eax, 1
mov dword [ebp - 0x4c], eax
movsx edx, byte [eax]
sub edx, 0x30
cmp edx, 9
jbe 0x407972
lea eax, [ebp - 0x4c]
call fcn.00405390
cmp eax, 1
mov edx, eax
jne 0x406fb1
jmp 0x4077b8
mov eax, ecx
mov dword [ebp - 0x64], ecx
call fcn.00406630
mov edx, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
cmp edx, eax
jbe 0x40703f
jmp 0x407036
mov dword [ebp - 0x68], 0
jmp 0x4073aa
mov edi, eax
add dword [ebp - 0x50], 1
jmp 0x4071d3
movzx ebx, byte [esi + 1]
add esi, 1
jmp 0x4078c5
movsx eax, byte [ebp - 0x48]
mov dword [ebp - 0x48], eax
mov ecx, eax
sar ecx, 0x1f
mov dword [ebp - 0x44], ecx
jmp 0x4074f1
mov eax, dword [esi]
mov ecx, dword [ebp - 0x24]
add esi, 4
mov word [eax], cx
jmp 0x407250
mov eax, dword [esi]
mov ecx, dword [ebp - 0x68]
add esi, 4
mov dword [ecx], eax
test eax, eax
js 0x407b59
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x68], 0
mov ecx, edx
jmp 0x407384
lea eax, [ebp - 0x54]
mov edi, 0xffffffff
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x70], eax
jmp 0x407240
lea eax, [ebp - 0x4c]
add ebx, 1
mov dword [ebp - 0x4c], ebx
call fcn.00406570
test eax, eax
mov dword [ebp - 0x48], eax
jne 0x407ad6
mov ebx, dword [ebp - 0x4c]
mov dword [ebp - 0x64], 0
movzx eax, byte [ebx]
jmp 0x406f96
mov eax, dword [esi]
mov edx, dword [ebp - 0x24]
add esi, 4
mov byte [eax], dl
mov edx, dword [ebp + 0x14]
jmp 0x407250
mov edx, dword [eax + 4]
mov eax, dword [eax]
add esi, 8
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
jmp 0x407567
mov edx, dword [eax + 4]
mov eax, dword [eax]
add esi, 8
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
jmp 0x4074f1
mov edx, 6
mov esi, str._null_
jmp 0x40779d
movsx edx, byte [esi + 1]
cmp dl, 0x2a
je 0x407b0d
sub edx, 0x30
add eax, 1
cmp edx, 9
ja 0x4078d0
add eax, 1
movsx edx, byte [eax]
sub edx, 0x30
cmp edx, 9
jbe 0x407ac3
jmp 0x4078d0
mov eax, dword [ebp - 0x4c]
lea ebx, [eax + 1]
mov dword [ebp - 0x4c], ebx
movzx eax, byte [eax + 1]
jmp 0x406f96
or ah, 2
mov dword [ebp - 0x30], 8
mov dword [ebp - 0x38], eax
jmp 0x407412
movzx eax, byte [ebp - 0x48]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], eax
jmp 0x407567
add eax, 2
jmp 0x4078d0
lea edx, [ebp - 0x3c]
mov eax, 0x25
mov dword [ebp + 0x14], edi
call fcn.004055a0
mov edx, dword [ebp + 0x14]
jmp 0x407250
mov dword [eax], ecx
jmp 0x407250
movsx eax, word [ebp - 0x48]
mov dword [ebp - 0x48], eax
sar eax, 0x1f
mov dword [ebp - 0x44], eax
jmp 0x4074f1
movzx eax, word [ebp - 0x48]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], eax
jmp 0x407567
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x407ba3
mov edx, dword [ebp + 0x14]
or dword [ebp - 0x38], 0x400
neg dword [ebp - 0x34]
mov dword [ebp - 0x68], 0
mov ecx, edx
jmp 0x407384
lea eax, [ebp - 0x4c]
add ebx, 2
mov dword [ebp - 0x4c], ebx
call fcn.00406570
test eax, eax
mov dword [ebp - 0x44], eax
je 0x407baf
add dword [ebp - 0x4c], 1
jmp 0x406f9e
mov esi, 0x40c986
jmp 0x407940
mov dword [ebp - 0x30], 0xffffffff
jmp 0x407a11
lea eax, [ebp - 0x4c]
call fcn.00405390
cmp eax, 1
je 0x4077b1
cmp eax, 4
je 0x4077b1
mov ebx, dword [ebp - 0x4c]
movzx ecx, byte [ebx]
jmp 0x4077ce