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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov eax, dword [0x1024b8c0]
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 0x100235c0
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 0x100235b4
mov dword [ebp - 0x174], 0x20002
call fcn.10027070
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 0x10023601
push eax
call fcn.10015f60
add esp, 4
mov eax, dword [esi + 0x20]
test eax, eax
je 0x10023611
push eax
call fcn.10015f60
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 0x10023664
cmp ecx, edx
mov eax, ecx
cmovl eax, edx
test eax, eax
jle 0x10023664
imul eax, eax, 0xc4
push eax
call fcn.10015f30
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 0x10023694
cmp eax, 8
mov ecx, eax
cmovl ecx, edx
test ecx, ecx
jle 0x10023694
lea eax, [ecx + ecx*2]
shl eax, 3
push eax
call fcn.10015f30
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 0x10023836
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 0x100238a7
mov edi, dword [ebp - 0x11c]
or eax, 0xffffffff
mov ecx, eax
cmp eax, 0xffffffff
jne 0x10023741
mov eax, dword [ebp - 0x12c]
mov ecx, dword [esi + 0x44]
mov eax, dword [eax + 0x74]
cmp eax, dword [ecx + edx*4]
jne 0x10023736
mov dword [edi - 4], edx
mov eax, edx
jmp 0x10023739
or eax, 0xffffffff
inc edx
mov ecx, eax
cmp edx, dword [esi + 0x3c]
jl 0x10023717
mov edi, dword [ebp - 0x134]
cmp ecx, 0xffffffff
je 0x100238a7
mov eax, dword [ebp - 0x12c]
push dword [eax + 0xc]
mov esi, dword [eax]
push esi
call fcn.1002d930
mov ecx, dword [ebp - 0x11c]
push eax
add ecx, 0xffffff5c
push esi
push ecx
mov dword [ebp - 0x114], ecx
call fcn.10027e00
add esp, 0x14
test eax, eax
je 0x100238a7
mov eax, dword [ebp - 0x114]
mov edx, 0x1016b240
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 0x100237e1
nop dword [eax]
movzx eax, word [edx + 2]
test ax, ax
je 0x100237db
mov ecx, eax
cmp dword [esi], ecx
cmovge ecx, dword [esi]
add edx, 4
mov dword [esi], ecx
cmp word [edx], 0
jne 0x100237c0
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 0x100236f1
mov eax, dword [ebp - 0x148]
xor esi, esi
mov dword [ebp - 0x11c], esi
test eax, eax
jle 0x10023cea
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 0x1002392b
test eax, eax
je 0x100238b3
cdq
sub eax, edx
mov edx, dword [ebp - 0x108]
sar eax, 1
add eax, dword [ebp - 0x114]
jmp 0x100238b8
mov byte [ebp - 0x12d], 0
jmp 0x10024c51
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 0x1002392b
shl eax, 2
push eax
call fcn.10015f30
mov edx, dword [ebp - 0x108]
add esp, 4
mov dword [ebp - 0x114], eax
cmp dword [edx], 0
je 0x1002391a
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.10015f60
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 0x10023a05
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 0x100239eb
test eax, eax
je 0x1002397a
cdq
sub eax, edx
mov edx, dword [edi + esi*8 + 0x10]
sar eax, 1
add eax, edx
jmp 0x10023983
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 0x100239eb
shl eax, 2
push eax
call fcn.10015f30
mov edx, dword [edi + esi*8 + 0x14]
add esp, 4
mov dword [ebp - 0x114], eax
test edx, edx
je 0x100239d7
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.10015f60
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 0x10023afa
nop
movzx ecx, word [eax + 2]
test cx, cx
je 0x10023af4
movzx edi, word [eax]
cmp edi, ecx
ja 0x10023adb
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 0x10023ac2
mov eax, dword [ebp - 0x108]
add eax, 0xffffff4c
push edi
push eax
call fcn.1002d630
mov edx, dword [ebp - 0x108]
add esp, 8
test eax, eax
je 0x10023ac8
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 0x10023a40
mov eax, dword [ebp - 0x124]
add eax, 4
mov dword [ebp - 0x124], eax
cmp word [eax], 0
jne 0x10023a20
mov edi, dword [ebp - 0x134]
add edx, 0xc4
sub dword [ebp - 0x110], 1
mov dword [ebp - 0x108], edx
jne 0x10023864
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 0x10023b79
lea eax, [edi*4]
push eax
call fcn.10015f30
mov edx, dword [esi + 8]
add esp, 4
mov dword [ebp - 0x114], eax
test edx, edx
je 0x10023b73
mov ecx, dword [esi]
shl ecx, 2
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
push dword [esi + 8]
call fcn.10015f60
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 0x10023ca4
xor eax, eax
mov dword [ebp - 0x118], eax
nop
mov edx, dword [ecx]
mov dword [ebp - 0x124], edx
test edx, edx
je 0x10023c86
xor ecx, ecx
mov edi, 1
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0x12c], edi
test edi, edx
je 0x10023c68
and eax, 0xffffffe0
add eax, ecx
mov ecx, dword [esi + 4]
mov dword [ebp - 0x14c], eax
mov eax, dword [esi]
cmp eax, ecx
jne 0x10023c46
lea edi, [eax + 1]
test ecx, ecx
je 0x10023bf1
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x10023bf6
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x10023c40
lea eax, [edi*4]
push eax
call fcn.10015f30
mov edx, dword [esi + 8]
add esp, 4
mov dword [ebp - 0x114], eax
test edx, edx
je 0x10023c3a
mov ecx, dword [esi]
shl ecx, 2
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
push dword [esi + 8]
call fcn.10015f60
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 0x10023bc3
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 0x10023ba0
mov eax, dword [esi - 4]
test eax, eax
je 0x10023cc9
push eax
mov dword [esi - 8], 0
mov dword [esi - 0xc], 0
call fcn.10015f60
add esp, 4
mov dword [esi - 4], 0
add esi, 0xc4
sub dword [ebp - 0x13c], 1
jne 0x10023b30
mov edi, dword [ebp - 0x134]
mov esi, dword [ebp - 0x11c]
jmp 0x10023cf2
xor esi, esi
mov dword [ebp - 0x11c], esi
cmp dword [ebp - 0x128], 0
jle 0x10023d47
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 0x10023d33
push eax
mov dword [edi - 4], 0
mov dword [edi - 8], 0
call fcn.10015f60
add esp, 4
mov dword [edi], 0
add edi, 0x18
sub esi, 1
jne 0x10023d10
mov edi, dword [ebp - 0x134]
mov esi, dword [ebp - 0x11c]
test edi, edi
je 0x10023d5e
push edi
call fcn.10015f60
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 0x10023dbc
cmp esi, 8
mov eax, esi
mov ecx, 8
cmovl eax, ecx
test eax, eax
jle 0x10023dc4
shl eax, 4
push eax
call fcn.10015f30
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.10015f30
add esp, 8
mov dword [ebp - 0x12c], eax
jmp 0x10023dc4
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 0x100240ec
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 0x100240cc
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 [0x10167600]
jbe 0x10023f10
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 0x10023f39
mov edx, dword [esi - 0x84]
movaps xmm1, xmm0
mov eax, dword [esi - 0x94]
xorps xmm1, xmmword [0x10167770]
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 0x100240ba
mov dword [ebp - 0x118], ecx
lea edx, [esi - 0x98]
nop
mov eax, dword [esi + 0x28]
push dword [eax + ecx*4]
push edx
call fcn.1002d630
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.1002d9c0
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 0x10023f90
jmp 0x100240c0
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 0x10023e30
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 0x10024192
movss xmm0, dword [0x1016b27c]
movss xmm2, dword [0x10167640]
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm2
comiss xmm1, xmm0
jb 0x10024150
mov eax, 0x1000
jmp 0x10024192
movss xmm0, dword [0x1016b278]
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm2
comiss xmm1, xmm0
jb 0x1002416f
mov eax, 0x800
jmp 0x10024192
movss xmm0, dword [0x1016b274]
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.10015f30
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.10015f30
add esp, 0x14
test esi, esi
je 0x10024257
test eax, eax
je 0x10024254
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.1002d2d0
add esp, 0x14
jmp 0x10024270
push esi
jmp 0x1002425c
test eax, eax
je 0x10024264
push eax
call fcn.10015f60
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 0x100242a8
cmp esi, 8
mov ecx, esi
mov edx, 8
cmovl ecx, edx
test ecx, ecx
jle 0x100242a8
shl ecx, 4
push ecx
call fcn.10015f30
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 0x100242fa
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 0x100242d0
mov esi, dword [ebp - 0x128]
push esi
push dword [ebp - 0x120]
push dword [ebp - 0x108]
call fcn.1002d440
add esp, 0xc
test esi, esi
jle 0x1002436b
mov edx, dword [ebp - 0x120]
xor esi, esi
mov eax, dword [ebp - 0x128]
add edx, 0xa
cmp dword [edx + 2], 0
je 0x1002435a
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 0x10024324
mov eax, dword [ebp - 0x120]
test eax, eax
je 0x1002437e
push eax
call fcn.10015f60
add esp, 4
mov esi, dword [ebp - 0x148]
test esi, esi
jle 0x10024419
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 0x10024404
push eax
push dword [esi - 0x14]
push dword [ebp - 0x108]
call fcn.1002d440
xor ecx, ecx
add esp, 0xc
mov dword [ebp - 0x10c], ecx
cmp dword [esi], ecx
jle 0x10024404
xor edx, edx
nop word [eax + eax]
mov eax, dword [esi - 0x14]
cmp dword [eax + edx + 0xc], 0
je 0x100243f6
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 0x100243d0
add esi, 0xc4
sub dword [ebp - 0x110], 1
jne 0x100243a4
mov esi, dword [ebp - 0x148]
test byte [edi + 4], 1
mov eax, dword [edi + 0x28]
jne 0x10024447
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 [0x10167658]
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.10015f30
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 0x10024676
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 0x10024640
push dword [ecx + 0x94]
lea eax, [ecx + 0x7c]
push 1
push eax
push ecx
lea eax, [ebp - 0x188]
push eax
call fcn.1002ded0
movss xmm0, dword [esi + 0x44]
add esp, 0x14
ucomiss xmm0, dword [0x10167658]
lahf
test ah, 0x44
jnp 0x10024624
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 + 0x10167750]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [edi + 0x44]
call fcn.10103050
mov edx, 0xff
movzx ecx, al
cmp eax, edx
cmovbe edx, ecx
mov byte [ebp + esi - 0x104], dl
inc esi
cmp esi, 0x100
jb 0x10024522
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 0x1002462a
lea ecx, [edx + 4]
mov edx, dword [ebp - 0x108]
mov dword [ebp - 0x110], ecx
cmp dword [ecx + 8], 0
je 0x10024608
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 0x100245f6
mov eax, dword [ebp - 0x10c]
xor ecx, ecx
test esi, esi
je 0x100245e9
nop
movzx eax, byte [ecx + edx]
mov al, byte [ebp + eax - 0x104]
mov byte [ecx + edx], al
inc ecx
cmp ecx, esi
jl 0x100245d0
mov eax, dword [ebp - 0x10c]
dec edi
add edx, eax
test edi, edi
jg 0x100245c8
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 0x10024598
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 0x100244d0
mov eax, dword [ebp - 0x184]
mov esi, dword [ebp - 0x148]
mov dword [ebp - 0x108], eax
push dword [ebp - 0x160]
call fcn.10015f60
push dword [ebp - 0x108]
call fcn.10015f60
mov eax, dword [ebp - 0x11c]
add esp, 8
test eax, eax
je 0x100246ac
push eax
call fcn.10015f60
add esp, 4
mov dword [ebp - 0x11c], 0
test esi, esi
jle 0x10024c15
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 0x10024baf
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 0x10024848
mov ecx, edx
call fcn.10022d90
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 0x10024860
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 [0x10167630]
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 0x10024ba3
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 0x1002491a
movss xmm0, dword [ecx + 0x38]
minss xmm0, xmm1
movss dword [ebp - 0x114], xmm0
ucomiss xmm1, xmm0
movaps xmm7, xmm3
lahf
test ah, 0x44
jnp 0x10024950
cmp byte [ecx + 0x1c], 0
je 0x10024941
subss xmm0, xmm1
mulss xmm0, xmm2
cvttss2si eax, xmm0
movd xmm7, eax
cvtdq2ps xmm7, xmm7
jmp 0x1002494c
movaps xmm7, xmm0
subss xmm7, xmm1
mulss xmm7, xmm2
addss xmm7, xmm3
movd xmm0, dword [edi + 0x24]
movss xmm1, dword [0x10167658]
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.100272f0
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 [0x10167630]
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 0x10024b09
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 [0x1016b268]
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 [0x1016b268]
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 0x100248d0
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 0x100246e0
mov esi, dword [ebp - 0x144]
mov edi, dword [ebp - 0x148]
add esi, 0xb4
mov eax, dword [esi + 0xc]
test eax, eax
je 0x10024bf5
push eax
call fcn.10015f60
add esp, 4
mov eax, dword [esi]
test eax, eax
je 0x10024c04
push eax
call fcn.10015f60
add esp, 4
add esi, 0xc4
sub edi, 1
jne 0x10024be5
mov edi, dword [ebp - 0x140]
push edi
call fcn.10023060
mov eax, dword [ebp - 0x12c]
add esp, 4
mov byte [ebp - 0x12d], 1
test eax, eax
je 0x10024c38
push eax
call fcn.10015f60
add esp, 4
mov eax, dword [ebp - 0x11c]
test eax, eax
je 0x10024c4b
push eax
call fcn.10015f60
add esp, 4
mov edi, dword [ebp - 0x134]
test edi, edi
je 0x10024c5e
push edi
call fcn.10015f60
add esp, 4
mov eax, dword [ebp - 0x144]
pop edi
pop esi
test eax, eax
je 0x10024c73
push eax
call fcn.10015f60
add esp, 4
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x12d]
xor ecx, ebp
call fcn.10103042
mov esp, ebp
pop ebp
ret