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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014e1cc
mov eax, dword fs:[0]
push eax
sub esp, 0x204
mov eax, dword [0x10227800]
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.10024a10
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.10024390
xor edx, edx
mov dword [ebp - 0x1e4], 0
mov dword [ebp - 0x1e8], 0
mov dword [ebp - 0x184], edx
mov dword [ebp - 0x1e0], edx
xor esi, esi
mov dword [ebp - 4], edx
mov dword [ebp - 0x1cc], edx
mov dword [ebp - 0x1d0], edx
mov dword [ebp - 0x154], esi
mov dword [ebp - 0x1c8], esi
mov eax, dword [ebp - 0x14c]
lea edx, [esi + 8]
mov byte [ebp - 4], 1
mov ecx, dword [eax + 0x54]
mov dword [ebp - 0x180], ecx
test ecx, ecx
jle 0x1002fd91
cmp ecx, edx
mov edi, ecx
cmovl edi, edx
test edi, edi
jle 0x1002fd91
imul eax, edi, 0x54
push eax
call fcn.10017df0
mov ecx, dword [ebp - 0x180]
lea edx, [esi + 8]
mov dword [ebp - 0x184], eax
add esp, 4
mov dword [ebp - 0x1e0], eax
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x1e4], edi
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x1e8], ecx
mov dword [ebp - 0x170], eax
test eax, eax
jle 0x1002fddf
cmp eax, 8
mov edi, eax
cmovl edi, edx
test edi, edi
jle 0x1002fddf
lea eax, [edi + edi*2]
shl eax, 3
push eax
call fcn.10017df0
mov ecx, dword [ebp - 0x180]
mov esi, eax
mov eax, dword [ebp - 0x170]
add esp, 4
mov dword [ebp - 0x154], esi
mov dword [ebp - 0x1c8], esi
mov dword [ebp - 0x1cc], edi
mov edi, dword [ebp - 0x184]
imul ecx, ecx, 0x54
mov dword [ebp - 0x1d0], eax
push ecx
push 0
push edi
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x170]
lea eax, [eax + eax*2]
shl eax, 3
push eax
push 0
push esi
call sub.VCRUNTIME140.dll_memset
mov edx, dword [ebp - 0x14c]
add esp, 0x18
mov dword [ebp - 0x150], 0
cmp dword [edx + 0x54], 0
jle 0x1002ff4d
xor eax, eax
add edi, 0x34
mov dword [ebp - 0x17c], eax
mov ecx, dword [edx + 0x5c]
xor edx, edx
add ecx, eax
mov dword [edi - 4], 0xffffffff
mov dword [ebp - 0x168], ecx
mov ecx, dword [ebp - 0x14c]
cmp dword [ecx + 0x3c], edx
jle 0x1002ffa2
or esi, 0xffffffff
nop word [eax + eax]
mov eax, esi
cmp esi, 0xffffffff
jne 0x1002fe8d
mov eax, dword [ebp - 0x168]
or esi, esi
mov ecx, dword [ecx + 0x44]
mov eax, dword [eax + 0x74]
cmp eax, dword [ecx + edx*4]
jne 0x1002fe7f
mov dword [edi - 4], edx
mov esi, edx
mov ecx, dword [ebp - 0x14c]
inc edx
mov eax, esi
cmp edx, dword [ecx + 0x3c]
jl 0x1002fe60
cmp eax, 0xffffffff
je 0x1002ffa2
push dword [ebp + 0x10]
mov esi, dword [ebp - 0x168]
lea ecx, [edi - 0x34]
push esi
push dword [ebp - 0x148]
call fcn.10031210
test al, al
je 0x1002ffa2
mov eax, dword [edi - 4]
mov edx, dword [esi + 0x30]
lea eax, [eax + eax*2]
mov dword [ebp - 0x15c], eax
test edx, edx
jne 0x1002fed6
mov ecx, dword [ebp - 0x14c]
call fcn.10024420
mov edx, eax
mov dword [edi - 8], edx
cmp word [edx], 0
je 0x1002fefb
nop
movzx eax, word [edx + 2]
test ax, ax
je 0x1002fefb
mov ecx, eax
cmp dword [edi], ecx
cmovge ecx, dword [edi]
add edx, 4
mov dword [edi], ecx
cmp word [edx], 0
jne 0x1002fee0
mov esi, dword [ebp - 0x154]
mov edx, dword [ebp - 0x15c]
mov eax, dword [ebp - 0x17c]
inc dword [esi + edx*8]
mov ecx, dword [edi]
cmp dword [esi + edx*8 + 4], ecx
cmovge ecx, dword [esi + edx*8 + 4]
add eax, 0x78
mov dword [esi + edx*8 + 4], ecx
add edi, 0x54
mov esi, dword [ebp - 0x150]
mov edx, dword [ebp - 0x14c]
inc esi
mov dword [ebp - 0x150], esi
mov dword [ebp - 0x17c], eax
cmp esi, dword [edx + 0x54]
jl 0x1002fe34
mov edi, dword [ebp - 0x184]
mov eax, dword [ebp - 0x180]
xor esi, esi
mov dword [ebp - 0x160], esi
test eax, eax
jle 0x100303cf
lea esi, [edi + 0x44]
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x164], esi
mov eax, dword [esi - 0x14]
mov ecx, dword [esi - 0x10]
add ecx, 0x20
sar ecx, 5
lea edi, [eax + eax*2]
mov dword [ebp - 0x190], ecx
mov eax, dword [esi - 4]
mov dword [ebp - 0x158], edi
cmp ecx, eax
jle 0x10030010
test eax, eax
je 0x1002ffae
cdq
sub eax, edx
sar eax, 1
add eax, dword [esi - 4]
jmp 0x1002ffb3
mov byte [ebp - 0x141], 0
jmp 0x100311b3
mov eax, 8
cmp eax, ecx
mov edx, ecx
cmovg edx, eax
mov dword [ebp - 0x15c], edx
cmp edx, dword [esi - 4]
jle 0x10030010
lea eax, [edx*4]
push eax
call fcn.10017df0
mov edx, dword [esi]
add esp, 4
mov dword [ebp - 0x148], eax
test edx, edx
je 0x1002ffff
mov ecx, dword [esi - 8]
shl ecx, 2
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
push dword [esi]
call fcn.10017e20
mov eax, dword [ebp - 0x148]
add esp, 0x10
mov ecx, dword [ebp - 0x190]
mov dword [esi], eax
mov eax, dword [ebp - 0x15c]
mov dword [esi - 4], eax
lea eax, [ecx*4]
mov dword [esi - 8], ecx
push eax
push 0
push dword [esi]
call sub.VCRUNTIME140.dll_memset
mov edx, dword [ebp - 0x154]
add esp, 0xc
cmp dword [edx + edi*8 + 0xc], 0
jne 0x10030112
mov ecx, dword [edx + edi*8 + 4]
mov eax, dword [edx + edi*8 + 0x10]
add ecx, 0x20
sar ecx, 5
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x148], eax
cmp ecx, eax
jle 0x100300f8
test eax, eax
je 0x10030071
cdq
sub eax, edx
mov edx, dword [ebp - 0x154]
sar eax, 1
add eax, dword [ebp - 0x148]
jmp 0x10030076
mov eax, 8
cmp eax, ecx
mov esi, ecx
cmovg esi, eax
cmp esi, dword [edx + edi*8 + 0x10]
mov dword [ebp - 0x168], esi
mov esi, dword [ebp - 0x164]
jle 0x100300f8
mov eax, dword [ebp - 0x168]
shl eax, 2
push eax
call fcn.10017df0
mov edx, dword [ebp - 0x154]
add esp, 4
mov dword [ebp - 0x148], eax
cmp dword [edx + edi*8 + 0x14], 0
je 0x100300e4
mov ecx, dword [edx + edi*8 + 0xc]
shl ecx, 2
push ecx
push dword [edx + edi*8 + 0x14]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x154]
push dword [eax + edi*8 + 0x14]
call fcn.10017e20
mov edx, dword [ebp - 0x154]
add esp, 0x10
mov eax, dword [ebp - 0x148]
mov ecx, dword [ebp - 0x15c]
mov dword [edx + edi*8 + 0x14], eax
mov eax, dword [ebp - 0x168]
mov dword [edx + edi*8 + 0x10], eax
lea eax, [ecx*4]
mov dword [edx + edi*8 + 0xc], ecx
push eax
push 0
push dword [edx + edi*8 + 0x14]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [esi - 0x18]
mov dword [ebp - 0x178], eax
cmp word [eax], 0
je 0x10030201
nop word [eax + eax]
movzx ecx, word [eax + 2]
test cx, cx
je 0x100301fb
movzx edi, word [eax]
cmp edi, ecx
ja 0x100301e2
nop dword [eax + eax]
mov eax, dword [ebp - 0x158]
mov ecx, edi
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov esi, edi
mov ecx, dword [ebp - 0x154]
sar esi, 5
mov dword [ebp - 0x148], edx
mov eax, dword [ecx + eax*8 + 0x14]
test dword [eax + esi*4], edx
jne 0x100301cf
mov eax, dword [ebp - 0x164]
push edi
push dword [eax - 0x2c]
call fcn.100f7420
add esp, 8
test eax, eax
je 0x100301cf
mov eax, dword [ebp - 0x164]
mov ecx, dword [ebp - 0x158]
mov edx, dword [ebp - 0x154]
inc dword [eax - 0xc]
inc dword [edx + ecx*8 + 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x148]
mov eax, dword [ebp - 0x158]
or dword [ecx + esi*4], edx
mov ecx, dword [ebp - 0x154]
mov ecx, dword [ecx + eax*8 + 0x14]
or dword [ecx + esi*4], edx
inc dword [ebp - 0x160]
mov eax, dword [ebp - 0x178]
inc edi
movzx eax, word [eax + 2]
cmp edi, eax
jle 0x10030150
mov eax, dword [ebp - 0x178]
add eax, 4
mov dword [ebp - 0x178], eax
cmp word [eax], 0
jne 0x10030130
mov esi, dword [ebp - 0x164]
add esi, 0x54
sub dword [ebp - 0x150], 1
mov dword [ebp - 0x164], esi
jne 0x1002ff72
mov esi, dword [ebp - 0x184]
mov eax, dword [ebp - 0x180]
add esi, 0x50
mov dword [ebp - 0x174], esi
mov dword [ebp - 0x150], eax
mov edi, dword [esi - 0x18]
cmp edi, dword [esi - 4]
jle 0x10030287
lea eax, [edi*8]
sub eax, edi
shl eax, 2
push eax
call fcn.10017df0
add esp, 4
mov dword [ebp - 0x148], eax
cmp dword [esi], 0
je 0x10030282
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.10017e20
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 - 0x15c], ecx
mov dword [ebp - 0x168], ecx
lea eax, [ecx + eax*4]
mov dword [ebp - 0x190], eax
cmp ecx, eax
jae 0x1003038c
nop dword [eax]
mov eax, dword [edx]
mov dword [ebp - 0x148], eax
test eax, eax
je 0x10030377
xor edi, edi
mov eax, 1
mov ecx, edi
shl eax, cl
test dword [ebp - 0x148], eax
je 0x1003036d
mov ecx, dword [esi - 8]
mov eax, edx
sub eax, dword [ebp - 0x15c]
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 0x10030336
inc ecx
test eax, eax
je 0x1003031a
cdq
sub eax, edx
mov edx, dword [ebp - 0x174]
sar eax, 1
add eax, dword [edx - 4]
jmp 0x1003031f
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
lea ecx, [esi - 8]
call fcn.10031410
mov edx, dword [ebp - 0x168]
xorps xmm0, xmm0
mov eax, dword [esi - 8]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [ebp - 0x174]
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 - 0x174]
inc edi
cmp edi, 0x20
jl 0x100302c2
add edx, 4
mov dword [ebp - 0x168], edx
cmp edx, dword [ebp - 0x190]
jb 0x100302b0
mov eax, dword [esi - 0xc]
test eax, eax
je 0x100303b1
push eax
mov dword [esi - 0x10], 0
mov dword [esi - 0x14], 0
call fcn.10017e20
add esp, 4
mov dword [esi - 0xc], 0
add esi, 0x54
sub dword [ebp - 0x150], 1
mov dword [ebp - 0x174], esi
jne 0x10030232
mov esi, dword [ebp - 0x160]
jmp 0x100303d7
xor esi, esi
mov dword [ebp - 0x160], esi
cmp dword [ebp - 0x170], 0
jle 0x10030421
mov edi, dword [ebp - 0x154]
mov esi, dword [ebp - 0x170]
add edi, 0x14
nop
mov eax, dword [edi]
test eax, eax
je 0x10030413
push eax
mov dword [edi - 4], 0
mov dword [edi - 8], 0
call fcn.10017e20
add esp, 4
mov dword [edi], 0
add edi, 0x18
sub esi, 1
jne 0x100303f0
mov esi, dword [ebp - 0x160]
mov eax, dword [ebp - 0x154]
test eax, eax
je 0x10030456
push eax
mov dword [ebp - 0x1cc], 0
mov dword [ebp - 0x1d0], 0
call fcn.10017e20
add esp, 4
xor eax, eax
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x1c8], eax
xor eax, eax
mov dword [ebp - 0x1f0], 0
mov dword [ebp - 0x1f4], 0
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x1ec], eax
mov byte [ebp - 4], 6
test esi, esi
jle 0x100304b1
cmp esi, 8
mov edi, esi
mov ecx, 8
cmovl edi, ecx
test edi, edi
jle 0x100304b1
mov eax, edi
shl eax, 4
push eax
call fcn.10017df0
add esp, 4
mov dword [ebp - 0x168], 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 - 0x1a8], 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.10017df0
push 0x20
mov esi, eax
call fcn.10017df0
movss xmm1, dword [0x10163760]
mov ecx, 1
mov dword [ebp - 0x198], 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 - 0x150], eax
mov dword [ebp - 0x1ac], eax
test ecx, ecx
jle 0x10030b02
mov edi, dword [ebp - 0x184]
xor edx, edx
mov esi, dword [ebp - 0x14c]
add edi, 0x18
mov dword [ebp - 0x15c], edx
mov dword [ebp - 0x17c], edi
mov dword [ebp - 0x148], ecx
mov ecx, dword [esi + 0x5c]
add ecx, edx
mov edx, dword [edi + 0x20]
test edx, edx
je 0x10030acf
mov eax, dword [ebp - 0x1ac]
add dword [ebp - 0x1ac], edx
shl eax, 4
add eax, dword [ebp - 0x168]
mov dword [edi + 0x10], eax
movss xmm0, dword [ecx + 0x44]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x100305ca
push ecx
lea eax, [ebp - 0x110]
movss dword [esp], xmm0
push eax
mov byte [ebp - 0x16b], 1
call fcn.10024870
add esp, 8
jmp 0x100305d1
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 - 0x1a0], xmm0
mov dword [ebp - 0x1b4], 0
jle 0x10030acf
xor esi, esi
xor ecx, ecx
mov dword [ebp - 0x1a4], esi
mov dword [ebp - 0x190], ecx
nop dword [eax + eax]
mov eax, dword [edi + 0x38]
add eax, ecx
mov dword [ebp - 0x174], eax
push dword [eax + 0x14]
push dword [edi]
call fcn.100f7420
add esp, 8
test eax, eax
je 0x10030a9b
push dword [edi + 8]
push eax
push dword [edi]
call fcn.100f7d90
add esp, 0xc
test eax, eax
jne 0x10030a9b
test byte [edi + 4], 0x20
mov eax, dword [edi]
mov esi, dword [eax + 0x54]
je 0x1003066a
push esi
call fcn.100fecc0
add esp, 4
test byte [edi + 4], 0x40
je 0x10030679
push esi
call fcn.100fedc0
add esp, 4
lea eax, [esi + 0x18]
test eax, eax
je 0x10030a95
mov eax, dword [edi]
push dword [edi + 0xc]
mov esi, dword [eax + 0x54]
push esi
call fcn.100fa020
mov edx, dword [ebp - 0x174]
add esp, 8
test eax, eax
je 0x100306a3
xor edi, edi
jmp 0x100306f7
mov eax, dword [edi]
mov ecx, dword [ebp - 0x17c]
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 - 0x174]
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 - 0x188], edi
mov dword [ebp - 0x158], eax
add eax, dword [ebp - 0x1a8]
cmp eax, 0x40000
jle 0x100307fa
push 0x40000
mov dword [ebp - 0x1a8], 0
call fcn.10017df0
mov edx, dword [ebp - 0x164]
mov ecx, eax
mov eax, dword [ebp - 0x1c0]
add esp, 4
mov dword [ebp - 0x18c], ecx
cmp edx, eax
jne 0x100307d6
lea esi, [edx + 1]
test eax, eax
je 0x10030763
cdq
sub eax, edx
mov edx, dword [ebp - 0x1c0]
sar eax, 1
add eax, edx
jmp 0x1003076e
mov edx, dword [ebp - 0x1c0]
mov eax, 8
cmp eax, esi
cmovg esi, eax
cmp esi, edx
jle 0x100307d6
lea eax, [esi*4]
push eax
call fcn.10017df0
mov edx, dword [ebp - 0x198]
add esp, 4
mov dword [ebp - 0x19c], eax
test edx, edx
je 0x100307bc
mov ecx, dword [ebp - 0x164]
shl ecx, 2
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
push dword [ebp - 0x198]
call fcn.10017e20
mov eax, dword [ebp - 0x19c]
add esp, 0x10
mov ecx, dword [ebp - 0x18c]
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x1bc], eax
mov eax, esi
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp - 0x164]
mov edx, dword [ebp - 0x198]
mov dword [edx + eax*4], ecx
inc eax
mov edx, dword [ebp - 0x174]
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x1c4], eax
jmp 0x10030800
mov eax, dword [ebp - 0x164]
mov ecx, dword [ebp - 0x198]
mov esi, dword [ecx + eax*4 - 4]
xor eax, eax
mov ecx, dword [ebp - 0x1a8]
add esi, ecx
add ecx, dword [ebp - 0x158]
cmp byte [ebp - 0x16b], al
mov dword [ebp - 0x1a8], ecx
lea ecx, [ebp - 0x110]
cmove ecx, eax
mov dword [edx + 0x18], esi
mov eax, dword [edx]
mov edx, dword [edi]
mov dword [ebp - 0x158], eax
mov eax, dword [edi + 4]
mov edi, dword [edi + 0xc]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x19c], ecx
mov dword [ebp - 0x170], esi
mov dword [ebp - 0x194], edx
mov ecx, dword [eax + 8]
movzx eax, byte [eax + 0x12]
sub eax, 1
mov dword [ebp - 0x188], ecx
mov ecx, dword [ebp - 0x19c]
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x178], edi
je 0x10030954
sub dword [ebp - 0x18c], 1
jne 0x10030a24
test ecx, ecx
jne 0x100308d2
test edx, edx
je 0x10030a24
push eax
push edi
push esi
call sub.VCRUNTIME140.dll_memcpy
add edi, dword [ebp - 0x188]
add esp, 0xc
add esi, dword [ebp - 0x158]
sub dword [ebp - 0x194], 1
mov eax, dword [ebp - 0x160]
jne 0x100308a7
jmp 0x10030a24
test edx, edx
je 0x10030a24
mov ecx, dword [ebp - 0x158]
test eax, eax
je 0x10030930
mov edx, dword [ebp - 0x160]
sub edi, esi
mov ecx, esi
mov dword [ebp - 0x18c], edi
mov esi, edi
mov edi, dword [ebp - 0x19c]
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 0x10030900
mov esi, dword [ebp - 0x170]
mov edi, dword [ebp - 0x178]
mov eax, dword [ebp - 0x160]
mov edx, dword [ebp - 0x194]
mov ecx, dword [ebp - 0x158]
add edi, dword [ebp - 0x188]
add esi, ecx
sub edx, 1
mov dword [ebp - 0x178], edi
mov dword [ebp - 0x170], esi
mov dword [ebp - 0x194], edx
jne 0x100308e0
jmp 0x10030a24
test ecx, ecx
je 0x10030974
mov al, byte [ecx]
mov cl, byte [ecx + 0xff]
mov byte [ebp - 0x169], al
mov eax, dword [ebp - 0x160]
mov byte [ebp - 0x16a], cl
jmp 0x10030982
mov byte [ebp - 0x169], 0
mov byte [ebp - 0x16a], 0xff
test edx, edx
je 0x10030a24
mov ecx, dword [ebp - 0x194]
xor edx, edx
mov byte [ebp - 0x141], 0
test eax, eax
je 0x100309f7
nop dword [eax]
mov esi, edx
and esi, 7
jne 0x100309af
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 - 0x170]
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 - 0x160]
cmp edx, eax
jb 0x100309a0
mov esi, dword [ebp - 0x170]
mov ecx, dword [ebp - 0x194]
mov edi, dword [ebp - 0x178]
add edi, dword [ebp - 0x188]
add esi, dword [ebp - 0x158]
sub ecx, 1
mov dword [ebp - 0x178], edi
mov dword [ebp - 0x170], esi
mov dword [ebp - 0x194], ecx
jne 0x10030990
mov edx, dword [ebp - 0x174]
mov edi, dword [ebp - 0x17c]
mov esi, dword [ebp - 0x1a4]
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 - 0x1a0]
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 - 0x150], ecx
jmp 0x10030a9b
mov esi, dword [ebp - 0x1a4]
mov eax, dword [ebp - 0x1b4]
add esi, 0x10
mov ecx, dword [ebp - 0x190]
inc eax
add ecx, 0x1c
mov dword [ebp - 0x1b4], eax
mov dword [ebp - 0x190], ecx
mov dword [ebp - 0x1a4], esi
cmp eax, dword [edi + 0x30]
jl 0x10030620
mov esi, dword [ebp - 0x14c]
mov edx, dword [ebp - 0x15c]
add edi, 0x54
movss xmm1, dword [0x10163760]
add edx, 0x78
sub dword [ebp - 0x148], 1
mov dword [ebp - 0x17c], edi
mov dword [ebp - 0x15c], edx
jne 0x10030576
mov eax, dword [ebp - 0x150]
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 - 0x14c]
add esp, 8
fstp dword [ebp - 0x1a0]
cvttss2si eax, dword [ebp - 0x1a0]
mov esi, dword [edi + 0xc]
mov dword [edi + 0x28], 0
inc eax
test esi, esi
jg 0x10030ba8
movss xmm0, dword [0x10167398]
movss xmm2, dword [0x10163748]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm2
comiss xmm1, xmm0
jb 0x10030b66
mov esi, 0x1000
jmp 0x10030ba8
movss xmm0, dword [0x10167394]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm2
comiss xmm1, xmm0
jb 0x10030b85
mov esi, 0x800
jmp 0x10030ba8
movss xmm0, dword [0x10167390]
mov esi, 0x200
movd xmm1, eax
mov eax, 0x400
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm2
comiss xmm1, xmm0
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 0x10030c05
cmp esi, 8
mov edi, esi
mov ecx, 8
cmovl edi, ecx
test edi, edi
jle 0x10030bff
lea eax, [edi*8]
push eax
call fcn.10017df0
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.1002ea20
lea eax, [ebp - 0x140]
push eax
push edi
call fcn.100248d0
mov esi, dword [ebp - 0x180]
add esp, 0x1c
test esi, esi
jle 0x10030cbb
mov esi, dword [ebp - 0x184]
mov eax, dword [ebp - 0x180]
add esi, 0x38
mov dword [ebp - 0x148], eax
mov eax, dword [esi]
test eax, eax
je 0x10030ca3
push eax
push dword [esi - 0x10]
lea eax, [ebp - 0x140]
push eax
call fcn.1002eb90
xor edi, edi
add esp, 0xc
cmp dword [esi], edi
jle 0x10030ca3
xor edx, edx
mov eax, dword [esi - 0x10]
cmp dword [eax + edx + 0xc], 0
je 0x10030c9b
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 0x10030c75
add esi, 0x54
sub dword [ebp - 0x148], 1
jne 0x10030c54
mov edi, dword [ebp - 0x14c]
mov esi, dword [ebp - 0x180]
test byte [edi + 4], 1
mov eax, dword [edi + 0x28]
jne 0x10030ce9
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 xmm2, dword [0x10163760]
lea ecx, [eax + 1]
mov eax, dword [edi + 0x24]
movaps xmm1, xmm2
mov dword [edi + 0x28], ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
imul eax, ecx
divss xmm1, xmm0
push eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x2c], xmm1
divss xmm2, xmm0
movss dword [edi + 0x30], xmm2
call fcn.10017df0
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 0x100310cf
mov eax, dword [ebp - 0x184]
xor ecx, ecx
add eax, 8
mov dword [ebp - 0x1ac], ecx
mov dword [ebp - 0x1a4], eax
mov edx, esi
mov dword [ebp - 0x158], esi
cmp dword [eax + 0x30], 0
je 0x100310ae
mov esi, dword [edi + 0x5c]
sub esp, 8
movss xmm0, dword [eax]
add esi, ecx
movss xmm1, dword [eax - 4]
mov dword [ebp - 0x1b8], 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 - 0x178], edi
call fcn.10024a80
movss xmm0, dword [edi + 0x4c]
add esp, 0x14
movss xmm3, dword [0x10163738]
mov edi, dword [ebp - 0x14c]
addss xmm0, xmm3
movss xmm4, dword [esi + 0x28]
movss dword [ebp - 0x18c], xmm4
mov dword [ebp - 0x1b4], 0
mov edx, dword [edi + 0x10]
cvttss2si eax, xmm0
mov dword [ebp - 0x1a8], edx
movd xmm5, eax
mov eax, dword [ebp - 0x1a4]
cvtdq2ps xmm5, xmm5
cmp dword [eax + 0x30], 0
addss xmm5, dword [esi + 0x2c]
movss dword [ebp - 0x188], xmm5
jle 0x1003109b
xor ecx, ecx
xor esi, esi
mov dword [ebp - 0x19c], ecx
mov dword [ebp - 0x1b0], esi
mov edi, dword [eax + 0x48]
mov eax, dword [eax + 0x20]
add edi, esi
add eax, ecx
mov dword [ebp - 0x190], edi
movzx ecx, word [eax + 8]
movzx eax, word [eax + 0xa]
add ecx, edx
add eax, edx
mov dword [ebp - 0x150], ecx
mov ecx, dword [edi]
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x1a0], ecx
mov edx, dword [eax + 0x24]
mov esi, edx
imul esi, dword [ebp - 0x17c]
mov eax, dword [edi + 0x18]
mov edi, dword [edi + 4]
mov dword [ebp - 0x15c], edx
mov edx, dword [ebp - 0x14c]
add esi, dword [ebp - 0x150]
mov dword [ebp - 0x148], eax
add esi, dword [edx + 0x1c]
test edi, edi
jle 0x10030ecd
nop
push ecx
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x148]
dec edi
mov ecx, dword [ebp - 0x1a0]
add esp, 0xc
add esi, dword [ebp - 0x15c]
add eax, ecx
mov dword [ebp - 0x148], eax
test edi, edi
jg 0x10030e80
mov eax, dword [ebp - 0x14c]
movss xmm3, dword [0x10163738]
movss xmm4, dword [ebp - 0x18c]
movss xmm5, dword [ebp - 0x188]
mov esi, dword [eax + 0x24]
jmp 0x10030ed3
mov esi, dword [ebp - 0x15c]
mov edi, dword [ebp - 0x190]
mov ecx, dword [ebp - 0x1b8]
movss xmm2, dword [edi + 0x10]
movss xmm0, dword [ecx + 0x34]
comiss xmm0, xmm2
movss dword [ebp - 0x148], xmm0
ja 0x10030f07
movss xmm0, dword [ecx + 0x38]
minss xmm0, xmm2
movss dword [ebp - 0x148], xmm0
ucomiss xmm2, xmm0
movaps xmm1, xmm4
lahf
test ah, 0x44
jnp 0x10030f3d
cmp byte [ecx + 0x1c], 0
je 0x10030f2e
subss xmm0, xmm2
mulss xmm0, xmm3
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
jmp 0x10030f39
movaps xmm1, xmm0
subss xmm1, xmm2
mulss xmm1, xmm3
addss xmm1, xmm4
movd xmm0, dword [edi + 8]
sub esp, 0x24
mov eax, dword [edi]
movd xmm4, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x14c]
cvtdq2ps xmm0, xmm0
mov edx, dword [edi + 4]
mov ecx, dword [ecx + 0x28]
movd xmm3, dword [ebp - 0x17c]
addss xmm0, xmm1
movd xmm6, eax
add eax, dword [ebp - 0x150]
cvtdq2ps xmm6, xmm6
movss dword [ebp - 0x1a0], xmm0
addss xmm6, xmm0
movd xmm2, eax
mov eax, dword [ebp - 0x17c]
movd xmm0, esi
add eax, edx
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm4, xmm4
cvtdq2ps xmm3, xmm3
divss xmm4, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movd xmm7, dword [edi + 0xc]
divss xmm3, xmm0
mov edi, dword [ebp - 0x190]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm2, xmm2
movd xmm1, eax
divss xmm2, xmm0
movzx eax, word [edi + 0x14]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mov ecx, dword [ebp - 0x178]
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm7, xmm7
divss xmm1, xmm0
movss xmm0, dword [ebp - 0x148]
addss xmm7, xmm5
movd xmm5, edx
movss dword [esp + 0x20], xmm0
movss xmm0, dword [ebp - 0x1a0]
cvtdq2ps xmm5, xmm5
movss dword [esp + 0x1c], xmm1
movss dword [esp + 0x18], xmm2
addss xmm5, xmm7
movss dword [esp + 0x14], xmm3
movss dword [esp + 0x10], xmm4
movss dword [esp + 0xc], xmm5
movss dword [esp + 8], xmm6
movss dword [esp + 4], xmm7
movss dword [esp], xmm0
push eax
call fcn.10022500
mov edx, dword [ebp - 0x1b4]
mov eax, dword [ebp - 0x1a4]
inc edx
mov esi, dword [ebp - 0x1b0]
mov ecx, dword [ebp - 0x19c]
add esi, 0x1c
movss xmm3, dword [0x10163738]
add ecx, 0x10
cmp edx, dword [eax + 0x30]
movss xmm4, dword [ebp - 0x18c]
movss xmm5, dword [ebp - 0x188]
mov dword [ebp - 0x1b4], edx
mov edx, dword [ebp - 0x1a8]
mov dword [ebp - 0x1b0], esi
mov dword [ebp - 0x19c], ecx
jl 0x10030e17
mov edi, dword [ebp - 0x14c]
mov ecx, dword [ebp - 0x1ac]
mov edx, dword [ebp - 0x158]
mov dword [eax + 0x20], 0
add eax, 0x54
add ecx, 0x78
sub edx, 1
mov dword [ebp - 0x1a4], eax
mov dword [ebp - 0x1ac], ecx
mov dword [ebp - 0x158], edx
jne 0x10030d63
mov edi, dword [ebp - 0x164]
xor esi, esi
test edi, edi
jle 0x100310f6
nop dword [eax + eax]
mov eax, dword [ebp - 0x198]
push dword [eax + esi*4]
call fcn.10017e20
inc esi
add esp, 4
cmp esi, edi
jl 0x100310e0
mov edi, dword [ebp - 0x180]
test edi, edi
jle 0x10031159
mov esi, dword [ebp - 0x184]
add esi, 0x18
nop dword [eax]
mov eax, dword [esi + 0x38]
mov byte [ebp - 4], 9
test eax, eax
je 0x10031124
push eax
call fcn.10017e20
add esp, 4
mov eax, dword [esi + 0x2c]
mov byte [ebp - 4], 0xa
test eax, eax
je 0x10031138
push eax
call fcn.10017e20
add esp, 4
mov eax, dword [esi]
mov byte [ebp - 4], 8
test eax, eax
je 0x10031151
push eax
call fcn.100f6fa0
add esp, 4
mov dword [esi], 0
add esi, 0x54
sub edi, 1
jne 0x10031110
push dword [ebp - 0x14c]
call fcn.100245b0
add esp, 4
mov byte [ebp - 0x141], 1
mov eax, dword [ebp - 0x1d4]
mov byte [ebp - 4], 0xb
test eax, eax
je 0x10031185
push eax
call fcn.10017e20
add esp, 4
mov eax, dword [ebp - 0x198]
mov byte [ebp - 4], 0xc
test eax, eax
je 0x1003119c
push eax
call fcn.10017e20
add esp, 4
mov eax, dword [ebp - 0x168]
mov byte [ebp - 4], 0xd
test eax, eax
je 0x100311b3
push eax
call fcn.10017e20
add esp, 4
mov eax, dword [ebp - 0x154]
mov byte [ebp - 4], 0xe
test eax, eax
je 0x100311ca
push eax
call fcn.10017e20
add esp, 4
mov eax, dword [ebp - 0x184]
mov dword [ebp - 4], 0xf
test eax, eax
je 0x100311e4
push eax
call fcn.10017e20
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.100f54de
mov esp, ebp
pop ebp
ret