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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1d8
push esi
push edi
mov edi, edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], edi
cmp dword [edi + 0x460], 0
jge 0x1007eda6
test byte [edi], 2
lea eax, [esp + 0x70]
mov dword [esp + 0x74], 0xffffffff
lea ecx, [edi + 0x40]
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
push eax
mov dword [esp + 0x74], 0x1b00d9
je 0x1007ed97
mov dword [esp + 0x74], 0x20002
call fcn.10067b50
mov eax, dword [edi + 0x40]
dec eax
mov dword [edi + 0x460], eax
cmp dword [edi + 0x464], 0
jge 0x1007ee0f
test byte [edi], 4
jne 0x1007ee0f
lea eax, [esp + 0x70]
mov dword [esp + 0x74], 0xffffffff
push eax
lea ecx, [edi + 0x40]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x74], 0x400041
call fcn.10067b50
mov eax, dword [edi + 0x40]
dec eax
mov dword [edi + 0x464], eax
mov ecx, edi
mov dword [edi + 4], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.10064c60
mov esi, dword [esp + 0x10]
xor edi, edi
mov edx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov byte [esp + 0x16], 0
mov dword [esp + 0x40], 0
mov ecx, dword [esi + 0x4c]
lea eax, [edi + 8]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x54], ecx
mov dword [esp + 0x24], edx
test ecx, ecx
jle 0x1007eeb1
cmp ecx, 8
mov eax, ecx
mov ecx, 8
cmovl eax, ecx
test eax, eax
jle 0x1007eeaf
mov ecx, dword [0x101c18e4]
test ecx, ecx
je 0x1007ee97
inc dword [ecx + 0x370]
imul eax, eax, 0x54
push eax
call edx
mov edx, dword [esp + 0x28]
add esp, 4
mov dword [esp + 0x40], eax
mov eax, 8
jmp 0x1007eeb1
mov eax, ecx
mov esi, dword [esi + 0x34]
mov dword [esp + 0x58], esi
test esi, esi
jle 0x1007eee9
cmp esi, 8
mov ecx, esi
cmovl ecx, eax
test ecx, ecx
jle 0x1007eee9
mov eax, dword [0x101c18e4]
test eax, eax
je 0x1007eed7
inc dword [eax + 0x370]
lea eax, [ecx + ecx*2]
shl eax, 3
push eax
call edx
add esp, 4
mov dword [esp + 0x4c], eax
mov edi, eax
imul ecx, dword [esp + 0x54], 0x54
push ecx
push 0
push dword [esp + 0x48]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esi + esi*2]
shl eax, 3
push eax
push 0
push edi
call sub.VCRUNTIME140.dll_memset
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [esp + 0x30], 0
mov dword [esp + 0x50], eax
cmp dword [edx + 0x4c], 0
jle 0x1007f049
mov esi, dword [esp + 0x40]
xor ecx, ecx
add esi, 0x34
mov dword [esp + 0x44], ecx
mov dword [esp + 0x20], esi
nop
mov eax, dword [edx + 0x54]
xor edx, edx
add eax, ecx
mov dword [esi - 4], 0xffffffff
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x34], eax
cmp dword [ecx + 0x34], edx
jle 0x1007f09e
mov edi, dword [esp + 0x20]
or esi, 0xffffffff
mov ecx, esi
cmp esi, 0xffffffff
jne 0x1007ef93
mov ecx, dword [esp + 0x10]
or esi, esi
mov eax, dword [eax + 0x7c]
mov ecx, dword [ecx + 0x3c]
cmp eax, dword [ecx + edx*4]
jne 0x1007ef83
mov dword [edi - 4], edx
mov esi, edx
mov eax, dword [esp + 0x10]
inc edx
mov ecx, esi
cmp edx, dword [eax + 0x34]
mov eax, dword [esp + 0x34]
jl 0x1007ef66
mov edi, dword [esp + 0x4c]
cmp ecx, 0xffffffff
je 0x1007f09e
push dword [ebp + 8]
mov esi, dword [esp + 0x24]
push eax
push dword [esp + 0x24]
lea ecx, [esi - 0x34]
call fcn.1007e500
test al, al
je 0x1007f09e
mov ecx, dword [esp + 0x34]
mov edx, 0x101afb20
mov eax, dword [ecx + 0x40]
shr eax, 8
and al, 1
or byte [esp + 0x16], al
mov eax, dword [esi - 4]
lea eax, [eax + eax*2]
mov dword [esp + 0x48], eax
mov eax, dword [ecx + 0x30]
test eax, eax
cmovne edx, eax
mov dword [esi - 8], edx
cmp word [edx], 0
je 0x1007f00b
nop dword [eax]
movzx eax, word [edx + 2]
test ax, ax
je 0x1007f00b
mov ecx, eax
cmp dword [esi], ecx
cmovge ecx, dword [esi]
add edx, 4
mov dword [esi], ecx
cmp word [edx], 0
jne 0x1007eff0
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x30]
inc dword [edi + edx*8]
mov ecx, dword [esi]
cmp dword [edi + edx*8 + 4], ecx
cmovge ecx, dword [edi + edx*8 + 4]
inc eax
mov dword [edi + edx*8 + 4], ecx
add esi, 0x54
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x44]
sub ecx, 0xffffff80
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x44], ecx
cmp eax, dword [edx + 0x4c]
jl 0x1007ef40
mov eax, dword [esp + 0x54]
xor esi, esi
mov dword [esp + 0x18], esi
test eax, eax
jle 0x1007f3dd
mov esi, dword [esp + 0x40]
add esi, 0x44
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], esi
nop word [eax + eax]
mov eax, dword [esi - 0x14]
lea ecx, [eax + eax*2]
mov eax, dword [esi - 4]
mov dword [esp + 0x28], ecx
mov ecx, dword [esi - 0x10]
add ecx, 0x20
sar ecx, 5
mov dword [esp + 0x1c], ecx
cmp ecx, eax
jle 0x1007f0c1
test eax, eax
je 0x1007f0a8
cdq
sub eax, edx
mov edx, eax
sar edx, 1
add edx, dword [esi - 4]
jmp 0x1007f0ad
mov byte [esp + 0x16], 0
jmp 0x10080041
mov edx, 8
cmp edx, ecx
mov eax, ecx
lea ecx, [esi - 8]
cmovg eax, edx
push eax
call fcn.1005fd60
mov ecx, dword [esp + 0x1c]
lea eax, [esi - 8]
mov dword [eax], ecx
lea eax, [ecx*4]
push eax
push 0
push dword [esi]
call sub.VCRUNTIME140.dll_memset
mov edx, dword [esp + 0x34]
add esp, 0xc
lea eax, [edx*8 + 0xc]
add eax, edi
mov dword [esp + 0x20], eax
cmp dword [eax], 0
jne 0x1007f159
mov ecx, dword [edi + edx*8 + 4]
mov edx, dword [eax + 4]
add ecx, 0x20
sar ecx, 5
mov dword [esp + 0x48], ecx
mov dword [esp + 0x1c], edx
cmp ecx, edx
jle 0x1007f13a
test edx, edx
je 0x1007f11c
mov eax, edx
cdq
sub eax, edx
mov edx, eax
sar edx, 1
add edx, dword [esp + 0x1c]
jmp 0x1007f121
mov edx, 8
cmp edx, ecx
mov eax, ecx
mov ecx, dword [esp + 0x20]
cmovg eax, edx
push eax
call fcn.1005fd60
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x20]
mov dword [eax], ecx
lea eax, [ecx*4]
push eax
mov eax, dword [esp + 0x24]
push 0
push dword [eax + 8]
call sub.VCRUNTIME140.dll_memset
mov edx, dword [esp + 0x34]
add esp, 0xc
mov eax, dword [esi - 0x18]
mov dword [esp + 0x20], eax
cmp word [eax], 0
je 0x1007f22f
nop word [eax + eax]
movzx ecx, word [eax + 2]
test cx, cx
je 0x1007f227
movzx edi, word [eax]
cmp edi, ecx
ja 0x1007f20e
mov eax, dword [esp + 0x4c]
mov esi, edi
mov ecx, edi
sar esi, 5
and ecx, 0x1f
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + edx*8 + 0x14]
mov eax, 1
shl eax, cl
test dword [edx + esi*4], eax
jne 0x1007f1f9
mov eax, dword [esp + 0x38]
push edi
push dword [eax - 0x2c]
call fcn.100b1d50
add esp, 8
test eax, eax
je 0x1007f1f9
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x4c]
inc dword [eax - 0xc]
inc dword [edx + ecx*8 + 8]
mov ecx, dword [eax]
mov edx, dword [esp + 0x1c]
mov eax, dword [ecx + esi*4]
bts eax, edx
mov dword [ecx + esi*4], eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x28]
mov ecx, dword [eax + ecx*8 + 0x14]
mov eax, dword [ecx + esi*4]
bts eax, edx
inc dword [esp + 0x18]
mov dword [ecx + esi*4], eax
mov eax, dword [esp + 0x20]
inc edi
mov edx, dword [esp + 0x28]
movzx eax, word [eax + 2]
cmp edi, eax
jle 0x1007f188
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
add eax, 4
mov dword [esp + 0x20], eax
cmp word [eax], 0
jne 0x1007f170
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x4c]
add esi, 0x54
sub dword [esp + 0x34], 1
mov dword [esp + 0x38], esi
jne 0x1007f070
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x54]
add esi, 0x50
mov dword [esp + 0x30], esi
mov dword [esp + 0x44], eax
mov edi, dword [esi - 0x18]
cmp edi, dword [esi - 4]
jle 0x1007f2b9
mov eax, dword [0x101c18e4]
test eax, eax
je 0x1007f26b
inc dword [eax + 0x370]
mov eax, edi
shl eax, 5
push eax
call dword [esp + 0x28]
mov edx, dword [esi]
add esp, 4
mov dword [esp + 0x1c], eax
test edx, edx
je 0x1007f2b4
mov ecx, dword [esi - 8]
shl ecx, 5
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esi]
add esp, 0xc
test ecx, ecx
je 0x1007f2a8
mov eax, dword [0x101c18e4]
test eax, eax
je 0x1007f2a8
dec dword [eax + 0x370]
push ecx
call dword [esp + 0x54]
mov eax, dword [esp + 0x20]
add esp, 4
mov dword [esi], eax
mov dword [esi - 4], edi
mov ecx, dword [esi - 0xc]
mov edx, ecx
mov eax, dword [esi - 0x14]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x34], ecx
lea eax, [ecx + eax*4]
mov dword [esp + 0x6c], eax
cmp ecx, eax
jae 0x1007f38e
mov eax, dword [edx]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x1007f37d
xor edi, edi
nop dword [eax + eax]
mov eax, 1
mov ecx, edi
shl eax, cl
test dword [esp + 0x1c], eax
je 0x1007f373
mov ecx, dword [esi - 8]
mov eax, edx
sub eax, dword [esp + 0x48]
xorps xmm0, xmm0
shl eax, 3
and eax, 0xffffffe0
movaps xmmword [esp + 0x80], xmm0
add eax, edi
movzx eax, ax
mov dword [esp + 0x88], eax
mov eax, dword [esi - 4]
cmp ecx, eax
jne 0x1007f355
inc ecx
test eax, eax
je 0x1007f33b
cdq
sub eax, edx
sar eax, 1
add eax, dword [esi - 4]
jmp 0x1007f340
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
lea ecx, [esi - 8]
call fcn.10080180
mov edx, dword [esp + 0x34]
xorps xmm0, xmm0
mov eax, dword [esi - 8]
shl eax, 5
add eax, dword [esi]
movups xmmword [eax], xmm0
movups xmm0, xmmword [esp + 0x80]
movups xmmword [eax + 0x10], xmm0
inc dword [esi - 8]
mov esi, dword [esp + 0x30]
inc edi
cmp edi, 0x20
jb 0x1007f2f0
add edx, 4
mov dword [esp + 0x34], edx
cmp edx, dword [esp + 0x6c]
jb 0x1007f2d8
mov ecx, dword [esi - 0xc]
test ecx, ecx
je 0x1007f3c1
mov eax, dword [0x101c18e4]
mov dword [esi - 0x10], 0
mov dword [esi - 0x14], 0
test eax, eax
je 0x1007f3b2
dec dword [eax + 0x370]
push ecx
call dword [esp + 0x54]
add esp, 4
mov dword [esi - 0xc], 0
add esi, 0x54
sub dword [esp + 0x44], 1
mov dword [esp + 0x30], esi
jne 0x1007f254
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x4c]
jmp 0x1007f3e3
xor esi, esi
mov dword [esp + 0x18], esi
cmp dword [esp + 0x58], 0
jle 0x1007f447
mov esi, dword [esp + 0x50]
lea eax, [edi + 0x14]
mov edi, dword [esp + 0x58]
mov dword [esp + 0x34], eax
nop dword [eax]
mov ecx, dword [eax]
test ecx, ecx
je 0x1007f433
mov dword [eax - 4], 0
mov dword [eax - 8], 0
mov eax, dword [0x101c18e4]
test eax, eax
je 0x1007f423
dec dword [eax + 0x370]
push ecx
call esi
mov eax, dword [esp + 0x38]
add esp, 4
mov dword [eax], 0
add eax, 0x18
mov dword [esp + 0x34], eax
sub edi, 1
jne 0x1007f400
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x4c]
test edi, edi
je 0x1007f46a
mov eax, dword [0x101c18e4]
test eax, eax
je 0x1007f45a
dec dword [eax + 0x370]
push edi
call dword [esp + 0x54]
add esp, 4
mov dword [esp + 0x4c], 0
xor ecx, ecx
mov dword [esp + 0x34], ecx
test esi, esi
jle 0x1007f4aa
cmp esi, 8
mov eax, esi
mov edx, 8
cmovl eax, edx
test eax, eax
jle 0x1007f4aa
mov ecx, dword [0x101c18e4]
test ecx, ecx
je 0x1007f495
inc dword [ecx + 0x370]
mov edi, dword [esp + 0x24]
shl eax, 4
push eax
call edi
mov ecx, eax
add esp, 4
mov dword [esp + 0x34], ecx
jmp 0x1007f4ae
mov edi, dword [esp + 0x24]
shl esi, 4
push esi
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
xor eax, eax
add esp, 0xc
mov dword [esp + 0x38], eax
mov eax, dword [0x101c18e4]
test eax, eax
je 0x1007f4d2
inc dword [eax + 0x370]
push 0x40000
call edi
mov ecx, dword [0x101c18e4]
add esp, 4
mov esi, eax
test ecx, ecx
je 0x1007f4ee
inc dword [ecx + 0x370]
push 0x20
call edi
movss xmm0, dword [0x101b8358]
xor ecx, ecx
mov dword [esp + 0x24], eax
xor edi, edi
mov dword [esp + 0xb0], eax
add esp, 4
mov dword [eax], esi
mov eax, 1
mov dword [esp + 0x68], eax
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xa8], 8
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x60], edi
test eax, eax
jle 0x1007f837
mov esi, dword [esp + 0x40]
xor edx, edx
add esi, 0x48
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x64], esi
mov ecx, dword [eax + 0x54]
add ecx, edx
mov edx, dword [esi - 0x10]
test edx, edx
je 0x1007f80a
mov eax, edi
add edi, edx
shl eax, 4
add eax, dword [esp + 0x34]
mov dword [esi - 0x20], eax
movss xmm1, dword [ecx + 0x44]
ucomiss xmm1, xmm0
mov dword [esp + 0x60], edi
movss dword [esp + 0x1c], xmm1
lahf
test ah, 0x44
jnp 0x1007f5db
mov byte [esp + 0x17], 1
xor edi, edi
movd xmm0, edi
mov eax, edi
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101b8860]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
call fcn.10110d50
movss xmm1, dword [esp + 0x1c]
mov edx, 0xff
cmp eax, edx
movzx ecx, al
cmovbe edx, ecx
mov byte [esp + edi + 0xe0], dl
inc edi
cmp edi, 0x100
jb 0x1007f593
jmp 0x1007f5e0
mov byte [esp + 0x17], 0
cmp dword [esi], 0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x44], 0
mov eax, dword [eax + 0xc]
mov dword [esp + 0x48], eax
jle 0x1007f806
xor ecx, ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0x58], ecx
nop word [eax + eax]
mov edi, dword [esi + 8]
add edi, ecx
push dword [edi + 0x18]
push dword [esi - 0x30]
call fcn.100b1d50
add esp, 8
test eax, eax
je 0x1007f7e5
push dword [esi - 0x28]
push eax
push dword [esi - 0x30]
call fcn.100b2700
add esp, 0xc
test eax, eax
jne 0x1007f7e5
test byte [esi - 0x2c], 0x20
mov eax, dword [esi - 0x30]
mov eax, dword [eax + 0x54]
mov dword [esp + 0x30], eax
je 0x1007f65f
push eax
call fcn.100b9560
mov eax, dword [esp + 0x34]
add esp, 4
test byte [esi - 0x2c], 0x40
je 0x1007f66e
push eax
call fcn.100b9660
add esp, 4
mov eax, dword [esp + 0x30]
add eax, 0x18
je 0x1007f7e5
mov eax, dword [esi - 0x30]
push dword [esi - 0x24]
mov eax, dword [eax + 0x54]
push eax
mov dword [esp + 0x24], eax
call fcn.100b49d0
add esp, 8
test eax, eax
jne 0x1007f7e5
mov eax, dword [esi - 0x30]
mov eax, dword [eax + 0x54]
add eax, 0x4c
mov dword [esp + 0x30], eax
mov ecx, dword [eax + 4]
mov dword [edi], ecx
mov eax, dword [eax]
mov dword [esp + 0x28], 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 [esp + 0x1c]
mov eax, dword [eax + 0x40]
add eax, 0x3f
and eax, 0xffffffc0
cdq
and edx, 0x3f
add eax, edx
mov edx, dword [esp + 0x38]
sar eax, 6
movd xmm0, eax
mov eax, dword [esp + 0x30]
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x10], xmm0
cmp byte [eax + 0x12], 7
sete al
mov byte [edi + 0x14], al
mov eax, dword [esp + 0x28]
imul eax, ecx
shl eax, 2
mov dword [esp + 0x28], eax
add eax, edx
cmp eax, 0x40000
jle 0x1007f76b
xor eax, eax
mov dword [esp + 0x38], eax
mov eax, dword [0x101c18e4]
test eax, eax
je 0x1007f72e
inc dword [eax + 0x370]
push 0x40000
call dword [esp + 0x28]
add esp, 4
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
lea ecx, [esp + 0xa4]
push eax
call fcn.1005fde0
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x20], eax
mov dword [esp + 0x68], ecx
jmp 0x1007f773
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x68]
mov ecx, dword [eax + ecx*4 - 4]
lea eax, [esp + 0xe0]
add ecx, edx
add edx, dword [esp + 0x28]
mov dword [esp + 0x38], edx
xor edx, edx
cmp byte [esp + 0x17], dl
mov dword [edi + 0x1c], ecx
cmove eax, edx
push eax
push dword [edi]
push ecx
push dword [esp + 0x3c]
call fcn.1007e6e0
mov eax, dword [esp + 0x48]
movzx ecx, word [edi]
movzx edx, ax
mov eax, dword [esi - 0x20]
add cx, dx
mov esi, dword [esp + 0x18]
mov word [esi + eax + 4], cx
mov esi, dword [esp + 0x64]
movzx ecx, word [edi + 4]
add cx, dx
mov edx, dword [esp + 0x18]
mov eax, dword [esi - 0x20]
mov word [edx + eax + 6], cx
mov eax, dword [esi - 0x20]
movzx ecx, word [edx + eax + 6]
movzx eax, word [edx + eax + 4]
imul ecx, eax
add dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x58]
inc eax
add dword [esp + 0x18], 0x10
add ecx, 0x20
mov dword [esp + 0x44], eax
mov dword [esp + 0x58], ecx
cmp eax, dword [esi]
jl 0x1007f610
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x5c]
add esi, 0x54
movss xmm0, dword [0x101b8358]
sub edx, 0xffffff80
sub dword [esp + 0x3c], 1
mov edi, dword [esp + 0x60]
mov dword [esp + 0x64], esi
mov dword [esp + 0x5c], edx
jne 0x1007f556
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x10]
mov edi, dword [edx + 8]
mov dword [edx + 0x20], 0
test edi, edi
jg 0x1007f894
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
sqrtss xmm0, xmm0
cvttss2si eax, xmm0
inc eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [0x101b856c]
jb 0x1007f870
mov edi, 0x1000
jmp 0x1007f894
comiss xmm0, dword [0x101b8568]
jb 0x1007f880
mov edi, 0x800
jmp 0x1007f894
comiss xmm0, dword [0x101b8560]
mov edi, 0x200
mov eax, 0x400
cmovae edi, eax
mov dword [edx + 0x1c], edi
xor ecx, ecx
sub edi, dword [edx + 0xc]
mov dword [esp + 0x1c], ecx
test edi, edi
jle 0x1007f8da
cmp edi, 8
mov eax, edi
mov esi, 8
cmovl eax, esi
test eax, eax
jle 0x1007f8da
mov ecx, dword [0x101c18e4]
test ecx, ecx
je 0x1007f8c5
inc dword [ecx + 0x370]
shl eax, 3
push eax
call dword [esp + 0x28]
mov edx, dword [esp + 0x14]
mov ecx, eax
add esp, 4
mov dword [esp + 0x1c], ecx
mov esi, dword [edx + 0xc]
mov edx, dword [edx + 0x1c]
push edi
push ecx
mov ecx, 0x8000
sub edx, esi
sub ecx, esi
push ecx
lea ecx, [esp + 0xbc]
call fcn.1007ebb0
mov ecx, dword [esp + 0x1c]
xor eax, eax
add esp, 0xc
mov dword [esp + 0x18], eax
mov edi, dword [ecx + 0x40]
mov dword [esp + 0x48], edi
test edi, edi
jle 0x1007f93f
cmp edi, 8
mov ecx, edi
mov edx, 8
cmovl ecx, edx
test ecx, ecx
jle 0x1007f93f
mov eax, dword [0x101c18e4]
test eax, eax
je 0x1007f930
inc dword [eax + 0x370]
shl ecx, 4
push ecx
call dword [esp + 0x28]
add esp, 4
mov dword [esp + 0x18], eax
mov ecx, edi
shl ecx, 4
push ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0x1c]
xor esi, esi
add esp, 0xc
cmp dword [eax + 0x40], esi
jle 0x1007f98e
mov edx, dword [esp + 0x18]
xor ecx, ecx
add edx, 6
mov edi, eax
mov eax, dword [edi + 0x48]
lea ecx, [ecx + 0x1c]
inc esi
lea edx, [edx + 0x10]
movzx eax, word [ecx + eax - 0x1c]
mov word [edx - 0x12], ax
mov eax, dword [edi + 0x48]
movzx eax, word [ecx + eax - 0x1a]
mov word [edx - 0x10], ax
cmp esi, dword [edi + 0x40]
jl 0x1007f966
mov edi, dword [esp + 0x48]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0xb0]
push edi
call fcn.10060b10
add esp, 4
test edi, edi
jle 0x1007f9f7
mov edx, dword [esp + 0x18]
xor esi, esi
add edx, 0xa
nop
cmp dword [edx + 2], 0
je 0x1007f9ec
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x48]
movzx eax, word [edx - 2]
mov word [esi + ecx + 4], ax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x48]
movzx eax, word [edx]
mov word [esi + ecx + 6], ax
movzx eax, word [edx]
movzx ecx, word [edx - 4]
add ecx, eax
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x20], ecx
cmovge ecx, dword [eax + 0x20]
mov dword [eax + 0x20], ecx
add esi, 0x1c
add edx, 0x10
sub edi, 1
jne 0x1007f9b0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1007fa17
mov ecx, dword [0x101c18e4]
test ecx, ecx
je 0x1007fa0f
dec dword [ecx + 0x370]
push eax
call dword [esp + 0x54]
add esp, 4
mov eax, dword [esp + 0x54]
test eax, eax
jle 0x1007fa87
mov esi, dword [esp + 0x40]
add esi, 0x38
mov dword [esp + 0x60], eax
nop word [eax + eax]
mov eax, dword [esi]
test eax, eax
je 0x1007fa7d
mov edx, dword [esi - 0x10]
lea ecx, [esp + 0xb0]
push eax
call fcn.10060b10
xor edi, edi
add esp, 4
cmp dword [esi], edi
jle 0x1007fa7d
xor edx, edx
mov eax, dword [esi - 0x10]
cmp dword [edx + eax + 0xc], 0
je 0x1007fa75
movzx ecx, word [edx + eax + 0xa]
movzx eax, word [edx + eax + 6]
add ecx, eax
mov eax, dword [esp + 0x10]
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 0x1007fa51
add esi, 0x54
sub dword [esp + 0x60], 1
jne 0x1007fa30
mov edi, dword [esp + 0x10]
test byte [edi], 1
mov eax, dword [edi + 0x20]
jne 0x1007fab8
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
mov esi, dword [edi + 0x1c]
inc eax
movss xmm1, dword [0x101b8358]
movaps xmm2, xmm1
mov dword [edi + 0x20], eax
movd xmm0, esi
cvtdq2ps xmm0, xmm0
imul esi, eax
cmp byte [esp + 0x16], 0
divss xmm2, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, dword [0x101c18e4]
movss dword [edi + 0x24], xmm2
divss xmm1, xmm0
movss dword [edi + 0x28], xmm1
je 0x1007fb10
shl esi, 2
test eax, eax
je 0x1007fb06
inc dword [eax + 0x370]
push esi
call dword [esp + 0x28]
mov dword [edi + 0x18], eax
jmp 0x1007fb22
test eax, eax
je 0x1007fb1a
inc dword [eax + 0x370]
push esi
call dword [esp + 0x28]
mov dword [edi + 0x14], eax
add esp, 4
push esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [esp + 0x60]
xor al, al
add esp, 0xc
mov byte [esp + 0x17], al
test ecx, ecx
jle 0x1007fefb
mov eax, dword [esp + 0x40]
xor esi, esi
add eax, 8
mov dword [esp + 0x6c], esi
mov dword [esp + 0x30], eax
mov dword [esp + 0x48], ecx
nop dword [eax + eax]
cmp dword [eax + 0x30], 0
je 0x1007fed8
mov ecx, dword [esp + 0x10]
movss xmm0, dword [eax - 4]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [eax]
mov edx, dword [ecx + 0x54]
add edx, esi
movss dword [esp + 0x5c], xmm0
mov dword [esp + 0x60], edx
cmp byte [edx + 0x3c], 0
mov edi, dword [edx + 0x7c]
mov dword [esp + 0x38], edi
jne 0x1007fbd4
mov ecx, edi
call fcn.10065b90
mov edx, dword [esp + 0x60]
mov ecx, edi
movss xmm0, dword [esp + 0x3c]
mov eax, dword [edx + 0x10]
mov dword [ecx + 0x10], eax
mov eax, edi
xor ecx, ecx
movss dword [edi + 0x48], xmm0
movss xmm0, dword [esp + 0x5c]
mov word [edi + 0x38], cx
mov ecx, dword [esp + 0x10]
mov dword [eax + 0x34], edx
mov dword [eax + 0x30], ecx
movss dword [eax + 0x4c], xmm0
movss xmm0, dword [edi + 0x48]
addss xmm0, dword [0x101b8310]
inc word [edi + 0x38]
movss xmm1, dword [edx + 0x28]
movss dword [esp + 0x24], xmm1
mov dword [esp + 0x64], 0
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [ecx + 0xc]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x30]
cmp dword [eax + 0x30], 0
addss xmm0, dword [edx + 0x2c]
movss dword [esp + 0x28], xmm0
jle 0x1007fec9
xor edx, edx
xor esi, esi
mov dword [esp + 0x58], edx
mov dword [esp + 0x44], esi
mov edi, dword [eax + 0x48]
mov eax, dword [eax + 0x20]
add edi, esi
add eax, edx
cmp word [eax + 4], 0
jne 0x1007fc4e
cmp word [eax + 6], 0
je 0x1007fea1
movd xmm4, dword [edi + 0xc]
sub esp, 0x20
movd xmm3, dword [edi + 8]
movzx esi, word [eax + 8]
add esi, dword [esp + 0xbc]
movzx eax, word [eax + 0xa]
add eax, dword [esp + 0xbc]
cvtdq2ps xmm4, xmm4
mov edx, dword [edi + 4]
mov dword [esp + 0x4c], esi
mov esi, dword [esp + 0x30]
mov dword [esp + 0x5c], eax
add eax, edx
cvtdq2ps xmm3, xmm3
addss xmm4, xmm0
movd xmm0, dword [ecx + 0x20]
cvtdq2ps xmm0, xmm0
mov ecx, dword [edi]
addss xmm3, xmm1
movss xmm1, dword [0x101b8358]
movaps xmm2, xmm1
divss xmm2, xmm0
movd xmm0, dword [esi + 0x1c]
cvtdq2ps xmm0, xmm0
mov esi, dword [esp + 0x4c]
divss xmm1, xmm0
movss xmm0, dword [edi + 0x10]
movss dword [esp + 0x1c], xmm0
movd xmm0, eax
lea eax, [esi + ecx]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
movss dword [esp + 0x18], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movzx eax, word [edi + 0x18]
mulss xmm0, xmm1
movss dword [esp + 0x14], xmm0
movd xmm0, dword [esp + 0x5c]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
movss dword [esp + 0x10], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov esi, dword [esp + 0x58]
mulss xmm0, xmm1
movss dword [esp + 0xc], xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
addss xmm0, xmm4
movss dword [esp + 8], xmm0
movd xmm0, ecx
mov ecx, esi
cvtdq2ps xmm0, xmm0
addss xmm0, xmm3
movss dword [esp + 4], xmm0
movss dword [esp], xmm4
push eax
push dword [esp + 0x84]
call fcn.100661e0
cmp byte [edi + 0x14], 0
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x28]
lea eax, [eax + eax*4]
je 0x1007fd64
or dword [ecx + eax*8 - 0x28], 1
mov byte [esp + 0x17], 1
mov ecx, dword [esp + 0x10]
mov esi, dword [edi + 0x1c]
mov edx, dword [edi]
mov dword [esp + 0x18], esi
mov eax, dword [ecx + 0x1c]
mov ecx, dword [ecx + 0x14]
mov dword [esp + 0x5c], eax
imul eax, dword [esp + 0x3c]
mov dword [esp + 0x3c], 0
test ecx, ecx
je 0x1007fe02
add eax, ecx
add eax, dword [esp + 0x2c]
cmp dword [edi + 4], 0
mov dword [esp + 0x2c], eax
jle 0x1007fe91
lea ecx, [edx*4]
mov dword [esp + 0x98], ecx
nop
xor ecx, ecx
test edx, edx
jle 0x1007fddc
add esi, 3
nop dword [eax]
mov edx, dword [esp + 0x2c]
lea esi, [esi + 4]
mov al, byte [esi - 4]
mov byte [ecx + edx], al
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jl 0x1007fdc0
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
add eax, dword [esp + 0x5c]
inc ecx
add esi, dword [esp + 0x98]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], esi
cmp ecx, dword [edi + 4]
jl 0x1007fdb0
jmp 0x1007fe91
mov ecx, dword [esp + 0x2c]
add ecx, eax
cmp dword [edi + 4], 0
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x18]
lea ecx, [eax + ecx*4]
mov dword [esp + 0x2c], ecx
jle 0x1007fe91
mov eax, dword [esp + 0x5c]
shl eax, 2
mov dword [esp + 0x5c], eax
lea eax, [edx*4]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x18]
nop dword [eax]
xor esi, esi
test edx, edx
jle 0x1007fe70
sub eax, dword [esp + 0x2c]
mov dword [esp + 0x98], eax
mov eax, dword [eax + ecx]
lea ecx, [ecx + 4]
mov dword [ecx - 4], eax
inc esi
mov edx, dword [edi]
mov eax, dword [esp + 0x98]
cmp esi, edx
jl 0x1007fe51
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x3c]
add ecx, dword [esp + 0x5c]
inc esi
add eax, dword [esp + 0xa0]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x18], eax
cmp esi, dword [edi + 4]
jl 0x1007fe40
mov ecx, dword [esp + 0x10]
movss xmm1, dword [esp + 0x24]
movss xmm0, dword [esp + 0x28]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x30]
inc edx
add dword [esp + 0x44], 0x20
add dword [esp + 0x58], 0x10
mov esi, dword [esp + 0x44]
cmp edx, dword [eax + 0x30]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x58]
jl 0x1007fc32
mov esi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x48]
mov dword [eax + 0x20], 0
add eax, 0x54
sub esi, 0xffffff80
sub ecx, 1
mov dword [esp + 0x30], eax
mov dword [esp + 0x6c], esi
mov dword [esp + 0x48], ecx
jne 0x1007fb60
mov edi, dword [esp + 0x10]
mov al, byte [esp + 0x17]
xor esi, esi
mov byte [edi + 0x12], al
cmp dword [esp + 0x68], esi
jle 0x1007ff39
mov edi, dword [esp + 0x20]
nop word [eax + eax]
mov ecx, dword [edi + esi*4]
test ecx, ecx
je 0x1007ff26
mov eax, dword [0x101c18e4]
test eax, eax
je 0x1007ff26
dec dword [eax + 0x370]
push ecx
call dword [esp + 0x54]
inc esi
add esp, 4
cmp esi, dword [esp + 0x68]
jl 0x1007ff10
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x54]
test eax, eax
jle 0x1007ffab
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x50]
add esi, 0x18
nop dword [eax]
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x1007ff6c
mov eax, dword [0x101c18e4]
test eax, eax
je 0x1007ff66
dec dword [eax + 0x370]
push ecx
call edi
add esp, 4
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x1007ff88
mov eax, dword [0x101c18e4]
test eax, eax
je 0x1007ff82
dec dword [eax + 0x370]
push ecx
call edi
add esp, 4
mov eax, dword [esi]
test eax, eax
je 0x1007ff9d
push eax
call fcn.100b18c0
add esp, 4
mov dword [esi], 0
add esi, 0x54
sub dword [esp + 0x54], 1
jne 0x1007ff50
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x1007ffd6
mov eax, dword [0x101c18e4]
test eax, eax
je 0x1007ffc2
dec dword [eax + 0x370]
mov esi, dword [esp + 0x50]
push ecx
call esi
add esp, 4
mov dword [esp + 0x40], 0
jmp 0x1007ffda
mov esi, dword [esp + 0x50]
mov ecx, edi
call fcn.10065820
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x16], 1
test ecx, ecx
je 0x10080003
mov eax, dword [0x101c18e4]
test eax, eax
je 0x1007fffd
dec dword [eax + 0x370]
push ecx
call esi
add esp, 4
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x10080020
mov eax, dword [0x101c18e4]
test eax, eax
je 0x1008001a
dec dword [eax + 0x370]
push ecx
call esi
add esp, 4
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x1008003d
mov eax, dword [0x101c18e4]
test eax, eax
je 0x10080037
dec dword [eax + 0x370]
push ecx
call esi
add esp, 4
mov edi, dword [esp + 0x4c]
test edi, edi
je 0x10080060
mov eax, dword [0x101c18e4]
test eax, eax
je 0x10080054
dec dword [eax + 0x370]
mov esi, dword [esp + 0x50]
push edi
call esi
add esp, 4
jmp 0x10080064
mov esi, dword [esp + 0x50]
mov eax, dword [esp + 0x40]
test eax, eax
je 0x10080082
mov ecx, dword [0x101c18e4]
test ecx, ecx
je 0x1008007c
dec dword [ecx + 0x370]
push eax
call esi
add esp, 4
mov al, byte [esp + 0x16]
pop edi
pop esi
mov esp, ebp
pop ebp
ret