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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101220c9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x1f8
push esi
mov esi, edx
mov dword [ebp - 0x24], ecx
push edi
mov ecx, esi
mov dword [ebp - 0x1c], esi
call fcn.10063960
mov ecx, esi
mov dword [esi + 4], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.10061be0
xor edx, edx
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x90], edx
mov dword [ebp - 4], edx
xor esi, esi
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x78], esi
mov eax, dword [ebp - 0x1c]
lea edx, [esi + 8]
mov byte [ebp - 4], 1
mov ecx, dword [eax + 0x4c]
mov dword [ebp - 0x4c], ecx
test ecx, ecx
jle 0x1007b466
cmp ecx, edx
mov edi, ecx
cmovl edi, edx
test edi, edi
jle 0x1007b466
mov eax, dword [0x10168418]
test eax, eax
je 0x1007b440
inc dword [eax + 0x374]
imul eax, edi, 0x54
push eax
call fcn.10105bc4
mov ecx, dword [ebp - 0x4c]
add esp, 4
mov dword [ebp - 0x44], eax
mov edx, 8
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x94], edi
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x2c], eax
test eax, eax
jle 0x1007b4b1
cmp eax, 8
mov edi, eax
cmovl edi, edx
test edi, edi
jle 0x1007b4b1
mov eax, dword [0x10168418]
test eax, eax
je 0x1007b491
inc dword [eax + 0x374]
lea eax, [edi + edi*2]
shl eax, 3
push eax
call fcn.10105bc4
mov ecx, dword [ebp - 0x4c]
mov esi, eax
mov eax, dword [ebp - 0x2c]
add esp, 4
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x7c], edi
mov edi, dword [ebp - 0x44]
imul ecx, ecx, 0x54
mov dword [ebp - 0x80], eax
push ecx
push 0
push edi
call fcn.100f77a0
mov eax, dword [ebp - 0x2c]
add esp, 0xc
lea eax, [eax + eax*2]
shl eax, 3
push eax
push 0
push esi
call fcn.100f77a0
mov edx, dword [ebp - 0x1c]
add esp, 0xc
mov dword [ebp - 0x30], 0
cmp dword [edx + 0x4c], 0
jle 0x1007b5f2
xor ecx, ecx
add edi, 0x34
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x38], edi
nop word [eax + eax]
mov eax, dword [edx + 0x54]
xor edx, edx
add eax, ecx
mov dword [edi - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
cmp dword [ecx + 0x34], edx
jle 0x1007b82d
mov esi, dword [ebp - 0x38]
or edi, 0xffffffff
mov ecx, edi
cmp edi, 0xffffffff
jne 0x1007b54d
mov ecx, dword [ebp - 0x1c]
or edi, edi
mov eax, dword [eax + 0x74]
mov ecx, dword [ecx + 0x3c]
cmp eax, dword [ecx + edx*4]
jne 0x1007b53f
mov dword [esi - 4], edx
mov edi, edx
mov eax, dword [ebp - 0x1c]
inc edx
mov ecx, edi
cmp edx, dword [eax + 0x34]
mov eax, dword [ebp - 0x28]
jl 0x1007b523
mov esi, dword [ebp - 0x40]
cmp ecx, 0xffffffff
je 0x1007b82d
push dword [ebx + 8]
mov edi, dword [ebp - 0x38]
push eax
push dword [ebp - 0x24]
lea ecx, [edi - 0x34]
call fcn.1007ab50
test al, al
je 0x1007b82d
mov ecx, dword [ebp - 0x28]
mov edx, 0x1014e6a0
mov eax, dword [ecx + 0x40]
shr eax, 8
and al, 1
or byte [ebp - 0x11], al
mov eax, dword [edi - 4]
lea eax, [eax + eax*2]
mov dword [ebp - 0x64], eax
mov eax, dword [ecx + 0x30]
test eax, eax
cmovne edx, eax
mov dword [edi - 8], edx
cmp word [edx], 0
je 0x1007b5bb
movzx eax, word [edx + 2]
test ax, ax
je 0x1007b5bb
mov ecx, eax
cmp dword [edi], ecx
cmovge ecx, dword [edi]
add edx, 4
mov dword [edi], ecx
cmp word [edx], 0
jne 0x1007b5a0
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x30]
inc dword [esi + edx*8]
mov ecx, dword [edi]
cmp dword [esi + edx*8 + 4], ecx
cmovge ecx, dword [esi + edx*8 + 4]
inc eax
mov dword [esi + edx*8 + 4], ecx
add edi, 0x54
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x50]
add ecx, 0x78
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x50], ecx
cmp eax, dword [edx + 0x4c]
jl 0x1007b500
mov eax, dword [ebp - 0x4c]
xor edi, edi
mov dword [ebp - 0x3c], edi
test eax, eax
jle 0x1007b8d0
mov edx, dword [ebp - 0x44]
add edx, 0x38
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], edx
nop
mov eax, dword [edx - 8]
lea esi, [edx + 4]
mov ecx, esi
lea edi, [eax + eax*2]
mov eax, dword [edx - 4]
add eax, 0x20
mov dword [ebp - 0x38], edi
sar eax, 5
push eax
call fcn.10055570
mov eax, dword [esi]
shl eax, 2
push eax
mov eax, dword [ebp - 0x18]
push 0
push dword [eax + 0xc]
call fcn.100f77a0
mov eax, dword [ebp - 0x40]
add esp, 0xc
cmp dword [eax + edi*8 + 0xc], 0
lea esi, [eax + edi*8]
jne 0x1007b677
mov eax, dword [eax + edi*8 + 4]
lea ecx, [esi + 0xc]
add eax, 0x20
sar eax, 5
push eax
call fcn.10055570
mov eax, dword [esi + 0xc]
shl eax, 2
push eax
push 0
push dword [esi + 0x14]
call fcn.100f77a0
add esp, 0xc
mov edx, dword [ebp - 0x18]
mov eax, dword [edx - 0xc]
mov dword [ebp - 0x58], eax
cmp word [eax], 0
je 0x1007b724
nop word [eax + eax]
movzx ecx, word [eax + 2]
test cx, cx
je 0x1007b724
movzx edi, word [eax]
cmp edi, ecx
ja 0x1007b711
mov eax, dword [ebp - 0x38]
mov ecx, edi
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov esi, edi
mov ecx, dword [ebp - 0x40]
sar esi, 5
mov dword [ebp - 0x24], edx
mov eax, dword [ecx + eax*8 + 0x14]
test dword [eax + esi*4], edx
jne 0x1007b702
mov eax, dword [ebp - 0x18]
push edi
push dword [eax - 0x20]
call fcn.100968b0
mov edx, dword [ebp - 0x18]
add esp, 8
test eax, eax
je 0x1007b705
inc dword [edx]
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x40]
inc dword [ecx + eax*8 + 8]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x40]
or dword [eax + esi*4], ecx
mov eax, dword [ebp - 0x38]
mov eax, dword [edx + eax*8 + 0x14]
or dword [eax + esi*4], ecx
inc dword [ebp - 0x3c]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x58]
inc edi
movzx eax, word [eax + 2]
cmp edi, eax
jle 0x1007b6a4
mov eax, dword [ebp - 0x58]
add eax, 4
mov dword [ebp - 0x58], eax
cmp word [eax], 0
jne 0x1007b690
add edx, 0x54
sub dword [ebp - 0x28], 1
mov dword [ebp - 0x18], edx
jne 0x1007b610
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x4c]
add edx, 0x50
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x30], eax
mov esi, dword [edx - 0x18]
cmp esi, dword [edx - 4]
jle 0x1007b7b1
mov eax, dword [0x10168418]
test eax, eax
je 0x1007b75a
inc dword [eax + 0x374]
mov eax, esi
shl eax, 5
push eax
call fcn.10105bc4
mov edx, dword [ebp - 0x18]
add esp, 4
mov dword [ebp - 0x24], eax
mov edi, dword [edx]
test edi, edi
je 0x1007b7ac
mov ecx, dword [edx - 8]
shl ecx, 5
push ecx
push edi
push eax
call fcn.100f7220
mov edx, dword [ebp - 0x18]
add esp, 0xc
mov ecx, dword [edx]
test ecx, ecx
je 0x1007b79d
mov eax, dword [0x10168418]
test eax, eax
je 0x1007b79d
dec dword [eax + 0x374]
push ecx
call fcn.101012f6
mov edx, dword [ebp - 0x18]
add esp, 4
mov eax, dword [ebp - 0x24]
mov dword [edx], eax
mov dword [edx - 4], esi
mov ecx, dword [edx - 0xc]
mov esi, ecx
mov eax, dword [edx - 0x14]
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x28], ecx
lea eax, [ecx + eax*4]
mov dword [ebp - 0x6c], eax
cmp ecx, eax
jae 0x1007b881
nop dword [eax]
mov eax, dword [esi]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x1007b872
xor edi, edi
nop
mov eax, 1
mov ecx, edi
shl eax, cl
test dword [ebp - 0x24], eax
je 0x1007b868
mov ecx, dword [edx - 8]
mov eax, esi
sub eax, dword [ebp - 0x64]
lea esi, [edx - 8]
shl eax, 3
xorps xmm0, xmm0
and eax, 0xffffffe0
add eax, edi
movzx eax, ax
movups xmmword [ebp - 0xc4], xmm0
mov dword [ebp - 0xbc], eax
mov eax, dword [edx - 4]
cmp ecx, eax
jne 0x1007b84e
inc ecx
test eax, eax
je 0x1007b836
cdq
sub eax, edx
mov edx, dword [ebp - 0x18]
sar eax, 1
add eax, dword [edx - 4]
jmp 0x1007b83b
mov byte [ebp - 0x11], 0
jmp 0x1007c391
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.1007c4f0
mov edx, dword [ebp - 0x18]
xorps xmm0, xmm0
mov eax, dword [esi]
shl eax, 5
add eax, dword [edx]
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0xc4]
movups xmmword [eax + 0x10], xmm0
inc dword [esi]
mov esi, dword [ebp - 0x28]
inc edi
cmp edi, 0x20
jb 0x1007b7e0
add esi, 4
mov dword [ebp - 0x28], esi
cmp esi, dword [ebp - 0x6c]
jb 0x1007b7d0
mov ecx, dword [edx - 0xc]
test ecx, ecx
je 0x1007b8b8
mov eax, dword [0x10168418]
mov dword [edx - 0x10], 0
mov dword [edx - 0x14], 0
test eax, eax
je 0x1007b8a5
dec dword [eax + 0x374]
push ecx
call fcn.101012f6
mov edx, dword [ebp - 0x18]
add esp, 4
mov dword [edx - 0xc], 0
add edx, 0x54
sub dword [ebp - 0x30], 1
mov dword [ebp - 0x18], edx
jne 0x1007b743
mov esi, dword [ebp - 0x40]
mov edi, dword [ebp - 0x3c]
jmp 0x1007b8d2
xor edi, edi
cmp dword [ebp - 0x2c], 0
jle 0x1007b924
lea eax, [esi + 0x14]
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x1007b916
mov dword [eax - 4], 0
mov dword [eax - 8], 0
mov eax, dword [0x10168418]
test eax, eax
je 0x1007b904
dec dword [eax + 0x374]
push ecx
call fcn.101012f6
mov eax, dword [ebp - 0x28]
add esp, 4
mov dword [eax], 0
add eax, 0x18
mov dword [ebp - 0x28], eax
sub esi, 1
jne 0x1007b8e1
mov esi, dword [ebp - 0x40]
test esi, esi
je 0x1007b956
mov eax, dword [0x10168418]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x80], 0
test eax, eax
je 0x1007b945
dec dword [eax + 0x374]
push esi
call fcn.101012f6
add esp, 4
xor eax, eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x78], eax
xor eax, eax
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0x28], eax
mov dword [ebp - 0xac], eax
test edi, edi
jle 0x1007b9ac
cmp edi, 8
mov esi, edi
mov ecx, 8
cmovl esi, ecx
test esi, esi
jle 0x1007b9ac
mov eax, dword [0x10168418]
test eax, eax
je 0x1007b98f
inc dword [eax + 0x374]
mov eax, esi
shl eax, 4
push eax
call fcn.10105bc4
add esp, 4
mov dword [ebp - 0x28], eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xb0], esi
mov dword [ebp - 0xb4], edi
shl edi, 4
push edi
push 0
push eax
call fcn.100f77a0
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
mov byte [ebp - 4], 7
mov eax, dword [0x10168418]
test eax, eax
je 0x1007b9e5
inc dword [eax + 0x374]
push 0x40000
call fcn.10105bc4
mov ecx, dword [0x10168418]
add esp, 4
mov esi, eax
test ecx, ecx
je 0x1007ba04
inc dword [ecx + 0x374]
push 0x20
call fcn.10105bc4
movss xmm0, dword [0x10151cb0]
xor ecx, ecx
mov dword [ebp - 0x38], eax
xor edi, edi
mov dword [ebp - 0x84], eax
add esp, 4
mov dword [eax], esi
mov eax, 1
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x88], 8
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x5c], edi
test eax, eax
jle 0x1007bd0c
mov esi, dword [ebp - 0x44]
xor edx, edx
add esi, 0x48
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x34], esi
mov ecx, dword [eax + 0x54]
add ecx, edx
mov edx, dword [esi - 0x10]
test edx, edx
je 0x1007bce5
mov eax, edi
add edi, edx
shl eax, 4
add eax, dword [ebp - 0x28]
mov dword [esi - 0x20], eax
movss xmm1, dword [ecx + 0x44]
ucomiss xmm1, xmm0
mov dword [ebp - 0x5c], edi
movss dword [ebp - 0x24], xmm1
lahf
test ah, 0x44
jnp 0x1007bae7
mov byte [ebp - 0x1d], 1
xor edi, edi
nop dword [eax + eax]
movd xmm0, edi
mov eax, edi
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10152160]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
call fcn.10119be0
movss xmm1, dword [ebp - 0x24]
mov edx, 0xff
cmp eax, edx
movzx ecx, al
cmovbe edx, ecx
mov byte [ebp + edi - 0x208], dl
inc edi
cmp edi, 0x100
jb 0x1007baa0
jmp 0x1007baeb
mov byte [ebp - 0x1d], 0
cmp dword [esi], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x50], 0
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x64], eax
jle 0x1007bce2
xor ecx, ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x68], ecx
mov edi, dword [esi + 8]
add edi, ecx
push dword [edi + 0x18]
push dword [esi - 0x30]
call fcn.100968b0
add esp, 8
test eax, eax
je 0x1007bcc6
push dword [esi - 0x28]
push eax
push dword [esi - 0x30]
call fcn.10097260
add esp, 0xc
test eax, eax
jne 0x1007bcc6
test byte [esi - 0x2c], 0x20
mov eax, dword [esi - 0x30]
mov eax, dword [eax + 0x54]
mov dword [ebp - 0x30], eax
je 0x1007bb5d
push eax
call fcn.1009e0c0
mov eax, dword [ebp - 0x30]
add esp, 4
test byte [esi - 0x2c], 0x40
je 0x1007bb6c
push eax
call fcn.1009e1c0
add esp, 4
mov eax, dword [ebp - 0x30]
add eax, 0x18
je 0x1007bcc6
mov eax, dword [esi - 0x30]
push dword [esi - 0x24]
mov eax, dword [eax + 0x54]
push eax
mov dword [ebp - 0x24], eax
call fcn.10099530
add esp, 8
test eax, eax
jne 0x1007bcc6
mov eax, dword [esi - 0x30]
mov eax, dword [eax + 0x54]
add eax, 0x4c
mov dword [ebp - 0x30], eax
mov ecx, dword [eax + 4]
mov dword [edi], ecx
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
mov dword [edi + 4], eax
mov eax, dword [esi - 0x30]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x64]
mov dword [edi + 8], eax
mov eax, dword [esi - 0x30]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x68]
neg eax
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x40]
add eax, 0x3f
and eax, 0xffffffc0
cdq
and edx, 0x3f
add eax, edx
mov edx, dword [ebp - 0x2c]
sar eax, 6
movd xmm0, eax
mov eax, dword [ebp - 0x30]
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x10], xmm0
cmp byte [eax + 0x12], 7
sete al
mov byte [edi + 0x14], al
mov eax, dword [ebp - 0x3c]
imul eax, ecx
shl eax, 2
mov dword [ebp - 0x3c], eax
add eax, edx
cmp eax, 0x40000
jle 0x1007bc58
xor eax, eax
mov dword [ebp - 0x2c], eax
mov eax, dword [0x10168418]
test eax, eax
je 0x1007bc22
inc dword [eax + 0x374]
push 0x40000
call fcn.10105bc4
add esp, 4
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x8c]
push eax
call fcn.100552c0
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x58], ecx
jmp 0x1007bc5e
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x58]
mov ecx, dword [eax + ecx*4 - 4]
lea eax, [ebp - 0x208]
add ecx, edx
add edx, dword [ebp - 0x3c]
mov dword [ebp - 0x2c], edx
xor edx, edx
cmp byte [ebp - 0x1d], dl
mov dword [edi + 0x1c], ecx
cmove eax, edx
push eax
push dword [edi]
push ecx
push dword [ebp - 0x30]
call fcn.1007ad30
mov eax, dword [ebp - 0x64]
movzx ecx, word [edi]
movzx edx, ax
mov eax, dword [esi - 0x20]
add cx, dx
mov esi, dword [ebp - 0x18]
mov word [eax + esi + 4], cx
mov esi, dword [ebp - 0x34]
movzx ecx, word [edi + 4]
add cx, dx
mov edx, dword [ebp - 0x18]
mov eax, dword [esi - 0x20]
mov word [eax + edx + 6], cx
mov eax, dword [esi - 0x20]
movzx ecx, word [eax + edx + 6]
movzx eax, word [eax + edx + 4]
imul ecx, eax
add dword [ebp - 0x54], ecx
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x68]
inc eax
add dword [ebp - 0x18], 0x10
add ecx, 0x20
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x68], ecx
cmp eax, dword [esi]
jl 0x1007bb10
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x48]
add esi, 0x54
movss xmm0, dword [0x10151cb0]
add edx, 0x78
sub dword [ebp - 0x70], 1
mov edi, dword [ebp - 0x5c]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x48], edx
jne 0x1007ba62
mov ecx, dword [ebp - 0x54]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
call fcn.10002e20
mov edi, dword [ebp - 0x1c]
cvttss2si eax, xmm0
mov esi, dword [edi + 8]
mov dword [edi + 0x20], 0
inc eax
test esi, esi
jg 0x1007bd69
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [0x10151ebc]
jb 0x1007bd45
mov esi, 0x1000
jmp 0x1007bd69
comiss xmm0, dword [0x10151eb4]
jb 0x1007bd55
mov esi, 0x800
jmp 0x1007bd69
comiss xmm0, dword [0x10151ea4]
mov esi, 0x200
mov eax, 0x400
cmovae esi, eax
mov dword [edi + 0x1c], esi
xor eax, eax
sub esi, dword [edi + 0xc]
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], eax
mov byte [ebp - 4], 8
test esi, esi
jle 0x1007bdc8
cmp esi, 8
mov edi, esi
mov ecx, 8
cmovl edi, ecx
test edi, edi
jle 0x1007bdc5
mov eax, dword [0x10168418]
test eax, eax
je 0x1007bda9
inc dword [eax + 0x374]
lea eax, [edi*8]
push eax
call fcn.10105bc4
add esp, 4
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xa4], edi
mov edi, dword [ebp - 0x1c]
mov edx, dword [edi + 0x1c]
push esi
push eax
push ecx
lea ecx, [ebp - 0x104]
mov dword [ebp - 0xa8], esi
call fcn.1007b1f0
add esp, 0xc
lea edx, [ebp - 0x104]
mov ecx, edi
call fcn.10063450
mov eax, dword [ebp - 0x4c]
test eax, eax
jle 0x1007be57
mov esi, dword [ebp - 0x44]
add esi, 0x38
mov dword [ebp - 0x5c], eax
nop
mov eax, dword [esi]
test eax, eax
je 0x1007be4b
mov edx, dword [esi - 0x10]
lea ecx, [ebp - 0x104]
push eax
call fcn.100564e0
xor edi, edi
add esp, 4
cmp dword [esi], edi
jle 0x1007be4b
xor edx, edx
mov eax, dword [esi - 0x10]
cmp dword [eax + edx + 0xc], 0
je 0x1007be43
movzx ecx, word [eax + edx + 0xa]
movzx eax, word [eax + edx + 6]
add ecx, eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x20], ecx
cmovge ecx, dword [eax + 0x20]
mov dword [eax + 0x20], ecx
inc edi
add edx, 0x10
cmp edi, dword [esi]
jl 0x1007be20
add esi, 0x54
sub dword [ebp - 0x5c], 1
jne 0x1007be00
mov edi, dword [ebp - 0x1c]
test byte [edi], 1
mov eax, dword [edi + 0x20]
jne 0x1007be84
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 [0x10151cb0]
lea esi, [eax + 1]
mov eax, dword [edi + 0x1c]
movaps xmm1, xmm2
mov dword [edi + 0x20], esi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
imul esi, eax
cmp byte [ebp - 0x11], 0
divss xmm2, xmm0
mov eax, dword [0x10168418]
movss dword [edi + 0x24], xmm1
movss dword [edi + 0x28], xmm2
je 0x1007bede
shl esi, 2
test eax, eax
je 0x1007bed3
inc dword [eax + 0x374]
push esi
call fcn.10105bc4
mov dword [edi + 0x18], eax
jmp 0x1007bef1
test eax, eax
je 0x1007bee8
inc dword [eax + 0x374]
push esi
call fcn.10105bc4
mov dword [edi + 0x14], eax
add esp, 4
push esi
push 0
push eax
call fcn.100f77a0
mov ecx, dword [ebp - 0x4c]
xor al, al
add esp, 0xc
mov byte [ebp - 0x1d], al
test ecx, ecx
jle 0x1007c23d
mov eax, dword [ebp - 0x44]
xor edx, edx
add eax, 8
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x24], ecx
cmp dword [eax + 0x30], 0
je 0x1007c222
mov ecx, dword [edi + 0x54]
movss xmm0, dword [eax - 4]
add ecx, edx
movss dword [ebp - 0x6c], xmm0
movss xmm0, dword [eax]
mov dword [ebp - 0x5c], ecx
cmp byte [ecx + 0x3c], 0
mov edx, dword [ecx + 0x74]
mov dword [ebp - 0x70], edx
movss dword [ebp - 0x60], xmm0
lea esi, [edx + 0x38]
lea edi, [edx + 0x44]
jne 0x1007bf8c
mov ecx, edx
call fcn.10063e50
mov edx, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x5c]
movss xmm0, dword [ebp - 0x6c]
mov eax, dword [ecx + 0x10]
mov dword [edx + 0x10], eax
xor eax, eax
movss dword [edi], xmm0
movss xmm0, dword [ebp - 0x60]
mov word [esi], ax
mov eax, dword [ebp - 0x1c]
mov dword [edx + 0x34], ecx
mov dword [edx + 0x30], eax
movss dword [edx + 0x48], xmm0
movss xmm0, dword [edi]
addss xmm0, dword [0x10151c6c]
inc word [esi]
mov edi, dword [ebp - 0x1c]
movss xmm2, dword [ecx + 0x28]
movss dword [ebp - 0x3c], xmm2
cvttss2si eax, xmm0
mov esi, dword [edi + 0xc]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x6c], 0
movd xmm1, eax
mov eax, dword [ebp - 0x30]
cvtdq2ps xmm1, xmm1
cmp dword [eax + 0x30], 0
addss xmm1, dword [ecx + 0x2c]
movss dword [ebp - 0x54], xmm1
jle 0x1007c215
xor ecx, ecx
xor edx, edx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x50], edx
mov edi, dword [eax + 0x48]
mov eax, dword [eax + 0x20]
add edi, edx
add eax, ecx
cmp word [eax + 4], 0
jne 0x1007bffd
cmp word [eax + 6], 0
je 0x1007c1f1
movzx edx, word [eax + 8]
sub esp, 0x20
movd xmm0, dword [edi + 8]
add edx, esi
movzx esi, word [eax + 0xa]
mov eax, dword [edi]
add esi, dword [ebp - 0x2c]
movd xmm7, dword [edi + 0xc]
mov ecx, dword [edi + 4]
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x48], esi
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x34], edx
movd xmm6, eax
add eax, edx
addss xmm0, xmm2
movd xmm4, edx
cvtdq2ps xmm7, xmm7
cvtdq2ps xmm6, xmm6
addss xmm7, xmm1
movss dword [ebp - 0x60], xmm0
movd xmm1, dword [esi + 0x1c]
addss xmm6, xmm0
movd xmm0, dword [esi + 0x20]
mov esi, dword [ebp - 0x48]
cvtdq2ps xmm1, xmm1
movd xmm2, eax
lea eax, [ecx + esi]
cvtdq2ps xmm4, xmm4
cvtdq2ps xmm2, xmm2
divss xmm4, xmm1
divss xmm2, xmm1
movd xmm1, eax
cvtdq2ps xmm0, xmm0
movzx eax, word [edi + 0x18]
movd xmm3, esi
cvtdq2ps xmm1, xmm1
mov esi, dword [ebp - 0x70]
cvtdq2ps xmm3, xmm3
divss xmm1, xmm0
divss xmm3, xmm0
movss xmm0, dword [edi + 0x10]
movd xmm5, ecx
mov ecx, esi
cvtdq2ps xmm5, xmm5
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x18], xmm1
addss xmm5, xmm7
movss dword [esp + 0x14], xmm2
movss dword [esp + 0x10], xmm3
movss xmm3, dword [ebp - 0x60]
movss dword [esp + 0xc], xmm4
movss dword [esp + 8], xmm5
movss dword [esp + 4], xmm6
movss dword [esp], xmm7
push eax
push dword [ebp - 0x5c]
call fcn.10064320
cmp byte [edi + 0x14], 0
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x28]
lea eax, [eax + eax*4]
je 0x1007c0f5
or dword [ecx + eax*8 - 0x28], 1
mov byte [ebp - 0x1d], 1
mov ecx, dword [ebp - 0x1c]
mov esi, dword [edi + 0x1c]
mov edx, dword [edi]
mov dword [ebp - 0x18], esi
mov eax, dword [ecx + 0x1c]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x60], eax
imul eax, dword [ebp - 0x48]
mov dword [ebp - 0x48], 0
test ecx, ecx
je 0x1007c173
add eax, dword [ebp - 0x34]
add eax, ecx
cmp dword [edi + 4], 0
mov dword [ebp - 0x34], eax
jle 0x1007c1e4
lea ecx, [edx*4]
mov dword [ebp - 0x74], ecx
xor ecx, ecx
test edx, edx
jle 0x1007c159
add esi, 3
nop dword [eax]
mov edx, dword [ebp - 0x34]
lea esi, [esi + 4]
mov al, byte [esi - 4]
mov byte [ecx + edx], al
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jl 0x1007c140
mov eax, dword [ebp - 0x34]
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x48]
add eax, dword [ebp - 0x60]
inc ecx
add esi, dword [ebp - 0x74]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x18], esi
cmp ecx, dword [edi + 4]
jl 0x1007c134
jmp 0x1007c1e4
mov ecx, dword [ebp - 0x34]
add ecx, eax
cmp dword [edi + 4], 0
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x18]
lea ecx, [eax + ecx*4]
mov dword [ebp - 0x34], ecx
jle 0x1007c1e4
mov eax, dword [ebp - 0x60]
shl eax, 2
mov dword [ebp - 0x60], eax
lea eax, [edx*4]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x18]
xor esi, esi
test edx, edx
jle 0x1007c1c9
sub eax, dword [ebp - 0x34]
mov dword [ebp - 0x74], eax
nop
mov eax, dword [ecx + eax]
lea ecx, [ecx + 4]
mov dword [ecx - 4], eax
inc esi
mov edx, dword [edi]
mov eax, dword [ebp - 0x74]
cmp esi, edx
jl 0x1007c1b0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x48]
add ecx, dword [ebp - 0x60]
inc esi
add eax, dword [ebp - 0x9c]
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x18], eax
cmp esi, dword [edi + 4]
jl 0x1007c1a3
mov esi, dword [ebp - 0x2c]
movss xmm2, dword [ebp - 0x3c]
movss xmm1, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x30]
inc ecx
add dword [ebp - 0x50], 0x20
add dword [ebp - 0x68], 0x10
mov edx, dword [ebp - 0x50]
cmp ecx, dword [eax + 0x30]
mov dword [ebp - 0x6c], ecx
mov ecx, dword [ebp - 0x68]
jl 0x1007bfe1
mov edi, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x24]
mov dword [eax + 0x20], 0
add eax, 0x54
add edx, 0x78
sub ecx, 1
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x24], ecx
jne 0x1007bf21
mov al, byte [ebp - 0x1d]
xor esi, esi
mov byte [edi + 0x11], al
cmp dword [ebp - 0x58], esi
jle 0x1007c278
mov edi, dword [ebp - 0x38]
nop word [eax + eax]
mov ecx, dword [edi + esi*4]
test ecx, ecx
je 0x1007c266
mov eax, dword [0x10168418]
test eax, eax
je 0x1007c266
dec dword [eax + 0x374]
push ecx
call fcn.101012f6
inc esi
add esp, 4
cmp esi, dword [ebp - 0x58]
jl 0x1007c250
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x4c]
test eax, eax
jle 0x1007c2e5
mov esi, dword [ebp - 0x44]
add esi, 0x18
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x1007c2a4
mov eax, dword [0x10168418]
test eax, eax
je 0x1007c29b
dec dword [eax + 0x374]
push ecx
call fcn.101012f6
add esp, 4
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x1007c2c3
mov eax, dword [0x10168418]
test eax, eax
je 0x1007c2ba
dec dword [eax + 0x374]
push ecx
call fcn.101012f6
add esp, 4
mov byte [ebp - 4], 8
mov eax, dword [esi]
test eax, eax
je 0x1007c2dc
push eax
call fcn.10096420
add esp, 4
mov dword [esi], 0
add esi, 0x54
sub dword [ebp - 0x4c], 1
jne 0x1007c285
mov esi, dword [ebp - 0x44]
test esi, esi
je 0x1007c323
mov eax, dword [0x10168418]
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x98], 0
test eax, eax
je 0x1007c30f
dec dword [eax + 0x374]
push esi
call fcn.101012f6
add esp, 4
xor esi, esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x90], esi
mov ecx, edi
call fcn.10063a30
mov byte [ebp - 0x11], 1
mov ecx, dword [ebp - 0xa0]
test ecx, ecx
je 0x1007c350
mov eax, dword [0x10168418]
test eax, eax
je 0x1007c347
dec dword [eax + 0x374]
push ecx
call fcn.101012f6
add esp, 4
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x1007c36f
mov eax, dword [0x10168418]
test eax, eax
je 0x1007c366
dec dword [eax + 0x374]
push ecx
call fcn.101012f6
add esp, 4
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x1007c38e
mov eax, dword [0x10168418]
test eax, eax
je 0x1007c385
dec dword [eax + 0x374]
push ecx
call fcn.101012f6
add esp, 4
mov esi, dword [ebp - 0x40]
test esi, esi
je 0x1007c3ad
mov eax, dword [0x10168418]
test eax, eax
je 0x1007c3a4
dec dword [eax + 0x374]
push esi
call fcn.101012f6
add esp, 4
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x1007c3cd
mov ecx, dword [0x10168418]
test ecx, ecx
je 0x1007c3c4
dec dword [ecx + 0x374]
push eax
call fcn.101012f6
add esp, 4
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0x11]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret