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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov eax, dword [0x10273240]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x140], esi
cmp dword [esi + 0x60], 0
jge 0x10023620
test byte [esi + 4], 2
lea eax, [ebp - 0x178]
mov dword [ebp - 0x170], 0xffffffff
lea ecx, [esi + 0x48]
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x178], 0x80000000
push eax
mov dword [ebp - 0x174], 0x1b00d9
je 0x10023614
mov dword [ebp - 0x174], 0x20002
call fcn.100270e0
mov eax, dword [esi + 0x48]
dec eax
mov dword [esi + 0x60], eax
mov eax, dword [esi + 0x1c]
mov dword [esi + 8], 0
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
test eax, eax
je 0x10023661
push eax
call fcn.10016020
add esp, 4
mov eax, dword [esi + 0x20]
test eax, eax
je 0x10023671
push eax
call fcn.10016020
add esp, 4
mov ecx, dword [esi + 0x54]
xor edi, edi
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x134], edi
lea edx, [edi + 8]
mov dword [ebp - 0x148], ecx
test ecx, ecx
jle 0x100236c4
cmp ecx, edx
mov eax, ecx
cmovl eax, edx
test eax, eax
jle 0x100236c4
imul eax, eax, 0xc4
push eax
call fcn.10015ff0
add esp, 4
mov dword [ebp - 0x144], eax
lea edx, [edi + 8]
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0x128], eax
test eax, eax
jle 0x100236f4
cmp eax, 8
mov ecx, eax
cmovl ecx, edx
test ecx, ecx
jle 0x100236f4
lea eax, [ecx + ecx*2]
shl eax, 3
push eax
call fcn.10015ff0
add esp, 4
mov dword [ebp - 0x134], eax
mov edi, eax
imul ecx, dword [ebp - 0x148], 0xc4
push ecx
push 0
push dword [ebp - 0x144]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x128]
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 - 0x110], 0
cmp dword [esi + 0x54], 0
jle 0x10023896
mov eax, dword [ebp - 0x144]
xor edx, edx
add eax, 0xa4
mov dword [ebp - 0x118], edx
mov dword [ebp - 0x11c], eax
mov ecx, dword [esi + 0x5c]
add ecx, edx
mov dword [eax - 4], 0xffffffff
xor edx, edx
mov dword [ebp - 0x12c], ecx
cmp dword [esi + 0x3c], edx
jle 0x10023907
mov edi, dword [ebp - 0x11c]
or eax, 0xffffffff
mov ecx, eax
cmp eax, 0xffffffff
jne 0x100237a1
mov eax, dword [ebp - 0x12c]
mov ecx, dword [esi + 0x44]
mov eax, dword [eax + 0x74]
cmp eax, dword [ecx + edx*4]
jne 0x10023796
mov dword [edi - 4], edx
mov eax, edx
jmp 0x10023799
or eax, 0xffffffff
inc edx
mov ecx, eax
cmp edx, dword [esi + 0x3c]
jl 0x10023777
mov edi, dword [ebp - 0x134]
cmp ecx, 0xffffffff
je 0x10023907
mov eax, dword [ebp - 0x12c]
push dword [eax + 0xc]
mov esi, dword [eax]
push esi
call fcn.1002d9a0
mov ecx, dword [ebp - 0x11c]
push eax
add ecx, 0xffffff5c
push esi
push ecx
mov dword [ebp - 0x114], ecx
call fcn.10027e70
add esp, 0x14
test eax, eax
je 0x10023907
mov eax, dword [ebp - 0x114]
mov edx, 0x1016e240
mov esi, dword [ebp - 0x11c]
mov eax, dword [eax + 0xa0]
lea ecx, [eax + eax*2]
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x10c], ecx
mov eax, dword [eax + 0x30]
test eax, eax
cmovne edx, eax
mov dword [esi - 8], edx
cmp word [edx], 0
je 0x10023841
nop dword [eax]
movzx eax, word [edx + 2]
test ax, ax
je 0x1002383b
mov ecx, eax
cmp dword [esi], ecx
cmovge ecx, dword [esi]
add edx, 4
mov dword [esi], ecx
cmp word [edx], 0
jne 0x10023820
mov ecx, dword [ebp - 0x10c]
mov edx, dword [ebp - 0x10c]
inc dword [edi + ecx*8]
mov ecx, dword [esi]
mov eax, dword [ebp - 0x110]
cmp dword [edi + edx*8 + 4], ecx
cmovge ecx, dword [edi + edx*8 + 4]
add esi, 0xc4
mov dword [ebp - 0x11c], esi
inc eax
mov esi, dword [ebp - 0x140]
mov dword [edi + edx*8 + 4], ecx
mov edx, dword [ebp - 0x118]
add edx, 0x78
mov dword [ebp - 0x110], eax
cmp eax, dword [esi + 0x54]
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x118], edx
jl 0x10023751
mov eax, dword [ebp - 0x148]
xor esi, esi
mov dword [ebp - 0x11c], esi
test eax, eax
jle 0x10023d4a
mov edx, dword [ebp - 0x144]
add edx, 0xb4
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x108], 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 - 0x118], ecx
mov eax, dword [edx - 4]
mov dword [ebp - 0x12c], esi
mov dword [ebp - 0x114], eax
cmp ecx, eax
jle 0x1002398b
test eax, eax
je 0x10023913
cdq
sub eax, edx
mov edx, dword [ebp - 0x108]
sar eax, 1
add eax, dword [ebp - 0x114]
jmp 0x10023918
mov byte [ebp - 0x12d], 0
jmp 0x10024cb1
mov eax, 8
cmp eax, ecx
mov edi, ecx
cmovg edi, eax
mov eax, edi
mov dword [ebp - 0x10c], edi
mov edi, dword [ebp - 0x134]
cmp eax, dword [edx - 4]
jle 0x1002398b
shl eax, 2
push eax
call fcn.10015ff0
mov edx, dword [ebp - 0x108]
add esp, 4
mov dword [ebp - 0x114], eax
cmp dword [edx], 0
je 0x1002397a
mov ecx, dword [edx - 8]
shl ecx, 2
push ecx
push dword [edx]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x108]
push dword [eax]
call fcn.10016020
mov edx, dword [ebp - 0x108]
add esp, 0x10
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x118]
mov dword [edx], eax
mov eax, dword [ebp - 0x10c]
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 0x10023a65
mov ecx, dword [edi + esi*8 + 4]
mov eax, dword [edi + esi*8 + 0x10]
add ecx, 0x20
sar ecx, 5
mov dword [ebp - 0x118], ecx
cmp ecx, eax
jle 0x10023a4b
test eax, eax
je 0x100239da
cdq
sub eax, edx
mov edx, dword [edi + esi*8 + 0x10]
sar eax, 1
add eax, edx
jmp 0x100239e3
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 - 0x10c], edi
mov edi, dword [ebp - 0x134]
cmp eax, edx
jle 0x10023a4b
shl eax, 2
push eax
call fcn.10015ff0
mov edx, dword [edi + esi*8 + 0x14]
add esp, 4
mov dword [ebp - 0x114], eax
test edx, edx
je 0x10023a37
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.10016020
mov eax, dword [ebp - 0x114]
add esp, 0x10
mov ecx, dword [ebp - 0x118]
mov dword [edi + esi*8 + 0x14], eax
mov eax, dword [ebp - 0x10c]
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 - 0x108]
mov eax, dword [edx - 0x18]
mov dword [ebp - 0x124], eax
cmp word [eax], 0
je 0x10023b5a
nop
movzx ecx, word [eax + 2]
test cx, cx
je 0x10023b54
movzx edi, word [eax]
cmp edi, ecx
ja 0x10023b3b
nop dword [eax + eax]
mov eax, dword [ebp - 0x12c]
mov ecx, edi
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov esi, edi
mov ecx, dword [ebp - 0x134]
sar esi, 5
mov dword [ebp - 0x114], edx
mov eax, dword [ecx + eax*8 + 0x14]
test dword [eax + esi*4], edx
jne 0x10023b22
mov eax, dword [ebp - 0x108]
add eax, 0xffffff4c
push edi
push eax
call fcn.1002d6a0
mov edx, dword [ebp - 0x108]
add esp, 8
test eax, eax
je 0x10023b28
inc dword [edx - 0xc]
mov eax, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x134]
inc dword [ecx + eax*8 + 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x114]
mov edx, dword [ebp - 0x134]
or dword [eax + esi*4], ecx
mov eax, dword [ebp - 0x12c]
mov eax, dword [edx + eax*8 + 0x14]
or dword [eax + esi*4], ecx
inc dword [ebp - 0x11c]
mov edx, dword [ebp - 0x108]
mov eax, dword [ebp - 0x124]
inc edi
movzx eax, word [eax + 2]
cmp edi, eax
jbe 0x10023aa0
mov eax, dword [ebp - 0x124]
add eax, 4
mov dword [ebp - 0x124], eax
cmp word [eax], 0
jne 0x10023a80
mov edi, dword [ebp - 0x134]
add edx, 0xc4
sub dword [ebp - 0x110], 1
mov dword [ebp - 0x108], edx
jne 0x100238c4
mov esi, dword [ebp - 0x144]
mov eax, dword [ebp - 0x148]
add esi, 0xb8
mov dword [ebp - 0x13c], eax
nop dword [eax + eax]
mov edi, dword [esi - 0x10]
cmp edi, dword [esi + 4]
jle 0x10023bd9
lea eax, [edi*4]
push eax
call fcn.10015ff0
mov edx, dword [esi + 8]
add esp, 4
mov dword [ebp - 0x114], eax
test edx, edx
je 0x10023bd3
mov ecx, dword [esi]
shl ecx, 2
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
push dword [esi + 8]
call fcn.10016020
mov eax, dword [ebp - 0x114]
add esp, 0x10
mov dword [esi + 8], eax
mov dword [esi + 4], edi
mov ecx, dword [esi - 4]
mov eax, dword [esi - 0xc]
mov dword [ebp - 0x110], ecx
lea eax, [ecx + eax*4]
mov dword [ebp - 0x120], eax
cmp ecx, eax
jae 0x10023d04
xor eax, eax
mov dword [ebp - 0x118], eax
nop
mov edx, dword [ecx]
mov dword [ebp - 0x124], edx
test edx, edx
je 0x10023ce6
xor ecx, ecx
mov edi, 1
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0x12c], edi
test edi, edx
je 0x10023cc8
and eax, 0xffffffe0
add eax, ecx
mov ecx, dword [esi + 4]
mov dword [ebp - 0x14c], eax
mov eax, dword [esi]
cmp eax, ecx
jne 0x10023ca6
lea edi, [eax + 1]
test ecx, ecx
je 0x10023c51
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x10023c56
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x10023ca0
lea eax, [edi*4]
push eax
call fcn.10015ff0
mov edx, dword [esi + 8]
add esp, 4
mov dword [ebp - 0x114], eax
test edx, edx
je 0x10023c9a
mov ecx, dword [esi]
shl ecx, 2
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
push dword [esi + 8]
call fcn.10016020
mov eax, dword [ebp - 0x114]
add esp, 0x10
mov dword [esi + 8], eax
mov dword [esi + 4], edi
mov edi, dword [ebp - 0x12c]
mov ecx, dword [esi]
mov eax, dword [esi + 8]
mov edx, dword [ebp - 0x14c]
mov dword [eax + ecx*4], edx
inc dword [esi]
mov ecx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0x118]
mov edx, dword [ebp - 0x124]
inc ecx
rol edi, 1
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0x12c], edi
cmp ecx, 0x20
jl 0x10023c23
mov ecx, dword [ebp - 0x110]
add ecx, 4
add eax, 0x20
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x118], eax
cmp ecx, dword [ebp - 0x120]
jb 0x10023c00
mov eax, dword [esi - 4]
test eax, eax
je 0x10023d29
push eax
mov dword [esi - 8], 0
mov dword [esi - 0xc], 0
call fcn.10016020
add esp, 4
mov dword [esi - 4], 0
add esi, 0xc4
sub dword [ebp - 0x13c], 1
jne 0x10023b90
mov edi, dword [ebp - 0x134]
mov esi, dword [ebp - 0x11c]
jmp 0x10023d52
xor esi, esi
mov dword [ebp - 0x11c], esi
cmp dword [ebp - 0x128], 0
jle 0x10023da7
mov esi, dword [ebp - 0x128]
lea eax, [edi + 0x14]
mov dword [ebp - 0x114], eax
mov edi, eax
nop dword [eax]
mov eax, dword [edi]
test eax, eax
je 0x10023d93
push eax
mov dword [edi - 4], 0
mov dword [edi - 8], 0
call fcn.10016020
add esp, 4
mov dword [edi], 0
add edi, 0x18
sub esi, 1
jne 0x10023d70
mov edi, dword [ebp - 0x134]
mov esi, dword [ebp - 0x11c]
test edi, edi
je 0x10023dbe
push edi
call fcn.10016020
add esp, 4
mov dword [ebp - 0x134], 0
xor edi, edi
mov dword [ebp - 0x11c], edi
mov dword [ebp - 0x12c], edi
test esi, esi
jle 0x10023e1c
cmp esi, 8
mov eax, esi
mov ecx, 8
cmovl eax, ecx
test eax, eax
jle 0x10023e24
shl eax, 4
push eax
call fcn.10015ff0
mov edi, eax
mov dword [ebp - 0x11c], eax
cmp esi, 8
mov eax, 8
mov edx, esi
cmovl edx, eax
lea ecx, [edx*8]
sub ecx, edx
shl ecx, 2
push ecx
call fcn.10015ff0
add esp, 8
mov dword [ebp - 0x12c], eax
jmp 0x10023e24
xor edi, edi
mov dword [ebp - 0x11c], edi
mov eax, esi
shl eax, 4
push eax
push 0
push edi
call sub.VCRUNTIME140.dll_memset
lea eax, [esi*8]
sub eax, esi
shl eax, 2
push eax
push 0
push dword [ebp - 0x12c]
call sub.VCRUNTIME140.dll_memset
mov edx, dword [ebp - 0x148]
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x124], eax
add esp, 0x18
mov dword [ebp - 0x120], ecx
xor edi, edi
test edx, edx
jle 0x1002414c
mov esi, dword [ebp - 0x144]
add esi, 0x98
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x10c], esi
mov dword [ebp - 0x108], edx
nop dword [eax]
mov edx, dword [esi + 0x10]
test edx, edx
je 0x1002412c
mov eax, ecx
add dword [ebp - 0x120], edx
mov ecx, dword [ebp - 0x12c]
shl eax, 4
add eax, dword [ebp - 0x11c]
mov dword [esi - 4], eax
lea eax, [edi*8]
sub eax, edi
add edi, edx
mov dword [ebp - 0x14c], edi
lea ecx, [ecx + eax*4]
mov eax, dword [ebp - 0x140]
mov dword [esi], ecx
mov edi, dword [eax + 0x5c]
add edi, dword [ebp - 0x128]
mov dword [ebp - 0x114], edi
mov eax, dword [edi + 0x10]
mov dword [esi - 0x1c], eax
mov eax, dword [esi + 0x28]
mov dword [esi - 0x14], eax
mov eax, dword [esi + 0x20]
mov dword [esi - 0x18], 0
mov dword [esi - 0x10], eax
mov dword [esi - 0xc], ecx
mov al, byte [edi + 0x14]
mov byte [esi - 8], al
mov al, byte [edi + 0x18]
mov byte [esi - 7], al
movss xmm0, dword [edi + 0x10]
comiss xmm0, dword [0x1016a600]
jbe 0x10023f70
mov edi, dword [esi - 0x7c]
mov eax, 0x100
mov esi, dword [esi - 0x94]
cwde
movzx ecx, byte [edi + esi + 6]
movzx edx, byte [edi + esi + 7]
movsx ecx, cx
imul ecx, eax
mov eax, 0x100
cwde
add dx, cx
movzx ecx, byte [edi + esi + 4]
movsx ecx, cx
imul ecx, eax
movzx eax, byte [edi + esi + 5]
mov edi, dword [ebp - 0x114]
mov esi, dword [ebp - 0x10c]
movsx edx, dx
add cx, ax
movss xmm1, dword [edi + 0x10]
movsx eax, cx
sub eax, edx
movd xmm0, eax
jmp 0x10023f99
mov edx, dword [esi - 0x84]
movaps xmm1, xmm0
mov eax, dword [esi - 0x94]
xorps xmm1, xmmword [0x1016a770]
movzx ecx, byte [edx + eax + 0x13]
movzx eax, byte [edx + eax + 0x12]
shl eax, 8
add ecx, eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mov eax, dword [ebp - 0x140]
mov ecx, dword [eax + 0x10]
divss xmm1, xmm0
mov dword [ebp - 0x10c], ecx
xor ecx, ecx
mov dword [ebp - 0x110], ecx
movss xmm0, dword [eax + 0x14]
movss dword [ebp - 0x114], xmm0
movss xmm0, dword [eax + 0x18]
movss dword [ebp - 0x13c], xmm1
movss dword [ebp - 0x138], xmm0
cmp dword [esi + 0x20], ecx
jle 0x1002411a
mov dword [ebp - 0x118], ecx
lea edx, [esi - 0x98]
nop
mov eax, dword [esi + 0x28]
push dword [eax + ecx*4]
push edx
call fcn.1002d6a0
movd xmm0, dword [edi + 0x18]
lea ecx, [ebp - 0x15c]
add esp, 8
cvtdq2ps xmm0, xmm0
push ecx
lea ecx, [ebp - 0x154]
push ecx
lea ecx, [ebp - 0x158]
mulss xmm0, xmm1
push ecx
lea ecx, [ebp - 0x150]
push ecx
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
movss dword [esp + 4], xmm0
movd xmm0, dword [edi + 0x14]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp], xmm0
push eax
lea eax, [esi - 0x98]
push eax
call fcn.1002da30
mov eax, dword [edi + 0x14]
add esp, 0x28
sub eax, dword [ebp - 0x150]
add eax, dword [ebp - 0x154]
mov ecx, dword [ebp - 0x10c]
mov edx, dword [ebp - 0x118]
dec ecx
add eax, ecx
movss xmm1, dword [ebp - 0x13c]
movd xmm0, eax
mov eax, dword [esi - 4]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ebp - 0x114]
cvttss2si ecx, xmm0
mov word [edx + eax + 4], cx
mov eax, dword [edi + 0x18]
sub eax, dword [ebp - 0x158]
add eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0x10c]
dec ecx
add eax, ecx
movd xmm0, eax
mov eax, dword [esi - 4]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ebp - 0x138]
cvttss2si ecx, xmm0
mov word [edx + eax + 6], cx
mov eax, dword [esi - 4]
movzx ecx, word [edx + eax + 6]
movzx eax, word [edx + eax + 4]
add edx, 0x10
imul ecx, eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x118], edx
lea edx, [esi - 0x98]
add eax, ecx
mov ecx, dword [ebp - 0x110]
inc ecx
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x110], ecx
cmp ecx, dword [esi + 0x20]
jl 0x10023ff0
jmp 0x10024120
mov eax, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x120]
mov edi, dword [ebp - 0x14c]
add dword [ebp - 0x128], 0x78
add esi, 0xc4
sub dword [ebp - 0x108], 1
mov dword [ebp - 0x10c], esi
jne 0x10023e90
movd xmm0, eax
sub esp, 8
cvtdq2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
mov edi, dword [ebp - 0x140]
add esp, 8
fstp dword [ebp - 0x138]
cvttss2si ecx, dword [ebp - 0x138]
mov eax, dword [edi + 0xc]
mov dword [edi + 0x28], 0
inc ecx
test eax, eax
jg 0x100241f2
movss xmm0, dword [0x1016e27c]
movss xmm2, dword [0x1016a640]
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm2
comiss xmm1, xmm0
jb 0x100241b0
mov eax, 0x1000
jmp 0x100241f2
movss xmm0, dword [0x1016e278]
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm2
comiss xmm1, xmm0
jb 0x100241cf
mov eax, 0x800
jmp 0x100241f2
movss xmm0, dword [0x1016e274]
mov eax, 0x200
movd xmm1, ecx
mov ecx, 0x400
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm2
comiss xmm1, xmm0
cmovae eax, ecx
push 0x2c
mov dword [edi + 0x24], eax
lea eax, [ebp - 0x188]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x110], eax
mov eax, dword [edi + 0x24]
push 0x30
mov dword [ebp - 0x10c], eax
call fcn.10015ff0
mov esi, eax
mov eax, dword [ebp - 0x10c]
sub eax, dword [ebp - 0x110]
mov dword [ebp - 0x108], esi
mov dword [ebp - 0x138], eax
lea ecx, [eax*8]
push ecx
call fcn.10015ff0
add esp, 0x14
test esi, esi
je 0x100242b7
test eax, eax
je 0x100242b4
mov ecx, dword [ebp - 0x10c]
mov edx, dword [ebp - 0x110]
mov dword [ebp - 0x180], ecx
mov dword [ebp - 0x178], ecx
mov ecx, dword [ebp - 0x138]
push ecx
push eax
mov dword [ebp - 0x160], eax
mov eax, 0x8000
sub eax, edx
mov dword [ebp - 0x184], esi
push eax
push ecx
push esi
mov dword [ebp - 0x174], edx
mov dword [ebp - 0x16c], 1
mov dword [ebp - 0x168], 1
mov dword [ebp - 0x170], 0
call fcn.1002d340
add esp, 0x14
jmp 0x100242d0
push esi
jmp 0x100242bc
test eax, eax
je 0x100242c4
push eax
call fcn.10016020
add esp, 4
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x108], eax
mov esi, dword [edi + 0x48]
xor eax, eax
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x128], esi
test esi, esi
jle 0x10024308
cmp esi, 8
mov ecx, esi
mov edx, 8
cmovl ecx, edx
test ecx, ecx
jle 0x10024308
shl ecx, 4
push ecx
call fcn.10015ff0
add esp, 4
mov dword [ebp - 0x120], eax
mov ecx, esi
shl ecx, 4
push ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [edi + 0x48], 0
jle 0x1002435a
mov edx, dword [ebp - 0x120]
xor ecx, ecx
add edx, 6
xor esi, esi
nop dword [eax]
mov eax, dword [edi + 0x50]
lea ecx, [ecx + 0x1c]
inc esi
lea edx, [edx + 0x10]
movzx eax, word [ecx + eax - 0x18]
mov word [edx - 0x12], ax
mov eax, dword [edi + 0x50]
movzx eax, word [ecx + eax - 0x16]
mov word [edx - 0x10], ax
cmp esi, dword [edi + 0x48]
jl 0x10024330
mov esi, dword [ebp - 0x128]
push esi
push dword [ebp - 0x120]
push dword [ebp - 0x108]
call fcn.1002d4b0
add esp, 0xc
test esi, esi
jle 0x100243cb
mov edx, dword [ebp - 0x120]
xor esi, esi
mov eax, dword [ebp - 0x128]
add edx, 0xa
cmp dword [edx + 2], 0
je 0x100243ba
mov ecx, dword [edi + 0x50]
movzx eax, word [edx - 2]
mov word [esi + ecx + 8], ax
mov ecx, dword [edi + 0x50]
movzx eax, word [edx]
mov word [esi + ecx + 0xa], ax
movzx eax, word [edx]
movzx ecx, word [edx - 4]
add ecx, eax
mov eax, dword [ebp - 0x128]
cmp dword [edi + 0x28], ecx
cmovge ecx, dword [edi + 0x28]
mov dword [edi + 0x28], ecx
add esi, 0x1c
add edx, 0x10
sub eax, 1
mov dword [ebp - 0x128], eax
jne 0x10024384
mov eax, dword [ebp - 0x120]
test eax, eax
je 0x100243de
push eax
call fcn.10016020
add esp, 4
mov esi, dword [ebp - 0x148]
test esi, esi
jle 0x10024479
mov esi, dword [ebp - 0x144]
mov eax, dword [ebp - 0x148]
add esi, 0xa8
mov dword [ebp - 0x110], eax
mov eax, dword [esi]
test eax, eax
je 0x10024464
push eax
push dword [esi - 0x14]
push dword [ebp - 0x108]
call fcn.1002d4b0
xor ecx, ecx
add esp, 0xc
mov dword [ebp - 0x10c], ecx
cmp dword [esi], ecx
jle 0x10024464
xor edx, edx
nop word [eax + eax]
mov eax, dword [esi - 0x14]
cmp dword [eax + edx + 0xc], 0
je 0x10024456
movzx ecx, word [eax + edx + 0xa]
movzx eax, word [eax + edx + 6]
add ecx, eax
cmp dword [edi + 0x28], ecx
cmovge ecx, dword [edi + 0x28]
mov dword [edi + 0x28], ecx
mov ecx, dword [ebp - 0x10c]
inc ecx
add edx, 0x10
mov dword [ebp - 0x10c], ecx
cmp ecx, dword [esi]
jl 0x10024430
add esi, 0xc4
sub dword [ebp - 0x110], 1
jne 0x10024404
mov esi, dword [ebp - 0x148]
test byte [edi + 4], 1
mov eax, dword [edi + 0x28]
jne 0x100244a7
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 [0x1016a658]
lea ecx, [eax + 1]
mov eax, dword [edi + 0x24]
movaps xmm2, xmm1
mov dword [edi + 0x28], ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
imul ecx, eax
divss xmm1, xmm0
push ecx
movss dword [edi + 0x2c], xmm2
movss dword [edi + 0x30], xmm1
call fcn.10015ff0
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
mov eax, dword [edi + 0x1c]
add esp, 0x10
mov dword [ebp - 0x164], eax
mov eax, dword [edi + 0x28]
mov dword [ebp - 0x17c], eax
test esi, esi
jle 0x100246d6
mov ecx, dword [ebp - 0x144]
xor eax, eax
mov dword [ebp - 0x118], eax
mov edx, esi
mov dword [ebp - 0x108], ecx
mov dword [ebp - 0x13c], esi
mov esi, dword [edi + 0x5c]
add esi, eax
cmp dword [ecx + 0xa8], 0
mov dword [ebp - 0x138], esi
je 0x100246a0
push dword [ecx + 0x94]
lea eax, [ecx + 0x7c]
push 1
push eax
push ecx
lea eax, [ebp - 0x188]
push eax
call fcn.1002df40
movss xmm0, dword [esi + 0x44]
add esp, 0x14
ucomiss xmm0, dword [0x1016a658]
lahf
test ah, 0x44
jnp 0x10024684
mov edi, dword [ebp - 0x138]
xor esi, esi
movd xmm0, esi
mov eax, esi
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1016a750]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [edi + 0x44]
call fcn.10106b60
mov edx, 0xff
movzx ecx, al
cmp eax, edx
cmovbe edx, ecx
mov byte [ebp + esi - 0x104], dl
inc esi
cmp esi, 0x100
jb 0x10024582
mov ecx, dword [ebp - 0x108]
xor eax, eax
mov edi, dword [ebp - 0x140]
mov dword [ebp - 0x124], eax
mov edx, dword [ecx + 0x94]
cmp dword [ecx + 0xa8], eax
jle 0x1002468a
lea ecx, [edx + 4]
mov edx, dword [ebp - 0x108]
mov dword [ebp - 0x110], ecx
cmp dword [ecx + 8], 0
je 0x10024668
mov eax, dword [edi + 0x24]
movzx edx, word [ecx + 6]
movzx esi, word [ecx]
imul edx, eax
mov dword [ebp - 0x10c], eax
movzx eax, word [ecx + 4]
add edx, eax
add edx, dword [edi + 0x1c]
movzx edi, word [ecx + 2]
test edi, edi
je 0x10024656
mov eax, dword [ebp - 0x10c]
xor ecx, ecx
test esi, esi
je 0x10024649
nop
movzx eax, byte [ecx + edx]
mov al, byte [ebp + eax - 0x104]
mov byte [ecx + edx], al
inc ecx
cmp ecx, esi
jl 0x10024630
mov eax, dword [ebp - 0x10c]
dec edi
add edx, eax
test edi, edi
jg 0x10024628
mov ecx, dword [ebp - 0x110]
mov edx, dword [ebp - 0x108]
mov eax, dword [ebp - 0x124]
mov edi, dword [ebp - 0x140]
inc eax
add ecx, 0x10
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x110], ecx
cmp eax, dword [edx + 0xa8]
jl 0x100245f8
mov ecx, dword [ebp - 0x108]
mov eax, dword [ebp - 0x118]
mov edx, dword [ebp - 0x13c]
mov dword [ecx + 0x94], 0
add eax, 0x78
add ecx, 0xc4
sub edx, 1
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x108], ecx
mov dword [ebp - 0x13c], edx
jne 0x10024530
mov eax, dword [ebp - 0x184]
mov esi, dword [ebp - 0x148]
mov dword [ebp - 0x108], eax
push dword [ebp - 0x160]
call fcn.10016020
push dword [ebp - 0x108]
call fcn.10016020
mov eax, dword [ebp - 0x11c]
add esp, 8
test eax, eax
je 0x1002470c
push eax
call fcn.10016020
add esp, 4
mov dword [ebp - 0x11c], 0
test esi, esi
jle 0x10024c75
mov esi, dword [ebp - 0x144]
xor ecx, ecx
mov eax, dword [ebp - 0x148]
add esi, 4
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x118], esi
mov dword [ebp - 0x10c], eax
nop word [eax + eax]
cmp dword [esi + 0xa4], 0
je 0x10024c0f
mov eax, dword [edi + 0x5c]
xorps xmm3, xmm3
mov edi, dword [esi + 0x18]
add eax, ecx
mov esi, dword [esi]
mov dword [ebp - 0x120], eax
mov eax, dword [eax + 0x74]
movzx ecx, byte [edi + esi + 4]
mov dword [ebp - 0x124], eax
mov eax, 0x100
cwde
movzx edx, byte [edi + esi + 7]
movsx ecx, cx
imul ecx, eax
movzx eax, byte [edi + esi + 5]
add cx, ax
movsx eax, cx
movzx ecx, byte [edi + esi + 6]
mov dword [ebp - 0x138], eax
mov eax, 0x100
cwde
movsx ecx, cx
imul ecx, eax
add dx, cx
mov ecx, dword [ebp - 0x138]
movsx edx, dx
mov eax, ecx
sub eax, edx
movd xmm0, eax
mov eax, dword [ebp - 0x120]
cvtdq2ps xmm0, xmm0
movss xmm2, dword [eax + 0x10]
xor eax, eax
divss xmm2, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm3
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
seta al
lea eax, [eax*2 - 1]
movd xmm1, eax
xor eax, eax
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm2
addss xmm1, xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
cvttss2si esi, xmm1
comiss xmm0, xmm3
movd xmm0, edx
mov edx, dword [ebp - 0x124]
seta al
cvtdq2ps xmm0, xmm0
lea ecx, [edx + 0x3c]
lea eax, [eax*2 - 1]
mov dword [ebp - 0x128], ecx
lea ecx, [edx + 0x38]
movd xmm1, eax
lea eax, [edx + 0x4c]
cvtdq2ps xmm1, xmm1
mov dword [ebp - 0x108], ecx
mov ecx, dword [ebp - 0x120]
mov dword [ebp - 0x138], eax
mulss xmm0, xmm2
cmp byte [ecx + 0x3c], 0
addss xmm1, xmm0
cvttss2si edi, xmm1
jne 0x100248a8
mov ecx, edx
call fcn.10022df0
mov ecx, dword [ebp - 0x120]
mov edx, dword [ebp - 0x124]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov eax, dword [ecx + 0x10]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x128]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x108]
mov eax, dword [ebp - 0x140]
mov dword [ecx], eax
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x120]
movss dword [eax], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
movss dword [edx + 0x50], xmm0
jmp 0x100248c0
mov esi, dword [ebp - 0x128]
mov dword [ebp - 0x128], esi
mov esi, dword [ebp - 0x108]
mov dword [ebp - 0x108], esi
movss xmm0, dword [eax]
movss xmm2, dword [0x1016a630]
inc word [edx + 0x40]
addss xmm0, xmm2
mov esi, dword [ebp - 0x118]
movss xmm3, dword [ecx + 0x28]
mov edi, dword [ebp - 0x140]
movss dword [ebp - 0x1a4], xmm3
cmp dword [esi + 0xa4], 0
cvttss2si eax, xmm0
mov dword [ebp - 0x14c], 0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ecx + 0x2c]
movss dword [ebp - 0x138], xmm0
jle 0x10024c03
add edx, 0x20
mov dword [ebp - 0x15c], edx
xor edx, edx
mov dword [ebp - 0x13c], edx
nop dword [eax]
mov eax, dword [esi + 0xbc]
mov edx, dword [ebp - 0x14c]
mov esi, dword [esi + 0x94]
movss xmm0, dword [ecx + 0x34]
movss dword [ebp - 0x114], xmm0
mov eax, dword [eax + edx*4]
mov edx, dword [ebp - 0x13c]
mov dword [ebp - 0x158], eax
movss xmm1, dword [esi + edx + 0x10]
comiss xmm0, xmm1
ja 0x1002497a
movss xmm0, dword [ecx + 0x38]
minss xmm0, xmm1
movss dword [ebp - 0x114], xmm0
ucomiss xmm1, xmm0
movaps xmm7, xmm3
lahf
test ah, 0x44
jnp 0x100249b0
cmp byte [ecx + 0x1c], 0
je 0x100249a1
subss xmm0, xmm1
mulss xmm0, xmm2
cvttss2si eax, xmm0
movd xmm7, eax
cvtdq2ps xmm7, xmm7
jmp 0x100249ac
movaps xmm7, xmm0
subss xmm7, xmm1
mulss xmm7, xmm2
addss xmm7, xmm3
movd xmm0, dword [edi + 0x24]
movss xmm1, dword [0x1016a658]
cvtdq2ps xmm0, xmm0
movzx eax, word [esi + edx]
movss xmm6, dword [esi + edx + 8]
movaps xmm2, xmm1
divss xmm2, xmm0
movd xmm0, dword [edi + 0x28]
movss xmm5, dword [esi + edx + 0xc]
movss xmm4, dword [esi + edx + 0x14]
movss xmm3, dword [esi + edx + 0x18]
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
xorps xmm0, xmm0
addss xmm6, xmm0
addss xmm5, xmm0
addss xmm4, xmm0
addss xmm3, xmm0
movd xmm0, eax
movzx eax, word [esi + edx + 2]
cvtdq2ps xmm0, xmm0
addss xmm5, dword [ebp - 0x138]
mulss xmm0, xmm2
addss xmm6, xmm7
addss xmm3, dword [ebp - 0x138]
addss xmm4, xmm7
movss dword [ebp - 0x194], xmm0
movd xmm0, eax
movzx eax, word [esi + edx + 4]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x154], xmm6
mulss xmm0, xmm1
movss dword [ebp - 0x150], xmm5
movss dword [ebp - 0x18c], xmm4
movss dword [ebp - 0x198], xmm0
movd xmm0, eax
movzx eax, word [esi + edx + 6]
mov esi, dword [ebp - 0x15c]
mov ecx, esi
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x190], xmm3
mulss xmm0, xmm2
movss dword [ebp - 0x19c], xmm0
movd xmm0, eax
mov eax, dword [esi]
cvtdq2ps xmm0, xmm0
inc eax
push eax
mulss xmm0, xmm1
movss dword [ebp - 0x1a0], xmm0
call fcn.10027360
mov eax, dword [esi]
mov esi, dword [esi + 8]
movss xmm0, dword [ebp - 0x154]
mov ecx, dword [ebp - 0x128]
lea edx, [eax + eax*4]
movss xmm2, dword [0x1016a630]
mov eax, dword [ebp - 0x158]
movss dword [esi + edx*8 - 0x20], xmm0
movss xmm0, dword [ebp - 0x150]
movss dword [esi + edx*8 - 0x1c], xmm0
movss xmm0, dword [ebp - 0x18c]
movss dword [esi + edx*8 - 0x18], xmm0
movss xmm0, dword [ebp - 0x190]
movss dword [esi + edx*8 - 0x14], xmm0
movss xmm0, dword [ebp - 0x194]
movss dword [esi + edx*8 - 0x10], xmm0
movss xmm0, dword [ebp - 0x198]
movss dword [esi + edx*8 - 0xc], xmm0
movss xmm0, dword [ebp - 0x19c]
movss dword [esi + edx*8 - 8], xmm0
movss xmm0, dword [ebp - 0x1a0]
movss dword [esi + edx*8 - 4], xmm0
movss xmm0, dword [ebp - 0x114]
mov word [esi + edx*8 - 0x28], ax
mov eax, dword [ecx]
addss xmm0, dword [eax + 0x20]
movss dword [esi + edx*8 - 0x24], xmm0
mov eax, dword [ecx]
cmp byte [eax + 0x1c], 0
je 0x10024b69
addss xmm0, xmm2
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + edx*8 - 0x24], xmm0
mov eax, dword [ebp - 0x124]
add dword [ebp - 0x13c], 0x1c
movss xmm3, dword [ebp - 0x1a4]
mov byte [eax + 0x58], 1
mov eax, dword [ebp - 0x108]
movss xmm0, dword [esi + edx*8 - 4]
subss xmm0, dword [esi + edx*8 - 0xc]
mov eax, dword [eax]
movd xmm1, dword [eax + 0x28]
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm0
movss xmm0, dword [esi + edx*8 - 8]
subss xmm0, dword [esi + edx*8 - 0x10]
addss xmm1, dword [0x1016e268]
mov edx, dword [ebp - 0x124]
mov esi, dword [ebp - 0x118]
cvttss2si ecx, xmm1
movd xmm1, dword [eax + 0x24]
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm0
addss xmm1, dword [0x1016e268]
cvttss2si eax, xmm1
imul ecx, eax
mov eax, dword [ebp - 0x14c]
inc eax
mov dword [ebp - 0x14c], eax
add dword [edx + 0x54], ecx
mov ecx, dword [ebp - 0x120]
cmp eax, dword [esi + 0xa4]
jl 0x10024930
mov eax, dword [ebp - 0x10c]
mov ecx, dword [ebp - 0x110]
add esi, 0xc4
add ecx, 0x78
sub eax, 1
mov dword [ebp - 0x118], esi
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x10c], eax
jne 0x10024740
mov esi, dword [ebp - 0x144]
mov edi, dword [ebp - 0x148]
add esi, 0xb4
mov eax, dword [esi + 0xc]
test eax, eax
je 0x10024c55
push eax
call fcn.10016020
add esp, 4
mov eax, dword [esi]
test eax, eax
je 0x10024c64
push eax
call fcn.10016020
add esp, 4
add esi, 0xc4
sub edi, 1
jne 0x10024c45
mov edi, dword [ebp - 0x140]
push edi
call fcn.100230c0
mov eax, dword [ebp - 0x12c]
add esp, 4
mov byte [ebp - 0x12d], 1
test eax, eax
je 0x10024c98
push eax
call fcn.10016020
add esp, 4
mov eax, dword [ebp - 0x11c]
test eax, eax
je 0x10024cab
push eax
call fcn.10016020
add esp, 4
mov edi, dword [ebp - 0x134]
test edi, edi
je 0x10024cbe
push edi
call fcn.10016020
add esp, 4
mov eax, dword [ebp - 0x144]
pop edi
pop esi
test eax, eax
je 0x10024cd3
push eax
call fcn.10016020
add esp, 4
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x12d]
xor ecx, ebp
call fcn.10106b52
mov esp, ebp
pop ebp
ret