Function at 0x405070
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 0x405471
movsx edx, byte [eax]
mov eax, 2
sub edx, 0x30
cmp edx, 2
ja 0x405471
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x50], ebx
jmp 0x405103
mov esi, ebx
add ebx, 1
mov dword [ebp - 0x50], ebx
cmp byte [esi], 0
je 0x4051f0
cmp byte [ebx], 0x25
jne 0x4050f2
lea eax, [ebx + 1]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
call fcn.004048c0
test eax, eax
mov edi, eax
jne 0x405483
mov edi, dword [ebp - 0x50]
movzx eax, byte [edi]
cmp al, 0x24
je 0x405d72
mov dword [ebp - 0x64], ebx
mov ebx, eax
jmp 0x405146
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 0x405140
mov eax, ebx
mov ecx, ebx
mov ebx, dword [ebp - 0x64]
cmp al, 0x2a
je 0x4056a4
lea edx, [esi - 0x30]
cmp edx, 9
ja 0x405186
add edi, 1
movsx eax, byte [edi]
mov edx, eax
sub eax, 0x30
cmp eax, 9
jbe 0x405174
mov ecx, edx
cmp cl, 0x2e
mov eax, edi
je 0x405675
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
call fcn.004036e0
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 0x4051d2
sub eax, str.aAeEfFgGcCdiouxXnpsS
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 0xffffffff
jne 0x405d72
mov eax, edi
cmp al, 0x25
je 0x405567
mov esi, ebx
mov ebx, dword [ebp - 0x60]
mov dword [ebp - 0x50], ebx
cmp byte [esi], 0
jne 0x405103
lea esi, [esi]
mov edx, dword [ebp - 0x5c]
lea eax, [edx*4 + 0x12]
shr eax, 4
shl eax, 4
call fcn.00402010
mov edi, 0xffffffff
sub esp, eax
test edx, edx
lea eax, [esp + 0xc]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
je 0x405590
lea eax, [edx + edx + 0x10]
mov dword [ebp - 0x78], esp
shr eax, 4
shl eax, 4
call fcn.00402010
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 0x405243
cmp byte [edi], 0x25
je 0x40526b
mov ebx, edi
add edi, 1
mov dword [ebp - 0x4c], edi
cmp byte [ebx], 0
je 0x4053d0
cmp byte [edi], 0x25
jne 0x405255
lea eax, [edi + 1]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
call fcn.004048c0
test eax, eax
mov dword [ebp - 0x64], eax
jle 0x405bca
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 0x4052a3
add ebx, 1
movsx eax, byte [ebx]
mov dword [esp], str.__0
mov dword [esp + 4], eax
call sym._strchr
test eax, eax
jne 0x4052a0
mov dword [ebp - 0x4c], ebx
movzx eax, byte [ebx]
cmp al, 0x2a
je 0x405d89
movsx edx, al
sub edx, 0x30
cmp edx, 9
ja 0x4052e6
add ebx, 1
mov dword [ebp - 0x4c], ebx
movsx edx, byte [ebx]
mov eax, edx
sub edx, 0x30
cmp edx, 9
jbe 0x4052d3
cmp al, 0x2e
je 0x405cae
lea eax, [ebp - 0x4c]
call fcn.004036e0
cmp eax, 1
mov edx, eax
je 0x405b08
cmp eax, 4
je 0x405b08
mov esi, dword [ebp - 0x64]
mov dword [ebp - 0x7c], edx
mov ebx, dword [ebp - 0x4c]
test esi, esi
je 0x405b1b
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 0x405b1e
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 0x405b1e
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.00404980
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 0x405ceb
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 0x4053b4
mov edi, dword [ebp - 0x60]
lea edx, [edi + ecx*2]
cmp word [edx], 0
jne 0x4053b4
mov ecx, 0x64
mov word [edx], cx
add eax, 4
cmp esi, eax
jne 0x405395
lea edi, [ebx + 1]
mov dword [ebp - 0x4c], edi
cmp byte [ebx], 0
jne 0x405266
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 0x405580
add eax, 1
cmp eax, ecx
jl 0x4053e0
mov edi, dword [ebp - 0x5c]
test edi, edi
je 0x405587
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 0x405445
cmp bl, 3
je 0x405b82
movzx esi, byte [eax]
mov ebx, esi
cmp bl, 2
je 0x405b82
cmp bl, 3
jne 0x405b82
add dword [ebp - 0x60], 8
add edx, 1
add ecx, 4
add eax, 2
cmp edx, edi
jge 0x405587
mov esi, dword [ebp - 0x60]
mov dword [ecx], esi
movzx esi, byte [eax - 1]
mov ebx, esi
cmp bl, 1
jne 0x405410
movzx esi, byte [eax]
cmp esi, 0x4c
je 0x40546b
test byte [0x40e06d], 1
je 0x405430
cmp esi, 2
jne 0x405430
add dword [ebp - 0x60], 0xc
jmp 0x405434
mov eax, dword [0x40e06c]
and eax, 1
neg eax
add eax, 3
jmp 0x4050e0
mov eax, dword [ebp - 0x50]
lea esi, [eax + 1]
mov dword [ebp - 0x50], esi
jmp 0x405493
add esi, 1
movsx eax, byte [esi]
mov dword [esp], str.__0
mov dword [esp + 4], eax
call sym._strchr
test eax, eax
jne 0x405490
mov dword [ebp - 0x50], esi
movzx eax, byte [esi]
cmp al, 0x2a
je 0x405b8b
movsx edx, al
lea ecx, [esi + 1]
sub edx, 0x30
cmp edx, 9
ja 0x405bc1
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 0x4054d0
mov ecx, esi
mov esi, ebx
mov edx, esi
mov ebx, ecx
cmp dl, 0x2e
jne 0x405523
lea edx, [eax + 1]
mov dword [ebp - 0x50], edx
movsx edx, byte [eax + 1]
cmp dl, 0x2a
je 0x405c5c
sub edx, 0x30
add eax, 2
cmp edx, 9
ja 0x405523
mov edx, eax
mov dword [ebp - 0x50], eax
add eax, 1
movsx edx, byte [edx]
sub edx, 0x30
cmp edx, 9
jbe 0x405510
lea eax, [ebp - 0x50]
call fcn.004036e0
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 0x405570
sub eax, str.aAeEfFgGcCdiouxXnpsS
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 0xffffffff
je 0x405570
cmp dword [ebp - 0x5c], edi
jge 0x405567
mov dword [ebp - 0x5c], edi
lea ebx, [esi + 1]
jmp 0x4050f7
cmp cl, 0x25
jne 0x4051dc
jmp 0x405567
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 0x40564c
cmp eax, 0x25
jne 0x405630
mov edx, dword [ebp - 0x5c]
mov ecx, edi
test edx, edx
je 0x4055d5
lea eax, [ebp + 0x14]
call fcn.00404950
test eax, eax
jle 0x4055d2
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 0x4056dd
lea edx, [ecx + 1]
mov dword [ebp + 0x14], edx
movsx ebx, byte [ecx]
mov eax, ebx
sub eax, 0x20
cmp al, 0x5a
ja case.0x40561f.1
movzx eax, al
jmp dword [eax*4 + 0x40b27c]
lea edx, [ebp - 0x3c]
call fcn.004038f0
mov edx, dword [ebp + 0x14]
lea edi, [edx + 1]
mov dword [ebp + 0x14], edi
movsx eax, byte [edx]
test eax, eax
jne 0x4055b1
mov eax, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x74]
test eax, eax
je 0x40566a
lea esi, [esi]
lea edi, [edi]
sub edi, 1
lea eax, [edi + 1]
test eax, eax
jg 0x405660
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 0x405bb9
sub edx, 0x30
add eax, 1
cmp edx, 9
ja 0x405191
add eax, 1
movsx edx, byte [eax]
sub edx, 0x30
cmp edx, 9
jbe 0x405691
jmp 0x405191
movzx eax, byte [edi + 1]
add edi, 1
mov ecx, eax
jmp 0x405186
test byte [0x40e06d], 1
je 0x4056fa
cmp eax, 2
jne 0x4056fa
mov dword [ebp - 0x64], 2
or dword [ebp - 0x38], 4
mov dword [ebp - 0x60], 4
mov ecx, edx
cmp byte [ecx], 0
jne 0x405606
mov edx, ecx
jmp 0x4055a0
lea eax, [ebp + 0x14]
mov dword [ebp + 0x14], ecx
call fcn.004036e0
cmp ebx, 0x6c
mov dword [ebp - 0x64], eax
mov edx, dword [ebp + 0x14]
je 0x4056b2
mov dword [ebp - 0x60], 4
mov ecx, edx
jmp 0x4056d4
mov eax, dword [ebp - 0x38]
test al, 4
je 0x405953
fld xword [esi]
lea ebx, [esi + 0xc]
lea eax, [ebp - 0x3c]
mov esi, ebx
fstp xword [esp]
call fcn.00404740
mov edx, dword [ebp + 0x14]
jmp 0x4055a0
mov eax, dword [ebp - 0x38]
test al, 4
mov eax, esi
je 0x4057bd
fld xword [eax]
lea eax, [ebp - 0x3c]
add esi, 0xc
fstp xword [esp]
call fcn.00404670
mov edx, dword [ebp + 0x14]
jmp 0x4055a0
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x405762
mov eax, dword [ebp - 0x6c]
cmp eax, dword [ebp - 0x38]
je 0x405e38
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.00403e30
mov edx, dword [ebp + 0x14]
jmp 0x4055a0
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x4056d2
or dword [ebp - 0x38], 0x400
mov ecx, edx
jmp 0x4056d4
mov eax, dword [ebp - 0x38]
or eax, 0x20
test al, 4
mov dword [ebp - 0x38], eax
mov eax, esi
jne 0x405737
fld qword [eax]
lea eax, [ebp - 0x3c]
add esi, 8
fstp xword [esp]
call fcn.00404670
mov edx, dword [ebp + 0x14]
jmp 0x4055a0
mov eax, dword [ebp - 0x38]
or eax, 0x20
test al, 4
mov dword [ebp - 0x38], eax
mov eax, esi
je 0x405a14
fld xword [eax]
lea eax, [ebp - 0x3c]
add esi, 0xc
fstp xword [esp]
call fcn.004045c0
mov edx, dword [ebp + 0x14]
jmp 0x4055a0
or dword [ebp - 0x38], 0x80
cmp dword [ebp - 0x64], 3
mov eax, esi
je 0x405dd9
add esi, 4
cmp dword [ebp - 0x64], 2
mov eax, dword [eax]
mov dword [ebp - 0x48], eax
mov ecx, eax
je 0x405d34
sar ecx, 0x1f
cmp dword [ebp - 0x64], 1
mov dword [ebp - 0x44], ecx
je 0x405e84
cmp dword [ebp - 0x64], 4
je 0x405d2b
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x3c]
call fcn.00403bf0
mov edx, dword [ebp + 0x14]
jmp 0x4055a0
mov eax, dword [ebp - 0x38]
or eax, 0x20
test al, 4
mov dword [ebp - 0x38], eax
je 0x405a75
mov eax, esi
add esi, 0xc
fld xword [eax]
lea eax, [ebp - 0x3c]
fstp xword [esp]
call fcn.00404a10
mov edx, dword [ebp + 0x14]
jmp 0x4055a0
cmp dword [ebp - 0x64], 3
mov eax, esi
je 0x405dc6
add esi, 4
cmp dword [ebp - 0x64], 2
mov eax, dword [eax]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], eax
je 0x4058b7
cmp dword [ebp - 0x64], 1
je 0x405e96
cmp dword [ebp - 0x64], 4
je 0x405e4a
cmp ebx, 0x75
je 0x405841
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x3c]
mov dword [esp], eax
mov eax, ebx
call fcn.00403e30
mov edx, dword [ebp + 0x14]
jmp 0x4055a0
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.00403950
mov edx, dword [ebp + 0x14]
jmp 0x4055a0
cmp dword [ebp - 0x64], 4
je 0x405db4
cmp dword [ebp - 0x64], 1
je 0x405d3f
mov eax, esi
add esi, 4
cmp dword [ebp - 0x64], 2
mov eax, dword [eax]
mov ecx, dword [ebp - 0x24]
je 0x405e7d
cmp dword [ebp - 0x64], 3
mov dword [eax], ecx
jne 0x4055a0
mov edi, ecx
sar edi, 0x1f
mov dword [eax + 4], edi
jmp 0x4055a0
mov eax, dword [ebp - 0x38]
or eax, 0x20
test al, 4
mov dword [ebp - 0x38], eax
jne 0x405710
mov eax, esi
add esi, 8
fld qword [eax]
lea eax, [ebp - 0x3c]
fstp xword [esp]
call fcn.00404740
mov edx, dword [ebp + 0x14]
jmp 0x4055a0
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x4056d2
or dword [ebp - 0x38], 0x800
mov ecx, edx
jmp 0x4056d4
mov ebx, dword [ebp - 0x60]
test ebx, ebx
jne 0x4056d2
or dword [ebp - 0x38], 0x40
mov ecx, edx
jmp 0x4056d4
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x4056fa
test byte [ebp - 0x60], 5
jne 0x405d08
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x405d4f
lea eax, [ebp + 0x14]
call fcn.00404950
test eax, eax
jle 0x405d4f
mov ecx, dword [ebp - 0x70]
mov eax, dword [ecx + eax*4 - 4]
mov eax, dword [eax]
mov dword [ebx], eax
jmp 0x405d59
lea edx, [ebp - 0x3c]
mov eax, ebx
call fcn.004038f0
mov edx, dword [ebp + 0x14]
jmp 0x4055a0
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x4056d2
or dword [ebp - 0x38], 0x100
mov ecx, edx
jmp 0x4056d4
mov eax, dword [ebp - 0x38]
test al, 4
mov eax, esi
jne 0x4057e8
fld qword [eax]
lea eax, [ebp - 0x3c]
add esi, 8
fstp xword [esp]
call fcn.004045c0
mov edx, dword [ebp + 0x14]
jmp 0x4055a0
mov ecx, dword [ebp - 0x60]
test ecx, ecx
jne 0x405c3c
or dword [ebp - 0x38], 0x200
mov ecx, edx
jmp 0x4056d4
cmp dword [ebp - 0x60], 1
ja 0x4056fa
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x60], 2
mov ecx, edx
mov dword [ebp - 0x68], eax
jmp 0x4056d4
mov eax, dword [ebp - 0x38]
test al, 4
jne 0x405868
fld qword [esi]
lea ebx, [esi + 8]
lea eax, [ebp - 0x3c]
fstp xword [esp]
mov esi, ebx
call fcn.00404a10
mov edx, dword [ebp + 0x14]
jmp 0x4055a0
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x30], 0xffffffff
sub eax, 2
cmp eax, 1
jbe 0x4058de
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.00403a70
mov edx, dword [ebp + 0x14]
jmp 0x4055a0
mov eax, dword [ebp - 0x64]
sub eax, 2
cmp eax, 1
jbe case.0x40561f.51
lea ebx, [esi + 4]
mov esi, dword [esi]
test esi, esi
je 0x405dec
mov dword [esp], esi
call sym._strlen
mov edx, eax
lea ecx, [ebp - 0x3c]
mov eax, esi
mov esi, ebx
call fcn.00403a70
mov edx, dword [ebp + 0x14]
jmp 0x4055a0
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 0x40531b
movzx ecx, byte [ebx]
cmp cl, 0x25
je 0x4053bb
mov ebx, edi
mov edi, dword [ebp - 0x68]
jmp 0x40525a
mov ecx, dword [ebp - 0x60]
cmp ecx, 4
je 0x405e65
lea eax, [ebx - 0x30]
cmp eax, 9
ja 0x405e65
test ecx, ecx
jne 0x405c46
mov dword [ebp - 0x60], 1
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x4056d2
mov ecx, dword [eax]
sub ebx, 0x30
xor eax, eax
test ecx, ecx
jle 0x405b74
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 0x4056d4
add dword [ebp - 0x60], 4
jmp 0x405434
lea eax, [esi + 1]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
call fcn.004048c0
test eax, eax
je 0x405d72
cmp edi, eax
jge 0x405ba7
mov edi, eax
mov edx, dword [ebp - 0x50]
lea eax, [edx + 1]
mov dword [ebp - 0x50], eax
movzx edx, byte [edx + 1]
jmp 0x4054ed
add eax, 2
jmp 0x405191
mov edx, eax
mov eax, esi
jmp 0x4054ed
mov esi, dword [ebp - 0x4c]
mov dword [ebp - 0x64], edi
jmp 0x405bd5
add esi, 1
movsx edi, byte [esi]
mov dword [esp], str.__0
mov dword [esp + 4], edi
call sym._strchr
test eax, eax
jne 0x405bd2
mov eax, edi
mov ebx, edi
mov edi, dword [ebp - 0x64]
cmp al, 0x2a
je 0x405d1f
lea edx, [ebx - 0x30]
mov ebx, eax
cmp edx, 9
ja 0x405c15
add esi, 1
movsx eax, byte [esi]
mov ebx, eax
sub eax, 0x30
cmp eax, 9
jbe 0x405c05
cmp bl, 0x2e
mov eax, esi
je 0x405dfb
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
call fcn.004036e0
mov ebx, dword [ebp - 0x4c]
cmp byte [ebx], 0x25
jne 0x405b27
jmp 0x4053bb
cmp dword [ebp - 0x60], 4
je 0x405e65
cmp dword [ebp - 0x60], 2
jne 0x405b58
mov dword [ebp - 0x60], 3
jmp 0x405b58
add eax, 2
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
call fcn.004048c0
test eax, eax
je 0x405d72
cmp edi, eax
jl 0x405d14
add dword [ebp - 0x50], 1
jmp 0x405523
lea ebx, [esi + 4]
mov esi, dword [esi]
test esi, esi
je 0x405ee9
mov dword [esp], esi
call sym._wcslen
lea ecx, [ebp - 0x3c]
mov edx, eax
mov eax, esi
mov esi, ebx
call fcn.00403950
mov edx, dword [ebp + 0x14]
jmp 0x4055a0
lea eax, [ebx + 1]
mov dword [ebp - 0x4c], eax
movsx edx, byte [ebx + 1]
cmp dl, 0x2a
jne 0x405ccb
jmp 0x405ecb
add eax, 1
mov dword [ebp - 0x4c], eax
movsx edx, byte [eax]
sub edx, 0x30
cmp edx, 9
jbe 0x405cc2
lea eax, [ebp - 0x4c]
call fcn.004036e0
cmp eax, 1
mov edx, eax
jne 0x405301
jmp 0x405b08
mov eax, ecx
mov dword [ebp - 0x64], ecx
call fcn.00404980
mov edx, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
cmp edx, eax
jbe 0x40538f
jmp 0x405386
mov dword [ebp - 0x68], 0
jmp 0x4056fa
mov edi, eax
add dword [ebp - 0x50], 1
jmp 0x405523
movzx ebx, byte [esi + 1]
add esi, 1
jmp 0x405c15
movsx eax, byte [ebp - 0x48]
mov dword [ebp - 0x48], eax
mov ecx, eax
sar ecx, 0x1f
mov dword [ebp - 0x44], ecx
jmp 0x405841
mov eax, dword [esi]
mov ecx, dword [ebp - 0x24]
add esi, 4
mov word [eax], cx
jmp 0x4055a0
mov eax, dword [esi]
mov ecx, dword [ebp - 0x68]
add esi, 4
mov dword [ecx], eax
test eax, eax
js 0x405ea9
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x68], 0
mov ecx, edx
jmp 0x4056d4
lea eax, [ebp - 0x54]
mov edi, 0xffffffff
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x70], eax
jmp 0x405590
lea eax, [ebp - 0x4c]
add ebx, 1
mov dword [ebp - 0x4c], ebx
call fcn.004048c0
test eax, eax
mov dword [ebp - 0x48], eax
jne 0x405e26
mov ebx, dword [ebp - 0x4c]
mov dword [ebp - 0x64], 0
movzx eax, byte [ebx]
jmp 0x4052e6
mov eax, dword [esi]
mov edx, dword [ebp - 0x24]
add esi, 4
mov byte [eax], dl
mov edx, dword [ebp + 0x14]
jmp 0x4055a0
mov edx, dword [eax + 4]
mov eax, dword [eax]
add esi, 8
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
jmp 0x4058b7
mov edx, dword [eax + 4]
mov eax, dword [eax]
add esi, 8
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
jmp 0x405841
mov edx, 6
mov esi, str._null_
jmp 0x405aed
movsx edx, byte [esi + 1]
cmp dl, 0x2a
je 0x405e5d
sub edx, 0x30
add eax, 1
cmp edx, 9
ja 0x405c20
add eax, 1
movsx edx, byte [eax]
sub edx, 0x30
cmp edx, 9
jbe 0x405e13
jmp 0x405c20
mov eax, dword [ebp - 0x4c]
lea ebx, [eax + 1]
mov dword [ebp - 0x4c], ebx
movzx eax, byte [eax + 1]
jmp 0x4052e6
or ah, 2
mov dword [ebp - 0x30], 8
mov dword [ebp - 0x38], eax
jmp 0x405762
movzx eax, byte [ebp - 0x48]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], eax
jmp 0x4058b7
add eax, 2
jmp 0x405c20
lea edx, [ebp - 0x3c]
mov eax, 0x25
mov dword [ebp + 0x14], edi
call fcn.004038f0
mov edx, dword [ebp + 0x14]
jmp 0x4055a0
mov dword [eax], ecx
jmp 0x4055a0
movsx eax, word [ebp - 0x48]
mov dword [ebp - 0x48], eax
sar eax, 0x1f
mov dword [ebp - 0x44], eax
jmp 0x405841
movzx eax, word [ebp - 0x48]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], eax
jmp 0x4058b7
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x405ef3
mov edx, dword [ebp + 0x14]
or dword [ebp - 0x38], 0x400
neg dword [ebp - 0x34]
mov dword [ebp - 0x68], 0
mov ecx, edx
jmp 0x4056d4
lea eax, [ebp - 0x4c]
add ebx, 2
mov dword [ebp - 0x4c], ebx
call fcn.004048c0
test eax, eax
mov dword [ebp - 0x44], eax
je 0x405eff
add dword [ebp - 0x4c], 1
jmp 0x4052ee
mov esi, 0x40b246
jmp 0x405c90
mov dword [ebp - 0x30], 0xffffffff
jmp 0x405d61
lea eax, [ebp - 0x4c]
call fcn.004036e0
cmp eax, 1
je 0x405b01
cmp eax, 4
je 0x405b01
mov ebx, dword [ebp - 0x4c]
movzx ecx, byte [ebx]
jmp 0x405b1e