Function at 0x405150
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 0x405551
movsx edx, byte [eax]
mov eax, 2
sub edx, 0x30
cmp edx, 2
ja 0x405551
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x50], ebx
jmp 0x4051e3
mov esi, ebx
add ebx, 1
mov dword [ebp - 0x50], ebx
cmp byte [esi], 0
je 0x4052d0
cmp byte [ebx], 0x25
jne 0x4051d2
lea eax, [ebx + 1]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
call fcn.004049a0
test eax, eax
mov edi, eax
jne 0x405563
mov edi, dword [ebp - 0x50]
movzx eax, byte [edi]
cmp al, 0x24
je 0x405e52
mov dword [ebp - 0x64], ebx
mov ebx, eax
jmp 0x405226
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 0x405220
mov eax, ebx
mov ecx, ebx
mov ebx, dword [ebp - 0x64]
cmp al, 0x2a
je 0x405784
lea edx, [esi - 0x30]
cmp edx, 9
ja 0x405266
add edi, 1
movsx eax, byte [edi]
mov edx, eax
sub eax, 0x30
cmp eax, 9
jbe 0x405254
mov ecx, edx
cmp cl, 0x2e
mov eax, edi
je 0x405755
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
call fcn.004037c0
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 0x4052b2
sub eax, str.aAeEfFgGcCdiouxXnpsS
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 0xffffffff
jne 0x405e52
mov eax, edi
cmp al, 0x25
je 0x405647
mov esi, ebx
mov ebx, dword [ebp - 0x60]
mov dword [ebp - 0x50], ebx
cmp byte [esi], 0
jne 0x4051e3
lea esi, [esi]
mov edx, dword [ebp - 0x5c]
lea eax, [edx*4 + 0x12]
shr eax, 4
shl eax, 4
call fcn.004020f0
mov edi, 0xffffffff
sub esp, eax
test edx, edx
lea eax, [esp + 0xc]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
je 0x405670
lea eax, [edx + edx + 0x10]
mov dword [ebp - 0x78], esp
shr eax, 4
shl eax, 4
call fcn.004020f0
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 0x405323
cmp byte [edi], 0x25
je 0x40534b
mov ebx, edi
add edi, 1
mov dword [ebp - 0x4c], edi
cmp byte [ebx], 0
je 0x4054b0
cmp byte [edi], 0x25
jne 0x405335
lea eax, [edi + 1]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
call fcn.004049a0
test eax, eax
mov dword [ebp - 0x64], eax
jle 0x405caa
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 0x405383
add ebx, 1
movsx eax, byte [ebx]
mov dword [esp], str.__0
mov dword [esp + 4], eax
call sym._strchr
test eax, eax
jne 0x405380
mov dword [ebp - 0x4c], ebx
movzx eax, byte [ebx]
cmp al, 0x2a
je 0x405e69
movsx edx, al
sub edx, 0x30
cmp edx, 9
ja 0x4053c6
add ebx, 1
mov dword [ebp - 0x4c], ebx
movsx edx, byte [ebx]
mov eax, edx
sub edx, 0x30
cmp edx, 9
jbe 0x4053b3
cmp al, 0x2e
je 0x405d8e
lea eax, [ebp - 0x4c]
call fcn.004037c0
cmp eax, 1
mov edx, eax
je 0x405be8
cmp eax, 4
je 0x405be8
mov esi, dword [ebp - 0x64]
mov dword [ebp - 0x7c], edx
mov ebx, dword [ebp - 0x4c]
test esi, esi
je 0x405bfb
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 0x405bfe
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 0x405bfe
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.00404a60
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 0x405dcb
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 0x405494
mov edi, dword [ebp - 0x60]
lea edx, [edi + ecx*2]
cmp word [edx], 0
jne 0x405494
mov ecx, 0x64
mov word [edx], cx
add eax, 4
cmp esi, eax
jne 0x405475
lea edi, [ebx + 1]
mov dword [ebp - 0x4c], edi
cmp byte [ebx], 0
jne 0x405346
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 0x405660
add eax, 1
cmp eax, ecx
jl 0x4054c0
mov edi, dword [ebp - 0x5c]
test edi, edi
je 0x405667
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 0x405525
cmp bl, 3
je 0x405c62
movzx esi, byte [eax]
mov ebx, esi
cmp bl, 2
je 0x405c62
cmp bl, 3
jne 0x405c62
add dword [ebp - 0x60], 8
add edx, 1
add ecx, 4
add eax, 2
cmp edx, edi
jge 0x405667
mov esi, dword [ebp - 0x60]
mov dword [ecx], esi
movzx esi, byte [eax - 1]
mov ebx, esi
cmp bl, 1
jne 0x4054f0
movzx esi, byte [eax]
cmp esi, 0x4c
je 0x40554b
test byte [0x40d06d], 1
je 0x405510
cmp esi, 2
jne 0x405510
add dword [ebp - 0x60], 0xc
jmp 0x405514
mov eax, dword [0x40d06c]
and eax, 1
neg eax
add eax, 3
jmp 0x4051c0
mov eax, dword [ebp - 0x50]
lea esi, [eax + 1]
mov dword [ebp - 0x50], esi
jmp 0x405573
add esi, 1
movsx eax, byte [esi]
mov dword [esp], str.__0
mov dword [esp + 4], eax
call sym._strchr
test eax, eax
jne 0x405570
mov dword [ebp - 0x50], esi
movzx eax, byte [esi]
cmp al, 0x2a
je 0x405c6b
movsx edx, al
lea ecx, [esi + 1]
sub edx, 0x30
cmp edx, 9
ja 0x405ca1
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 0x4055b0
mov ecx, esi
mov esi, ebx
mov edx, esi
mov ebx, ecx
cmp dl, 0x2e
jne 0x405603
lea edx, [eax + 1]
mov dword [ebp - 0x50], edx
movsx edx, byte [eax + 1]
cmp dl, 0x2a
je 0x405d3c
sub edx, 0x30
add eax, 2
cmp edx, 9
ja 0x405603
mov edx, eax
mov dword [ebp - 0x50], eax
add eax, 1
movsx edx, byte [edx]
sub edx, 0x30
cmp edx, 9
jbe 0x4055f0
lea eax, [ebp - 0x50]
call fcn.004037c0
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 0x405650
sub eax, str.aAeEfFgGcCdiouxXnpsS
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 0xffffffff
je 0x405650
cmp dword [ebp - 0x5c], edi
jge 0x405647
mov dword [ebp - 0x5c], edi
lea ebx, [esi + 1]
jmp 0x4051d7
cmp cl, 0x25
jne 0x4052bc
jmp 0x405647
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 0x40572c
cmp eax, 0x25
jne 0x405710
mov edx, dword [ebp - 0x5c]
mov ecx, edi
test edx, edx
je 0x4056b5
lea eax, [ebp + 0x14]
call fcn.00404a30
test eax, eax
jle 0x4056b2
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 0x4057bd
lea edx, [ecx + 1]
mov dword [ebp + 0x14], edx
movsx ebx, byte [ecx]
mov eax, ebx
sub eax, 0x20
cmp al, 0x5a
ja case.0x4056ff.1
movzx eax, al
jmp dword [eax*4 + 0x40a2b4]
lea edx, [ebp - 0x3c]
call fcn.004039d0
mov edx, dword [ebp + 0x14]
lea edi, [edx + 1]
mov dword [ebp + 0x14], edi
movsx eax, byte [edx]
test eax, eax
jne 0x405691
mov eax, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x74]
test eax, eax
je 0x40574a
lea esi, [esi]
lea edi, [edi]
sub edi, 1
lea eax, [edi + 1]
test eax, eax
jg 0x405740
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 0x405c99
sub edx, 0x30
add eax, 1
cmp edx, 9
ja 0x405271
add eax, 1
movsx edx, byte [eax]
sub edx, 0x30
cmp edx, 9
jbe 0x405771
jmp 0x405271
movzx eax, byte [edi + 1]
add edi, 1
mov ecx, eax
jmp 0x405266
test byte [0x40d06d], 1
je 0x4057da
cmp eax, 2
jne 0x4057da
mov dword [ebp - 0x64], 2
or dword [ebp - 0x38], 4
mov dword [ebp - 0x60], 4
mov ecx, edx
cmp byte [ecx], 0
jne 0x4056e6
mov edx, ecx
jmp 0x405680
lea eax, [ebp + 0x14]
mov dword [ebp + 0x14], ecx
call fcn.004037c0
cmp ebx, 0x6c
mov dword [ebp - 0x64], eax
mov edx, dword [ebp + 0x14]
je 0x405792
mov dword [ebp - 0x60], 4
mov ecx, edx
jmp 0x4057b4
mov eax, dword [ebp - 0x38]
test al, 4
je 0x405a33
fld xword [esi]
lea ebx, [esi + 0xc]
lea eax, [ebp - 0x3c]
mov esi, ebx
fstp xword [esp]
call fcn.00404820
mov edx, dword [ebp + 0x14]
jmp 0x405680
mov eax, dword [ebp - 0x38]
test al, 4
mov eax, esi
je 0x40589d
fld xword [eax]
lea eax, [ebp - 0x3c]
add esi, 0xc
fstp xword [esp]
call fcn.00404750
mov edx, dword [ebp + 0x14]
jmp 0x405680
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x405842
mov eax, dword [ebp - 0x6c]
cmp eax, dword [ebp - 0x38]
je 0x405f18
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.00403f10
mov edx, dword [ebp + 0x14]
jmp 0x405680
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x4057b2
or dword [ebp - 0x38], 0x400
mov ecx, edx
jmp 0x4057b4
mov eax, dword [ebp - 0x38]
or eax, 0x20
test al, 4
mov dword [ebp - 0x38], eax
mov eax, esi
jne 0x405817
fld qword [eax]
lea eax, [ebp - 0x3c]
add esi, 8
fstp xword [esp]
call fcn.00404750
mov edx, dword [ebp + 0x14]
jmp 0x405680
mov eax, dword [ebp - 0x38]
or eax, 0x20
test al, 4
mov dword [ebp - 0x38], eax
mov eax, esi
je 0x405af4
fld xword [eax]
lea eax, [ebp - 0x3c]
add esi, 0xc
fstp xword [esp]
call fcn.004046a0
mov edx, dword [ebp + 0x14]
jmp 0x405680
or dword [ebp - 0x38], 0x80
cmp dword [ebp - 0x64], 3
mov eax, esi
je 0x405eb9
add esi, 4
cmp dword [ebp - 0x64], 2
mov eax, dword [eax]
mov dword [ebp - 0x48], eax
mov ecx, eax
je 0x405e14
sar ecx, 0x1f
cmp dword [ebp - 0x64], 1
mov dword [ebp - 0x44], ecx
je 0x405f64
cmp dword [ebp - 0x64], 4
je 0x405e0b
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x3c]
call fcn.00403cd0
mov edx, dword [ebp + 0x14]
jmp 0x405680
mov eax, dword [ebp - 0x38]
or eax, 0x20
test al, 4
mov dword [ebp - 0x38], eax
je 0x405b55
mov eax, esi
add esi, 0xc
fld xword [eax]
lea eax, [ebp - 0x3c]
fstp xword [esp]
call fcn.00404af0
mov edx, dword [ebp + 0x14]
jmp 0x405680
cmp dword [ebp - 0x64], 3
mov eax, esi
je 0x405ea6
add esi, 4
cmp dword [ebp - 0x64], 2
mov eax, dword [eax]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], eax
je 0x405997
cmp dword [ebp - 0x64], 1
je 0x405f76
cmp dword [ebp - 0x64], 4
je 0x405f2a
cmp ebx, 0x75
je 0x405921
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x3c]
mov dword [esp], eax
mov eax, ebx
call fcn.00403f10
mov edx, dword [ebp + 0x14]
jmp 0x405680
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.00403a30
mov edx, dword [ebp + 0x14]
jmp 0x405680
cmp dword [ebp - 0x64], 4
je 0x405e94
cmp dword [ebp - 0x64], 1
je 0x405e1f
mov eax, esi
add esi, 4
cmp dword [ebp - 0x64], 2
mov eax, dword [eax]
mov ecx, dword [ebp - 0x24]
je 0x405f5d
cmp dword [ebp - 0x64], 3
mov dword [eax], ecx
jne 0x405680
mov edi, ecx
sar edi, 0x1f
mov dword [eax + 4], edi
jmp 0x405680
mov eax, dword [ebp - 0x38]
or eax, 0x20
test al, 4
mov dword [ebp - 0x38], eax
jne 0x4057f0
mov eax, esi
add esi, 8
fld qword [eax]
lea eax, [ebp - 0x3c]
fstp xword [esp]
call fcn.00404820
mov edx, dword [ebp + 0x14]
jmp 0x405680
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x4057b2
or dword [ebp - 0x38], 0x800
mov ecx, edx
jmp 0x4057b4
mov ebx, dword [ebp - 0x60]
test ebx, ebx
jne 0x4057b2
or dword [ebp - 0x38], 0x40
mov ecx, edx
jmp 0x4057b4
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x4057da
test byte [ebp - 0x60], 5
jne 0x405de8
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x405e2f
lea eax, [ebp + 0x14]
call fcn.00404a30
test eax, eax
jle 0x405e2f
mov ecx, dword [ebp - 0x70]
mov eax, dword [ecx + eax*4 - 4]
mov eax, dword [eax]
mov dword [ebx], eax
jmp 0x405e39
lea edx, [ebp - 0x3c]
mov eax, ebx
call fcn.004039d0
mov edx, dword [ebp + 0x14]
jmp 0x405680
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x4057b2
or dword [ebp - 0x38], 0x100
mov ecx, edx
jmp 0x4057b4
mov eax, dword [ebp - 0x38]
test al, 4
mov eax, esi
jne 0x4058c8
fld qword [eax]
lea eax, [ebp - 0x3c]
add esi, 8
fstp xword [esp]
call fcn.004046a0
mov edx, dword [ebp + 0x14]
jmp 0x405680
mov ecx, dword [ebp - 0x60]
test ecx, ecx
jne 0x405d1c
or dword [ebp - 0x38], 0x200
mov ecx, edx
jmp 0x4057b4
cmp dword [ebp - 0x60], 1
ja 0x4057da
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x60], 2
mov ecx, edx
mov dword [ebp - 0x68], eax
jmp 0x4057b4
mov eax, dword [ebp - 0x38]
test al, 4
jne 0x405948
fld qword [esi]
lea ebx, [esi + 8]
lea eax, [ebp - 0x3c]
fstp xword [esp]
mov esi, ebx
call fcn.00404af0
mov edx, dword [ebp + 0x14]
jmp 0x405680
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x30], 0xffffffff
sub eax, 2
cmp eax, 1
jbe 0x4059be
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.00403b50
mov edx, dword [ebp + 0x14]
jmp 0x405680
mov eax, dword [ebp - 0x64]
sub eax, 2
cmp eax, 1
jbe case.0x4056ff.51
lea ebx, [esi + 4]
mov esi, dword [esi]
test esi, esi
je 0x405ecc
mov dword [esp], esi
call sym._strlen
mov edx, eax
lea ecx, [ebp - 0x3c]
mov eax, esi
mov esi, ebx
call fcn.00403b50
mov edx, dword [ebp + 0x14]
jmp 0x405680
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 0x4053fb
movzx ecx, byte [ebx]
cmp cl, 0x25
je 0x40549b
mov ebx, edi
mov edi, dword [ebp - 0x68]
jmp 0x40533a
mov ecx, dword [ebp - 0x60]
cmp ecx, 4
je 0x405f45
lea eax, [ebx - 0x30]
cmp eax, 9
ja 0x405f45
test ecx, ecx
jne 0x405d26
mov dword [ebp - 0x60], 1
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x4057b2
mov ecx, dword [eax]
sub ebx, 0x30
xor eax, eax
test ecx, ecx
jle 0x405c54
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 0x4057b4
add dword [ebp - 0x60], 4
jmp 0x405514
lea eax, [esi + 1]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
call fcn.004049a0
test eax, eax
je 0x405e52
cmp edi, eax
jge 0x405c87
mov edi, eax
mov edx, dword [ebp - 0x50]
lea eax, [edx + 1]
mov dword [ebp - 0x50], eax
movzx edx, byte [edx + 1]
jmp 0x4055cd
add eax, 2
jmp 0x405271
mov edx, eax
mov eax, esi
jmp 0x4055cd
mov esi, dword [ebp - 0x4c]
mov dword [ebp - 0x64], edi
jmp 0x405cb5
add esi, 1
movsx edi, byte [esi]
mov dword [esp], str.__0
mov dword [esp + 4], edi
call sym._strchr
test eax, eax
jne 0x405cb2
mov eax, edi
mov ebx, edi
mov edi, dword [ebp - 0x64]
cmp al, 0x2a
je 0x405dff
lea edx, [ebx - 0x30]
mov ebx, eax
cmp edx, 9
ja 0x405cf5
add esi, 1
movsx eax, byte [esi]
mov ebx, eax
sub eax, 0x30
cmp eax, 9
jbe 0x405ce5
cmp bl, 0x2e
mov eax, esi
je 0x405edb
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
call fcn.004037c0
mov ebx, dword [ebp - 0x4c]
cmp byte [ebx], 0x25
jne 0x405c07
jmp 0x40549b
cmp dword [ebp - 0x60], 4
je 0x405f45
cmp dword [ebp - 0x60], 2
jne 0x405c38
mov dword [ebp - 0x60], 3
jmp 0x405c38
add eax, 2
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
call fcn.004049a0
test eax, eax
je 0x405e52
cmp edi, eax
jl 0x405df4
add dword [ebp - 0x50], 1
jmp 0x405603
lea ebx, [esi + 4]
mov esi, dword [esi]
test esi, esi
je 0x405fc9
mov dword [esp], esi
call sym._wcslen
lea ecx, [ebp - 0x3c]
mov edx, eax
mov eax, esi
mov esi, ebx
call fcn.00403a30
mov edx, dword [ebp + 0x14]
jmp 0x405680
lea eax, [ebx + 1]
mov dword [ebp - 0x4c], eax
movsx edx, byte [ebx + 1]
cmp dl, 0x2a
jne 0x405dab
jmp 0x405fab
add eax, 1
mov dword [ebp - 0x4c], eax
movsx edx, byte [eax]
sub edx, 0x30
cmp edx, 9
jbe 0x405da2
lea eax, [ebp - 0x4c]
call fcn.004037c0
cmp eax, 1
mov edx, eax
jne 0x4053e1
jmp 0x405be8
mov eax, ecx
mov dword [ebp - 0x64], ecx
call fcn.00404a60
mov edx, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
cmp edx, eax
jbe 0x40546f
jmp 0x405466
mov dword [ebp - 0x68], 0
jmp 0x4057da
mov edi, eax
add dword [ebp - 0x50], 1
jmp 0x405603
movzx ebx, byte [esi + 1]
add esi, 1
jmp 0x405cf5
movsx eax, byte [ebp - 0x48]
mov dword [ebp - 0x48], eax
mov ecx, eax
sar ecx, 0x1f
mov dword [ebp - 0x44], ecx
jmp 0x405921
mov eax, dword [esi]
mov ecx, dword [ebp - 0x24]
add esi, 4
mov word [eax], cx
jmp 0x405680
mov eax, dword [esi]
mov ecx, dword [ebp - 0x68]
add esi, 4
mov dword [ecx], eax
test eax, eax
js 0x405f89
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x68], 0
mov ecx, edx
jmp 0x4057b4
lea eax, [ebp - 0x54]
mov edi, 0xffffffff
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x70], eax
jmp 0x405670
lea eax, [ebp - 0x4c]
add ebx, 1
mov dword [ebp - 0x4c], ebx
call fcn.004049a0
test eax, eax
mov dword [ebp - 0x48], eax
jne 0x405f06
mov ebx, dword [ebp - 0x4c]
mov dword [ebp - 0x64], 0
movzx eax, byte [ebx]
jmp 0x4053c6
mov eax, dword [esi]
mov edx, dword [ebp - 0x24]
add esi, 4
mov byte [eax], dl
mov edx, dword [ebp + 0x14]
jmp 0x405680
mov edx, dword [eax + 4]
mov eax, dword [eax]
add esi, 8
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
jmp 0x405997
mov edx, dword [eax + 4]
mov eax, dword [eax]
add esi, 8
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
jmp 0x405921
mov edx, 6
mov esi, str._null_
jmp 0x405bcd
movsx edx, byte [esi + 1]
cmp dl, 0x2a
je 0x405f3d
sub edx, 0x30
add eax, 1
cmp edx, 9
ja 0x405d00
add eax, 1
movsx edx, byte [eax]
sub edx, 0x30
cmp edx, 9
jbe 0x405ef3
jmp 0x405d00
mov eax, dword [ebp - 0x4c]
lea ebx, [eax + 1]
mov dword [ebp - 0x4c], ebx
movzx eax, byte [eax + 1]
jmp 0x4053c6
or ah, 2
mov dword [ebp - 0x30], 8
mov dword [ebp - 0x38], eax
jmp 0x405842
movzx eax, byte [ebp - 0x48]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], eax
jmp 0x405997
add eax, 2
jmp 0x405d00
lea edx, [ebp - 0x3c]
mov eax, 0x25
mov dword [ebp + 0x14], edi
call fcn.004039d0
mov edx, dword [ebp + 0x14]
jmp 0x405680
mov dword [eax], ecx
jmp 0x405680
movsx eax, word [ebp - 0x48]
mov dword [ebp - 0x48], eax
sar eax, 0x1f
mov dword [ebp - 0x44], eax
jmp 0x405921
movzx eax, word [ebp - 0x48]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], eax
jmp 0x405997
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x405fd3
mov edx, dword [ebp + 0x14]
or dword [ebp - 0x38], 0x400
neg dword [ebp - 0x34]
mov dword [ebp - 0x68], 0
mov ecx, edx
jmp 0x4057b4
lea eax, [ebp - 0x4c]
add ebx, 2
mov dword [ebp - 0x4c], ebx
call fcn.004049a0
test eax, eax
mov dword [ebp - 0x44], eax
je 0x405fdf
add dword [ebp - 0x4c], 1
jmp 0x4053ce
mov esi, 0x40a27e
jmp 0x405d70
mov dword [ebp - 0x30], 0xffffffff
jmp 0x405e41
lea eax, [ebp - 0x4c]
call fcn.004037c0
cmp eax, 1
je 0x405be1
cmp eax, 4
je 0x405be1
mov ebx, dword [ebp - 0x4c]
movzx ecx, byte [ebx]
jmp 0x405bfe