Function at 0x405060
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 sym._getenv
test eax, eax
je 0x405461
movsx edx, byte [eax]
mov eax, 2
sub edx, 0x30
cmp edx, 2
ja 0x405461
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x50], ebx
jmp 0x4050f3
mov esi, ebx
add ebx, 1
mov dword [ebp - 0x50], ebx
cmp byte [esi], 0
je 0x4051e0
cmp byte [ebx], 0x25
jne 0x4050e2
lea eax, [ebx + 1]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
call fcn.004048b0
test eax, eax
mov edi, eax
jne 0x405473
mov edi, dword [ebp - 0x50]
movzx eax, byte [edi]
cmp al, 0x24
je 0x405d62
mov dword [ebp - 0x64], ebx
mov ebx, eax
jmp 0x405136
add edi, 1
movzx ebx, byte [edi]
movsx esi, bl
mov dword [esp], str.__0
mov dword [esp + 4], esi
call sym._strchr
test eax, eax
jne 0x405130
mov eax, ebx
mov ecx, ebx
mov ebx, dword [ebp - 0x64]
cmp al, 0x2a
je 0x405694
lea edx, [esi - 0x30]
cmp edx, 9
ja 0x405176
add edi, 1
movsx eax, byte [edi]
mov edx, eax
sub eax, 0x30
cmp eax, 9
jbe 0x405164
mov ecx, edx
cmp cl, 0x2e
mov eax, edi
je 0x405665
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
call fcn.004036d0
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 sym._strchr
test eax, eax
je 0x4051c2
sub eax, str.aAeEfFgGcCdiouxXnpsS
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 0xffffffff
jne 0x405d62
mov eax, edi
cmp al, 0x25
je 0x405557
mov esi, ebx
mov ebx, dword [ebp - 0x60]
mov dword [ebp - 0x50], ebx
cmp byte [esi], 0
jne 0x4050f3
lea esi, [esi]
mov edx, dword [ebp - 0x5c]
lea eax, [edx*4 + 0x12]
shr eax, 4
shl eax, 4
call fcn.00402000
mov edi, 0xffffffff
sub esp, eax
test edx, edx
lea eax, [esp + 0xc]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
je 0x405580
lea eax, [edx + edx + 0x10]
mov dword [ebp - 0x78], esp
shr eax, 4
shl eax, 4
call fcn.00402000
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 0x405233
cmp byte [edi], 0x25
je 0x40525b
mov ebx, edi
add edi, 1
mov dword [ebp - 0x4c], edi
cmp byte [ebx], 0
je 0x4053c0
cmp byte [edi], 0x25
jne 0x405245
lea eax, [edi + 1]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
call fcn.004048b0
test eax, eax
mov dword [ebp - 0x64], eax
jle 0x405bba
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 0x405293
add ebx, 1
movsx eax, byte [ebx]
mov dword [esp], str.__0
mov dword [esp + 4], eax
call sym._strchr
test eax, eax
jne 0x405290
mov dword [ebp - 0x4c], ebx
movzx eax, byte [ebx]
cmp al, 0x2a
je 0x405d79
movsx edx, al
sub edx, 0x30
cmp edx, 9
ja 0x4052d6
add ebx, 1
mov dword [ebp - 0x4c], ebx
movsx edx, byte [ebx]
mov eax, edx
sub edx, 0x30
cmp edx, 9
jbe 0x4052c3
cmp al, 0x2e
je 0x405c9e
lea eax, [ebp - 0x4c]
call fcn.004036d0
cmp eax, 1
mov edx, eax
je 0x405af8
cmp eax, 4
je 0x405af8
mov esi, dword [ebp - 0x64]
mov dword [ebp - 0x7c], edx
mov ebx, dword [ebp - 0x4c]
test esi, esi
je 0x405b0b
movsx eax, byte [ebx]
mov byte [ebp - 0x7d], al
mov dword [esp + 4], eax
mov dword [esp], str.aAeEfFgGcCdiouxXnpsS
call sym._strchr
test eax, eax
movzx ecx, byte [ebp - 0x7d]
je 0x405b0e
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 0x405b0e
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.00404970
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 0x405cdb
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 0x4053a4
mov edi, dword [ebp - 0x60]
lea edx, [edi + ecx*2]
cmp word [edx], 0
jne 0x4053a4
mov ecx, 0x64
mov word [edx], cx
add eax, 4
cmp esi, eax
jne 0x405385
lea edi, [ebx + 1]
mov dword [ebp - 0x4c], edi
cmp byte [ebx], 0
jne 0x405256
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 0x405570
add eax, 1
cmp eax, ecx
jl 0x4053d0
mov edi, dword [ebp - 0x5c]
test edi, edi
je 0x405577
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 0x405435
cmp bl, 3
je 0x405b72
movzx esi, byte [eax]
mov ebx, esi
cmp bl, 2
je 0x405b72
cmp bl, 3
jne 0x405b72
add dword [ebp - 0x60], 8
add edx, 1
add ecx, 4
add eax, 2
cmp edx, edi
jge 0x405577
mov esi, dword [ebp - 0x60]
mov dword [ecx], esi
movzx esi, byte [eax - 1]
mov ebx, esi
cmp bl, 1
jne 0x405400
movzx esi, byte [eax]
cmp esi, 0x4c
je 0x40545b
test byte [0x40d06d], 1
je 0x405420
cmp esi, 2
jne 0x405420
add dword [ebp - 0x60], 0xc
jmp 0x405424
mov eax, dword [0x40d06c]
and eax, 1
neg eax
add eax, 3
jmp 0x4050d0
mov eax, dword [ebp - 0x50]
lea esi, [eax + 1]
mov dword [ebp - 0x50], esi
jmp 0x405483
add esi, 1
movsx eax, byte [esi]
mov dword [esp], str.__0
mov dword [esp + 4], eax
call sym._strchr
test eax, eax
jne 0x405480
mov dword [ebp - 0x50], esi
movzx eax, byte [esi]
cmp al, 0x2a
je 0x405b7b
movsx edx, al
lea ecx, [esi + 1]
sub edx, 0x30
cmp edx, 9
ja 0x405bb1
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 0x4054c0
mov ecx, esi
mov esi, ebx
mov edx, esi
mov ebx, ecx
cmp dl, 0x2e
jne 0x405513
lea edx, [eax + 1]
mov dword [ebp - 0x50], edx
movsx edx, byte [eax + 1]
cmp dl, 0x2a
je 0x405c4c
sub edx, 0x30
add eax, 2
cmp edx, 9
ja 0x405513
mov edx, eax
mov dword [ebp - 0x50], eax
add eax, 1
movsx edx, byte [edx]
sub edx, 0x30
cmp edx, 9
jbe 0x405500
lea eax, [ebp - 0x50]
call fcn.004036d0
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 sym._strchr
test eax, eax
movzx ecx, byte [ebp - 0x64]
je 0x405560
sub eax, str.aAeEfFgGcCdiouxXnpsS
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 0xffffffff
je 0x405560
cmp dword [ebp - 0x5c], edi
jge 0x405557
mov dword [ebp - 0x5c], edi
lea ebx, [esi + 1]
jmp 0x4050e7
cmp cl, 0x25
jne 0x4051cc
jmp 0x405557
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 0x40563c
cmp eax, 0x25
jne 0x405620
mov edx, dword [ebp - 0x5c]
mov ecx, edi
test edx, edx
je 0x4055c5
lea eax, [ebp + 0x14]
call fcn.00404940
test eax, eax
jle 0x4055c2
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 0x4056cd
lea edx, [ecx + 1]
mov dword [ebp + 0x14], edx
movsx ebx, byte [ecx]
mov eax, ebx
sub eax, 0x20
cmp al, 0x5a
ja case.0x40560f.1
movzx eax, al
jmp dword [eax*4 + 0x40a678]
lea edx, [ebp - 0x3c]
call fcn.004038e0
mov edx, dword [ebp + 0x14]
lea edi, [edx + 1]
mov dword [ebp + 0x14], edi
movsx eax, byte [edx]
test eax, eax
jne 0x4055a1
mov eax, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x74]
test eax, eax
je 0x40565a
lea esi, [esi]
lea edi, [edi]
sub edi, 1
lea eax, [edi + 1]
test eax, eax
jg 0x405650
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 0x405ba9
sub edx, 0x30
add eax, 1
cmp edx, 9
ja 0x405181
add eax, 1
movsx edx, byte [eax]
sub edx, 0x30
cmp edx, 9
jbe 0x405681
jmp 0x405181
movzx eax, byte [edi + 1]
add edi, 1
mov ecx, eax
jmp 0x405176
test byte [0x40d06d], 1
je 0x4056ea
cmp eax, 2
jne 0x4056ea
mov dword [ebp - 0x64], 2
or dword [ebp - 0x38], 4
mov dword [ebp - 0x60], 4
mov ecx, edx
cmp byte [ecx], 0
jne 0x4055f6
mov edx, ecx
jmp 0x405590
lea eax, [ebp + 0x14]
mov dword [ebp + 0x14], ecx
call fcn.004036d0
cmp ebx, 0x6c
mov dword [ebp - 0x64], eax
mov edx, dword [ebp + 0x14]
je 0x4056a2
mov dword [ebp - 0x60], 4
mov ecx, edx
jmp 0x4056c4
mov eax, dword [ebp - 0x38]
test al, 4
je 0x405943
fld xword [esi]
lea ebx, [esi + 0xc]
lea eax, [ebp - 0x3c]
mov esi, ebx
fstp xword [esp]
call fcn.00404730
mov edx, dword [ebp + 0x14]
jmp 0x405590
mov eax, dword [ebp - 0x38]
test al, 4
mov eax, esi
je 0x4057ad
fld xword [eax]
lea eax, [ebp - 0x3c]
add esi, 0xc
fstp xword [esp]
call fcn.00404660
mov edx, dword [ebp + 0x14]
jmp 0x405590
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x405752
mov eax, dword [ebp - 0x6c]
cmp eax, dword [ebp - 0x38]
je 0x405e28
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.00403e20
mov edx, dword [ebp + 0x14]
jmp 0x405590
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x4056c2
or dword [ebp - 0x38], 0x400
mov ecx, edx
jmp 0x4056c4
mov eax, dword [ebp - 0x38]
or eax, 0x20
test al, 4
mov dword [ebp - 0x38], eax
mov eax, esi
jne 0x405727
fld qword [eax]
lea eax, [ebp - 0x3c]
add esi, 8
fstp xword [esp]
call fcn.00404660
mov edx, dword [ebp + 0x14]
jmp 0x405590
mov eax, dword [ebp - 0x38]
or eax, 0x20
test al, 4
mov dword [ebp - 0x38], eax
mov eax, esi
je 0x405a04
fld xword [eax]
lea eax, [ebp - 0x3c]
add esi, 0xc
fstp xword [esp]
call fcn.004045b0
mov edx, dword [ebp + 0x14]
jmp 0x405590
or dword [ebp - 0x38], 0x80
cmp dword [ebp - 0x64], 3
mov eax, esi
je 0x405dc9
add esi, 4
cmp dword [ebp - 0x64], 2
mov eax, dword [eax]
mov dword [ebp - 0x48], eax
mov ecx, eax
je 0x405d24
sar ecx, 0x1f
cmp dword [ebp - 0x64], 1
mov dword [ebp - 0x44], ecx
je 0x405e74
cmp dword [ebp - 0x64], 4
je 0x405d1b
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x3c]
call fcn.00403be0
mov edx, dword [ebp + 0x14]
jmp 0x405590
mov eax, dword [ebp - 0x38]
or eax, 0x20
test al, 4
mov dword [ebp - 0x38], eax
je 0x405a65
mov eax, esi
add esi, 0xc
fld xword [eax]
lea eax, [ebp - 0x3c]
fstp xword [esp]
call fcn.00404a00
mov edx, dword [ebp + 0x14]
jmp 0x405590
cmp dword [ebp - 0x64], 3
mov eax, esi
je 0x405db6
add esi, 4
cmp dword [ebp - 0x64], 2
mov eax, dword [eax]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], eax
je 0x4058a7
cmp dword [ebp - 0x64], 1
je 0x405e86
cmp dword [ebp - 0x64], 4
je 0x405e3a
cmp ebx, 0x75
je 0x405831
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x3c]
mov dword [esp], eax
mov eax, ebx
call fcn.00403e20
mov edx, dword [ebp + 0x14]
jmp 0x405590
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.00403940
mov edx, dword [ebp + 0x14]
jmp 0x405590
cmp dword [ebp - 0x64], 4
je 0x405da4
cmp dword [ebp - 0x64], 1
je 0x405d2f
mov eax, esi
add esi, 4
cmp dword [ebp - 0x64], 2
mov eax, dword [eax]
mov ecx, dword [ebp - 0x24]
je 0x405e6d
cmp dword [ebp - 0x64], 3
mov dword [eax], ecx
jne 0x405590
mov edi, ecx
sar edi, 0x1f
mov dword [eax + 4], edi
jmp 0x405590
mov eax, dword [ebp - 0x38]
or eax, 0x20
test al, 4
mov dword [ebp - 0x38], eax
jne 0x405700
mov eax, esi
add esi, 8
fld qword [eax]
lea eax, [ebp - 0x3c]
fstp xword [esp]
call fcn.00404730
mov edx, dword [ebp + 0x14]
jmp 0x405590
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x4056c2
or dword [ebp - 0x38], 0x800
mov ecx, edx
jmp 0x4056c4
mov ebx, dword [ebp - 0x60]
test ebx, ebx
jne 0x4056c2
or dword [ebp - 0x38], 0x40
mov ecx, edx
jmp 0x4056c4
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x4056ea
test byte [ebp - 0x60], 5
jne 0x405cf8
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x405d3f
lea eax, [ebp + 0x14]
call fcn.00404940
test eax, eax
jle 0x405d3f
mov ecx, dword [ebp - 0x70]
mov eax, dword [ecx + eax*4 - 4]
mov eax, dword [eax]
mov dword [ebx], eax
jmp 0x405d49
lea edx, [ebp - 0x3c]
mov eax, ebx
call fcn.004038e0
mov edx, dword [ebp + 0x14]
jmp 0x405590
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x4056c2
or dword [ebp - 0x38], 0x100
mov ecx, edx
jmp 0x4056c4
mov eax, dword [ebp - 0x38]
test al, 4
mov eax, esi
jne 0x4057d8
fld qword [eax]
lea eax, [ebp - 0x3c]
add esi, 8
fstp xword [esp]
call fcn.004045b0
mov edx, dword [ebp + 0x14]
jmp 0x405590
mov ecx, dword [ebp - 0x60]
test ecx, ecx
jne 0x405c2c
or dword [ebp - 0x38], 0x200
mov ecx, edx
jmp 0x4056c4
cmp dword [ebp - 0x60], 1
ja 0x4056ea
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x60], 2
mov ecx, edx
mov dword [ebp - 0x68], eax
jmp 0x4056c4
mov eax, dword [ebp - 0x38]
test al, 4
jne 0x405858
fld qword [esi]
lea ebx, [esi + 8]
lea eax, [ebp - 0x3c]
fstp xword [esp]
mov esi, ebx
call fcn.00404a00
mov edx, dword [ebp + 0x14]
jmp 0x405590
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x30], 0xffffffff
sub eax, 2
cmp eax, 1
jbe 0x4058ce
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.00403a60
mov edx, dword [ebp + 0x14]
jmp 0x405590
mov eax, dword [ebp - 0x64]
sub eax, 2
cmp eax, 1
jbe case.0x40560f.51
lea ebx, [esi + 4]
mov esi, dword [esi]
test esi, esi
je 0x405ddc
mov dword [esp], esi
call sym._strlen
mov edx, eax
lea ecx, [ebp - 0x3c]
mov eax, esi
mov esi, ebx
call fcn.00403a60
mov edx, dword [ebp + 0x14]
jmp 0x405590
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 0x40530b
movzx ecx, byte [ebx]
cmp cl, 0x25
je 0x4053ab
mov ebx, edi
mov edi, dword [ebp - 0x68]
jmp 0x40524a
mov ecx, dword [ebp - 0x60]
cmp ecx, 4
je 0x405e55
lea eax, [ebx - 0x30]
cmp eax, 9
ja 0x405e55
test ecx, ecx
jne 0x405c36
mov dword [ebp - 0x60], 1
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x4056c2
mov ecx, dword [eax]
sub ebx, 0x30
xor eax, eax
test ecx, ecx
jle 0x405b64
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 0x4056c4
add dword [ebp - 0x60], 4
jmp 0x405424
lea eax, [esi + 1]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
call fcn.004048b0
test eax, eax
je 0x405d62
cmp edi, eax
jge 0x405b97
mov edi, eax
mov edx, dword [ebp - 0x50]
lea eax, [edx + 1]
mov dword [ebp - 0x50], eax
movzx edx, byte [edx + 1]
jmp 0x4054dd
add eax, 2
jmp 0x405181
mov edx, eax
mov eax, esi
jmp 0x4054dd
mov esi, dword [ebp - 0x4c]
mov dword [ebp - 0x64], edi
jmp 0x405bc5
add esi, 1
movsx edi, byte [esi]
mov dword [esp], str.__0
mov dword [esp + 4], edi
call sym._strchr
test eax, eax
jne 0x405bc2
mov eax, edi
mov ebx, edi
mov edi, dword [ebp - 0x64]
cmp al, 0x2a
je 0x405d0f
lea edx, [ebx - 0x30]
mov ebx, eax
cmp edx, 9
ja 0x405c05
add esi, 1
movsx eax, byte [esi]
mov ebx, eax
sub eax, 0x30
cmp eax, 9
jbe 0x405bf5
cmp bl, 0x2e
mov eax, esi
je 0x405deb
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
call fcn.004036d0
mov ebx, dword [ebp - 0x4c]
cmp byte [ebx], 0x25
jne 0x405b17
jmp 0x4053ab
cmp dword [ebp - 0x60], 4
je 0x405e55
cmp dword [ebp - 0x60], 2
jne 0x405b48
mov dword [ebp - 0x60], 3
jmp 0x405b48
add eax, 2
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
call fcn.004048b0
test eax, eax
je 0x405d62
cmp edi, eax
jl 0x405d04
add dword [ebp - 0x50], 1
jmp 0x405513
lea ebx, [esi + 4]
mov esi, dword [esi]
test esi, esi
je 0x405ed9
mov dword [esp], esi
call sym._wcslen
lea ecx, [ebp - 0x3c]
mov edx, eax
mov eax, esi
mov esi, ebx
call fcn.00403940
mov edx, dword [ebp + 0x14]
jmp 0x405590
lea eax, [ebx + 1]
mov dword [ebp - 0x4c], eax
movsx edx, byte [ebx + 1]
cmp dl, 0x2a
jne 0x405cbb
jmp 0x405ebb
add eax, 1
mov dword [ebp - 0x4c], eax
movsx edx, byte [eax]
sub edx, 0x30
cmp edx, 9
jbe 0x405cb2
lea eax, [ebp - 0x4c]
call fcn.004036d0
cmp eax, 1
mov edx, eax
jne 0x4052f1
jmp 0x405af8
mov eax, ecx
mov dword [ebp - 0x64], ecx
call fcn.00404970
mov edx, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
cmp edx, eax
jbe 0x40537f
jmp 0x405376
mov dword [ebp - 0x68], 0
jmp 0x4056ea
mov edi, eax
add dword [ebp - 0x50], 1
jmp 0x405513
movzx ebx, byte [esi + 1]
add esi, 1
jmp 0x405c05
movsx eax, byte [ebp - 0x48]
mov dword [ebp - 0x48], eax
mov ecx, eax
sar ecx, 0x1f
mov dword [ebp - 0x44], ecx
jmp 0x405831
mov eax, dword [esi]
mov ecx, dword [ebp - 0x24]
add esi, 4
mov word [eax], cx
jmp 0x405590
mov eax, dword [esi]
mov ecx, dword [ebp - 0x68]
add esi, 4
mov dword [ecx], eax
test eax, eax
js 0x405e99
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x68], 0
mov ecx, edx
jmp 0x4056c4
lea eax, [ebp - 0x54]
mov edi, 0xffffffff
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x70], eax
jmp 0x405580
lea eax, [ebp - 0x4c]
add ebx, 1
mov dword [ebp - 0x4c], ebx
call fcn.004048b0
test eax, eax
mov dword [ebp - 0x48], eax
jne 0x405e16
mov ebx, dword [ebp - 0x4c]
mov dword [ebp - 0x64], 0
movzx eax, byte [ebx]
jmp 0x4052d6
mov eax, dword [esi]
mov edx, dword [ebp - 0x24]
add esi, 4
mov byte [eax], dl
mov edx, dword [ebp + 0x14]
jmp 0x405590
mov edx, dword [eax + 4]
mov eax, dword [eax]
add esi, 8
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
jmp 0x4058a7
mov edx, dword [eax + 4]
mov eax, dword [eax]
add esi, 8
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
jmp 0x405831
mov edx, 6
mov esi, str._null_
jmp 0x405add
movsx edx, byte [esi + 1]
cmp dl, 0x2a
je 0x405e4d
sub edx, 0x30
add eax, 1
cmp edx, 9
ja 0x405c10
add eax, 1
movsx edx, byte [eax]
sub edx, 0x30
cmp edx, 9
jbe 0x405e03
jmp 0x405c10
mov eax, dword [ebp - 0x4c]
lea ebx, [eax + 1]
mov dword [ebp - 0x4c], ebx
movzx eax, byte [eax + 1]
jmp 0x4052d6
or ah, 2
mov dword [ebp - 0x30], 8
mov dword [ebp - 0x38], eax
jmp 0x405752
movzx eax, byte [ebp - 0x48]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], eax
jmp 0x4058a7
add eax, 2
jmp 0x405c10
lea edx, [ebp - 0x3c]
mov eax, 0x25
mov dword [ebp + 0x14], edi
call fcn.004038e0
mov edx, dword [ebp + 0x14]
jmp 0x405590
mov dword [eax], ecx
jmp 0x405590
movsx eax, word [ebp - 0x48]
mov dword [ebp - 0x48], eax
sar eax, 0x1f
mov dword [ebp - 0x44], eax
jmp 0x405831
movzx eax, word [ebp - 0x48]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], eax
jmp 0x4058a7
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x405ee3
mov edx, dword [ebp + 0x14]
or dword [ebp - 0x38], 0x400
neg dword [ebp - 0x34]
mov dword [ebp - 0x68], 0
mov ecx, edx
jmp 0x4056c4
lea eax, [ebp - 0x4c]
add ebx, 2
mov dword [ebp - 0x4c], ebx
call fcn.004048b0
test eax, eax
mov dword [ebp - 0x44], eax
je 0x405eef
add dword [ebp - 0x4c], 1
jmp 0x4052de
mov esi, 0x40a642
jmp 0x405c80
mov dword [ebp - 0x30], 0xffffffff
jmp 0x405d51
lea eax, [ebp - 0x4c]
call fcn.004036d0
cmp eax, 1
je 0x405af1
cmp eax, 4
je 0x405af1
mov ebx, dword [ebp - 0x4c]
movzx ecx, byte [ebx]
jmp 0x405b0e