Function at 0x10006535
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x124
mov eax, dword [0x10100008]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov eax, edx
mov edx, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [esp + 0x68], eax
xor ecx, ecx
mov dword [esp + 0x60], edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x64], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x14], ecx
test eax, eax
je 0x10005619
mov cl, al
and cl, 2
mov byte [esp + 0xf], cl
je 0x10005611
mov eax, dword [esi]
add esi, 4
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x10], esi
and al, 1
mov dword [esp + 0x68], eax
jmp 0x10005621
mov byte [esp + 0x68], cl
mov byte [esp + 0xf], cl
movsx eax, byte [edx]
test eax, eax
je case.default.0x10005974
movsd xmm0, qword [0x100fc330]
movsd qword [esp + 0xa0], xmm0
xorps xmm0, xmm0
movsd qword [esp + 0x80], xmm0
movsd xmm0, qword [0x100fc1c8]
movsd qword [esp + 0xb0], xmm0
movsd xmm0, qword [0x100fc1c0]
movsd qword [esp + 0x98], xmm0
movsd xmm0, qword [0x100fc1d0]
movsd qword [esp + 0xb8], xmm0
movsd xmm0, qword [0x100fc290]
movsd qword [esp + 0xc0], xmm0
movsd xmm0, qword [0x100fc280]
movsd qword [esp + 0xc8], xmm0
movsd xmm0, qword [0x100fc258]
movsd qword [esp + 0xd0], xmm0
movsd xmm0, qword [0x100fc1e0]
movsd qword [esp + 0x88], xmm0
movsd xmm0, qword [0x100fc1b8]
movsd qword [esp + 0xd8], xmm0
cmp eax, 0x25
je 0x10005731
mov esi, edx
mov dword [esp + 0x14], esi
nop dword [eax]
mov al, byte [edx + 1]
inc edx
test al, al
je 0x100056ec
cmp al, 0x25
jne 0x100056e0
mov eax, dword [edi + 0xc]
mov dword [esp + 0x3c], edx
sub edx, esi
push edx
lea ecx, [edx + eax]
cmp ecx, dword [edi + 0x10]
jl 0x1000570c
mov edx, esi
mov ecx, edi
call fcn.10006ca0
add esp, 4
jmp 0x10005720
mov eax, dword [edi + 8]
sub eax, edx
mov dword [edi + 0xc], ecx
add eax, ecx
push esi
push eax
call fcn.100c17c0
add esp, 0xc
mov edx, dword [esp + 0x3c]
cmp byte [edx], 0
je case.default.0x10005974
mov esi, dword [esp + 0x10]
movsx ecx, byte [edx + 1]
inc edx
test ecx, ecx
je 0x10006a20
xor al, al
mov byte [esp + 0x3b], al
mov byte [esp + 0x1f], al
mov byte [esp + 0x1e], al
mov byte [esp + 0xd], al
mov byte [esp + 0x3a], al
mov byte [esp + 0x28], al
lea eax, [ecx - 0x20]
cmp eax, 0x10
ja case.0x10005767.34
movzx eax, byte [eax + 0x10006a8c]
jmp dword [eax*4 + 0x10006a70]
mov byte [esp + 0x28], 1
jmp 0x10005796
mov byte [esp + 0x3a], 1
jmp 0x10005796
mov byte [esp + 0xd], 1
jmp 0x10005796
mov byte [esp + 0x1e], 1
jmp 0x10005796
mov byte [esp + 0x1f], 1
jmp 0x10005796
mov byte [esp + 0x3b], 1
movsx ecx, byte [edx + 1]
inc edx
test ecx, ecx
jne 0x10005758
mov dword [esp + 0x3c], edx
mov dword [esp + 0x34], 0
cmp ecx, 0x2a
jne 0x100057fb
cmp byte [esp + 0xf], 0
je 0x100057c6
mov ecx, dword [esp + 0x44]
call fcn.100054f0
mov edx, dword [esp + 0x3c]
jmp 0x100057cf
mov eax, dword [esi]
add esi, 4
mov dword [esp + 0x10], esi
mov ecx, dword [esp + 0x28]
test eax, eax
movzx ecx, cl
mov esi, 1
cmovs ecx, esi
inc edx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x28], ecx
movsx ecx, byte [edx]
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x34], eax
jmp 0x10005827
cmp ecx, 0x30
jl 0x10005827
mov edi, dword [esp + 0x34]
cmp ecx, 0x39
ja 0x1000581b
lea edi, [edi + edi*4]
inc edx
lea edi, [edi - 0x18]
lea edi, [ecx + edi*2]
movsx ecx, byte [edx]
cmp ecx, 0x30
jge 0x10005804
mov dword [esp + 0x34], edi
mov edi, dword [esp + 0x60]
mov dword [esp + 0x3c], edx
cmp ecx, 0x2e
jne 0x100058b1
movsx ecx, byte [edx + 1]
inc edx
xor esi, esi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], esi
cmp ecx, 0x2a
jne 0x10005888
cmp byte [esp + 0xf], 0
je 0x10005869
mov ecx, dword [esp + 0x44]
call fcn.100054f0
mov edx, dword [esp + 0x3c]
inc edx
mov dword [esp + 0x3c], edx
movsx ecx, byte [edx]
cdq
mov esi, eax
xor esi, edx
sub esi, edx
jmp 0x100058b4
mov eax, dword [esp + 0x10]
inc edx
add eax, 4
mov dword [esp + 0x3c], edx
mov dword [esp + 0x10], eax
movsx ecx, byte [edx]
mov eax, dword [eax - 4]
cdq
mov esi, eax
xor esi, edx
sub esi, edx
jmp 0x100058b4
cmp ecx, 0x30
jl 0x100058b8
nop dword [eax]
cmp ecx, 0x39
ja 0x100058b8
inc edx
lea esi, [esi + esi*4]
lea esi, [esi - 0x18]
mov dword [esp + 0x3c], edx
lea esi, [ecx + esi*2]
mov dword [esp + 0x40], esi
movsx ecx, byte [edx]
cmp ecx, 0x30
jge 0x10005890
jmp 0x100058b8
or esi, 0xffffffff
mov dword [esp + 0x40], esi
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x58], eax
cmp ecx, 0x6c
jne 0x100058ff
mov dl, byte [eax + 1]
inc eax
mov byte [esp + 0x27], 1
mov dword [esp + 0x3c], eax
cmp dl, cl
jne 0x100058f0
mov eax, dword [esp + 0x58]
add eax, 2
cmp dl, 0x6c
mov dword [esp + 0x3c], eax
sete byte [esp + 0x26]
mov al, byte [eax]
movsx ecx, al
jmp 0x10005909
cmp dl, 0x6c
mov al, dl
movsx ecx, al
sete byte [esp + 0x26]
jmp 0x10005909
mov byte [esp + 0x26], 0
mov byte [esp + 0x27], 0
xor eax, eax
mov dword [esp + 0x2c], 0x100f98f8
mov byte [esp + 0xe], 0
mov edx, 0x100f98f8
mov dword [esp + 0x20], eax
movsx eax, byte [edx]
cmp ecx, eax
je 0x1000593d
inc dword [esp + 0x20]
add edx, 6
cmp edx, 0x100f9982
jl 0x10005921
mov dl, byte [esp + 0xe]
jmp 0x10005967
cmp byte [esp + 0x68], 0
mov eax, dword [esp + 0x20]
lea eax, [eax + eax*2]
lea eax, [eax*2 + 0x100f98f8]
mov dword [esp + 0x2c], eax
jne 0x10005960
test byte [eax + 2], 2
jne case.default.0x10005974
mov dl, byte [eax + 3]
mov byte [esp + 0xe], dl
movzx eax, dl
dec eax
cmp eax, 0xf
ja case.default.0x10005974
jmp dword [eax*4 + 0x10006aa0]
xor al, al
mov cl, 1
jmp 0x10005989
mov al, byte [esp + 0x26]
mov cl, byte [esp + 0x27]
mov edx, dword [esp + 0x2c]
test byte [edx + 2], 1
je 0x10005a31
cmp byte [esp + 0xf], 0
je 0x100059a9
mov ecx, dword [esp + 0x44]
call fcn.100054f0
jmp 0x100059d7
test al, al
je 0x100059c0
mov ecx, dword [esp + 0x10]
add ecx, 8
mov dword [esp + 0x10], ecx
mov eax, dword [ecx - 8]
mov ecx, dword [ecx - 4]
jmp 0x100059d9
mov eax, dword [esp + 0x10]
add eax, 4
mov dword [esp + 0x10], eax
test cl, cl
jne 0x100059d3
mov dword [esp + 0x10], eax
mov eax, dword [eax - 4]
cdq
mov ecx, edx
test ecx, ecx
jg 0x10005a11
jl 0x100059e3
test eax, eax
jae 0x10005a11
test eax, eax
jne 0x100059fe
cmp ecx, 0x80000000
jne 0x100059fe
mov dword [esp + 0x18], ecx
mov cl, 0x2d
mov dword [esp + 0x54], eax
jmp 0x10005a8a
neg eax
mov dword [esp + 0x54], eax
adc ecx, 0
neg ecx
mov dword [esp + 0x18], ecx
mov cl, 0x2d
jmp 0x10005a8a
cmp byte [esp + 0x3a], 0
mov dword [esp + 0x54], eax
mov dword [esp + 0x18], ecx
je 0x10005a24
mov cl, 0x2b
jmp 0x10005a8a
mov cl, byte [esp + 0xd]
neg cl
sbb cl, cl
and cl, 0x20
jmp 0x10005a8a
cmp byte [esp + 0xf], 0
je 0x10005a47
mov ecx, dword [esp + 0x44]
call fcn.100054f0
mov dword [esp + 0x18], edx
jmp 0x10005a84
test al, al
je 0x10005a66
mov ecx, dword [esp + 0x10]
add ecx, 8
mov dword [esp + 0x10], ecx
mov eax, dword [ecx - 8]
mov dword [esp + 0x54], eax
mov eax, dword [ecx - 4]
mov dword [esp + 0x18], eax
jmp 0x10005a88
mov eax, dword [esp + 0x10]
add eax, 4
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], eax
test cl, cl
jne 0x10005a81
mov dword [esp + 0x10], eax
mov eax, dword [eax - 4]
mov dword [esp + 0x54], eax
xor cl, cl
mov eax, dword [esp + 0x54]
or eax, dword [esp + 0x18]
mov byte [esp + 0xd], cl
jne 0x10005a9c
mov byte [esp + 0x1e], al
cmp byte [esp + 0x3b], 0
je 0x10005ab9
xor eax, eax
test cl, cl
mov ecx, dword [esp + 0x34]
setne al
sub ecx, eax
cmp esi, ecx
cmovl esi, ecx
mov dword [esp + 0x40], esi
cmp esi, 0x3c
jge 0x10005ad3
lea eax, [esp + 0xe0]
mov dword [esp + 0x20], 0x46
mov dword [esp + 0x30], eax
jmp 0x10005af7
lea eax, [esi + 0xa]
mov dword [esp + 0x20], eax
cdq
push edx
push eax
call fcn.10004a20
mov ecx, eax
mov dword [esp + 0x38], eax
add esp, 8
mov dword [esp + 0x64], ecx
test ecx, ecx
je 0x10006a00
mov ecx, dword [esp + 0x20]
dec ecx
add eax, ecx
cmp byte [esp + 0xe], 0x10
mov dword [esp + 0x14], eax
jne 0x10005bc4
mov eax, dword [esp + 0x54]
mov edx, 0xcccccccd
mov ecx, 0xcccccccd
lea edi, [edx - 1]
mul edx
mov dword [esp + 0x48], eax
mov esi, edx
mov eax, dword [esp + 0x54]
mul edi
mov edi, eax
mov dword [esp + 0x6c], edx
mov eax, dword [esp + 0x18]
mul ecx
mov ecx, eax
mov dword [esp + 0x58], edx
mov eax, dword [esp + 0x18]
mov edx, 0xcccccccc
mul edx
add ecx, esi
mov esi, dword [esp + 0x54]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x58]
adc edx, 0
mov dword [esp + 0x70], eax
add edi, ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x58], edi
mov edi, dword [esp + 0x70]
adc ecx, 0
xor eax, eax
add edx, ecx
mov ecx, dword [esp + 0x48]
adc eax, eax
add edi, edx
adc ecx, eax
shrd edi, ecx, 3
shr ecx, 3
lea eax, [edi + edi*4]
add eax, eax
sub esi, eax
cmp esi, 4
jge 0x10005ba4
push 0
push 0xa
push ecx
push edi
call fcn.100e0700
cmp eax, 1
jne 0x10005ba6
test edx, edx
jne 0x10005ba6
xor esi, esi
mov ecx, dword [esp + 0x14]
mov al, byte [esi*2 + 0x100fa041]
mov byte [ecx - 1], al
sub ecx, 2
mov al, byte [esi*2 + str.thstndrd]
mov dword [esp + 0x14], ecx
mov byte [ecx], al
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x54]
movzx eax, byte [ecx + 4]
add eax, str.0123456789ABCDEF0123456789abcdef
mov dword [esp + 0x48], eax
movzx eax, byte [ecx + 1]
cdq
mov ecx, eax
mov eax, edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x6c], eax
push ebx
push eax
push ecx
push edx
push esi
dec edi
call fcn.100dfde0
mov dword [esp + 0x78], ebx
pop ebx
mov esi, eax
mov eax, dword [esp + 0x48]
mov al, byte [ecx + eax]
mov ecx, dword [esp + 0x58]
mov byte [edi], al
mov eax, dword [esp + 0x6c]
test edx, edx
ja 0x10005bf2
jb 0x10005c1f
test esi, esi
jne 0x10005bf2
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x30]
sub eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x14], edi
mov ecx, dword [esp + 0x14]
add eax, edi
mov edi, dword [esp + 0x60]
test eax, eax
jle 0x10005c4d
nop
dec ecx
dec eax
mov byte [ecx], 0x30
test eax, eax
jg 0x10005c40
mov dword [esp + 0x14], ecx
mov al, byte [esp + 0xd]
test al, al
je 0x10005c5c
dec ecx
mov dword [esp + 0x14], ecx
mov byte [ecx], al
cmp byte [esp + 0x1e], 0
je 0x10005c90
mov edx, dword [esp + 0x2c]
mov al, byte [edx + 5]
test al, al
je 0x10005c90
movzx eax, al
add eax, 0x100f7180
mov dl, byte [eax]
test dl, dl
je 0x10005c90
nop dword [eax]
dec ecx
lea eax, [eax + 1]
mov byte [ecx], dl
mov dl, byte [eax]
test dl, dl
jne 0x10005c80
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x20]
sub eax, ecx
dec esi
add esi, eax
jmp 0x10006922
cmp byte [esp + 0xf], 0
je 0x10005d5e
mov eax, dword [esp + 0x44]
mov edx, dword [eax + 4]
cmp dword [eax], edx
jle 0x10005d49
mov eax, dword [eax + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov edx, dword [esp + 0x44]
mov dword [edx + 4], eax
movzx eax, word [ecx + 8]
test al, 8
je 0x10005ce7
movsd xmm1, qword [ecx]
mov dl, byte [esp + 0xe]
movsd qword [esp + 0x48], xmm1
jmp 0x10005d74
test al, 4
je 0x10005d04
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
call fcn.100e0ad0
mov dl, byte [esp + 0xe]
movaps xmm1, xmm0
movsd qword [esp + 0x48], xmm0
jmp 0x10005d74
test al, 0x12
je 0x10005d49
movzx eax, byte [ecx + 0xa]
lea edx, [esp + 0x90]
movsd xmm1, qword [esp + 0x80]
push eax
push dword [ecx + 0xc]
mov ecx, dword [ecx + 0x10]
movsd qword [esp + 0x98], xmm1
call fcn.10007e40
movsd xmm1, qword [esp + 0x98]
add esp, 8
mov dl, byte [esp + 0xe]
movsd qword [esp + 0x48], xmm1
jmp 0x10005d74
movsd xmm1, qword [esp + 0x80]
mov dl, byte [esp + 0xe]
movsd qword [esp + 0x48], xmm1
jmp 0x10005d74
mov ecx, dword [esp + 0x10]
add ecx, 8
mov dword [esp + 0x10], ecx
movsd xmm1, qword [ecx - 8]
movsd qword [esp + 0x48], xmm1
movsd xmm3, qword [esp + 0x80]
test esi, esi
mov eax, 6
cmovs esi, eax
comisd xmm3, xmm1
mov dword [esp + 0x40], esi
jbe 0x10005da6
xorps xmm1, xmmword [esp + 0xa0]
movsd qword [esp + 0x48], xmm1
mov byte [esp + 0xd], 0x2d
jmp 0x10005dc2
cmp byte [esp + 0x3a], 0
je 0x10005db4
mov byte [esp + 0xd], 0x2b
jmp 0x10005dc2
mov al, byte [esp + 0xd]
neg al
sbb al, al
and al, 0x20
mov byte [esp + 0xd], al
cmp dl, 4
jne 0x10005dd0
test esi, esi
je 0x10005dd0
dec esi
mov dword [esp + 0x40], esi
movsd xmm2, qword [esp + 0xb0]
mov ecx, esi
movsd xmm4, qword [esp + 0x98]
cmp esi, 8
jl 0x10005e29
lea edx, [esi - 8]
shr edx, 3
inc edx
lea eax, [edx*8]
sub ecx, eax
nop dword [eax]
mulsd xmm2, xmm4
mulsd xmm2, xmm4
mulsd xmm2, xmm4
mulsd xmm2, xmm4
mulsd xmm2, xmm4
mulsd xmm2, xmm4
mulsd xmm2, xmm4
mulsd xmm2, xmm4
sub edx, 1
jne 0x10005e00
mov dl, byte [esp + 0xe]
test ecx, ecx
jle 0x10005e39
nop dword [eax]
dec ecx
mulsd xmm2, xmm4
test ecx, ecx
jg 0x10005e30
cmp dl, 2
jne 0x10005e4b
movaps xmm0, xmm2
addsd xmm1, xmm0
movsd qword [esp + 0x48], xmm1
movsd qword [esp + 0x70], xmm1
xor ecx, ecx
movsd xmm0, qword [esp + 0x70]
movsd qword [esp + 0x58], xmm0
movsd xmm0, qword [esp + 0x70]
ucomisd xmm0, qword [esp + 0x58]
mov dword [esp + 0x18], ecx
lahf
test ah, 0x44
jnp 0x10005e85
mov dword [esp + 0x14], 0x100f1e70
lea esi, [ecx + 3]
jmp 0x10006922
comisd xmm1, xmm3
jbe 0x10005ff9
movsd xmm5, qword [esp + 0xc0]
comisd xmm1, xmm5
movsd xmm7, qword [esp + 0xb8]
movaps xmm3, xmm7
jb 0x10005ed0
nop word [eax + eax]
cmp ecx, 0x15e
jg 0x10005ecc
mulsd xmm3, xmm5
add ecx, 0x64
movaps xmm0, xmm3
mulsd xmm0, xmm5
comisd xmm1, xmm0
jae 0x10005eb0
mov dword [esp + 0x18], ecx
movsd xmm5, qword [esp + 0xc8]
movaps xmm0, xmm3
mulsd xmm0, xmm5
comisd xmm1, xmm0
jb 0x10005f02
cmp ecx, 0x15e
jg 0x10005efe
movaps xmm3, xmm0
add ecx, 0x40
mulsd xmm0, xmm5
comisd xmm1, xmm0
jae 0x10005ee6
mov dword [esp + 0x18], ecx
movsd xmm6, qword [esp + 0xd0]
movaps xmm0, xmm3
mulsd xmm0, xmm6
comisd xmm1, xmm0
jb 0x10005f34
cmp ecx, 0x15e
jg 0x10005f30
movaps xmm3, xmm0
add ecx, 8
mulsd xmm0, xmm6
comisd xmm1, xmm0
jae 0x10005f18
mov dword [esp + 0x18], ecx
movsd xmm5, qword [esp + 0x88]
movaps xmm0, xmm3
mulsd xmm0, xmm5
comisd xmm1, xmm0
jb 0x10005f6a
nop word [eax + eax]
cmp ecx, 0x15e
jg 0x10005f66
movaps xmm3, xmm0
inc ecx
mulsd xmm0, xmm5
comisd xmm1, xmm0
jae 0x10005f50
mov dword [esp + 0x18], ecx
divsd xmm1, xmm3
movsd xmm0, qword [esp + 0xd8]
comisd xmm0, xmm1
movsd qword [esp + 0x48], xmm1
jbe 0x10005f9a
mulsd xmm1, xmm6
sub ecx, 8
comisd xmm0, xmm1
ja 0x10005f83
mov dword [esp + 0x18], ecx
movsd qword [esp + 0x48], xmm1
comisd xmm7, xmm1
jbe 0x10005fb5
mulsd xmm1, xmm5
dec ecx
comisd xmm7, xmm1
ja 0x10005fa0
mov dword [esp + 0x18], ecx
movsd qword [esp + 0x48], xmm1
cmp ecx, 0x15e
jle 0x10006002
mov al, byte [esp + 0xd]
cmp al, 0x2d
jne 0x10005fcc
mov ecx, str._Inf
jmp 0x10005fdb
cmp al, 0x2b
mov ecx, str.Inf
mov eax, 0x100f1e84
cmovne ecx, eax
cmp byte [ecx], 0
mov esi, ecx
mov dword [esp + 0x14], ecx
je 0x10005fec
inc esi
cmp byte [esi], 0
jne 0x10005fe6
sub esi, ecx
and esi, 0x3fffffff
jmp 0x10006922
movsd xmm5, qword [esp + 0x88]
lea esi, [esp + 0xe0]
cmp dl, 2
je 0x1000602d
addsd xmm1, xmm2
comisd xmm1, xmm5
movsd qword [esp + 0x48], xmm1
jb 0x1000602d
mulsd xmm1, xmm4
inc ecx
mov dword [esp + 0x18], ecx
movsd qword [esp + 0x48], xmm1
cmp dl, 4
jne 0x1000605f
cmp byte [esp + 0x1e], 0
sete byte [esp + 0x27]
cmp ecx, 0xfffffffc
jl 0x10006057
mov eax, dword [esp + 0x40]
cmp ecx, eax
jg 0x10006057
sub eax, ecx
mov dword [esp + 0x40], eax
mov al, 2
mov byte [esp + 0xe], al
jmp 0x1000606b
mov al, 3
mov byte [esp + 0xe], al
jmp 0x1000606b
mov al, byte [esp + 0x1f]
mov byte [esp + 0x27], al
mov al, byte [esp + 0xe]
xor edx, edx
cmp al, 3
cmovne edx, ecx
mov ecx, dword [esp + 0x40]
xor eax, eax
mov dword [esp + 0x20], edx
test edx, edx
cmovg eax, edx
add eax, ecx
add eax, dword [esp + 0x34]
cmp eax, 0x37
jle 0x100060ac
add eax, 0xf
cdq
push edx
push eax
call fcn.10004a20
add esp, 8
mov dword [esp + 0x64], eax
mov esi, eax
test eax, eax
je 0x10006a00
mov ecx, dword [esp + 0x40]
movzx eax, byte [esp + 0x1f]
test ecx, ecx
mov dword [esp + 0x14], esi
lea eax, [eax + eax*4]
lea edx, [eax*2 + 0x10]
setg al
or al, byte [esp + 0x1f]
or al, byte [esp + 0x1e]
mov byte [esp + 0x26], al
mov al, byte [esp + 0xd]
mov dword [esp + 0x58], edx
test al, al
je 0x100060df
mov byte [esi], al
inc esi
mov eax, dword [esp + 0x20]
test eax, eax
jns 0x100060ed
mov byte [esi], 0x30
inc esi
jmp 0x10006139
movsd xmm1, qword [esp + 0x48]
movsd xmm2, qword [esp + 0x88]
mov dword [esp + 0x20], eax
test edx, edx
jg 0x10006108
mov al, 0x30
jmp 0x1000611f
cvttsd2si eax, xmm1
dec edx
movd xmm0, eax
add al, 0x30
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, xmm2
mov byte [esi], al
inc esi
mov eax, dword [esp + 0x20]
sub eax, 1
mov dword [esp + 0x20], eax
jns 0x10006100
mov dword [esp + 0x58], edx
movsd qword [esp + 0x48], xmm1
cmp byte [esp + 0x26], 0
je 0x10006144
mov byte [esi], 0x2e
inc esi
inc eax
mov edi, eax
neg edi
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x60]
test eax, eax
jns 0x1000621d
cmp dword [esp + 0x20], 8
jb 0x100061f7
mov edi, dword [esp + 0x20]
and edi, 0x80000007
jns 0x10006175
dec edi
or edi, 0xfffffff8
inc edi
movaps xmm0, xmmword [0x100fc310]
neg edi
movaps xmm3, xmmword [0x100fc2e0]
xorps xmm1, xmm1
mov dword [esp + 0x20], edi
xorps xmm2, xmm2
mov edi, dword [esp + 0x60]
movaps xmmword [esp + 0x70], xmm0
nop dword [eax + eax]
movd xmm0, dword [esp + 0x70]
add eax, 8
movd dword [esi], xmm0
psubd xmm1, xmm3
movd xmm0, dword [esp + 0x70]
psubd xmm2, xmm3
movd dword [esi + 4], xmm0
add esi, 8
cmp eax, dword [esp + 0x20]
jl 0x100061a0
paddd xmm1, xmm2
mov dword [esp + 0x30], eax
movaps xmm0, xmm1
psrldq xmm0, 8
paddd xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 4
paddd xmm1, xmm0
movd eax, xmm1
add ecx, eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x40], ecx
test eax, eax
jns 0x1000621d
neg eax
push eax
push 0x30
push esi
mov dword [esp + 0x3c], eax
call fcn.100c1600
mov ecx, dword [esp + 0x4c]
add esp, 0xc
add esi, dword [esp + 0x30]
sub ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x58]
test ecx, ecx
jle 0x10006259
dec ecx
test edx, edx
jg 0x1000622a
mov al, 0x30
jmp 0x10006252
movsd xmm1, qword [esp + 0x48]
dec edx
cvttsd2si eax, xmm1
movd xmm0, eax
add al, 0x30
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, qword [esp + 0x88]
movsd qword [esp + 0x48], xmm1
mov byte [esi], al
inc esi
test ecx, ecx
jg 0x10006221
cmp byte [esp + 0x27], 0
je 0x10006294
cmp byte [esp + 0x26], 0
je 0x10006294
cmp byte [esi - 1], 0x30
lea eax, [esi - 1]
jne 0x1000627d
mov esi, eax
lea eax, [esi - 1]
mov byte [esi], 0
cmp byte [eax], 0x30
je 0x10006270
cmp byte [esi - 1], 0x2e
jne 0x10006294
cmp byte [esp + 0x1f], 0
je 0x10006290
mov byte [esi], 0x30
inc esi
jmp 0x10006294
dec esi
mov byte [esi], 0
cmp byte [esp + 0xe], 3
jne 0x1000633d
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
movzx eax, byte [edx + 4]
mov al, byte [eax + str.0123456789ABCDEF0123456789abcdef]
mov byte [esi], al
lea eax, [esi + 2]
mov dword [esp + 0x58], eax
mov eax, ecx
cdq
xor eax, edx
sub eax, edx
test ecx, ecx
mov dword [esp + 0x2c], eax
sets cl
lea ecx, [ecx*2 + 0x2b]
mov byte [esi + 1], cl
mov esi, dword [esp + 0x58]
cmp eax, 0x64
jl 0x1000630a
mov eax, 0x51eb851f
imul dword [esp + 0x2c]
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, esi
mov al, cl
add al, 0x30
mov byte [edx], al
lea esi, [edx + 1]
imul eax, ecx, 0x64
mov ecx, dword [esp + 0x2c]
sub ecx, eax
mov dword [esp + 0x2c], ecx
jmp 0x1000630e
mov ecx, dword [esp + 0x2c]
mov eax, 0x66666667
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov al, cl
add al, 0x30
mov byte [esi], al
mov al, cl
shl cl, 2
add al, cl
mov ecx, dword [esp + 0x2c]
add al, al
sub cl, al
add cl, 0x30
mov byte [esi + 1], cl
add esi, 2
mov ecx, dword [esp + 0x14]
mov byte [esi], 0
sub esi, ecx
cmp byte [esp + 0x3b], 0
je 0x10006922
mov eax, dword [esp + 0x28]
test al, al
jne 0x10006926
mov eax, dword [esp + 0x34]
cmp esi, eax
jge 0x10006922
sub eax, esi
mov esi, dword [esp + 0x34]
mov dword [esp + 0x30], eax
mov edx, esi
cmp esi, eax
jl 0x10006397
mov esi, ecx
mov edi, eax
sub esi, edi
nop
mov al, byte [esi + edx]
mov byte [edx + ecx], al
dec edx
cmp edx, edi
jge 0x10006380
mov edi, dword [esp + 0x60]
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
xor edx, edx
cmp byte [esp + 0xd], dl
setne dl
test eax, eax
je 0x10006922
push dword [esp + 0x30]
lea eax, [edx + ecx]
push 0x30
push eax
call fcn.100c1600
add esp, 0xc
jmp 0x10006922
cmp byte [esp + 0xf], 0
jne 0x10006918
mov ecx, dword [esp + 0x10]
mov eax, dword [edi + 0xc]
add ecx, 4
mov dword [esp + 0x10], ecx
mov ecx, dword [ecx - 4]
mov dword [ecx], eax
jmp 0x10006918
lea eax, [esp + 0xe0]
mov byte [esp + 0xe0], 0x25
mov dword [esp + 0x14], eax
mov esi, 1
jmp 0x10006922
cmp byte [esp + 0xf], 0
je 0x10006461
mov eax, dword [esp + 0x44]
mov edx, dword [eax + 4]
cmp dword [eax], edx
jle 0x10006457
mov eax, dword [eax + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov edx, dword [esp + 0x44]
mov dword [edx + 4], eax
test ecx, ecx
je 0x10006457
movzx edx, word [ecx + 8]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x10006442
cmp byte [ecx + 0xa], 1
jne 0x10006442
mov eax, dword [ecx + 0x10]
jmp 0x1000644e
test dl, 1
jne 0x10006457
mov dl, 1
call fcn.10022150
test eax, eax
je 0x10006457
movsx eax, byte [eax]
jmp 0x1000646f
mov dword [esp + 0x2c], 0
jmp 0x10006473
mov ecx, dword [esp + 0x10]
add ecx, 4
mov dword [esp + 0x10], ecx
mov eax, dword [ecx - 4]
mov dword [esp + 0x2c], eax
cmp esi, 1
jle 0x10006515
mov ecx, dword [esp + 0x34]
sub ecx, esi
mov edx, ecx
inc ecx
mov dword [esp + 0x34], ecx
cmp ecx, 1
jle 0x100064ca
cmp byte [esp + 0x28], 0
jne 0x100064ca
mov eax, dword [edi + 0xc]
add eax, edx
cmp eax, dword [edi + 0x10]
jl 0x100064b0
mov ecx, edi
call fcn.10006ae0
mov edx, eax
test edx, edx
jle 0x100064c2
nop dword [eax]
mov ecx, dword [edi + 0xc]
dec edx
mov eax, dword [edi + 8]
mov byte [ecx + eax], 0x20
inc dword [edi + 0xc]
test edx, edx
jg 0x100064b0
mov dword [esp + 0x34], 0
mov eax, dword [edi + 0xc]
dec esi
add eax, esi
cmp eax, dword [edi + 0x10]
jl 0x100064e4
mov edx, esi
mov ecx, edi
call fcn.10006ae0
mov esi, eax
test esi, esi
jle 0x10006515
mov edx, dword [esp + 0x2c]
mov ecx, dword [edi + 0xc]
dec esi
mov eax, dword [edi + 8]
mov byte [ecx + eax], dl
inc dword [edi + 0xc]
test esi, esi
jg 0x100064e8
lea eax, [esp + 0xe0]
mov byte [esp + 0xe0], dl
mov esi, 1
mov dword [esp + 0x14], eax
jmp 0x10006922
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0xe0]
mov esi, 1
mov byte [esp + 0xe0], dl
mov dword [esp + 0x14], eax
jmp 0x10006922
mov al, byte [esp + 0xf]
test al, al
je 0x100065c7
mov eax, dword [esp + 0x44]
mov edx, dword [eax + 4]
cmp dword [eax], edx
jle 0x100065dd
mov eax, dword [eax + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov edx, dword [esp + 0x44]
mov dword [edx + 4], eax
test ecx, ecx
jne 0x10006572
mov dl, byte [esp + 0xe]
mov al, byte [esp + 0xf]
mov dword [esp + 0x14], ecx
jmp 0x100065d9
movzx edx, word [ecx + 8]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x1000659b
cmp byte [ecx + 0xa], 1
jne 0x1000659b
mov ecx, dword [ecx + 0x10]
mov dl, byte [esp + 0xe]
mov al, byte [esp + 0xf]
mov dword [esp + 0x14], ecx
jmp 0x100065d9
test dl, 1
je 0x100065b0
mov dl, byte [esp + 0xe]
xor ecx, ecx
mov al, byte [esp + 0xf]
mov dword [esp + 0x14], ecx
jmp 0x100065d9
mov dl, 1
call fcn.10022150
mov dl, byte [esp + 0xe]
mov ecx, eax
mov dword [esp + 0x14], eax
mov al, byte [esp + 0xf]
jmp 0x100065d9
mov ecx, dword [esp + 0x10]
add ecx, 4
mov dword [esp + 0x10], ecx
mov ecx, dword [ecx - 4]
mov dword [esp + 0x14], ecx
test ecx, ecx
jne 0x100065e8
mov ecx, 0x100f1e88
mov dword [esp + 0x14], ecx
jmp 0x100065fa
cmp dl, 7
jne 0x100065fa
mov edx, dword [esp + 0x64]
test al, al
cmove edx, ecx
mov dword [esp + 0x64], edx
test esi, esi
js 0x10006624
mov eax, dword [esp + 0x40]
xor esi, esi
test eax, eax
jle 0x10006922
nop dword [eax]
cmp byte [esi + ecx], 0
je 0x10006922
inc esi
cmp esi, eax
jl 0x10006610
jmp 0x10006922
mov esi, ecx
test ecx, ecx
je 0x10006920
cmp byte [ecx], 0
je 0x10005fec
inc esi
cmp byte [esi], 0
jne 0x10006637
sub esi, ecx
and esi, 0x3fffffff
jmp 0x10006922
cmp dl, 0xf
mov eax, 0x27
mov ecx, 0x22
cmove eax, ecx
cmp byte [esp + 0xf], 0
mov dword [esp + 0x20], eax
je 0x100066c1
mov eax, dword [esp + 0x44]
mov edx, dword [eax + 4]
cmp dword [eax], edx
jg 0x1000667a
mov dword [esp + 0x58], 0
jmp 0x100066db
mov eax, dword [eax + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov edx, dword [esp + 0x44]
mov dword [edx + 4], eax
test ecx, ecx
jne 0x10006692
xor eax, eax
jmp 0x100066cf
movzx edx, word [ecx + 8]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x100066af
cmp byte [ecx + 0xa], 1
jne 0x100066af
mov eax, dword [ecx + 0x10]
jmp 0x100066cf
test dl, 1
je 0x100066b8
xor eax, eax
jmp 0x100066cf
mov dl, 1
call fcn.10022150
jmp 0x100066cf
mov ecx, dword [esp + 0x10]
add ecx, 4
mov dword [esp + 0x10], ecx
mov eax, dword [ecx - 4]
mov dword [esp + 0x18], eax
mov dword [esp + 0x58], eax
test eax, eax
jne 0x100066f1
cmp byte [esp + 0xe], 0xb
mov eax, str.NULL
mov ecx, str._NULL_
cmovne eax, ecx
mov dword [esp + 0x18], eax
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x2c], edx
test esi, esi
je 0x1000672d
mov edi, ecx
nop
mov cl, byte [edx + eax]
test cl, cl
je 0x1000671d
inc edx
lea eax, [edi + 1]
cmp cl, byte [esp + 0x20]
cmovne eax, edi
mov edi, eax
mov eax, dword [esp + 0x18]
sub esi, 1
jne 0x10006700
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x60]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x2c], edx
cmp dword [esp + 0x58], 0
je 0x10006742
cmp byte [esp + 0xe], 0xb
jne 0x10006742
mov eax, 1
jmp 0x10006744
xor eax, eax
mov dword [esp + 0x30], eax
lea eax, [eax*2 + 1]
add eax, edx
add eax, ecx
cmp eax, 0x46
jle 0x1000677b
cdq
push edx
push eax
call fcn.10004a20
add esp, 8
mov dword [esp + 0x64], eax
mov dword [esp + 0x14], eax
mov ecx, eax
test eax, eax
je 0x10006a00
mov edx, dword [esp + 0x2c]
jmp 0x10006786
lea ecx, [esp + 0xe0]
mov dword [esp + 0x14], ecx
xor esi, esi
cmp dword [esp + 0x30], esi
je 0x10006799
mov eax, dword [esp + 0x20]
mov esi, 1
mov byte [ecx], al
xor eax, eax
test edx, edx
jle 0x100067c1
mov edi, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
mov dl, byte [eax + edx]
mov byte [esi + ecx], dl
inc esi
cmp dl, byte [esp + 0x20]
jne 0x100067b8
mov byte [esi + ecx], dl
inc esi
inc eax
cmp eax, edi
jl 0x100067a3
mov edi, dword [esp + 0x60]
cmp dword [esp + 0x30], 0
je 0x100067d0
mov eax, dword [esp + 0x20]
mov byte [esi + ecx], al
inc esi
mov byte [esi + ecx], 0
jmp 0x10006922
mov ecx, dword [esp + 0x10]
add ecx, 4
mov dword [esp + 0x10], ecx
mov eax, dword [ecx - 4]
test eax, eax
je 0x10006918
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x10006918
mov esi, dword [edi + 0xc]
mov edx, dword [eax]
add esi, ecx
push ecx
cmp esi, dword [edi + 0x10]
jl 0x10006816
mov ecx, edi
call fcn.10006ca0
add esp, 4
jmp 0x10006918
mov eax, dword [edi + 8]
sub eax, ecx
mov dword [edi + 0xc], esi
push edx
add eax, esi
push eax
call fcn.100c17c0
add esp, 0xc
jmp 0x10006918
mov ecx, dword [esp + 0x10]
lea eax, [ecx + 8]
mov dword [esp + 0x70], eax
mov eax, dword [eax - 4]
lea edx, [eax + eax*4]
mov eax, dword [ecx]
shl edx, 4
mov dword [esp + 0x48], edx
mov dword [esp + 0x58], eax
mov edx, dword [edx + eax + 0xc]
test edx, edx
je 0x100068c4
cmp byte [edx], 0
mov ecx, edx
je 0x10006866
nop dword [eax]
inc ecx
cmp byte [ecx], 0
jne 0x10006860
mov esi, dword [edi + 0xc]
sub ecx, edx
and ecx, 0x3fffffff
add esi, ecx
push ecx
cmp esi, dword [edi + 0x10]
jl 0x10006885
mov ecx, edi
call fcn.10006ca0
add esp, 4
jmp 0x10006899
mov eax, dword [edi + 8]
sub eax, ecx
mov dword [edi + 0xc], esi
push edx
add eax, esi
push eax
call fcn.100c17c0
add esp, 0xc
mov ecx, dword [edi + 0xc]
inc ecx
cmp ecx, dword [edi + 0x10]
jl 0x100068b5
push 1
mov edx, 0x100f1e9c
mov ecx, edi
call fcn.10006ca0
add esp, 4
jmp 0x100068c0
mov eax, dword [edi + 8]
mov dword [edi + 0xc], ecx
mov byte [eax + ecx - 1], 0x2e
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x48]
mov edx, dword [edx + eax + 0x10]
mov ecx, edx
test edx, edx
je 0x100068e5
cmp byte [edx], 0
je 0x100068dd
inc ecx
cmp byte [ecx], 0
jne 0x100068d7
sub ecx, edx
and ecx, 0x3fffffff
mov esi, dword [edi + 0xc]
add esi, ecx
push ecx
cmp esi, dword [edi + 0x10]
jl 0x100068fc
mov ecx, edi
call fcn.10006ca0
add esp, 4
jmp 0x10006910
mov eax, dword [edi + 8]
sub eax, ecx
mov dword [edi + 0xc], esi
push edx
add eax, esi
push eax
call fcn.100c17c0
add esp, 0xc
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x34], 0
xor esi, esi
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
sub ecx, esi
mov dword [esp + 0x34], ecx
test ecx, ecx
jle 0x10006963
test al, al
jne 0x10006963
mov eax, dword [edi + 0xc]
mov edx, ecx
add eax, ecx
cmp eax, dword [edi + 0x10]
jl 0x10006951
mov ecx, edi
call fcn.10006ae0
mov edx, eax
test edx, edx
jle 0x10006963
mov ecx, dword [edi + 0xc]
dec edx
mov eax, dword [edi + 8]
mov byte [ecx + eax], 0x20
inc dword [edi + 0xc]
test edx, edx
jg 0x10006951
mov ecx, dword [edi + 0xc]
add ecx, esi
push esi
cmp ecx, dword [edi + 0x10]
jl 0x1000697e
mov edx, dword [esp + 0x18]
mov ecx, edi
call fcn.10006ca0
add esp, 4
jmp 0x10006995
mov eax, dword [edi + 8]
push dword [esp + 0x18]
sub eax, esi
mov dword [edi + 0xc], ecx
add eax, ecx
push eax
call fcn.100c17c0
add esp, 0xc
mov edx, dword [esp + 0x34]
test edx, edx
jle 0x100069d2
cmp byte [esp + 0x28], 0
je 0x100069d2
mov eax, dword [edi + 0xc]
add eax, edx
cmp eax, dword [edi + 0x10]
jl 0x100069c0
mov ecx, edi
call fcn.10006ae0
mov edx, eax
test edx, edx
jle 0x100069d2
nop dword [eax + eax]
mov ecx, dword [edi + 0xc]
dec edx
mov eax, dword [edi + 8]
mov byte [ecx + eax], 0x20
inc dword [edi + 0xc]
test edx, edx
jg 0x100069c0
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x100069eb
push ecx
call fcn.10004e40
add esp, 4
mov dword [esp + 0x64], 0
mov edx, dword [esp + 0x3c]
inc edx
movsx eax, byte [edx]
test eax, eax
je case.default.0x10005974
mov esi, dword [esp + 0x10]
jmp 0x100056d1
mov byte [edi + 0x19], 1
mov dword [edi + 0x10], 0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.100be769
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 0xc]
inc ecx
cmp ecx, dword [edi + 0x10]
jl 0x10006a4f
push 1
mov edx, 0x100f1e6c
mov ecx, edi
call fcn.10006ca0
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.100be769
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 8]
mov dword [edi + 0xc], ecx
mov byte [eax + ecx - 1], 0x25
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100be769
mov esp, ebp
pop ebp
ret