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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xd4
mov eax, dword [0x1017cf40]
xor eax, esp
mov dword [esp + 0xd0], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
mov edi, ecx
mov dword [esp + 0x40], edx
xor ecx, ecx
mov dword [esp + 0x78], edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x50], ecx
test byte [edi + 0x19], 2
mov dword [esp + 0x48], ecx
mov dword [esp + 0x10], eax
je 0x1008e328
mov eax, dword [esi]
add esi, 4
mov dword [esp + 0x20], esi
mov dword [esp + 0x48], eax
mov byte [esp + 0x17], 1
jmp 0x1008e32c
mov byte [esp + 0x17], al
movsx eax, byte [edx]
test eax, eax
je case.default.0x1008e619
cmp eax, 0x25
je 0x1008e394
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x10], edx
mov al, byte [ecx + 1]
inc ecx
test al, al
je 0x1008e350
cmp al, 0x25
jne 0x1008e344
mov eax, dword [edi + 0xc]
mov dword [esp + 0x40], ecx
sub ecx, edx
add eax, ecx
cmp eax, dword [edi + 0x10]
jb 0x1008e36d
push ecx
mov ecx, edi
call fcn.1008f8d0
add esp, 4
jmp 0x1008e387
test ecx, ecx
je 0x1008e387
mov eax, dword [edi + 8]
add dword [edi + 0xc], ecx
sub eax, ecx
add eax, dword [edi + 0xc]
push ecx
push edx
push eax
call fcn.10113700
add esp, 0xc
mov edx, dword [esp + 0x40]
cmp byte [edx], 0
je case.default.0x1008e619
movsx ecx, byte [edx + 1]
inc edx
test ecx, ecx
je 0x1008f6e5
xor al, al
mov byte [esp + 0x47], al
mov byte [esp + 0x2e], al
mov byte [esp + 0x2d], al
mov byte [esp + 0x16], al
mov byte [esp + 0x27], al
mov byte [esp + 0xf], al
nop dword [eax + eax]
lea eax, [ecx - 0x20]
cmp eax, 0x10
ja case.0x1008e3cf.34
movzx eax, byte [eax + 0x1008f758]
jmp dword [eax*4 + 0x1008f73c]
mov byte [esp + 0xf], 1
jmp 0x1008e3fe
mov byte [esp + 0x27], 1
jmp 0x1008e3fe
mov byte [esp + 0x16], 1
jmp 0x1008e3fe
mov byte [esp + 0x2d], 1
jmp 0x1008e3fe
mov byte [esp + 0x2e], 1
jmp 0x1008e3fe
mov byte [esp + 0x47], 1
movsx ecx, byte [edx + 1]
inc edx
test ecx, ecx
jne 0x1008e3c0
mov dword [esp + 0x40], edx
cmp ecx, 0x2a
jne 0x1008e499
cmp byte [esp + 0x17], 0
je 0x1008e458
mov eax, dword [esp + 0x48]
mov edx, dword [eax + 4]
cmp dword [eax], edx
jg 0x1008e439
mov edx, dword [esp + 0x40]
xorps xmm0, xmm0
movlpd qword [esp + 0x60], xmm0
mov eax, dword [esp + 0x60]
jmp 0x1008e461
mov eax, dword [eax + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov edx, dword [esp + 0x48]
mov dword [edx + 4], eax
call fcn.100aa940
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x40]
jmp 0x1008e461
mov eax, dword [esi]
add esi, 4
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], eax
test eax, eax
jns 0x1008e48e
mov byte [esp + 0xf], 1
cmp eax, 0x80000001
jl 0x1008e486
movsx ecx, byte [edx + 1]
neg eax
inc edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x40], edx
jmp 0x1008e4d2
mov dword [esp + 0x28], 0
movsx ecx, byte [edx + 1]
inc edx
mov dword [esp + 0x40], edx
jmp 0x1008e4d2
xor eax, eax
cmp ecx, 0x30
jl 0x1008e4c9
mov edi, eax
cmp ecx, 0x39
jg 0x1008e4b9
lea edi, [edi + edi*4]
inc edx
lea edi, [edi - 0x18]
lea edi, [ecx + edi*2]
movsx ecx, byte [edx]
cmp ecx, 0x30
jge 0x1008e4a2
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x78]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x40], edx
and eax, 0x7fffffff
mov dword [esp + 0x28], eax
cmp ecx, 0x2e
jne 0x1008e583
movsx ecx, byte [edx + 1]
inc edx
mov dword [esp + 0x40], edx
cmp ecx, 0x2a
jne 0x1008e552
cmp byte [esp + 0x17], 0
je 0x1008e52b
mov esi, dword [esp + 0x48]
mov edx, dword [esi + 4]
cmp dword [esi], edx
jg 0x1008e50e
mov edx, dword [esp + 0x40]
xorps xmm0, xmm0
movlpd qword [esp + 0x60], xmm0
mov esi, dword [esp + 0x60]
jmp 0x1008e535
mov eax, dword [esi + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov dword [esi + 4], eax
call fcn.100aa940
mov dword [esp + 0x64], edx
mov esi, eax
mov edx, dword [esp + 0x40]
jmp 0x1008e535
add esi, 4
mov dword [esp + 0x20], esi
mov esi, dword [esi - 4]
movsx ecx, byte [edx + 1]
inc edx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], edx
test esi, esi
jns 0x1008e58a
cmp esi, 0x80000001
jl 0x1008e583
neg esi
jmp 0x1008e586
xor esi, esi
cmp ecx, 0x30
jl 0x1008e57b
nop dword [eax]
cmp ecx, 0x39
jg 0x1008e577
lea esi, [esi + esi*4]
inc edx
lea esi, [esi - 0x18]
lea esi, [ecx + esi*2]
movsx ecx, byte [edx]
cmp ecx, 0x30
jge 0x1008e560
mov dword [esp + 0x40], edx
and esi, 0x7fffffff
jmp 0x1008e586
or esi, 0xffffffff
mov dword [esp + 0x3c], esi
cmp ecx, 0x6c
jne 0x1008e5b2
movsx ecx, byte [edx + 1]
inc edx
mov byte [esp + 0x2f], 1
mov dword [esp + 0x40], edx
cmp ecx, 0x6c
jne 0x1008e5b7
movsx ecx, byte [edx + 1]
inc edx
mov byte [esp + 0x46], 1
mov dword [esp + 0x40], edx
jmp 0x1008e5bc
mov byte [esp + 0x2f], 0
mov byte [esp + 0x46], 0
xor eax, eax
mov dword [esp + 0x4c], 0x1016db10
mov byte [esp + 0x1f], 0x10
mov edx, 0x1016db10
mov dword [esp + 0x18], eax
movsx eax, byte [edx]
cmp ecx, eax
je 0x1008e5f0
inc dword [esp + 0x18]
add edx, 6
cmp edx, 0x1016db9a
jl 0x1008e5d4
mov dl, byte [esp + 0x1f]
jmp 0x1008e60d
mov eax, dword [esp + 0x18]
lea eax, [eax + eax*2]
mov dl, byte [eax*2 + 0x1016db13]
lea eax, [eax*2 + 0x1016db10]
mov dword [esp + 0x4c], eax
mov byte [esp + 0x1f], dl
movzx eax, dl
cmp eax, 0xf
ja case.default.0x1008e619
jmp dword [eax*4 + 0x1008f76c]
xor al, al
mov cl, 1
jmp 0x1008e62e
mov al, byte [esp + 0x46]
mov cl, byte [esp + 0x2f]
mov edx, dword [esp + 0x4c]
test byte [edx + 2], 1
je 0x1008e6f8
cmp byte [esp + 0x17], 0
je 0x1008e68c
mov eax, dword [esp + 0x48]
mov edx, dword [eax + 4]
cmp dword [eax], edx
jg 0x1008e675
xorps xmm0, xmm0
movlpd qword [esp + 0x60], xmm0
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
cmp byte [esp + 0x27], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0x30], edx
je 0x1008e6eb
mov cl, 0x2b
jmp 0x1008e773
mov eax, dword [eax + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov edx, dword [esp + 0x48]
mov dword [edx + 4], eax
call fcn.100aa940
jmp 0x1008e6b0
test al, al
je 0x1008e69f
mov ecx, dword [esp + 0x20]
add ecx, 8
mov eax, dword [ecx - 8]
mov edx, dword [ecx - 4]
jmp 0x1008e6ac
test cl, cl
mov ecx, dword [esp + 0x20]
add ecx, 4
mov eax, dword [ecx - 4]
cdq
mov dword [esp + 0x20], ecx
test edx, edx
jg 0x1008e65f
jl 0x1008e6ba
test eax, eax
jae 0x1008e65f
test eax, eax
jne 0x1008e6d5
cmp edx, 0x80000000
jne 0x1008e6d5
mov dword [esp + 0x30], edx
mov cl, 0x2d
mov dword [esp + 0x10], eax
jmp 0x1008e773
neg eax
mov cl, 0x2d
mov dword [esp + 0x10], eax
adc edx, 0
neg edx
mov dword [esp + 0x30], edx
jmp 0x1008e773
mov cl, byte [esp + 0x16]
neg cl
sbb cl, cl
and cl, 0x20
jmp 0x1008e773
cmp byte [esp + 0x17], 0
je 0x1008e744
mov eax, dword [esp + 0x48]
mov edx, dword [eax + 4]
cmp dword [eax], edx
jg 0x1008e725
xorps xmm0, xmm0
movlpd qword [esp + 0x60], xmm0
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x30], edx
mov dword [esp + 0x10], eax
jmp 0x1008e771
mov eax, dword [eax + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov edx, dword [esp + 0x48]
mov dword [edx + 4], eax
call fcn.100aa940
mov dword [esp + 0x30], edx
mov dword [esp + 0x10], eax
jmp 0x1008e771
test al, al
je 0x1008e757
mov ecx, dword [esp + 0x20]
add ecx, 8
mov eax, dword [ecx - 8]
mov edx, dword [ecx - 4]
jmp 0x1008e765
test cl, cl
mov ecx, dword [esp + 0x20]
add ecx, 4
xor edx, edx
mov eax, dword [ecx - 4]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x30], edx
xor cl, cl
or eax, edx
mov byte [esp + 0x16], cl
jne 0x1008e77f
mov byte [esp + 0x2d], al
mov al, byte [esp + 0x47]
test al, al
je 0x1008e79d
xor eax, eax
test cl, cl
mov ecx, dword [esp + 0x28]
setne al
sub ecx, eax
cmp esi, ecx
cmovl esi, ecx
mov dword [esp + 0x3c], esi
cmp esi, 0x3c
jge 0x1008e7b7
lea eax, [esp + 0x90]
mov dword [esp + 0x54], 0x46
mov dword [esp + 0x58], eax
jmp 0x1008e7df
lea eax, [esi + 0xa]
mov dword [esp + 0x54], eax
cdq
push edx
push eax
call fcn.1008d7c0
mov ecx, eax
mov dword [esp + 0x60], eax
add esp, 8
mov dword [esp + 0x50], ecx
test ecx, ecx
je 0x1008f6c5
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x54]
dec edi
add edi, eax
cmp byte [esp + 0x1f], 0xf
jne 0x1008e84e
push 0
push 0xa
push edx
push dword [esp + 0x1c]
call fcn.101100c0
mov dword [esp + 0x80], eax
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x10]
add ecx, ecx
sub eax, ecx
mov dword [esp + 0x18], eax
cmp eax, 4
jge 0x1008e830
push 0
push 0xa
push edx
push dword [esp + 0x8c]
call fcn.10110000
cmp eax, 1
jne 0x1008e834
test edx, edx
jne 0x1008e834
xor ecx, ecx
jmp 0x1008e838
mov ecx, dword [esp + 0x18]
mov al, byte [ecx*2 + 0x1016c2c1]
mov byte [edi - 1], al
sub edi, 2
mov al, byte [ecx*2 + str.thstndrd]
mov byte [edi], al
mov ecx, dword [esp + 0x4c]
mov esi, dword [esp + 0x10]
movzx eax, byte [ecx + 4]
add eax, str.0123456789ABCDEF0123456789abcdef
mov dword [esp + 0x60], eax
movzx eax, byte [ecx + 1]
cdq
mov ecx, eax
mov eax, edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x18], eax
nop dword [eax + eax]
push ebx
push eax
push ecx
push edx
push esi
dec edi
call fcn.1010ff60
mov dword [esp + 0x38], ebx
pop ebx
mov esi, eax
mov eax, dword [esp + 0x60]
mov al, byte [ecx + eax]
mov ecx, dword [esp + 0x80]
mov byte [edi], al
mov eax, dword [esp + 0x18]
test edx, edx
ja 0x1008e880
jb 0x1008e8b0
test esi, esi
jne 0x1008e880
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x58]
sub eax, edx
sub eax, dword [esp + 0x54]
inc eax
mov dword [esp + 0x10], edi
add eax, edi
test eax, eax
jle 0x1008e8dd
nop dword [eax]
dec edi
dec eax
mov byte [edi], 0x30
test eax, eax
jg 0x1008e8d0
mov dword [esp + 0x10], edi
mov cl, byte [esp + 0x16]
test cl, cl
je 0x1008e8ec
dec edi
mov dword [esp + 0x10], edi
mov byte [edi], cl
cmp byte [esp + 0x2d], 0
je 0x1008e920
mov eax, dword [esp + 0x4c]
mov al, byte [eax + 5]
test al, al
je 0x1008e920
movzx eax, al
add eax, 0x1016ae8c
mov cl, byte [eax]
test cl, cl
je 0x1008e920
nop dword [eax]
dec edi
lea eax, [eax + 1]
mov byte [edi], cl
mov cl, byte [eax]
test cl, cl
jne 0x1008e910
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x54]
sub edx, edi
lea esi, [eax - 1]
add esi, edx
jmp 0x1008eff9
cmp byte [esp + 0x17], 0
je 0x1008e9e0
mov eax, dword [esp + 0x48]
mov edx, dword [eax + 4]
cmp dword [eax], edx
jle 0x1008e9d1
mov eax, dword [eax + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov edx, dword [esp + 0x48]
mov dword [edx + 4], eax
movzx eax, word [ecx + 8]
test al, 8
je 0x1008e975
movsd xmm2, qword [ecx]
mov dl, byte [esp + 0x1f]
movsd qword [esp + 0x60], xmm2
jmp 0x1008e9f6
test al, 4
je 0x1008e992
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
call fcn.10136850
mov dl, byte [esp + 0x1f]
movaps xmm2, xmm0
movsd qword [esp + 0x60], xmm0
jmp 0x1008e9f6
test al, 0x12
je 0x1008e9d1
movzx eax, byte [ecx + 0xa]
lea edx, [esp + 0x88]
push eax
push dword [ecx + 0xc]
mov ecx, dword [ecx + 0x10]
xorps xmm2, xmm2
movsd qword [esp + 0x90], xmm2
call fcn.10090c90
movsd xmm2, qword [esp + 0x90]
add esp, 8
mov dl, byte [esp + 0x1f]
movsd qword [esp + 0x60], xmm2
jmp 0x1008e9f6
mov dl, byte [esp + 0x1f]
xorps xmm2, xmm2
movsd qword [esp + 0x60], xmm2
jmp 0x1008e9f6
mov ecx, dword [esp + 0x20]
add ecx, 8
mov dword [esp + 0x20], ecx
movsd xmm2, qword [ecx - 8]
movsd qword [esp + 0x60], xmm2
test esi, esi
mov eax, 6
xorps xmm3, xmm3
cmovs esi, eax
comisd xmm3, xmm2
mov dword [esp + 0x3c], esi
jbe 0x1008ea1e
xorps xmm2, xmmword [0x10176340]
mov dh, 0x2d
movsd qword [esp + 0x60], xmm2
jmp 0x1008ea34
cmp byte [esp + 0x27], 0
je 0x1008ea29
mov dh, 0x2b
jmp 0x1008ea34
mov dh, byte [esp + 0x16]
neg dh
sbb dh, dh
and dh, 0x20
mov byte [esp + 0x16], dh
cmp dl, 3
jne 0x1008ea46
test esi, esi
jle 0x1008ea46
dec esi
mov dword [esp + 0x3c], esi
movsd xmm1, qword [0x101760f8]
and esi, 0xfff
movsd xmm4, qword [0x101760f0]
cmp esi, 8
jb 0x1008ea95
lea ecx, [esi - 8]
shr ecx, 3
inc ecx
mov eax, ecx
neg eax
lea esi, [esi + eax*8]
nop
mulsd xmm1, xmm4
mulsd xmm1, xmm4
mulsd xmm1, xmm4
mulsd xmm1, xmm4
mulsd xmm1, xmm4
mulsd xmm1, xmm4
mulsd xmm1, xmm4
mulsd xmm1, xmm4
sub ecx, 1
jne 0x1008ea70
test esi, esi
jle 0x1008eaa9
nop dword [eax]
dec esi
mulsd xmm1, xmm4
test esi, esi
jg 0x1008eaa0
cmp dl, 1
jne 0x1008eabb
movaps xmm0, xmm1
addsd xmm2, xmm0
movsd qword [esp + 0x60], xmm2
movsd qword [esp + 0x58], xmm2
xor ecx, ecx
movsd xmm0, qword [esp + 0x58]
movsd qword [esp + 0x80], xmm0
movsd xmm0, qword [esp + 0x58]
ucomisd xmm0, qword [esp + 0x80]
mov dword [esp + 0x30], ecx
lahf
test ah, 0x44
jnp 0x1008eafe
mov ecx, 0x10171374
mov esi, 3
mov dword [esp + 0x10], ecx
jmp 0x1008effd
comisd xmm2, xmm3
jbe 0x1008ec29
movsd xmm5, qword [0x101761d0]
comisd xmm2, xmm5
movsd xmm6, qword [0x10176100]
movaps xmm3, xmm6
jb 0x1008eb41
cmp ecx, 0x15e
jg 0x1008eb3d
mulsd xmm3, xmm5
add ecx, 0x64
movaps xmm0, xmm3
mulsd xmm0, xmm5
comisd xmm2, xmm0
jae 0x1008eb21
mov dword [esp + 0x30], ecx
movsd xmm5, qword [0x101761a0]
movaps xmm0, xmm3
mulsd xmm0, xmm5
comisd xmm2, xmm0
jb 0x1008eb72
cmp ecx, 0x15e
jg 0x1008eb6e
movaps xmm3, xmm0
add ecx, 0xa
mulsd xmm0, xmm5
comisd xmm2, xmm0
jae 0x1008eb56
mov dword [esp + 0x30], ecx
movsd xmm5, qword [0x10176110]
movaps xmm0, xmm3
mulsd xmm0, xmm5
comisd xmm2, xmm0
jb 0x1008eba1
cmp ecx, 0x15e
jg 0x1008eb9d
movaps xmm3, xmm0
inc ecx
mulsd xmm0, xmm5
comisd xmm2, xmm0
jae 0x1008eb87
mov dword [esp + 0x30], ecx
divsd xmm2, xmm3
movsd xmm0, qword [0x101760e8]
comisd xmm0, xmm2
movsd qword [esp + 0x60], xmm2
jbe 0x1008ebd8
movsd xmm3, qword [0x10176178]
mulsd xmm2, xmm3
sub ecx, 8
comisd xmm0, xmm2
ja 0x1008ebc1
mov dword [esp + 0x30], ecx
movsd qword [esp + 0x60], xmm2
comisd xmm6, xmm2
jbe 0x1008ebf5
nop
mulsd xmm2, xmm5
dec ecx
comisd xmm6, xmm2
ja 0x1008ebe0
mov dword [esp + 0x30], ecx
movsd qword [esp + 0x60], xmm2
cmp ecx, 0x15e
jle 0x1008ec31
xor eax, eax
mov byte [esp + 0x90], dh
test dh, dh
lea ecx, [esp + 0x90]
mov dword [esp + 0x10], ecx
setne al
mov dword [esp + eax + 0x90], 0x666e49
lea esi, [eax + 3]
jmp 0x1008effd
movsd xmm5, qword [0x10176110]
lea esi, [esp + 0x90]
cmp dl, 1
je 0x1008ec5c
addsd xmm2, xmm1
comisd xmm2, xmm5
movsd qword [esp + 0x60], xmm2
jb 0x1008ec5c
mulsd xmm2, xmm4
inc ecx
mov dword [esp + 0x30], ecx
movsd qword [esp + 0x60], xmm2
cmp dl, 3
jne 0x1008ec8c
cmp byte [esp + 0x2d], 0
sete byte [esp + 0x2f]
cmp ecx, 0xfffffffc
jl 0x1008ec85
mov eax, dword [esp + 0x3c]
cmp ecx, eax
jg 0x1008ec85
sub eax, ecx
mov byte [esp + 0x1f], 1
mov dword [esp + 0x3c], eax
jmp 0x1008ec9b
mov byte [esp + 0x1f], 2
jmp 0x1008ec99
mov al, byte [esp + 0x2e]
mov byte [esp + 0x2f], al
cmp dl, 2
jne 0x1008ec9b
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x18], ecx
test ecx, ecx
cmovg eax, ecx
mov ecx, dword [esp + 0x3c]
cdq
mov dword [esp + 0x10], eax
mov eax, ecx
mov dword [esp + 0x54], edx
cdq
add dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
adc dword [esp + 0x54], edx
cdq
add dword [esp + 0x10], eax
adc dword [esp + 0x54], edx
js 0x1008ed00
mov eax, dword [esp + 0x10]
jg 0x1008ecd8
cmp eax, 0x37
jbe 0x1008ed00
mov ecx, dword [esp + 0x54]
add eax, 0xf
adc ecx, 0
push ecx
push eax
call fcn.1008d7c0
mov ecx, eax
add esp, 8
mov dword [esp + 0x50], ecx
mov esi, ecx
test ecx, ecx
je 0x1008f6c5
mov ecx, dword [esp + 0x3c]
movzx eax, byte [esp + 0x2e]
test ecx, ecx
mov dword [esp + 0x10], esi
lea eax, [eax + eax*4]
lea edx, [eax*2 + 0x10]
setg al
or al, byte [esp + 0x2e]
or al, byte [esp + 0x2d]
mov byte [esp + 0x27], al
mov al, byte [esp + 0x16]
mov dword [esp + 0x58], edx
test al, al
je 0x1008ed33
mov byte [esi], al
inc esi
mov eax, dword [esp + 0x18]
movsd xmm1, qword [esp + 0x60]
movsd xmm5, qword [0x10176110]
test eax, eax
jns 0x1008ed50
mov byte [esi], 0x30
inc esi
jmp 0x1008ed83
test edx, edx
jg 0x1008ed58
mov al, 0x30
jmp 0x1008ed6f
cvttsd2si eax, xmm1
dec edx
movd xmm0, eax
add al, 0x30
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, xmm5
mov byte [esi], al
inc esi
mov eax, dword [esp + 0x18]
sub eax, 1
mov dword [esp + 0x18], eax
jns 0x1008ed50
mov dword [esp + 0x58], edx
cmp byte [esp + 0x27], 0
je 0x1008ed8e
mov byte [esi], 0x2e
inc esi
inc eax
mov edi, eax
neg edi
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x10]
test eax, eax
jns 0x1008ee6c
cmp dword [esp + 0x18], 8
jb 0x1008ee39
mov edi, dword [esp + 0x18]
and edi, 0x80000007
jns 0x1008edbf
dec edi
or edi, 0xfffffff8
inc edi
movaps xmm0, xmmword [str.00000000000000006666666666666666]
neg edi
movaps xmm4, xmmword [0x10176230]
xorps xmm2, xmm2
mov dword [esp + 0x18], edi
movaps xmm3, xmm2
mov edi, dword [esp + 0x10]
movaps xmmword [esp + 0x60], xmm0
movd xmm0, dword [esp + 0x60]
add eax, 8
movd dword [esi], xmm0
psubd xmm2, xmm4
movd xmm0, dword [esp + 0x60]
psubd xmm3, xmm4
movd dword [esi + 4], xmm0
add esi, 8
cmp eax, dword [esp + 0x18]
jl 0x1008ede2
paddd xmm2, xmm3
mov dword [esp + 0x18], eax
movaps xmm0, xmm2
psrldq xmm0, 8
paddd xmm2, xmm0
movaps xmm0, xmm2
psrldq xmm0, 4
paddd xmm2, xmm0
movd eax, xmm2
add ecx, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x3c], ecx
test eax, eax
jns 0x1008ee6c
neg eax
mov edi, esi
mov ecx, eax
mov dword [esp + 0x18], eax
mov edx, ecx
mov eax, 0x30303030
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x3c]
mov eax, edx
mov edi, dword [esp + 0x10]
add esi, eax
mov edx, dword [esp + 0x58]
sub ecx, eax
test ecx, ecx
jle 0x1008ee97
dec ecx
test edx, edx
jg 0x1008ee79
mov al, 0x30
jmp 0x1008ee90
cvttsd2si eax, xmm1
dec edx
movd xmm0, eax
add al, 0x30
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, xmm5
mov byte [esi], al
inc esi
test ecx, ecx
jg 0x1008ee70
cmp byte [esp + 0x2f], 0
je 0x1008eed8
cmp byte [esp + 0x27], 0
je 0x1008eed8
cmp byte [esi - 1], 0x30
lea eax, [esi - 1]
jne 0x1008eebd
nop
mov esi, eax
lea eax, [esi - 1]
mov byte [esi], 0
cmp byte [eax], 0x30
je 0x1008eeb0
cmp byte [esi - 1], 0x2e
lea eax, [esi - 1]
jne 0x1008eed8
cmp byte [esp + 0x2e], 0
je 0x1008eed3
mov byte [esi], 0x30
inc esi
jmp 0x1008eed8
mov esi, eax
mov byte [esi], 0
cmp byte [esp + 0x1f], 2
jne 0x1008ef67
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x30]
movzx eax, byte [eax + 4]
mov al, byte [eax + str.0123456789ABCDEF0123456789abcdef]
mov byte [esi], al
test ecx, ecx
jns 0x1008ef07
neg ecx
mov byte [esi + 1], 0x2d
mov dword [esp + 0x30], ecx
jmp 0x1008ef0b
mov byte [esi + 1], 0x2b
add esi, 2
cmp ecx, 0x64
jl 0x1008ef38
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov al, cl
add al, 0x30
mov byte [esi], al
inc esi
imul eax, ecx, 0xffffff9c
mov ecx, dword [esp + 0x30]
add ecx, eax
mov dword [esp + 0x30], ecx
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 + 0x30]
add al, al
sub cl, al
add cl, 0x30
mov byte [esi + 1], cl
add esi, 2
mov al, byte [esp + 0x47]
mov byte [esi], 0
sub esi, edi
test al, al
je 0x1008eff9
mov al, byte [esp + 0xf]
test al, al
jne 0x1008f57a
mov ecx, dword [esp + 0x28]
cmp esi, ecx
jge 0x1008f57a
mov edx, ecx
sub edx, esi
mov esi, ecx
cmp esi, edx
jl 0x1008efaf
mov esi, edi
sub esi, edx
nop
mov al, byte [esi + ecx]
mov byte [ecx + edi], al
dec ecx
cmp ecx, edx
jge 0x1008efa0
mov esi, dword [esp + 0x28]
mov cl, byte [esp + 0x16]
xor eax, eax
test cl, cl
setne al
test edx, edx
je 0x1008eff9
add edi, eax
mov ecx, edx
shr ecx, 2
mov eax, 0x30303030
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x1008eff9
cmp byte [esp + 0x17], 0
jne 0x1008efef
mov ecx, dword [esp + 0x20]
mov eax, dword [edi + 0xc]
add ecx, 4
mov dword [esp + 0x20], ecx
mov ecx, dword [ecx - 4]
mov dword [ecx], eax
mov dword [esp + 0x28], 0
xor esi, esi
mov ecx, dword [esp + 0x10]
mov al, byte [esp + 0xf]
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x78]
sub edx, esi
mov dword [esp + 0x28], edx
test edx, edx
jle 0x1008f624
test al, al
jne 0x1008f599
mov eax, dword [edi + 0xc]
xor ecx, ecx
mov dword [esp + 0x18], eax
mov eax, edx
mov dword [esp + 0x58], edx
cdq
add dword [esp + 0x18], eax
mov eax, dword [edi + 0x10]
adc ecx, edx
js 0x1008f583
jg 0x1008f04a
cmp dword [esp + 0x18], eax
jb 0x1008f583
mov edx, dword [esp + 0x28]
mov ecx, edi
call fcn.1008f7b0
mov edx, eax
test edx, edx
jle 0x1008f599
jmp 0x1008f587
lea ecx, [esp + 0x90]
mov byte [esp + 0x90], 0x25
mov dword [esp + 0x10], ecx
mov esi, 1
jmp 0x1008effd
cmp byte [esp + 0x17], 0
je 0x1008f0e3
mov eax, dword [esp + 0x48]
mov edx, dword [eax + 4]
cmp dword [eax], edx
jle 0x1008f0d9
mov eax, dword [eax + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov edx, dword [esp + 0x48]
mov dword [edx + 4], eax
test ecx, ecx
je 0x1008f0d9
movzx edx, word [ecx + 8]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x1008f0c4
cmp byte [ecx + 0xa], 1
jne 0x1008f0c4
mov eax, dword [ecx + 0x10]
jmp 0x1008f0d0
test dl, 1
jne 0x1008f0d9
mov dl, 1
call fcn.100ab260
test eax, eax
je 0x1008f0d9
movsx eax, byte [eax]
jmp 0x1008f0f1
mov dword [esp + 0x30], 0
jmp 0x1008f0f5
mov ecx, dword [esp + 0x20]
add ecx, 4
mov dword [esp + 0x20], ecx
mov eax, dword [ecx - 4]
mov dword [esp + 0x30], eax
cmp esi, 1
jle 0x1008f1cd
mov ecx, dword [esp + 0x28]
sub ecx, esi
mov eax, ecx
inc ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x28], ecx
cmp ecx, 1
jle 0x1008f16a
cmp byte [esp + 0xf], 0
jne 0x1008f16a
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x18], ecx
xor ecx, ecx
cdq
add dword [esp + 0x18], eax
mov eax, dword [edi + 0x10]
adc ecx, edx
js 0x1008f147
jg 0x1008f138
cmp dword [esp + 0x18], eax
jb 0x1008f147
mov edx, dword [esp + 0x58]
mov ecx, edi
call fcn.1008f7b0
mov edx, eax
jmp 0x1008f14b
mov edx, dword [esp + 0x58]
test edx, edx
jle 0x1008f162
nop
mov eax, dword [edi + 0xc]
dec edx
mov ecx, dword [edi + 8]
mov byte [ecx + eax], 0x20
inc dword [edi + 0xc]
test edx, edx
jg 0x1008f150
mov dword [esp + 0x28], 0
mov eax, dword [edi + 0xc]
dec esi
mov dword [esp + 0x18], eax
xor ecx, ecx
mov eax, esi
cdq
add dword [esp + 0x18], eax
mov eax, dword [edi + 0x10]
adc ecx, edx
js 0x1008f195
jg 0x1008f18a
cmp dword [esp + 0x18], eax
jb 0x1008f195
mov edx, esi
mov ecx, edi
call fcn.1008f7b0
mov esi, eax
test esi, esi
jle 0x1008f1cd
mov edx, dword [esp + 0x30]
nop dword [eax]
mov eax, dword [edi + 0xc]
dec esi
mov ecx, dword [edi + 8]
mov byte [ecx + eax], dl
inc dword [edi + 0xc]
test esi, esi
jg 0x1008f1a0
lea ecx, [esp + 0x90]
mov byte [esp + 0x90], dl
mov esi, 1
mov dword [esp + 0x10], ecx
jmp 0x1008effd
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x90]
mov esi, 1
mov byte [esp + 0x90], dl
mov dword [esp + 0x10], ecx
jmp 0x1008effd
cmp byte [esp + 0x17], 0
je 0x1008f252
mov edi, dword [esp + 0x48]
mov edx, dword [edi + 4]
cmp dword [edi], edx
jg 0x1008f205
xor edi, edi
mov dl, 5
jmp 0x1008f260
mov eax, dword [edi + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov dword [edi + 4], eax
test ecx, ecx
jne 0x1008f21b
xor edi, edi
mov dl, 5
jmp 0x1008f260
movzx edx, word [ecx + 8]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x1008f23a
cmp byte [ecx + 0xa], 1
jne 0x1008f23a
mov edi, dword [ecx + 0x10]
mov dl, 5
jmp 0x1008f260
test dl, 1
je 0x1008f245
xor edi, edi
mov dl, 5
jmp 0x1008f260
mov dl, 1
call fcn.100ab260
mov edi, eax
mov dl, 5
jmp 0x1008f260
mov ecx, dword [esp + 0x20]
add ecx, 4
mov dword [esp + 0x20], ecx
mov edi, dword [ecx - 4]
mov dword [esp + 0x10], edi
test edi, edi
jne 0x1008f273
mov edi, 0x10168a76
mov dword [esp + 0x10], edi
jmp 0x1008f281
mov eax, dword [esp + 0x50]
cmp dl, 6
cmove eax, edi
mov dword [esp + 0x50], eax
test esi, esi
js 0x1008f2a7
mov eax, dword [esp + 0x3c]
xor esi, esi
test eax, eax
jle 0x1008eff9
cmp byte [esi + edi], 0
je 0x1008eff9
inc esi
cmp esi, eax
jl 0x1008f293
jmp 0x1008eff9
test edi, edi
je 0x1008eff7
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x1008f2b4
sub esi, ecx
and esi, 0x3fffffff
jmp 0x1008eff9
cmp dl, 0xe
mov eax, 0x27
mov ecx, 0x22
cmove eax, ecx
cmp byte [esp + 0x17], 0
mov dword [esp + 0x18], eax
je 0x1008f341
mov eax, dword [esp + 0x48]
mov edx, dword [eax + 4]
cmp dword [eax], edx
jg 0x1008f2f8
mov dword [esp + 0x58], 0
jmp 0x1008f35b
mov eax, dword [eax + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov edx, dword [esp + 0x48]
mov dword [edx + 4], eax
test ecx, ecx
je 0x1008f34f
movzx edx, word [ecx + 8]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x1008f329
cmp byte [ecx + 0xa], 1
jne 0x1008f329
mov ecx, dword [ecx + 0x10]
jmp 0x1008f34f
test dl, 1
je 0x1008f332
xor ecx, ecx
jmp 0x1008f34f
mov dl, 1
call fcn.100ab260
mov ecx, eax
mov dword [esp + 0x30], eax
jmp 0x1008f353
mov ecx, dword [esp + 0x20]
add ecx, 4
mov dword [esp + 0x20], ecx
mov ecx, dword [ecx - 4]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x58], ecx
test ecx, ecx
jne 0x1008f371
cmp byte [esp + 0x1f], 0xa
mov ecx, str.NULL
mov eax, str._NULL_
cmovne ecx, eax
mov dword [esp + 0x30], ecx
xor edx, edx
xor eax, eax
mov dword [esp + 0x80], edx
test esi, esi
je 0x1008f3b2
mov edi, eax
mov cl, byte [edx + ecx]
test cl, cl
je 0x1008f39f
inc edx
lea eax, [edi + 1]
cmp cl, byte [esp + 0x18]
mov ecx, dword [esp + 0x30]
cmovne eax, edi
mov edi, eax
sub esi, 1
jne 0x1008f382
mov dword [esp + 0x4c], edi
mov edi, dword [esp + 0x78]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x80], edx
cmp dword [esp + 0x58], 0
je 0x1008f3c8
cmp byte [esp + 0x1f], 0xa
mov dword [esp + 0x4c], 1
je 0x1008f3d0
mov dword [esp + 0x4c], 0
add eax, 3
add eax, edx
cmp eax, 0x46
jle 0x1008f466
cdq
mov esi, eax
mov ecx, esi
or ecx, edx
je 0x1008f443
test edx, edx
ja 0x1008f443
jb 0x1008f3f5
cmp esi, 0x7fffff00
jae 0x1008f443
cmp dword [0x1017f008], 0
je 0x1008f435
mov eax, dword [0x10182e30]
test eax, eax
je 0x1008f411
push eax
call dword [0x1017f060]
add esp, 4
lea edx, [esp + 0x7c]
mov ecx, esi
call fcn.1008d6d0
mov eax, dword [0x10182e30]
test eax, eax
je 0x1008f42f
push eax
call dword [0x1017f068]
add esp, 4
mov ecx, dword [esp + 0x7c]
jmp 0x1008f449
push esi
call dword [0x1017f030]
add esp, 4
mov ecx, eax
jmp 0x1008f445
xor ecx, ecx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x50], ecx
mov eax, ecx
mov dword [esp + 0x10], eax
test ecx, ecx
je 0x1008f6c5
mov edx, dword [esp + 0x80]
mov edi, ecx
jmp 0x1008f471
lea edi, [esp + 0x90]
mov dword [esp + 0x10], edi
mov esi, dword [esp + 0x4c]
test esi, esi
je 0x1008f47f
mov eax, dword [esp + 0x18]
mov byte [edi], al
xor ecx, ecx
test edx, edx
jle 0x1008f49f
mov eax, dword [esp + 0x30]
mov al, byte [ecx + eax]
mov byte [esi + edi], al
inc esi
cmp al, byte [esp + 0x18]
jne 0x1008f49a
mov byte [esi + edi], al
inc esi
inc ecx
cmp ecx, edx
jl 0x1008f485
cmp dword [esp + 0x4c], 0
je 0x1008f4ae
mov eax, dword [esp + 0x18]
mov byte [esi + edi], al
inc esi
mov byte [esi + edi], 0
jmp 0x1008eff9
test byte [edi + 0x19], 1
je case.default.0x1008e619
mov ecx, dword [esp + 0x20]
add ecx, 4
mov dword [esp + 0x20], ecx
mov edx, dword [ecx - 4]
test edx, edx
je 0x1008efef
mov eax, dword [edx + 4]
test eax, eax
je 0x1008efef
mov edx, dword [edx]
mov ecx, edi
push eax
call fcn.1008f910
add esp, 4
jmp 0x1008efef
test byte [edi + 0x19], 1
je case.default.0x1008e619
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
add ecx, 8
mov dword [esp + 0x60], edx
mov dword [esp + 0x20], ecx
mov eax, dword [ecx - 4]
lea esi, [eax + eax*4]
add esi, esi
mov edx, dword [edx + esi*8 + 0xc]
test edx, edx
je 0x1008f566
mov ecx, edi
call fcn.1008f960
mov eax, dword [edi + 0xc]
inc eax
cmp eax, dword [edi + 0x10]
jb 0x1008f554
push 1
mov edx, 0x1016e8e8
mov ecx, edi
call fcn.1008f8d0
mov edx, dword [esp + 0x64]
add esp, 4
mov ecx, edi
mov edx, dword [edx + esi*8 + 0x10]
call fcn.1008f960
jmp 0x1008efef
inc dword [edi + 0xc]
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 8]
mov al, byte [0x1016e8e8]
mov byte [ecx + edx - 1], al
mov edx, dword [esp + 0x60]
mov ecx, edi
mov edx, dword [edx + esi*8 + 0x10]
call fcn.1008f960
jmp 0x1008efef
mov ecx, dword [esp + 0x10]
jmp 0x1008f001
mov edx, dword [esp + 0x58]
mov eax, dword [edi + 0xc]
dec edx
mov ecx, dword [edi + 8]
mov byte [ecx + eax], 0x20
inc dword [edi + 0xc]
test edx, edx
jg 0x1008f587
mov eax, dword [edi + 0xc]
add eax, esi
cmp eax, dword [edi + 0x10]
jb 0x1008f5b4
mov edx, dword [esp + 0x10]
mov ecx, edi
push esi
call fcn.1008f8d0
add esp, 4
jmp 0x1008f5d2
test esi, esi
je 0x1008f5d2
mov eax, dword [esp + 0x10]
add dword [edi + 0xc], esi
push esi
push eax
mov eax, dword [edi + 8]
sub eax, esi
add eax, dword [edi + 0xc]
push eax
call fcn.10113700
add esp, 0xc
cmp byte [esp + 0xf], 0
je 0x1008f657
mov eax, dword [esp + 0x28]
xor ecx, ecx
mov esi, dword [edi + 0xc]
cdq
add esi, eax
adc ecx, edx
js 0x1008f607
jg 0x1008f5f4
cmp esi, dword [edi + 0x10]
jb 0x1008f607
mov edx, dword [esp + 0x28]
mov ecx, edi
call fcn.1008f7b0
mov edx, eax
test edx, edx
jle 0x1008f657
jmp 0x1008f610
mov edx, dword [esp + 0x28]
nop dword [eax + eax]
mov eax, dword [edi + 0xc]
dec edx
mov ecx, dword [edi + 8]
mov byte [ecx + eax], 0x20
inc dword [edi + 0xc]
test edx, edx
jg 0x1008f610
jmp 0x1008f657
mov eax, dword [edi + 0xc]
add eax, esi
cmp eax, dword [edi + 0x10]
jb 0x1008f63d
mov edx, ecx
mov ecx, edi
push esi
call fcn.1008f8d0
add esp, 4
jmp 0x1008f657
test esi, esi
je 0x1008f657
mov eax, dword [edi + 8]
add dword [edi + 0xc], esi
sub eax, esi
add eax, dword [edi + 0xc]
push esi
push ecx
push eax
call fcn.10113700
add esp, 0xc
mov esi, dword [esp + 0x50]
test esi, esi
je 0x1008f6ac
mov ecx, dword [edi]
test ecx, ecx
je 0x1008f69d
cmp dword [ecx + 0x1c8], 0
je 0x1008f677
mov edx, esi
call fcn.1008db50
jmp 0x1008f6a6
cmp esi, dword [ecx + 0x120]
jb 0x1008f69d
cmp esi, dword [ecx + 0x124]
jae 0x1008f69d
mov eax, dword [ecx + 0x11c]
mov dword [esi], eax
dec dword [ecx + 0x108]
mov dword [ecx + 0x11c], esi
jmp 0x1008f6a6
push esi
call fcn.1008dae0
add esp, 4
xor ecx, ecx
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0x40]
inc edx
mov dword [esp + 0x40], edx
movsx eax, byte [edx]
test eax, eax
je case.default.0x1008e619
mov esi, dword [esp + 0x20]
jmp 0x1008e337
mov byte [edi + 0x18], 1
mov dword [edi + 0x10], 0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.1010f1c0
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0xc]
inc eax
cmp eax, dword [edi + 0x10]
jb 0x1008f714
push 1
mov edx, 0x10171054
mov ecx, edi
call fcn.1008f8d0
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.1010f1c0
mov esp, ebp
pop ebp
ret
inc dword [edi + 0xc]
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 8]
mov al, byte [0x10171054]
mov byte [ecx + edx - 1], al
mov ecx, dword [esp + 0xdc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1010f1c0
mov esp, ebp
pop ebp
ret