Function at 0x414ac0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x9c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x40], 0xffffffff
mov dword [ebp - 0x3c], 0xffffffff
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], 0xfffffffd
and eax, 0x3000
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x44], eax
xor eax, eax
mov word [ebp - 0x34], ax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov dword [esp], str.PRINTF_EXPONENT_DIGITS
call sym._getenv
test eax, eax
je 0x414b28
movsx edx, byte [eax]
mov eax, 2
sub edx, 0x30
cmp edx, 2
jbe 0x414b38
mov edx, dword [0x4f8a2c]
mov eax, 3
and edx, 1
sub eax, edx
mov esi, dword [ebp + 0x14]
xor edi, edi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 0xfffffffd
mov word [ebp - 0x20], di
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x60], 0
jmp 0x414b70
mov ebx, esi
mov esi, edi
mov dword [ebp - 0x50], esi
cmp byte [ebx], 0
je 0x414c60
cmp byte [esi], 0x25
lea edi, [esi + 1]
jne 0x414b60
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], edi
call fcn.004133d0
mov dword [ebp - 0x5c], eax
test eax, eax
jne 0x414e70
mov ebx, dword [ebp - 0x50]
movzx edx, byte [ebx]
cmp dl, 0x24
je 0x41575f
mov dword [ebp - 0x5c], esi
mov esi, edx
mov dword [ebp - 0x64], edi
jmp 0x414bb7
movzx esi, byte [ebx + 1]
add ebx, 1
mov eax, esi
mov dword [esp], str.__0
movsx edi, al
mov dword [esp + 4], edi
call sym._strchr
test eax, eax
jne 0x414bb0
mov edx, esi
mov ecx, edi
mov esi, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x64]
cmp dl, 0x2a
je 0x414fa0
sub ecx, 0x30
cmp ecx, 9
ja 0x414c01
lea esi, [esi]
nop
movsx eax, byte [ebx + 1]
add ebx, 1
mov edx, eax
sub eax, 0x30
cmp eax, 9
jbe 0x414bf0
cmp dl, 0x2e
je 0x414fb0
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], ebx
call fcn.00412db0
mov ebx, dword [ebp - 0x50]
movsx eax, byte [ebx]
mov byte [ebp - 0x5c], al
mov dword [esp + 4], eax
mov dword [esp], str.aAeEfFgGcCdiouxXnpsS
call sym._strchr
movzx edx, byte [ebp - 0x5c]
test eax, eax
je 0x414c44
sub eax, 0x4b4d15
cmp eax, 7
ja 0x41575f
cmp dl, 0x25
jne 0x414b60
lea esi, [ebx + 1]
mov dword [ebp - 0x50], esi
cmp byte [ebx], 0
jne 0x414b70
lea esi, [esi]
mov ecx, dword [ebp - 0x60]
lea eax, [ecx*4 + 0xf]
shr eax, 4
shl eax, 4
call fcn.00417ae0
sub esp, eax
lea eax, [esp + 0xc]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x74], eax
test ecx, ecx
je 0x414ffd
lea edx, [ecx + ecx]
mov dword [ebp - 0x7c], esp
lea eax, [edx + 0xf]
shr eax, 4
shl eax, 4
call fcn.00417ae0
mov ebx, dword [ebp + 0x14]
sub esp, eax
mov dword [ebp - 0x50], ebx
lea eax, [esp + 0xc]
add edx, eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], edx
lea esi, [esi]
xor esi, esi
add eax, 2
mov word [eax - 2], si
cmp edx, eax
jne 0x414cb8
cmp byte [ebx], 0x25
lea edi, [ebx + 1]
je 0x414ce8
lea esi, [esi]
mov eax, ebx
mov ebx, edi
mov dword [ebp - 0x50], ebx
cmp byte [eax], 0
je 0x414fe8
cmp byte [ebx], 0x25
lea edi, [ebx + 1]
jne 0x414cd0
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], edi
call fcn.004133d0
mov dword [ebp - 0x5c], eax
test eax, eax
jle 0x415220
mov eax, dword [ebp - 0x50]
lea esi, [eax + 1]
mov dword [ebp - 0x50], esi
jmp 0x414d13
add esi, 1
movsx eax, byte [esi]
mov dword [esp], str.__0
mov dword [esp + 4], eax
call sym._strchr
test eax, eax
jne 0x414d10
mov dword [ebp - 0x50], esi
movzx edx, byte [esi]
cmp dl, 0x2a
je 0x41576a
movsx eax, dl
lea ecx, [esi + 1]
sub eax, 0x30
cmp eax, 9
ja 0x414d65
lea esi, [esi]
nop
mov dword [ebp - 0x50], ecx
movsx eax, byte [ecx]
mov esi, ecx
lea ecx, [ecx + 1]
mov edx, eax
sub eax, 0x30
cmp eax, 9
jbe 0x414d50
mov dword [ebp - 0x84], 0
cmp dl, 0x2e
je 0x415798
mov dword [ebp - 0x88], 0
lea eax, [ebp - 0x50]
call fcn.00412db0
mov esi, eax
cmp eax, 1
je 0x415811
xor eax, eax
cmp esi, 4
sete al
sub eax, 1
and esi, eax
mov edx, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x5c]
movsx eax, byte [edx]
mov byte [ebp - 0x6c], al
test ecx, ecx
je 0x415170
mov dword [ebp - 0x8c], edx
mov dword [esp + 4], eax
mov dword [esp], str.aAeEfFgGcCdiouxXnpsS
call sym._strchr
mov edx, dword [ebp - 0x8c]
test eax, eax
je 0x415170
sub eax, str.aAeEfFgGcCdiouxXnpsS
mov ecx, eax
sar ecx, 0x1f
and ecx, 7
add ecx, eax
sar ecx, 3
add ecx, 1
test ecx, ecx
jle 0x415170
movzx eax, byte [ebp - 0x6c]
mov edi, esi
mov byte [ebp - 0x54], al
mov eax, esi
mov esi, dword [ebp - 0x5c]
mov byte [ebp - 0x53], al
mov eax, dword [ebp - 0x80]
lea esi, [eax + esi*2 - 2]
cmp word [esi], 0
jne 0x4158ac
mov eax, edi
mov byte [esi], cl
mov byte [esi + 1], al
mov eax, dword [ebp - 0x84]
test eax, eax
jle 0x414e3f
mov ecx, dword [ebp - 0x80]
lea eax, [ecx + eax*2 - 2]
cmp word [eax], 0
jne 0x414e3f
mov edi, 0x64
mov word [eax], di
mov eax, dword [ebp - 0x88]
test eax, eax
jle 0x414e5e
mov ecx, dword [ebp - 0x80]
lea eax, [ecx + eax*2 - 2]
cmp word [eax], 0
jne 0x414e5e
mov esi, 0x64
mov word [eax], si
lea edi, [edx + 1]
mov ebx, edx
jmp 0x414cd0
mov eax, dword [ebp - 0x50]
lea ebx, [eax + 1]
mov dword [ebp - 0x50], ebx
jmp 0x414e83
add ebx, 1
movsx eax, byte [ebx]
mov dword [esp], str.__0
mov dword [esp + 4], eax
call sym._strchr
test eax, eax
jne 0x414e80
mov dword [ebp - 0x50], ebx
movzx ecx, byte [ebx]
cmp cl, 0x2a
je 0x414f68
movsx edx, cl
lea eax, [ebx + 1]
sub edx, 0x30
cmp edx, 9
ja 0x414ed5
lea esi, [esi]
nop
mov dword [ebp - 0x50], eax
movsx edx, byte [eax]
mov ebx, eax
add eax, 1
mov ecx, edx
sub edx, 0x30
cmp edx, 9
jbe 0x414ec0
cmp cl, 0x2e
jne 0x414f13
lea eax, [ebx + 1]
mov dword [ebp - 0x50], eax
movsx eax, byte [ebx + 1]
cmp al, 0x2a
je 0x415100
sub eax, 0x30
add ebx, 2
cmp eax, 9
ja 0x414f13
lea esi, [esi]
nop
mov eax, ebx
mov dword [ebp - 0x50], ebx
add ebx, 1
movsx eax, byte [eax]
sub eax, 0x30
cmp eax, 9
jbe 0x414f00
lea eax, [ebp - 0x50]
call fcn.00412db0
mov ebx, dword [ebp - 0x50]
movsx eax, byte [ebx]
mov byte [ebp - 0x64], al
mov dword [esp + 4], eax
mov dword [esp], str.aAeEfFgGcCdiouxXnpsS
call sym._strchr
movzx edx, byte [ebp - 0x64]
test eax, eax
je 0x414c44
sub eax, 0x4b4d15
cmp eax, 7
jbe 0x414c44
mov eax, dword [ebp - 0x5c]
cmp dword [ebp - 0x60], eax
jge 0x414c4d
mov dword [ebp - 0x60], eax
lea esi, [ebx + 1]
jmp 0x414c50
add ebx, 1
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], ebx
call fcn.004133d0
test eax, eax
je 0x41575f
cmp dword [ebp - 0x5c], eax
jge 0x414f86
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x50]
lea ebx, [eax + 1]
mov dword [ebp - 0x50], ebx
movzx ecx, byte [eax + 1]
jmp 0x414ed5
movzx edx, byte [ebx + 1]
add ebx, 1
cmp dl, 0x2e
jne 0x414c0a
movsx eax, byte [ebx + 1]
cmp al, 0x2a
je 0x415134
sub eax, 0x30
add ebx, 1
cmp eax, 9
ja 0x414c0a
lea esi, [esi]
nop
movsx eax, byte [ebx + 1]
add ebx, 1
sub eax, 0x30
cmp eax, 9
jbe 0x414fd0
jmp 0x414c0a
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x78]
nop
cmp word [eax], 0
jne 0x415188
mov esp, dword [ebp - 0x7c]
mov eax, dword [ebp + 0x14]
mov edi, 0xffffffff
lea esi, [eax + 1]
mov dword [ebp + 0x14], esi
movsx eax, byte [eax]
mov dword [ebp - 0x60], 0
test eax, eax
je 0x4150c1
mov dword [ebp - 0x70], edi
mov edi, dword [ebp + 0x18]
jmp 0x415040
lea edx, [ebp - 0x48]
call fcn.00412f70
mov eax, dword [ebp + 0x14]
lea esi, [eax + 1]
mov dword [ebp + 0x14], esi
movsx eax, byte [eax]
test eax, eax
je 0x4150a8
cmp eax, 0x25
jne 0x415028
mov ebx, dword [ebp - 0x60]
test ebx, ebx
jne 0x4150e0
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x3c], 0xffffffff
mov dword [ebp - 0x40], 0xffffffff
mov dword [ebp - 0x44], eax
cmp byte [ecx], 0
je 0x415309
lea eax, [ebp - 0x40]
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x64], 0
lea eax, [ecx + 1]
mov dword [ebp + 0x14], eax
movsx ebx, byte [ecx]
mov edx, ebx
sub edx, 0x20
cmp dl, 0x5a
ja case.0x41509e.1
movzx edx, dl
jmp dword [edx*4 + 0x4b4d78]
mov eax, dword [ebp - 0x60]
mov edi, dword [ebp - 0x70]
test eax, eax
je 0x4150c1
lea esi, [esi]
mov eax, edi
sub edi, 1
test eax, eax
jg 0x4150b8
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym.___mingw_aligned_free
mov eax, dword [ebp - 0x30]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [ebp + 0x14]
call fcn.00413450
test eax, eax
jle 0x415050
mov ecx, dword [ebp - 0x74]
mov edi, dword [ecx + eax*4 - 4]
jmp 0x415050
add ebx, 2
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], ebx
call fcn.004133d0
test eax, eax
je 0x41575f
cmp dword [ebp - 0x5c], eax
jl 0x415128
add dword [ebp - 0x50], 1
jmp 0x414f13
add dword [ebp - 0x50], 1
mov dword [ebp - 0x5c], eax
jmp 0x414f13
add ebx, 2
jmp 0x414c0a
add esi, 2
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], esi
call fcn.004133d0
mov dword [ebp - 0x88], eax
test eax, eax
jne 0x4158a3
lea eax, [ebp - 0x50]
call fcn.00412db0
mov edx, dword [ebp - 0x50]
movzx eax, byte [edx]
mov byte [ebp - 0x6c], al
lea esi, [esi]
cmp byte [ebp - 0x6c], 0x25
jne 0x414cd0
lea edi, [edx + 1]
mov ebx, edx
jmp 0x414cd0
add eax, 2
cmp edx, eax
jne 0x414ff0
mov esi, dword [ebp - 0x60]
mov eax, dword [ebp - 0x64]
mov edx, dword [ebp - 0x80]
mov ecx, dword [ebp + 0x18]
lea edi, [esi - 1]
lea esi, [eax + esi*4]
add edx, 1
jmp 0x4151c7
cmp bl, 3
je 0x4151ba
cmp byte [edx], 3
je 0x4151f0
add ecx, 4
add eax, 4
add edx, 2
cmp esi, eax
je 0x4151fd
movzx ebx, byte [edx - 1]
mov dword [eax], ecx
cmp bl, 1
jne 0x4151b0
movzx ebx, byte [edx]
cmp ebx, 0x4c
je 0x4152a1
test byte [0x4f8a2d], 1
je 0x4151f0
cmp ebx, 2
je 0x4152a1
add eax, 4
add ecx, 8
add edx, 2
cmp esi, eax
jne 0x4151c7
mov eax, dword [ebp + 0x14]
mov esp, dword [ebp - 0x7c]
lea esi, [eax + 1]
mov dword [ebp + 0x14], esi
movsx eax, byte [eax]
test eax, eax
jne 0x41501d
jmp 0x4150b8
mov dword [ebp - 0x5c], ebx
mov esi, dword [ebp - 0x50]
mov dword [ebp - 0x6c], edi
jmp 0x415233
add esi, 1
movsx edi, byte [esi]
mov dword [esp], str.__0
mov dword [esp + 4], edi
call sym._strchr
test eax, eax
jne 0x415230
mov edx, edi
mov ecx, edi
mov ebx, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x6c]
cmp dl, 0x2a
je 0x4157d8
sub ecx, 0x30
cmp ecx, 9
ja 0x415279
lea esi, [esi]
movsx eax, byte [esi + 1]
add esi, 1
mov edx, eax
sub eax, 0x30
cmp eax, 9
jbe 0x415268
cmp dl, 0x2e
je 0x415840
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], esi
call fcn.00412db0
mov eax, dword [ebp - 0x50]
cmp byte [eax], 0x25
jne 0x414cd0
lea ebx, [eax + 1]
jmp 0x414cd4
add ecx, 0xc
jmp 0x4151bd
mov ecx, dword [ebp - 0x5c]
cmp ecx, 4
je 0x415464
lea edx, [ebx - 0x30]
cmp edx, 9
ja 0x415464
test ecx, ecx
jne 0x415818
mov dword [ebp - 0x5c], 1
mov edx, dword [ebp - 0x6c]
mov ecx, eax
test edx, edx
je 0x415300
mov edx, dword [edx]
sub ebx, 0x30
test edx, edx
jle 0x4152ef
lea edx, [edx + edx*4]
lea ebx, [ebx + edx*2]
mov ecx, dword [ebp - 0x6c]
mov dword [ecx], ebx
mov ecx, eax
lea esi, [esi]
lea esi, [esi]
cmp byte [ecx], 0
jne 0x415084
mov eax, ecx
jmp 0x415033
lea eax, [ebp + 0x14]
mov dword [ebp + 0x14], ecx
call fcn.00412db0
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x64], eax
cmp ebx, 0x6c
je 0x41591e
mov dword [ebp - 0x5c], 4
jmp 0x415300
cmp dword [ebp - 0x64], 3
je 0x415970
cmp dword [ebp - 0x64], 2
mov eax, dword [edi]
lea edx, [edi + 4]
je 0x41535b
cmp dword [ebp - 0x64], 1
je 0x4158f0
cmp dword [ebp - 0x64], 4
jne 0x41535b
movzx eax, al
mov dword [ebp - 0x50], eax
mov edi, edx
mov dword [ebp - 0x4c], 0
cmp ebx, 0x75
je 0x4153ce
lea ecx, [ebp - 0x48]
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x4c]
mov dword [esp], ecx
mov ecx, edx
mov edx, eax
mov eax, ebx
call fcn.004146c0
mov eax, dword [ebp + 0x14]
jmp 0x415033
or dword [ebp - 0x44], 0x80
cmp dword [ebp - 0x64], 3
je 0x415940
mov ecx, dword [edi]
add edi, 4
mov eax, ecx
cdq
cmp dword [ebp - 0x64], 2
je 0x41586f
cmp dword [ebp - 0x64], 1
je 0x415904
cmp dword [ebp - 0x64], 4
jne 0x41586f
movsx ecx, cl
mov dword [ebp - 0x50], ecx
sar ecx, 0x1f
mov dword [ebp - 0x4c], ecx
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x4c]
lea ecx, [ebp - 0x48]
call fcn.004135f0
mov eax, dword [ebp + 0x14]
jmp 0x415033
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x3c], 0xffffffff
mov edx, edi
lea eax, [edi + 4]
sub ecx, 2
cmp ecx, 1
jbe 0x41572b
mov edi, eax
mov eax, dword [edx]
lea ecx, [ebp - 0x48]
mov edx, 1
mov byte [ebp - 0x50], al
lea eax, [ebp - 0x50]
call fcn.00413100
mov eax, dword [ebp + 0x14]
jmp 0x415033
mov ecx, dword [ebp - 0x64]
mov edx, edi
lea eax, [edi + 4]
sub ecx, 2
cmp ecx, 1
jbe 0x4157e7
mov ebx, dword [edx]
mov edi, eax
test ebx, ebx
je 0x415961
mov dword [esp], ebx
call sym._strlen
mov edx, eax
mov eax, ebx
lea ecx, [ebp - 0x48]
call fcn.00413100
mov eax, dword [ebp + 0x14]
jmp 0x415033
cmp dword [ebp - 0x5c], 4
jne 0x415818
mov dword [ebp + 0x14], esi
mov eax, 0x25
lea edx, [ebp - 0x48]
call fcn.00412f70
mov eax, dword [ebp + 0x14]
jmp 0x415033
mov edx, dword [ebp - 0x5c]
test edx, edx
jne 0x41545a
or dword [ebp - 0x44], 0x200
mov ecx, eax
jmp 0x415300
mov eax, dword [ebp - 0x44]
test al, 4
je 0x4155d9
fld xword [edi]
lea eax, [ebp - 0x48]
lea ebx, [edi + 0xc]
mov edi, ebx
fstp xword [esp]
call fcn.00414110
mov eax, dword [ebp + 0x14]
jmp 0x415033
mov eax, dword [ebp - 0x44]
or eax, 0x20
mov dword [ebp - 0x44], eax
test al, 4
je 0x415521
fld xword [edi]
lea eax, [ebp - 0x48]
lea ebx, [edi + 0xc]
mov edi, ebx
fstp xword [esp]
call fcn.00413eb0
mov eax, dword [ebp + 0x14]
jmp 0x415033
mov eax, dword [ebp - 0x44]
or eax, 0x20
mov dword [ebp - 0x44], eax
test al, 4
je 0x415567
fld xword [edi]
lea eax, [ebp - 0x48]
lea ebx, [edi + 0xc]
mov edi, ebx
fstp xword [esp]
call fcn.00413e00
mov eax, dword [ebp + 0x14]
jmp 0x415033
mov ecx, eax
mov eax, dword [ebp - 0x5c]
test eax, eax
jne 0x415300
or dword [ebp - 0x44], 1
jmp 0x415300
mov eax, dword [ebp - 0x44]
test al, 4
jne 0x4154c3
fld qword [edi]
lea eax, [ebp - 0x48]
lea ebx, [edi + 8]
mov edi, ebx
fstp xword [esp]
call fcn.00413eb0
mov eax, dword [ebp + 0x14]
jmp 0x415033
mov eax, dword [ebp - 0x44]
test al, 4
je 0x415707
fld xword [edi]
lea eax, [ebp - 0x48]
lea ebx, [edi + 0xc]
mov edi, ebx
fstp xword [esp]
call fcn.00413f80
mov eax, dword [ebp + 0x14]
jmp 0x415033
mov eax, dword [ebp - 0x44]
test al, 4
jne 0x4154ea
fld qword [edi]
lea eax, [ebp - 0x48]
lea ebx, [edi + 8]
mov edi, ebx
fstp xword [esp]
call fcn.00413e00
mov eax, dword [ebp + 0x14]
jmp 0x415033
cmp dword [ebp - 0x5c], 1
jbe 0x41587a
mov dword [ebp - 0x5c], 4
mov ecx, eax
jmp 0x415300
mov ebx, dword [ebp - 0x5c]
mov ecx, eax
test ebx, ebx
jne 0x415300
or dword [ebp - 0x44], 0x40
jmp 0x415300
mov ecx, eax
mov eax, dword [ebp - 0x5c]
test eax, eax
jne 0x415300
or dword [ebp - 0x44], 0x800
jmp 0x415300
mov eax, dword [ebp - 0x44]
or eax, 0x20
mov dword [ebp - 0x44], eax
test al, 4
jne 0x41549c
fld qword [edi]
lea eax, [ebp - 0x48]
lea ebx, [edi + 8]
mov edi, ebx
fstp xword [esp]
call fcn.00414110
mov eax, dword [ebp + 0x14]
jmp 0x415033
mov ecx, eax
mov eax, dword [ebp - 0x5c]
test eax, eax
jne 0x415300
or dword [ebp - 0x44], 0x100
jmp 0x415300
mov ecx, eax
mov eax, dword [ebp - 0x5c]
test eax, eax
jne 0x415300
or dword [ebp - 0x44], 0x400
jmp 0x415300
mov ebx, dword [ebp - 0x6c]
test ebx, ebx
je 0x41558b
test byte [ebp - 0x5c], 5
jne 0x415895
mov edx, dword [ebp - 0x60]
test edx, edx
jne 0x4159ad
mov eax, edi
mov ecx, dword [ebp - 0x6c]
add edi, 4
mov eax, dword [eax]
mov dword [ecx], eax
test eax, eax
js 0x415997
mov dword [ebp - 0x6c], 0
mov ecx, dword [ebp + 0x14]
jmp 0x415300
cmp dword [ebp - 0x64], 4
mov ecx, dword [ebp - 0x30]
lea edx, [edi + 4]
je 0x415953
cmp dword [ebp - 0x64], 1
mov ebx, dword [edi]
je 0x415983
cmp dword [ebp - 0x64], 2
je 0x415915
cmp dword [ebp - 0x64], 3
mov edi, edx
mov dword [ebx], ecx
jne 0x415033
mov edi, ecx
sar edi, 0x1f
mov dword [ebx + 4], edi
mov edi, edx
jmp 0x415033
mov ecx, dword [ebp - 0x5c]
test ecx, ecx
jne 0x4156c3
mov eax, dword [ebp - 0x68]
cmp dword [ebp - 0x44], eax
je 0x4158d6
mov eax, edi
lea ecx, [ebp - 0x48]
add edi, 4
mov eax, dword [eax]
mov dword [ebp - 0x4c], 0
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [esp], ecx
mov ecx, edx
mov edx, eax
mov eax, 0x78
call fcn.004146c0
mov eax, dword [ebp + 0x14]
jmp 0x415033
mov eax, dword [ebp - 0x44]
or eax, 0x20
mov dword [ebp - 0x44], eax
test al, 4
jne 0x415546
fld qword [edi]
lea eax, [ebp - 0x48]
lea ebx, [edi + 8]
mov edi, ebx
fstp xword [esp]
call fcn.00413f80
mov eax, dword [ebp + 0x14]
jmp 0x415033
mov dword [ebp - 0x3c], 0xffffffff
lea eax, [edi + 4]
mov edx, edi
mov edi, eax
lea ecx, [ebp - 0x48]
mov eax, dword [edx]
mov edx, 1
mov word [ebp - 0x50], ax
lea eax, [ebp - 0x50]
call fcn.00412fd0
mov eax, dword [ebp + 0x14]
jmp 0x415033
mov ecx, eax
or dword [ebp - 0x44], 4
mov dword [ebp - 0x5c], 4
jmp 0x415300
lea eax, [ebp - 0x54]
mov dword [ebp - 0x74], eax
jmp 0x414ffd
add esi, 1
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], esi
call fcn.004133d0
mov dword [ebp - 0x84], eax
test eax, eax
jne 0x41582e
mov esi, dword [ebp - 0x50]
mov dword [ebp - 0x5c], 0
movzx edx, byte [esi]
jmp 0x414d6f
lea eax, [esi + 1]
mov dword [ebp - 0x50], eax
movsx eax, byte [esi + 1]
cmp al, 0x2a
je 0x41513c
sub eax, 0x30
add esi, 2
cmp eax, 9
ja 0x414d78
lea esi, [esi]
mov eax, esi
mov dword [ebp - 0x50], esi
add esi, 1
movsx eax, byte [eax]
sub eax, 0x30
cmp eax, 9
jbe 0x4157c0
jmp 0x414d78
movzx edx, byte [esi + 1]
add esi, 1
jmp 0x415279
lea eax, [edi + 4]
mov edx, edi
mov edi, eax
mov ebx, dword [edx]
test ebx, ebx
je 0x41598d
mov dword [esp], ebx
call sym._wcslen
lea ecx, [ebp - 0x48]
mov edx, eax
mov eax, ebx
call fcn.00412fd0
mov eax, dword [ebp + 0x14]
jmp 0x415033
xor esi, esi
jmp 0x414da2
cmp dword [ebp - 0x5c], 2
jne 0x4152d7
mov dword [ebp - 0x5c], 3
jmp 0x4152d7
mov eax, dword [ebp - 0x50]
lea esi, [eax + 1]
mov dword [ebp - 0x50], esi
movzx edx, byte [eax + 1]
jmp 0x414d6f
movsx eax, byte [esi + 1]
cmp al, 0x2a
je 0x4158e8
sub eax, 0x30
add esi, 1
cmp eax, 9
ja 0x415282
movsx eax, byte [esi + 1]
add esi, 1
sub eax, 0x30
cmp eax, 9
jbe 0x41585b
jmp 0x415282
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
jmp 0x4153ce
mov ecx, eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x5c], 2
jmp 0x415300
mov dword [ebp - 0x6c], 0
mov ecx, eax
jmp 0x41532a
add dword [ebp - 0x50], 1
jmp 0x414d82
lea eax, [ebp - 0x54]
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x5c], ecx
call fcn.00413480
mov ebx, eax
mov eax, esi
call fcn.00413480
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x6c]
cmp ebx, eax
jbe 0x414e20
jmp 0x414e19
or ah, 2
mov dword [ebp - 0x3c], 8
mov dword [ebp - 0x44], eax
jmp 0x4156c3
add esi, 2
jmp 0x415282
movzx eax, ax
mov dword [ebp - 0x4c], 0
mov edi, edx
mov dword [ebp - 0x50], eax
jmp 0x415367
movsx ecx, cx
mov dword [ebp - 0x50], ecx
sar ecx, 0x1f
mov dword [ebp - 0x4c], ecx
jmp 0x4153ce
mov dword [ebx], ecx
mov edi, edx
jmp 0x415033
test byte [0x4f8a2d], 1
je 0x41532a
cmp eax, 2
jne 0x41532a
mov dword [ebp - 0x64], 2
jmp 0x41574f
mov eax, dword [edi]
mov edx, dword [edi + 4]
add edi, 8
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
jmp 0x4153ce
mov eax, dword [edi]
mov edi, edx
mov byte [eax], cl
mov eax, dword [ebp + 0x14]
jmp 0x415033
mov edx, 6
mov ebx, str._null_
jmp 0x415448
mov eax, dword [edi]
mov edx, dword [edi + 4]
add edi, 8
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
jmp 0x415367
mov word [ebx], cx
mov edi, edx
jmp 0x415033
mov ebx, 0x4b4d42
jmp 0x4157f5
mov eax, dword [ebp - 0x5c]
test eax, eax
jne 0x4159cd
or dword [ebp - 0x44], 0x400
neg dword [ebp - 0x40]
jmp 0x415659
lea eax, [ebp + 0x14]
call fcn.00413450
test eax, eax
jle 0x415645
mov ecx, dword [ebp - 0x74]
mov eax, dword [ecx + eax*4 - 4]
mov eax, dword [eax]
mov dword [ebx], eax
jmp 0x415651
mov dword [ebp - 0x3c], 0xffffffff
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x6c], 0
jmp 0x415300