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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018c65c
mov eax, dword fs:[0]
push eax
sub esp, 0x204
mov eax, dword [0x102a67c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x148], eax
call fcn.1007e710
add esp, 4
mov dword [esi + 8], 0
mov ecx, esi
mov dword [esi + 0x28], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
call fcn.1007e090
xor ecx, ecx
mov dword [ebp - 0x1e4], 0
mov dword [ebp - 0x1e8], 0
mov dword [ebp - 0x170], ecx
mov dword [ebp - 0x1e0], ecx
xor edi, edi
mov dword [ebp - 4], ecx
mov dword [ebp - 0x1cc], ecx
mov dword [ebp - 0x1d0], ecx
mov dword [ebp - 0x15c], edi
mov dword [ebp - 0x1c8], edi
mov eax, dword [esi + 0x54]
lea ecx, [edi + 8]
mov byte [ebp - 4], 1
mov dword [ebp - 0x180], eax
test eax, eax
jle 0x1008971b
cmp eax, ecx
mov esi, eax
cmovl esi, ecx
test esi, esi
jle 0x10089715
imul eax, esi, 0x54
push eax
call fcn.100715b0
mov dword [ebp - 0x170], eax
lea ecx, [edi + 8]
mov dword [ebp - 0x1e0], eax
add esp, 4
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x1e4], esi
mov esi, dword [ebp - 0x14c]
mov dword [ebp - 0x1e8], eax
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0x174], eax
test eax, eax
jle 0x10089769
cmp eax, 8
mov esi, eax
cmovl esi, ecx
test esi, esi
jle 0x10089763
lea eax, [esi + esi*2]
shl eax, 3
push eax
call fcn.100715b0
mov edi, eax
mov dword [ebp - 0x1cc], esi
mov eax, dword [ebp - 0x174]
add esp, 4
mov dword [ebp - 0x15c], edi
mov dword [ebp - 0x1c8], edi
mov esi, dword [ebp - 0x14c]
imul ecx, dword [ebp - 0x180], 0x54
mov dword [ebp - 0x1d0], eax
push ecx
push 0
push dword [ebp - 0x170]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x174]
lea eax, [eax + eax*2]
shl eax, 3
push eax
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
mov dword [ebp - 0x154], 0
cmp dword [esi + 0x54], 0
jle 0x100898d9
mov edi, dword [ebp - 0x170]
xor eax, eax
mov dword [ebp - 0x18c], eax
add edi, 0x34
jmp 0x100897c5
mov esi, ecx
mov ecx, dword [esi + 0x5c]
xor edx, edx
add ecx, eax
mov dword [edi - 4], 0xffffffff
mov dword [ebp - 0x158], ecx
cmp dword [esi + 0x3c], edx
jle 0x10089947
or esi, 0xffffffff
mov eax, esi
cmp esi, 0xffffffff
jne 0x10089818
mov eax, dword [ebp - 0x14c]
or esi, esi
mov ecx, dword [eax + 0x44]
mov eax, dword [ebp - 0x158]
mov eax, dword [eax + 0x74]
cmp eax, dword [ecx + edx*4]
jne 0x1008980a
mov dword [edi - 4], edx
mov esi, edx
mov ecx, dword [ebp - 0x14c]
inc edx
mov eax, esi
cmp edx, dword [ecx + 0x3c]
jl 0x100897e5
cmp eax, 0xffffffff
je 0x10089947
push dword [ebp + 0x10]
mov esi, dword [ebp - 0x158]
lea ecx, [edi - 0x34]
push esi
push dword [ebp - 0x148]
call fcn.1008ab60
test al, al
je 0x10089947
mov eax, dword [edi - 4]
mov edx, dword [esi + 0x30]
lea eax, [eax + eax*2]
mov dword [ebp - 0x160], eax
test edx, edx
jne 0x10089861
mov ecx, dword [ebp - 0x14c]
call fcn.1007e120
mov edx, eax
mov dword [edi - 8], edx
cmp word [edx], 0
je 0x1008988b
nop word [eax + eax]
movzx eax, word [edx + 2]
test ax, ax
je 0x1008988b
mov ecx, eax
cmp dword [edi], ecx
cmovge ecx, dword [edi]
add edx, 4
mov dword [edi], ecx
cmp word [edx], 0
jne 0x10089870
mov esi, dword [ebp - 0x160]
mov edx, dword [ebp - 0x15c]
mov eax, dword [ebp - 0x18c]
inc dword [edx + esi*8]
mov ecx, dword [edi]
cmp dword [edx + esi*8 + 4], ecx
cmovge ecx, dword [edx + esi*8 + 4]
add eax, 0x78
mov dword [edx + esi*8 + 4], ecx
add edi, 0x54
mov esi, dword [ebp - 0x154]
mov ecx, dword [ebp - 0x14c]
inc esi
mov dword [ebp - 0x154], esi
mov dword [ebp - 0x18c], eax
cmp esi, dword [ecx + 0x54]
jl 0x100897c3
mov edi, edx
mov eax, dword [ebp - 0x180]
xor esi, esi
mov dword [ebp - 0x164], esi
test eax, eax
jle 0x10089d61
mov edx, dword [ebp - 0x170]
add edx, 0x44
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x150], edx
mov eax, dword [edx - 0x14]
mov ecx, dword [edx - 0x10]
add ecx, 0x20
sar ecx, 5
lea esi, [eax + eax*2]
mov dword [ebp - 0x160], ecx
mov eax, dword [edx - 4]
mov dword [ebp - 0x168], esi
mov dword [ebp - 0x148], eax
cmp ecx, eax
jle 0x100899cb
test eax, eax
je 0x10089953
cdq
sub eax, edx
mov edx, dword [ebp - 0x150]
sar eax, 1
add eax, dword [ebp - 0x148]
jmp 0x10089958
mov byte [ebp - 0x141], 0
jmp 0x1008ab07
mov eax, 8
cmp eax, ecx
mov edi, ecx
cmovg edi, eax
mov eax, edi
mov dword [ebp - 0x158], edi
mov edi, dword [ebp - 0x15c]
cmp eax, dword [edx - 4]
jle 0x100899cb
shl eax, 2
push eax
call fcn.100715b0
mov edx, dword [ebp - 0x150]
add esp, 4
mov dword [ebp - 0x148], eax
cmp dword [edx], 0
je 0x100899ba
mov ecx, dword [edx - 8]
shl ecx, 2
push ecx
push dword [edx]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x150]
push dword [eax]
call fcn.100715e0
mov edx, dword [ebp - 0x150]
add esp, 0x10
mov eax, dword [ebp - 0x148]
mov ecx, dword [ebp - 0x160]
mov dword [edx], eax
mov eax, dword [ebp - 0x158]
mov dword [edx - 4], eax
lea eax, [ecx*4]
mov dword [edx - 8], ecx
push eax
push 0
push dword [edx]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [edi + esi*8 + 0xc], 0
jne 0x10089aa5
mov ecx, dword [edi + esi*8 + 4]
mov eax, dword [edi + esi*8 + 0x10]
add ecx, 0x20
sar ecx, 5
mov dword [ebp - 0x160], ecx
cmp ecx, eax
jle 0x10089a8b
test eax, eax
je 0x10089a1a
cdq
sub eax, edx
mov edx, dword [edi + esi*8 + 0x10]
sar eax, 1
add eax, edx
jmp 0x10089a23
mov edx, dword [edi + esi*8 + 0x10]
mov eax, 8
cmp eax, ecx
mov edi, ecx
cmovg edi, eax
mov eax, edi
mov dword [ebp - 0x158], edi
mov edi, dword [ebp - 0x15c]
cmp eax, edx
jle 0x10089a8b
shl eax, 2
push eax
call fcn.100715b0
mov edx, dword [edi + esi*8 + 0x14]
add esp, 4
mov dword [ebp - 0x148], eax
test edx, edx
je 0x10089a77
mov ecx, dword [edi + esi*8 + 0xc]
shl ecx, 2
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
push dword [edi + esi*8 + 0x14]
call fcn.100715e0
mov eax, dword [ebp - 0x148]
add esp, 0x10
mov ecx, dword [ebp - 0x160]
mov dword [edi + esi*8 + 0x14], eax
mov eax, dword [ebp - 0x158]
mov dword [edi + esi*8 + 0x10], eax
lea eax, [ecx*4]
mov dword [edi + esi*8 + 0xc], ecx
push eax
push 0
push dword [edi + esi*8 + 0x14]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov edx, dword [ebp - 0x150]
mov eax, dword [edx - 0x18]
mov dword [ebp - 0x17c], eax
cmp word [eax], 0
je 0x10089b97
nop
movzx ecx, word [eax + 2]
test cx, cx
je 0x10089b91
movzx edi, word [eax]
cmp edi, ecx
ja 0x10089b78
nop dword [eax + eax]
mov eax, dword [ebp - 0x168]
mov ecx, edi
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov esi, edi
mov ecx, dword [ebp - 0x15c]
sar esi, 5
mov dword [ebp - 0x148], edx
mov eax, dword [ecx + eax*8 + 0x14]
test dword [eax + esi*4], edx
jne 0x10089b5f
mov eax, dword [ebp - 0x150]
push edi
push dword [eax - 0x2c]
call fcn.1012b750
mov edx, dword [ebp - 0x150]
add esp, 8
test eax, eax
je 0x10089b65
inc dword [edx - 0xc]
mov eax, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x15c]
inc dword [ecx + eax*8 + 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x148]
mov edx, dword [ebp - 0x15c]
or dword [eax + esi*4], ecx
mov eax, dword [ebp - 0x168]
mov eax, dword [edx + eax*8 + 0x14]
or dword [eax + esi*4], ecx
inc dword [ebp - 0x164]
mov edx, dword [ebp - 0x150]
mov eax, dword [ebp - 0x17c]
inc edi
movzx eax, word [eax + 2]
cmp edi, eax
jle 0x10089ae0
mov eax, dword [ebp - 0x17c]
add eax, 4
mov dword [ebp - 0x17c], eax
cmp word [eax], 0
jne 0x10089ac0
mov edi, dword [ebp - 0x15c]
add edx, 0x54
sub dword [ebp - 0x154], 1
mov dword [ebp - 0x150], edx
jne 0x10089904
mov esi, dword [ebp - 0x170]
mov eax, dword [ebp - 0x180]
add esi, 0x50
mov dword [ebp - 0x178], esi
mov dword [ebp - 0x154], eax
mov edi, dword [esi - 0x18]
cmp edi, dword [esi - 4]
jle 0x10089c1d
lea eax, [edi*8]
sub eax, edi
shl eax, 2
push eax
call fcn.100715b0
add esp, 4
mov dword [ebp - 0x148], eax
cmp dword [esi], 0
je 0x10089c18
mov ecx, dword [esi - 8]
lea edx, [ecx*8]
sub edx, ecx
shl edx, 2
push edx
push dword [esi]
push eax
call sub.VCRUNTIME140.dll_memcpy
push dword [esi]
call fcn.100715e0
mov eax, dword [ebp - 0x148]
add esp, 0x10
mov dword [esi], eax
mov dword [esi - 4], edi
mov ecx, dword [esi - 0xc]
mov edx, ecx
mov eax, dword [esi - 0x14]
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x158], ecx
lea eax, [ecx + eax*4]
mov dword [ebp - 0x198], eax
cmp ecx, eax
jae 0x10089d1e
mov eax, dword [edx]
mov dword [ebp - 0x148], eax
test eax, eax
je 0x10089d09
xor edi, edi
mov eax, 1
mov ecx, edi
shl eax, cl
test dword [ebp - 0x148], eax
je 0x10089cff
mov ecx, dword [esi - 8]
mov eax, edx
sub eax, dword [ebp - 0x160]
xorps xmm0, xmm0
shl eax, 3
and eax, 0xffffffe0
movq qword [ebp - 0x200], xmm0
add eax, edi
movzx eax, ax
mov dword [ebp - 0x1fc], eax
mov eax, dword [esi - 4]
cmp ecx, eax
jne 0x10089cc8
inc ecx
test eax, eax
je 0x10089cac
cdq
sub eax, edx
mov edx, dword [ebp - 0x178]
sar eax, 1
add eax, dword [edx - 4]
jmp 0x10089cb1
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
lea ecx, [esi - 8]
call fcn.1008ad60
mov edx, dword [ebp - 0x158]
xorps xmm0, xmm0
mov eax, dword [esi - 8]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [ebp - 0x178]
mov eax, dword [eax]
movups xmmword [eax + ecx*4], xmm0
movq xmm0, qword [ebp - 0x200]
movq qword [eax + ecx*4 + 0x10], xmm0
mov dword [eax + ecx*4 + 0x18], 0
inc dword [esi - 8]
mov esi, dword [ebp - 0x178]
inc edi
cmp edi, 0x20
jl 0x10089c54
add edx, 4
mov dword [ebp - 0x158], edx
cmp edx, dword [ebp - 0x198]
jb 0x10089c42
mov eax, dword [esi - 0xc]
test eax, eax
je 0x10089d43
push eax
mov dword [esi - 0x10], 0
mov dword [esi - 0x14], 0
call fcn.100715e0
add esp, 4
mov dword [esi - 0xc], 0
add esi, 0x54
sub dword [ebp - 0x154], 1
mov dword [ebp - 0x178], esi
jne 0x10089bc8
mov esi, dword [ebp - 0x164]
jmp 0x10089d69
xor esi, esi
mov dword [ebp - 0x164], esi
cmp dword [ebp - 0x174], 0
jle 0x10089db2
mov edi, dword [ebp - 0x15c]
mov esi, dword [ebp - 0x174]
add edi, 0x14
mov eax, dword [edi]
test eax, eax
je 0x10089da4
push eax
mov dword [edi - 4], 0
mov dword [edi - 8], 0
call fcn.100715e0
add esp, 4
mov dword [edi], 0
add edi, 0x18
sub esi, 1
jne 0x10089d81
mov esi, dword [ebp - 0x164]
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x10089de7
push eax
mov dword [ebp - 0x1cc], 0
mov dword [ebp - 0x1d0], 0
call fcn.100715e0
add esp, 4
xor eax, eax
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0x1c8], eax
xor eax, eax
mov dword [ebp - 0x1f0], 0
mov dword [ebp - 0x1f4], 0
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x1ec], eax
mov byte [ebp - 4], 6
test esi, esi
jle 0x10089e42
cmp esi, 8
mov edi, esi
mov ecx, 8
cmovl edi, ecx
test edi, edi
jle 0x10089e42
mov eax, edi
shl eax, 4
push eax
call fcn.100715b0
add esp, 4
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x1ec], eax
mov dword [ebp - 0x1f0], edi
mov dword [ebp - 0x1f4], esi
shl esi, 4
push esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov dword [ebp - 0x1a0], 0
mov dword [ebp - 0x1c0], 0
mov dword [ebp - 0x1c4], 0
mov dword [ebp - 0x1bc], 0
push 0x40000
mov byte [ebp - 4], 7
call fcn.100715b0
push 0x20
mov esi, eax
call fcn.100715b0
movss xmm1, dword [0x101a0e2c]
mov ecx, 1
mov dword [ebp - 0x190], eax
add esp, 0x14
mov dword [ebp - 0x1bc], eax
mov edx, 8
mov dword [eax], esi
xor eax, eax
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x1c4], ecx
mov ecx, dword [ebp - 0x180]
mov dword [ebp - 0x1c0], edx
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x1a4], eax
test ecx, ecx
jle 0x1008a492
mov edi, dword [ebp - 0x170]
xor edx, edx
mov esi, dword [ebp - 0x14c]
add edi, 0x18
mov dword [ebp - 0x160], edx
mov dword [ebp - 0x18c], edi
mov dword [ebp - 0x148], ecx
mov ecx, dword [esi + 0x5c]
add ecx, edx
mov edx, dword [edi + 0x20]
test edx, edx
je 0x1008a45f
mov eax, dword [ebp - 0x1a4]
add dword [ebp - 0x1a4], edx
shl eax, 4
add eax, dword [ebp - 0x158]
mov dword [edi + 0x10], eax
movss xmm0, dword [ecx + 0x44]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10089f5b
push ecx
lea eax, [ebp - 0x110]
movss dword [esp], xmm0
push eax
mov byte [ebp - 0x16b], 1
call fcn.1007e570
add esp, 8
jmp 0x10089f62
mov byte [ebp - 0x16b], 0
cmp dword [edi + 0x30], 0
movss xmm0, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
movss dword [ebp - 0x1b8], xmm0
movss xmm0, dword [esi + 0x18]
mov dword [ebp - 0x1b0], eax
movss dword [ebp - 0x1a8], xmm0
mov dword [ebp - 0x1b4], 0
jle 0x1008a45f
xor esi, esi
xor ecx, ecx
mov dword [ebp - 0x1ac], esi
mov dword [ebp - 0x198], ecx
nop dword [eax]
mov eax, dword [edi + 0x38]
add eax, ecx
mov dword [ebp - 0x178], eax
push dword [eax + 0x14]
push dword [edi]
call fcn.1012b750
add esp, 8
test eax, eax
je 0x1008a42b
push dword [edi + 8]
push eax
push dword [edi]
call fcn.1012c0c0
add esp, 0xc
test eax, eax
jne 0x1008a42b
test byte [edi + 4], 0x20
mov eax, dword [edi]
mov esi, dword [eax + 0x54]
je 0x10089ffa
push esi
call fcn.10132ff0
add esp, 4
test byte [edi + 4], 0x40
je 0x1008a009
push esi
call fcn.101330f0
add esp, 4
lea eax, [esi + 0x18]
test eax, eax
je 0x1008a425
mov eax, dword [edi]
push dword [edi + 0xc]
mov esi, dword [eax + 0x54]
push esi
call fcn.1012e350
mov edx, dword [ebp - 0x178]
add esp, 8
test eax, eax
je 0x1008a033
xor edi, edi
jmp 0x1008a087
mov eax, dword [edi]
mov ecx, dword [ebp - 0x18c]
mov edi, dword [eax + 0x54]
mov eax, dword [edi + 0x50]
add edi, 0x4c
mov dword [edx], eax
mov eax, dword [edi]
mov dword [edx + 4], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x64]
mov dword [edx + 8], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x68]
neg eax
mov dword [edx + 0xc], eax
mov eax, dword [esi + 0x40]
add eax, 0x3f
and eax, 0xffffffc0
cdq
and edx, 0x3f
add eax, edx
mov edx, dword [ebp - 0x178]
sar eax, 6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edx + 0x10], xmm0
mov eax, dword [edx + 4]
imul eax, dword [edx]
mov dword [ebp - 0x184], edi
mov dword [ebp - 0x168], eax
add eax, dword [ebp - 0x1a0]
cmp eax, 0x40000
jle 0x1008a18a
push 0x40000
mov dword [ebp - 0x1a0], 0
call fcn.100715b0
mov edx, dword [ebp - 0x164]
mov ecx, eax
mov eax, dword [ebp - 0x1c0]
add esp, 4
mov dword [ebp - 0x188], ecx
cmp edx, eax
jne 0x1008a166
lea esi, [edx + 1]
test eax, eax
je 0x1008a0f3
cdq
sub eax, edx
mov edx, dword [ebp - 0x1c0]
sar eax, 1
add eax, edx
jmp 0x1008a0fe
mov edx, dword [ebp - 0x1c0]
mov eax, 8
cmp eax, esi
cmovg esi, eax
cmp esi, edx
jle 0x1008a166
lea eax, [esi*4]
push eax
call fcn.100715b0
mov edx, dword [ebp - 0x190]
add esp, 4
mov dword [ebp - 0x194], eax
test edx, edx
je 0x1008a14c
mov ecx, dword [ebp - 0x164]
shl ecx, 2
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
push dword [ebp - 0x190]
call fcn.100715e0
mov eax, dword [ebp - 0x194]
add esp, 0x10
mov ecx, dword [ebp - 0x188]
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x1bc], eax
mov eax, esi
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp - 0x164]
mov edx, dword [ebp - 0x190]
mov dword [edx + eax*4], ecx
inc eax
mov edx, dword [ebp - 0x178]
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x1c4], eax
jmp 0x1008a190
mov eax, dword [ebp - 0x164]
mov ecx, dword [ebp - 0x190]
mov esi, dword [ecx + eax*4 - 4]
xor eax, eax
mov ecx, dword [ebp - 0x1a0]
add esi, ecx
add ecx, dword [ebp - 0x168]
cmp byte [ebp - 0x16b], al
mov dword [ebp - 0x1a0], ecx
lea ecx, [ebp - 0x110]
cmove ecx, eax
mov dword [edx + 0x18], esi
mov eax, dword [edx]
mov edx, dword [edi]
mov dword [ebp - 0x168], eax
mov eax, dword [edi + 4]
mov edi, dword [edi + 0xc]
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x194], ecx
mov dword [ebp - 0x174], esi
mov dword [ebp - 0x150], edx
mov ecx, dword [eax + 8]
movzx eax, byte [eax + 0x12]
sub eax, 1
mov dword [ebp - 0x184], ecx
mov ecx, dword [ebp - 0x194]
mov dword [ebp - 0x188], eax
mov eax, dword [ebp - 0x19c]
mov dword [ebp - 0x17c], edi
je 0x1008a2e4
sub dword [ebp - 0x188], 1
jne 0x1008a3b4
test ecx, ecx
jne 0x1008a262
test edx, edx
je 0x1008a3b4
push eax
push edi
push esi
call sub.VCRUNTIME140.dll_memcpy
add edi, dword [ebp - 0x184]
add esp, 0xc
add esi, dword [ebp - 0x168]
sub dword [ebp - 0x150], 1
mov eax, dword [ebp - 0x19c]
jne 0x1008a237
jmp 0x1008a3b4
test edx, edx
je 0x1008a3b4
mov ecx, dword [ebp - 0x168]
test eax, eax
je 0x1008a2c0
mov edx, dword [ebp - 0x19c]
sub edi, esi
mov ecx, esi
mov dword [ebp - 0x188], edi
mov esi, edi
mov edi, dword [ebp - 0x194]
nop dword [eax]
movzx eax, byte [esi + ecx]
lea ecx, [ecx + 1]
mov al, byte [eax + edi]
mov byte [ecx - 1], al
sub edx, 1
jne 0x1008a290
mov esi, dword [ebp - 0x174]
mov edi, dword [ebp - 0x17c]
mov eax, dword [ebp - 0x19c]
mov edx, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x168]
add edi, dword [ebp - 0x184]
add esi, ecx
sub edx, 1
mov dword [ebp - 0x17c], edi
mov dword [ebp - 0x174], esi
mov dword [ebp - 0x150], edx
jne 0x1008a270
jmp 0x1008a3b4
test ecx, ecx
je 0x1008a304
mov al, byte [ecx]
mov cl, byte [ecx + 0xff]
mov byte [ebp - 0x169], al
mov eax, dword [ebp - 0x19c]
mov byte [ebp - 0x16a], cl
jmp 0x1008a312
mov byte [ebp - 0x169], 0
mov byte [ebp - 0x16a], 0xff
test edx, edx
je 0x1008a3b4
mov ecx, dword [ebp - 0x150]
xor edx, edx
mov byte [ebp - 0x141], 0
test eax, eax
je 0x1008a387
nop dword [eax]
mov esi, edx
and esi, 7
jne 0x1008a33f
mov al, byte [edi]
mov byte [ebp - 0x141], al
cmp byte [ebp - 0x141], 0
movzx eax, byte [ebp - 0x16a]
movzx ecx, byte [ebp - 0x169]
cmovl ecx, eax
mov eax, dword [ebp - 0x174]
shl byte [ebp - 0x141], 1
mov byte [eax + edx], cl
inc edx
test esi, esi
lea eax, [edi + 1]
cmovne eax, edi
mov edi, eax
mov eax, dword [ebp - 0x19c]
cmp edx, eax
jb 0x1008a330
mov esi, dword [ebp - 0x174]
mov ecx, dword [ebp - 0x150]
mov edi, dword [ebp - 0x17c]
add edi, dword [ebp - 0x184]
add esi, dword [ebp - 0x168]
sub ecx, 1
mov dword [ebp - 0x17c], edi
mov dword [ebp - 0x174], esi
mov dword [ebp - 0x150], ecx
jne 0x1008a320
mov edx, dword [ebp - 0x178]
mov edi, dword [ebp - 0x18c]
mov esi, dword [ebp - 0x1ac]
mov eax, dword [edx]
add eax, dword [ebp - 0x1b0]
movd xmm0, eax
mov eax, dword [edi + 0x10]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ebp - 0x1b8]
cvttss2si ecx, xmm0
mov word [eax + esi + 4], cx
mov eax, dword [edx + 4]
add eax, dword [ebp - 0x1b0]
movd xmm0, eax
mov eax, dword [edi + 0x10]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ebp - 0x1a8]
cvttss2si ecx, xmm0
mov word [eax + esi + 6], cx
mov eax, dword [edi + 0x10]
movzx ecx, word [eax + esi + 6]
movzx eax, word [eax + esi + 4]
imul ecx, eax
add dword [ebp - 0x154], ecx
jmp 0x1008a42b
mov esi, dword [ebp - 0x1ac]
mov eax, dword [ebp - 0x1b4]
add esi, 0x10
mov ecx, dword [ebp - 0x198]
inc eax
add ecx, 0x1c
mov dword [ebp - 0x1b4], eax
mov dword [ebp - 0x198], ecx
mov dword [ebp - 0x1ac], esi
cmp eax, dword [edi + 0x30]
jl 0x10089fb0
mov esi, dword [ebp - 0x14c]
mov edx, dword [ebp - 0x160]
add edi, 0x54
movss xmm1, dword [0x101a0e2c]
add edx, 0x78
sub dword [ebp - 0x148], 1
mov dword [ebp - 0x18c], edi
mov dword [ebp - 0x160], edx
jne 0x10089f07
mov eax, dword [ebp - 0x154]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov edi, dword [ebp - 0x14c]
mov esi, dword [edi + 0xc]
sqrtss xmm0, xmm0
mov dword [edi + 0x28], 0
cvttss2si eax, xmm0
inc eax
test esi, esi
jg 0x1008a4f1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [0x101aa688]
jb 0x1008a4cd
mov esi, 0x1000
jmp 0x1008a4f1
comiss xmm0, dword [0x101aa684]
jb 0x1008a4dd
mov esi, 0x800
jmp 0x1008a4f1
comiss xmm0, dword [0x101aa680]
mov esi, 0x200
mov eax, 0x400
cmovae esi, eax
mov dword [edi + 0x24], esi
xor eax, eax
sub esi, dword [edi + 0x10]
mov dword [ebp - 0x1d8], 0
mov dword [ebp - 0x1dc], 0
mov dword [ebp - 0x1d4], eax
mov byte [ebp - 4], 8
test esi, esi
jle 0x1008a54e
cmp esi, 8
mov edi, esi
mov ecx, 8
cmovl edi, ecx
test edi, edi
jle 0x1008a548
lea eax, [edi*8]
push eax
call fcn.100715b0
add esp, 4
mov dword [ebp - 0x1d4], eax
mov dword [ebp - 0x1d8], edi
mov edi, dword [ebp - 0x14c]
push esi
push eax
push 0x8000
push dword [edi + 0x24]
lea eax, [ebp - 0x140]
mov dword [ebp - 0x1dc], esi
push eax
call fcn.100882d0
lea eax, [ebp - 0x140]
push eax
push edi
call fcn.1007e5d0
mov esi, dword [ebp - 0x180]
add esp, 0x1c
test esi, esi
jle 0x1008a607
mov esi, dword [ebp - 0x170]
mov eax, dword [ebp - 0x180]
add esi, 0x38
mov dword [ebp - 0x148], eax
nop dword [eax]
mov eax, dword [esi]
test eax, eax
je 0x1008a5ef
push eax
push dword [esi - 0x10]
lea eax, [ebp - 0x140]
push eax
call fcn.10088440
xor edi, edi
add esp, 0xc
cmp dword [esi], edi
jle 0x1008a5ef
xor edx, edx
mov eax, dword [esi - 0x10]
cmp dword [eax + edx + 0xc], 0
je 0x1008a5e7
movzx ecx, word [eax + edx + 0xa]
movzx eax, word [eax + edx + 6]
add ecx, eax
mov eax, dword [ebp - 0x14c]
cmp dword [eax + 0x28], ecx
cmovge ecx, dword [eax + 0x28]
mov dword [eax + 0x28], ecx
inc edi
add edx, 0x10
cmp edi, dword [esi]
jl 0x1008a5c1
add esi, 0x54
sub dword [ebp - 0x148], 1
jne 0x1008a5a0
mov edi, dword [ebp - 0x14c]
mov esi, dword [ebp - 0x180]
test byte [edi + 4], 1
mov eax, dword [edi + 0x28]
jne 0x1008a635
lea ecx, [eax - 1]
mov eax, ecx
sar eax, 1
or ecx, eax
mov eax, ecx
sar eax, 2
or ecx, eax
mov eax, ecx
sar eax, 4
or ecx, eax
mov eax, ecx
sar eax, 8
or ecx, eax
mov eax, ecx
sar eax, 0x10
or eax, ecx
movss xmm1, dword [0x101a0e2c]
lea ecx, [eax + 1]
mov eax, dword [edi + 0x24]
movaps xmm2, xmm1
mov dword [edi + 0x28], ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
imul eax, ecx
divss xmm2, xmm0
push eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x2c], xmm2
divss xmm1, xmm0
movss dword [edi + 0x30], xmm1
call fcn.100715b0
mov ecx, dword [edi + 0x28]
imul ecx, dword [edi + 0x24]
mov dword [edi + 0x1c], eax
push ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
test esi, esi
jle 0x1008aa20
mov eax, dword [ebp - 0x170]
xor ecx, ecx
add eax, 8
mov dword [ebp - 0x184], ecx
mov dword [ebp - 0x154], eax
mov edx, esi
mov dword [ebp - 0x1a4], esi
nop
cmp dword [eax + 0x30], 0
je 0x1008a9ff
mov esi, dword [edi + 0x5c]
sub esp, 8
movss xmm0, dword [eax]
add esi, ecx
movss xmm1, dword [eax - 4]
mov dword [ebp - 0x168], esi
movss dword [esp + 4], xmm0
mov edi, dword [esi + 0x74]
movss dword [esp], xmm1
push esi
push edi
push dword [ebp - 0x14c]
mov dword [ebp - 0x17c], edi
call fcn.1007e780
movss xmm0, dword [edi + 0x4c]
add esp, 0x14
movss xmm4, dword [0x101a0e20]
mov edi, dword [ebp - 0x14c]
addss xmm0, xmm4
movss xmm3, dword [esi + 0x28]
movss dword [ebp - 0x18c], xmm3
mov dword [ebp - 0x1b0], 0
mov edx, dword [edi + 0x10]
cvttss2si eax, xmm0
mov dword [ebp - 0x1a0], edx
movd xmm5, eax
mov eax, dword [ebp - 0x154]
cvtdq2ps xmm5, xmm5
cmp dword [eax + 0x30], 0
addss xmm5, dword [esi + 0x2c]
movss dword [ebp - 0x1ac], xmm5
jle 0x1008a9ec
xor ecx, ecx
xor esi, esi
mov dword [ebp - 0x188], ecx
mov dword [ebp - 0x194], esi
mov edi, dword [eax + 0x48]
mov eax, dword [eax + 0x20]
add edi, esi
add eax, ecx
mov dword [ebp - 0x1b8], edi
movzx ecx, word [eax + 8]
movzx eax, word [eax + 0xa]
add ecx, edx
add eax, edx
mov dword [ebp - 0x198], ecx
mov ecx, dword [edi]
mov dword [ebp - 0x1b4], eax
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x148], ecx
mov ecx, dword [ebp - 0x14c]
mov edx, dword [eax + 0x24]
mov esi, edx
imul esi, dword [ebp - 0x1b4]
mov eax, dword [edi + 0x18]
mov edi, dword [edi + 4]
mov dword [ebp - 0x1a8], edx
mov dword [ebp - 0x160], eax
add esi, dword [ebp - 0x198]
add esi, dword [ecx + 0x1c]
mov ecx, dword [ebp - 0x148]
test edi, edi
jle 0x1008a81e
push ecx
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x160]
dec edi
mov ecx, dword [ebp - 0x148]
add esp, 0xc
add esi, dword [ebp - 0x1a8]
add eax, ecx
mov dword [ebp - 0x160], eax
test edi, edi
jg 0x1008a7d1
mov edi, dword [ebp - 0x14c]
movss xmm3, dword [ebp - 0x18c]
movss xmm4, dword [0x101a0e20]
movss xmm5, dword [ebp - 0x1ac]
mov edx, dword [edi + 0x24]
jmp 0x1008a824
mov edi, dword [ebp - 0x14c]
mov esi, dword [ebp - 0x1b8]
mov ecx, dword [ebp - 0x168]
movss xmm2, dword [esi + 0x10]
movss xmm1, dword [ecx + 0x34]
comiss xmm1, xmm2
movss dword [ebp - 0x148], xmm1
ja 0x1008a86c
movss xmm1, dword [ecx + 0x38]
movaps xmm0, xmm3
minss xmm1, xmm2
ucomiss xmm2, xmm1
movss dword [ebp - 0x148], xmm1
movss dword [ebp - 0x1a8], xmm1
lahf
test ah, 0x44
jnp 0x1008a88c
cmp byte [ecx + 0x1c], 0
movaps xmm0, xmm1
subss xmm0, xmm2
mulss xmm0, xmm4
je 0x1008a888
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, xmm3
movd xmm1, dword [esi + 8]
sub esp, 0x24
mov ecx, dword [esi + 4]
mov eax, dword [esi]
cvtdq2ps xmm1, xmm1
movd xmm6, ecx
addss xmm1, xmm0
movd xmm7, eax
movd xmm0, dword [esi + 0xc]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm6, xmm6
addss xmm0, xmm5
movss dword [ebp - 0x1b8], xmm1
cvtdq2ps xmm7, xmm7
addss xmm6, xmm0
movss dword [ebp - 0x1a8], xmm0
movd xmm0, edx
addss xmm7, xmm1
movss xmm1, dword [0x101a0e2c]
cvtdq2ps xmm0, xmm0
mov edx, dword [ebp - 0x198]
add eax, edx
movaps xmm3, xmm1
movd xmm2, eax
divss xmm3, xmm0
movd xmm0, dword [edi + 0x28]
mov edi, dword [ebp - 0x1b4]
cvtdq2ps xmm0, xmm0
lea eax, [ecx + edi]
mov ecx, dword [ebp - 0x17c]
movd xmm4, edi
divss xmm1, xmm0
movd xmm0, eax
movzx eax, word [esi + 0x14]
cvtdq2ps xmm0, xmm0
movd xmm5, edx
cvtdq2ps xmm4, xmm4
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm5, xmm5
mulss xmm0, xmm1
mulss xmm4, xmm1
movss xmm1, dword [ebp - 0x148]
movss dword [esp + 0x20], xmm1
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [ebp - 0x1a8]
mulss xmm2, xmm3
mulss xmm5, xmm3
movss dword [esp + 0x18], xmm2
movss dword [esp + 0x14], xmm4
movss dword [esp + 0x10], xmm5
movss dword [esp + 0xc], xmm6
movss dword [esp + 8], xmm7
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x1b8]
movss dword [esp], xmm0
push eax
call fcn.1007c170
mov edx, dword [ebp - 0x1b0]
mov eax, dword [ebp - 0x154]
inc edx
mov esi, dword [ebp - 0x194]
mov ecx, dword [ebp - 0x188]
add esi, 0x1c
movss xmm3, dword [ebp - 0x18c]
add ecx, 0x10
cmp edx, dword [eax + 0x30]
movss xmm4, dword [0x101a0e20]
movss xmm5, dword [ebp - 0x1ac]
mov dword [ebp - 0x1b0], edx
mov edx, dword [ebp - 0x1a0]
mov dword [ebp - 0x194], esi
mov dword [ebp - 0x188], ecx
jl 0x1008a764
mov edi, dword [ebp - 0x14c]
mov ecx, dword [ebp - 0x184]
mov edx, dword [ebp - 0x1a4]
mov dword [eax + 0x20], 0
add eax, 0x54
add ecx, 0x78
sub edx, 1
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x184], ecx
mov dword [ebp - 0x1a4], edx
jne 0x1008a6b0
mov edi, dword [ebp - 0x164]
xor esi, esi
test edi, edi
jle 0x1008aa46
nop dword [eax]
mov eax, dword [ebp - 0x190]
push dword [eax + esi*4]
call fcn.100715e0
inc esi
add esp, 4
cmp esi, edi
jl 0x1008aa30
mov edi, dword [ebp - 0x180]
test edi, edi
jle 0x1008aaad
mov esi, dword [ebp - 0x170]
add esi, 0x18
nop dword [eax]
mov eax, dword [esi + 0x38]
mov byte [ebp - 4], 9
test eax, eax
je 0x1008aa74
push eax
call fcn.100715e0
add esp, 4
mov eax, dword [esi + 0x2c]
mov byte [ebp - 4], 0xa
test eax, eax
je 0x1008aa88
push eax
call fcn.100715e0
add esp, 4
mov eax, dword [esi]
mov byte [ebp - 4], 0xb
test eax, eax
je 0x1008aaa1
push eax
call fcn.1012b2d0
add esp, 4
mov dword [esi], 0
add esi, 0x54
mov byte [ebp - 4], 8
sub edi, 1
jne 0x1008aa60
push dword [ebp - 0x14c]
call fcn.1007e2b0
add esp, 4
mov byte [ebp - 0x141], 1
mov eax, dword [ebp - 0x1d4]
mov byte [ebp - 4], 0xc
test eax, eax
je 0x1008aad9
push eax
call fcn.100715e0
add esp, 4
mov eax, dword [ebp - 0x190]
mov byte [ebp - 4], 0xd
test eax, eax
je 0x1008aaf0
push eax
call fcn.100715e0
add esp, 4
mov eax, dword [ebp - 0x158]
mov byte [ebp - 4], 0xe
test eax, eax
je 0x1008ab07
push eax
call fcn.100715e0
add esp, 4
mov eax, dword [ebp - 0x15c]
mov byte [ebp - 4], 0xf
test eax, eax
je 0x1008ab1e
push eax
call fcn.100715e0
add esp, 4
mov eax, dword [ebp - 0x170]
mov dword [ebp - 4], 0x10
test eax, eax
je 0x1008ab38
push eax
call fcn.100715e0
add esp, 4
mov al, byte [ebp - 0x141]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10184b39
mov esp, ebp
pop ebp
ret