Function at 0x1007f410
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 0x10157267
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x210
mov eax, dword [0x101e5040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x16c], esi
mov dword [ebp - 0x1a0], ecx
cmp dword [esi + 0x460], 0
jge 0x1007f4d6
test byte [esi], 2
lea eax, [ebp - 0x1d8]
mov dword [ebp - 0x1d4], 0xffffffff
lea ecx, [esi + 0x40]
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1cc], 0
mov dword [ebp - 0x1c8], 0
mov dword [ebp - 0x1c4], 0
mov dword [ebp - 0x1c0], 0
push eax
mov dword [ebp - 0x1d8], 0x1b00d9
je 0x1007f4c7
mov dword [ebp - 0x1d8], 0x20002
call fcn.1007e940
mov eax, dword [esi + 0x40]
dec eax
mov dword [esi + 0x460], eax
cmp dword [esi + 0x464], 0
jge 0x1007f543
test byte [esi], 4
jne 0x1007f543
lea eax, [ebp - 0x1d8]
mov dword [ebp - 0x1d4], 0xffffffff
push eax
lea ecx, [esi + 0x40]
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1cc], 0
mov dword [ebp - 0x1c8], 0
mov dword [ebp - 0x1c4], 0
mov dword [ebp - 0x1c0], 0
mov dword [ebp - 0x1d8], 0x400041
call fcn.1007e940
mov eax, dword [esi + 0x40]
dec eax
mov dword [esi + 0x464], eax
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.1007bf20
xor eax, eax
mov byte [ebp - 0x155], 0
mov dword [ebp - 0x1f0], 0
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x1ec], eax
mov dword [ebp - 4], eax
xor edi, edi
mov dword [ebp - 0x1e4], eax
mov dword [ebp - 0x18c], edi
mov dword [ebp - 0x1e0], edi
mov byte [ebp - 4], 1
mov ecx, dword [esi + 0x4c]
mov edx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov dword [ebp - 0x19c], ecx
mov dword [ebp - 0x170], 8
mov dword [ebp - 0x17c], edx
test ecx, ecx
jle 0x1007f62b
cmp ecx, 8
mov eax, ecx
cmovl eax, dword [ebp - 0x170]
mov dword [ebp - 0x160], eax
test eax, eax
jle 0x1007f62b
mov ecx, dword [0x103c80a8]
test ecx, ecx
je 0x1007f5fe
inc dword [ecx + 0x370]
imul eax, eax, 0x54
push eax
call edx
mov ecx, dword [ebp - 0x160]
add esp, 4
mov edx, dword [ebp - 0x17c]
mov dword [ebp - 0x1f0], ecx
mov ecx, dword [ebp - 0x19c]
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x1ec], eax
mov dword [ebp - 0x1f4], ecx
mov ecx, dword [esi + 0x34]
mov dword [ebp - 0x174], ecx
test ecx, ecx
jle 0x1007f690
cmp ecx, 8
mov eax, ecx
cmovl eax, dword [ebp - 0x170]
mov dword [ebp - 0x160], eax
test eax, eax
jle 0x1007f690
mov ecx, dword [0x103c80a8]
test ecx, ecx
je 0x1007f664
inc dword [ecx + 0x370]
lea eax, [eax + eax*2]
shl eax, 3
push eax
call edx
mov ecx, dword [ebp - 0x174]
mov edi, eax
mov eax, dword [ebp - 0x160]
add esp, 4
mov dword [ebp - 0x18c], edi
mov dword [ebp - 0x1e0], edi
mov dword [ebp - 0x1e4], eax
mov dword [ebp - 0x1e8], ecx
imul ecx, dword [ebp - 0x19c], 0x54
push ecx
push 0
push dword [ebp - 0x180]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x174]
add esp, 0xc
lea eax, [eax + eax*2]
shl eax, 3
push eax
push 0
push edi
call sub.VCRUNTIME140.dll_memset
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 0xc
cmp dword [esi + 0x4c], 0
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x190], eax
jle 0x1007f827
mov esi, dword [ebp - 0x180]
xor edx, edx
mov ecx, dword [ebp - 0x16c]
add esi, 0x34
mov dword [ebp - 0x188], edx
mov dword [ebp - 0x184], esi
mov eax, dword [ecx + 0x54]
add eax, edx
mov dword [esi - 4], 0xffffffff
xor edx, edx
mov dword [ebp - 0x170], eax
cmp dword [ecx + 0x34], edx
jle 0x1007f897
mov edi, dword [ebp - 0x184]
or esi, 0xffffffff
mov ecx, esi
cmp esi, 0xffffffff
jne 0x1007f75b
mov ecx, dword [ebp - 0x16c]
or esi, esi
mov eax, dword [eax + 0x74]
mov ecx, dword [ecx + 0x3c]
cmp eax, dword [ecx + edx*4]
jne 0x1007f747
mov dword [edi - 4], edx
mov esi, edx
mov eax, dword [ebp - 0x16c]
inc edx
mov ecx, esi
cmp edx, dword [eax + 0x34]
mov eax, dword [ebp - 0x170]
jl 0x1007f728
mov edi, dword [ebp - 0x18c]
cmp ecx, 0xffffffff
je 0x1007f897
push dword [ebx + 8]
mov esi, dword [ebp - 0x184]
push eax
push dword [ebp - 0x1a0]
lea ecx, [esi - 0x34]
call fcn.1007ebd0
test al, al
je 0x1007f897
mov ecx, dword [ebp - 0x170]
mov edx, 0x101d29c8
mov eax, dword [ecx + 0x40]
shr eax, 8
and al, 1
or byte [ebp - 0x155], al
mov eax, dword [esi - 4]
lea eax, [eax + eax*2]
mov dword [ebp - 0x160], eax
mov eax, dword [ecx + 0x30]
test eax, eax
cmovne edx, eax
mov dword [esi - 8], edx
cmp word [edx], 0
je 0x1007f7db
movzx eax, word [edx + 2]
test ax, ax
je 0x1007f7db
mov ecx, eax
cmp dword [esi], ecx
cmovge ecx, dword [esi]
add edx, 4
mov dword [esi], ecx
cmp word [edx], 0
jne 0x1007f7c0
mov edx, dword [ebp - 0x160]
mov eax, dword [ebp - 0x178]
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 ecx, dword [ebp - 0x16c]
mov edx, dword [ebp - 0x188]
add edx, 0x78
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x184], esi
mov dword [ebp - 0x188], edx
cmp eax, dword [ecx + 0x4c]
jl 0x1007f702
mov eax, dword [ebp - 0x19c]
xor esi, esi
mov dword [ebp - 0x168], esi
test eax, eax
jle 0x1007fc65
mov edx, dword [ebp - 0x180]
add edx, 0x44
mov dword [ebp - 0x188], eax
mov dword [ebp - 0x15c], 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 - 0x1a0], ecx
mov eax, dword [edx - 4]
mov dword [ebp - 0x184], esi
mov dword [ebp - 0x160], eax
cmp ecx, eax
jle 0x1007f8e5
test eax, eax
je 0x1007f8a3
cdq
sub eax, edx
mov edx, dword [ebp - 0x15c]
sar eax, 1
add eax, dword [ebp - 0x160]
mov dword [ebp - 0x170], eax
jmp 0x1007f8ad
mov byte [ebp - 0x155], 0
jmp 0x10080aab
mov dword [ebp - 0x170], 8
cmp dword [ebp - 0x170], ecx
lea eax, [edx - 8]
mov dword [ebp - 0x178], eax
mov eax, ecx
cmovg eax, dword [ebp - 0x170]
mov ecx, dword [ebp - 0x178]
push eax
call fcn.10077680
mov edx, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0x1a0]
mov eax, dword [ebp - 0x178]
jmp 0x1007f8e8
lea eax, [edx - 8]
mov dword [eax], ecx
lea eax, [ecx*4]
push eax
push 0
push dword [edx]
call sub.VCRUNTIME140.dll_memset
lea ecx, [esi*8 + 0xc]
add esp, 0xc
add ecx, edi
mov dword [ebp - 0x170], ecx
cmp dword [ecx], 0
jne 0x1007f971
mov esi, dword [edi + esi*8 + 4]
mov eax, dword [ecx + 4]
add esi, 0x20
sar esi, 5
mov dword [ebp - 0x160], eax
cmp esi, eax
jle 0x1007f95a
test eax, eax
je 0x1007f93c
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, dword [ebp - 0x160]
jmp 0x1007f941
mov ecx, 8
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, dword [ebp - 0x170]
push eax
call fcn.10077680
mov ecx, dword [ebp - 0x170]
lea eax, [esi*4]
mov dword [ecx], esi
push eax
push 0
push dword [ecx + 8]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov edx, dword [ebp - 0x15c]
mov eax, dword [edx - 0x18]
mov dword [ebp - 0x1a8], eax
cmp word [eax], 0
je 0x1007fa67
nop word [eax + eax]
movzx ecx, word [eax + 2]
test cx, cx
je 0x1007fa61
movzx edi, word [eax]
cmp edi, ecx
ja 0x1007fa48
nop dword [eax + eax]
mov eax, dword [ebp - 0x184]
mov ecx, edi
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov esi, edi
mov ecx, dword [ebp - 0x18c]
sar esi, 5
mov dword [ebp - 0x160], edx
mov eax, dword [ecx + eax*8 + 0x14]
test dword [eax + esi*4], edx
jne 0x1007fa2f
mov eax, dword [ebp - 0x15c]
push edi
push dword [eax - 0x2c]
call fcn.100f4470
mov edx, dword [ebp - 0x15c]
add esp, 8
test eax, eax
je 0x1007fa35
inc dword [edx - 0xc]
mov eax, dword [ebp - 0x184]
mov ecx, dword [ebp - 0x18c]
inc dword [ecx + eax*8 + 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x160]
mov edx, dword [ebp - 0x18c]
or dword [eax + esi*4], ecx
mov eax, dword [ebp - 0x184]
mov eax, dword [edx + eax*8 + 0x14]
or dword [eax + esi*4], ecx
inc dword [ebp - 0x168]
mov edx, dword [ebp - 0x15c]
mov eax, dword [ebp - 0x1a8]
inc edi
movzx eax, word [eax + 2]
cmp edi, eax
jle 0x1007f9b0
mov eax, dword [ebp - 0x1a8]
add eax, 4
mov dword [ebp - 0x1a8], eax
cmp word [eax], 0
jne 0x1007f990
mov edi, dword [ebp - 0x18c]
add edx, 0x54
sub dword [ebp - 0x188], 1
mov dword [ebp - 0x15c], edx
jne 0x1007f852
mov edx, dword [ebp - 0x180]
mov eax, dword [ebp - 0x19c]
add edx, 0x50
mov dword [ebp - 0x15c], edx
mov dword [ebp - 0x178], eax
mov esi, dword [edx - 0x18]
cmp esi, dword [edx - 4]
jle 0x1007fb17
mov eax, dword [0x103c80a8]
test eax, eax
je 0x1007faaf
inc dword [eax + 0x370]
mov eax, esi
shl eax, 5
push eax
call dword [ebp - 0x17c]
mov edx, dword [ebp - 0x15c]
add esp, 4
mov dword [ebp - 0x160], eax
mov edi, dword [edx]
test edi, edi
je 0x1007fb12
mov ecx, dword [edx - 8]
shl ecx, 5
push ecx
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [ebp - 0x15c]
add esp, 0xc
mov ecx, dword [edx]
test ecx, ecx
je 0x1007fafc
mov eax, dword [0x103c80a8]
test eax, eax
je 0x1007fafc
dec dword [eax + 0x370]
push ecx
call dword [ebp - 0x190]
mov edx, dword [ebp - 0x15c]
add esp, 4
mov eax, dword [ebp - 0x160]
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 - 0x1a0], ecx
mov dword [ebp - 0x170], ecx
lea eax, [ecx + eax*4]
mov dword [ebp - 0x1b8], eax
cmp ecx, eax
jae 0x1007fc06
nop dword [eax]
mov eax, dword [esi]
mov dword [ebp - 0x160], eax
test eax, eax
je 0x1007fbf1
xor edi, edi
mov eax, 1
mov ecx, edi
shl eax, cl
test dword [ebp - 0x160], eax
je 0x1007fbe7
mov ecx, dword [edx - 8]
mov eax, esi
sub eax, dword [ebp - 0x1a0]
lea esi, [edx - 8]
shl eax, 3
xorps xmm0, xmm0
and eax, 0xffffffe0
add eax, edi
movzx eax, ax
movups xmmword [ebp - 0x1cc], xmm0
mov dword [ebp - 0x1c4], eax
mov eax, dword [edx - 4]
cmp ecx, eax
jne 0x1007fbc7
inc ecx
test eax, eax
je 0x1007fbac
cdq
sub eax, edx
mov edx, dword [ebp - 0x15c]
sar eax, 1
add eax, dword [edx - 4]
jmp 0x1007fbb1
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.10080c50
mov edx, dword [ebp - 0x15c]
xorps xmm0, xmm0
mov eax, dword [esi]
mov ecx, dword [esi + 8]
shl eax, 5
movups xmmword [ecx + eax], xmm0
movups xmm0, xmmword [ebp - 0x1cc]
movups xmmword [ecx + eax + 0x10], xmm0
inc dword [esi]
mov esi, dword [ebp - 0x170]
inc edi
cmp edi, 0x20
jb 0x1007fb52
add esi, 4
mov dword [ebp - 0x170], esi
cmp esi, dword [ebp - 0x1b8]
jb 0x1007fb40
mov ecx, dword [edx - 0xc]
test ecx, ecx
je 0x1007fc41
mov eax, dword [0x103c80a8]
mov dword [edx - 0x10], 0
mov dword [edx - 0x14], 0
test eax, eax
je 0x1007fc2a
dec dword [eax + 0x370]
push ecx
call dword [ebp - 0x190]
mov edx, dword [ebp - 0x15c]
add esp, 4
mov dword [edx - 0xc], 0
add edx, 0x54
sub dword [ebp - 0x178], 1
mov dword [ebp - 0x15c], edx
jne 0x1007fa98
mov edi, dword [ebp - 0x18c]
mov esi, dword [ebp - 0x168]
jmp 0x1007fc6d
xor esi, esi
mov dword [ebp - 0x168], esi
cmp dword [ebp - 0x174], 0
jle 0x1007fcdf
mov esi, dword [ebp - 0x190]
lea eax, [edi + 0x14]
mov edi, dword [ebp - 0x174]
mov dword [ebp - 0x170], eax
nop dword [eax + eax]
mov ecx, dword [eax]
test ecx, ecx
je 0x1007fcc5
mov dword [eax - 4], 0
mov dword [eax - 8], 0
mov eax, dword [0x103c80a8]
test eax, eax
je 0x1007fcb3
dec dword [eax + 0x370]
push ecx
call esi
mov eax, dword [ebp - 0x170]
add esp, 4
mov dword [eax], 0
add eax, 0x18
mov dword [ebp - 0x170], eax
sub edi, 1
jne 0x1007fc90
mov edi, dword [ebp - 0x18c]
mov esi, dword [ebp - 0x168]
test edi, edi
je 0x1007fd1e
mov eax, dword [0x103c80a8]
mov dword [ebp - 0x1e4], 0
mov dword [ebp - 0x1e8], 0
test eax, eax
je 0x1007fd06
dec dword [eax + 0x370]
push edi
call dword [ebp - 0x190]
add esp, 4
xor eax, eax
mov dword [ebp - 0x18c], eax
mov dword [ebp - 0x1e0], eax
xor eax, eax
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x208], eax
test esi, esi
jle 0x1007fd7b
cmp esi, 8
mov edi, esi
mov ecx, 8
cmovl edi, ecx
test edi, edi
jle 0x1007fd7b
mov eax, dword [0x103c80a8]
test eax, eax
je 0x1007fd5a
inc dword [eax + 0x370]
mov eax, edi
shl eax, 4
push eax
call dword [ebp - 0x17c]
add esp, 4
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x208], eax
mov dword [ebp - 0x20c], edi
mov dword [ebp - 0x210], esi
shl esi, 4
push esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], eax
mov edi, dword [ebp - 0x17c]
mov byte [ebp - 4], 7
mov eax, dword [0x103c80a8]
push 0x40000
test eax, eax
je 0x1007fdc2
inc dword [eax + 0x370]
call edi
mov esi, eax
add esp, 4
mov eax, dword [0x103c80a8]
test eax, eax
je 0x1007fdd8
inc dword [eax + 0x370]
push 0x20
call edi
movss xmm0, dword [0x101d84f0]
xor ecx, ecx
mov dword [ebp - 0x184], eax
xor edi, edi
mov dword [ebp - 0x11c], eax
add esp, 4
mov dword [eax], esi
mov eax, 1
mov dword [ebp - 0x1a8], eax
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x19c]
mov dword [ebp - 0x120], 8
mov dword [ebp - 0x194], ecx
mov dword [ebp - 0x1ac], edi
test eax, eax
jle 0x10080195
mov esi, dword [ebp - 0x180]
xor edx, edx
add esi, 0x48
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x198], edx
mov dword [ebp - 0x1a4], esi
mov ecx, dword [eax + 0x54]
add ecx, edx
mov edx, dword [esi - 0x10]
test edx, edx
je 0x1008015c
mov eax, edi
add edi, edx
shl eax, 4
add eax, dword [ebp - 0x170]
mov dword [esi - 0x20], eax
movss xmm1, dword [ecx + 0x44]
ucomiss xmm1, xmm0
mov dword [ebp - 0x1ac], edi
movss dword [ebp - 0x160], xmm1
lahf
test ah, 0x44
jnp 0x1007fee0
mov byte [ebp - 0x161], 1
xor edi, edi
movd xmm0, edi
mov eax, edi
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101d8810]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
call fcn.10153c60
movss xmm1, dword [ebp - 0x160]
mov edx, 0xff
cmp eax, edx
movzx ecx, al
cmovbe edx, ecx
mov byte [ebp + edi - 0x118], dl
inc edi
cmp edi, 0x100
jb 0x1007fe96
jmp 0x1007fee7
mov byte [ebp - 0x161], 0
cmp dword [esi], 0
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x188], 0
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x1a0], ecx
jle 0x1008015c
xor ecx, ecx
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x1b4], ecx
nop dword [eax + eax]
mov edi, dword [esi + 8]
add edi, ecx
push dword [edi + 0x18]
push dword [esi - 0x30]
call fcn.100f4470
add esp, 8
test eax, eax
je 0x1008012b
push dword [esi - 0x28]
push eax
push dword [esi - 0x30]
call fcn.100f4e70
add esp, 0xc
test eax, eax
jne 0x1008012b
test byte [esi - 0x2c], 0x20
mov eax, dword [esi - 0x30]
mov eax, dword [eax + 0x54]
mov dword [ebp - 0x178], eax
je 0x1007ff73
push eax
call fcn.100fc2b0
mov eax, dword [ebp - 0x178]
add esp, 4
test byte [esi - 0x2c], 0x40
je 0x1007ff82
push eax
call fcn.100fc3b0
add esp, 4
mov eax, dword [ebp - 0x178]
add eax, 0x18
je 0x1008012b
mov eax, dword [esi - 0x30]
push dword [esi - 0x24]
mov eax, dword [eax + 0x54]
push eax
mov dword [ebp - 0x160], eax
call fcn.100f7330
add esp, 8
test eax, eax
jne 0x1008012b
mov eax, dword [esi - 0x30]
mov eax, dword [eax + 0x54]
add eax, 0x4c
mov dword [ebp - 0x178], eax
mov ecx, dword [eax + 4]
mov dword [edi], ecx
mov eax, dword [eax]
mov dword [ebp - 0x15c], 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 - 0x160]
mov eax, dword [eax + 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
mov eax, dword [ebp - 0x178]
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x10], xmm0
cmp byte [eax + 0x12], 7
sete al
mov byte [edi + 0x14], al
mov eax, dword [ebp - 0x15c]
imul eax, ecx
shl eax, 2
mov dword [ebp - 0x15c], eax
add eax, edx
cmp eax, 0x40000
jle 0x1008009c
xor eax, eax
mov dword [ebp - 0x174], eax
mov eax, dword [0x103c80a8]
test eax, eax
je 0x10080056
inc dword [eax + 0x370]
push 0x40000
call dword [ebp - 0x17c]
add esp, 4
mov dword [ebp - 0x160], eax
lea eax, [ebp - 0x160]
lea ecx, [ebp - 0x124]
push eax
call fcn.10077720
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x124]
mov edx, dword [ebp - 0x174]
mov dword [ebp - 0x184], eax
mov dword [ebp - 0x1a8], ecx
jmp 0x100800a8
mov eax, dword [ebp - 0x184]
mov ecx, dword [ebp - 0x1a8]
mov ecx, dword [eax + ecx*4 - 4]
lea eax, [ebp - 0x118]
add ecx, edx
add edx, dword [ebp - 0x15c]
mov dword [ebp - 0x174], edx
xor edx, edx
cmp byte [ebp - 0x161], dl
mov dword [edi + 0x1c], ecx
cmove eax, edx
push eax
push dword [edi]
push ecx
push dword [ebp - 0x178]
call fcn.1007edd0
mov eax, dword [ebp - 0x1a0]
movzx ecx, word [edi]
movzx edx, ax
mov eax, dword [esi - 0x20]
add cx, dx
mov esi, dword [ebp - 0x168]
mov word [eax + esi + 4], cx
mov esi, dword [ebp - 0x1a4]
movzx ecx, word [edi + 4]
add cx, dx
mov edx, dword [ebp - 0x168]
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 - 0x194], ecx
mov eax, dword [ebp - 0x188]
mov ecx, dword [ebp - 0x1b4]
inc eax
add dword [ebp - 0x168], 0x10
add ecx, 0x20
mov dword [ebp - 0x188], eax
mov dword [ebp - 0x1b4], ecx
cmp eax, dword [esi]
jl 0x1007ff20
mov eax, dword [ebp - 0x16c]
mov edx, dword [ebp - 0x198]
add esi, 0x54
movss xmm0, dword [0x101d84f0]
add edx, 0x78
sub dword [ebp - 0x1bc], 1
mov edi, dword [ebp - 0x1ac]
mov dword [ebp - 0x1a4], esi
mov dword [ebp - 0x198], edx
jne 0x1007fe51
mov ecx, dword [ebp - 0x194]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
call fcn.1002e020
mov esi, dword [ebp - 0x16c]
cvttss2si eax, xmm0
mov edi, dword [esi + 8]
mov dword [esi + 0x20], 0
inc eax
test edi, edi
jg 0x100801f5
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [0x101d86b4]
jb 0x100801d1
mov edi, 0x1000
jmp 0x100801f5
comiss xmm0, dword [0x101d86b0]
jb 0x100801e1
mov edi, 0x800
jmp 0x100801f5
comiss xmm0, dword [0x101d869c]
mov edi, 0x200
mov eax, 0x400
cmovae edi, eax
mov eax, esi
xor edx, edx
mov dword [eax + 0x1c], edi
sub edi, dword [esi + 0xc]
mov dword [ebp - 0x200], 0
mov dword [ebp - 0x1fc], edx
test edi, edi
jle 0x1008025b
cmp edi, 8
mov eax, edi
mov ecx, 8
cmovl eax, ecx
mov dword [ebp - 0x160], eax
test eax, eax
jle 0x1008025b
mov ecx, dword [0x103c80a8]
test ecx, ecx
je 0x1008023a
inc dword [ecx + 0x370]
shl eax, 3
push eax
call dword [ebp - 0x17c]
mov ecx, dword [ebp - 0x160]
mov edx, eax
add esp, 4
mov dword [ebp - 0x1fc], edx
mov dword [ebp - 0x200], ecx
push edi
mov dword [ebp - 0x204], edi
mov ecx, 0x8000
mov edi, dword [ebp - 0x16c]
sub ecx, dword [esi + 0xc]
push edx
push ecx
mov edx, dword [edi + 0x1c]
lea ecx, [ebp - 0x154]
sub edx, dword [esi + 0xc]
call fcn.1007f290
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x168], eax
mov esi, dword [edi + 0x40]
mov dword [ebp - 0x174], esi
test esi, esi
jle 0x100802ce
cmp esi, 8
mov ecx, esi
mov edx, 8
cmovl ecx, edx
test ecx, ecx
jle 0x100802ce
mov eax, dword [0x103c80a8]
test eax, eax
je 0x100802bb
inc dword [eax + 0x370]
shl ecx, 4
push ecx
call dword [ebp - 0x17c]
add esp, 4
mov dword [ebp - 0x168], eax
mov ecx, esi
shl ecx, 4
push ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [edi + 0x40], 0
jle 0x1008031c
mov edx, dword [ebp - 0x168]
xor ecx, ecx
add edx, 6
xor esi, esi
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 [eax + ecx - 0x1a]
mov word [edx - 0x10], ax
cmp esi, dword [edi + 0x40]
jl 0x100802f2
mov esi, dword [ebp - 0x174]
mov edx, dword [ebp - 0x168]
lea ecx, [ebp - 0x154]
push esi
call fcn.10077f70
add esp, 4
test esi, esi
jle 0x1008038d
mov edx, dword [ebp - 0x168]
xor esi, esi
mov eax, dword [ebp - 0x174]
add edx, 0xa
cmp dword [edx + 2], 0
je 0x1008037c
mov eax, dword [edi + 0x48]
movzx ecx, word [edx - 2]
mov word [eax + esi + 4], cx
mov eax, dword [edi + 0x48]
movzx ecx, word [edx]
mov word [eax + esi + 6], cx
movzx eax, word [edx]
movzx ecx, word [edx - 4]
add ecx, eax
mov eax, dword [ebp - 0x174]
cmp dword [edi + 0x20], ecx
cmovge ecx, dword [edi + 0x20]
mov dword [edi + 0x20], ecx
add esi, 0x1c
add edx, 0x10
sub eax, 1
mov dword [ebp - 0x174], eax
jne 0x10080346
mov eax, dword [ebp - 0x168]
test eax, eax
je 0x100803b1
mov ecx, dword [0x103c80a8]
test ecx, ecx
je 0x100803a7
dec dword [ecx + 0x370]
push eax
call dword [ebp - 0x190]
add esp, 4
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x19c]
test eax, eax
jle 0x10080430
mov esi, dword [ebp - 0x180]
add esi, 0x38
mov dword [ebp - 0x1ac], eax
nop
mov eax, dword [esi]
test eax, eax
je 0x1008041e
mov edx, dword [esi - 0x10]
lea ecx, [ebp - 0x154]
push eax
call fcn.10077f70
xor edi, edi
add esp, 4
cmp dword [esi], edi
jle 0x1008041e
xor edx, edx
mov eax, dword [esi - 0x10]
cmp dword [eax + edx + 0xc], 0
je 0x10080416
movzx ecx, word [eax + edx + 0xa]
movzx eax, word [eax + edx + 6]
add ecx, eax
mov eax, dword [ebp - 0x16c]
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 0x100803f0
add esi, 0x54
sub dword [ebp - 0x1ac], 1
jne 0x100803d0
mov edi, dword [ebp - 0x16c]
test byte [edi], 1
mov eax, dword [edi + 0x20]
jne 0x1008045d
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 [0x101d84f0]
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 - 0x155], 0
divss xmm2, xmm0
mov eax, dword [0x103c80a8]
movss dword [edi + 0x24], xmm1
movss dword [edi + 0x28], xmm2
je 0x100804bb
shl esi, 2
test eax, eax
je 0x100804af
inc dword [eax + 0x370]
push esi
call dword [ebp - 0x17c]
mov dword [edi + 0x18], eax
jmp 0x100804cf
test eax, eax
je 0x100804c5
inc dword [eax + 0x370]
push esi
call dword [ebp - 0x17c]
mov dword [edi + 0x14], eax
add esp, 4
push esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [ebp - 0x19c]
xor al, al
add esp, 0xc
mov byte [ebp - 0x161], al
test ecx, ecx
jle 0x10080928
mov eax, dword [ebp - 0x180]
xor edx, edx
add eax, 8
mov dword [ebp - 0x1a0], edx
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x160], ecx
cmp dword [eax + 0x30], 0
je 0x10080901
mov ecx, dword [edi + 0x54]
movss xmm0, dword [eax - 4]
add ecx, edx
movss dword [ebp - 0x1b8], xmm0
movss xmm0, dword [eax]
mov dword [ebp - 0x1ac], ecx
cmp byte [ecx + 0x3c], 0
mov edx, dword [ecx + 0x74]
mov dword [ebp - 0x1bc], edx
movss dword [ebp - 0x1b0], xmm0
lea esi, [edx + 0x38]
lea edi, [edx + 0x48]
jne 0x10080597
mov ecx, edx
call fcn.1007cea0
mov edx, dword [ebp - 0x1bc]
mov ecx, dword [ebp - 0x1ac]
movss xmm0, dword [ebp - 0x1b8]
mov eax, dword [ecx + 0x10]
mov dword [edx + 0x10], eax
xor eax, eax
movss dword [edi], xmm0
movss xmm0, dword [ebp - 0x1b0]
mov word [esi], ax
mov eax, dword [ebp - 0x16c]
mov dword [edx + 0x34], ecx
mov dword [edx + 0x30], eax
movss dword [edx + 0x4c], xmm0
movss xmm0, dword [edi]
addss xmm0, dword [0x101d8488]
inc word [esi]
mov edi, dword [ebp - 0x16c]
movss xmm2, dword [ecx + 0x28]
movss dword [ebp - 0x17c], xmm2
cvttss2si eax, xmm0
mov esi, dword [edi + 0xc]
mov dword [ebp - 0x15c], esi
mov dword [ebp - 0x1b8], 0
movd xmm1, eax
mov eax, dword [ebp - 0x178]
cvtdq2ps xmm1, xmm1
cmp dword [eax + 0x30], 0
addss xmm1, dword [ecx + 0x2c]
movss dword [ebp - 0x174], xmm1
jle 0x100808ee
xor ecx, ecx
xor edx, edx
mov dword [ebp - 0x1b4], ecx
mov dword [ebp - 0x188], edx
mov edi, dword [eax + 0x48]
mov eax, dword [eax + 0x20]
add edi, edx
add eax, ecx
cmp word [eax + 4], 0
jne 0x10080620
cmp word [eax + 6], 0
je 0x100808b2
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 - 0x15c]
movd xmm7, dword [edi + 0xc]
mov ecx, dword [edi + 4]
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x198], esi
mov esi, dword [ebp - 0x16c]
mov dword [ebp - 0x1a4], 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 - 0x1b0], xmm0
movd xmm1, dword [esi + 0x1c]
addss xmm6, xmm0
movd xmm0, dword [esi + 0x20]
mov esi, dword [ebp - 0x198]
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 - 0x1bc]
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 - 0x1b0]
movss dword [esp + 0xc], xmm4
movss dword [esp + 8], xmm5
movss dword [esp + 4], xmm6
movss dword [esp], xmm7
push eax
push dword [ebp - 0x1ac]
call fcn.1007d530
cmp byte [edi + 0x14], 0
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x28]
lea eax, [eax + eax*4]
je 0x10080736
or dword [ecx + eax*8 - 0x28], 1
mov byte [ebp - 0x161], 1
mov ecx, dword [ebp - 0x16c]
mov esi, dword [edi + 0x1c]
mov edx, dword [edi]
mov dword [ebp - 0x168], esi
mov eax, dword [ecx + 0x1c]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x1b0], eax
imul eax, dword [ebp - 0x198]
mov dword [ebp - 0x198], 0
test ecx, ecx
je 0x100807f1
add eax, ecx
add eax, dword [ebp - 0x1a4]
cmp dword [edi + 4], 0
mov dword [ebp - 0x194], eax
jle 0x1008089c
lea ecx, [edx*4]
mov dword [ebp - 0x1a4], ecx
xor ecx, ecx
test edx, edx
jle 0x100807c2
add esi, 3
nop word [eax + eax]
mov edx, dword [ebp - 0x194]
lea esi, [esi + 4]
mov al, byte [esi - 4]
mov byte [ecx + edx], al
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jl 0x100807a0
mov eax, dword [ebp - 0x194]
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x198]
add eax, dword [ebp - 0x1b0]
inc ecx
add esi, dword [ebp - 0x1a4]
mov dword [ebp - 0x198], ecx
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x168], esi
cmp ecx, dword [edi + 4]
jl 0x10080791
jmp 0x1008089c
mov ecx, dword [ebp - 0x1a4]
add ecx, eax
cmp dword [edi + 4], 0
mov eax, dword [ebp - 0x16c]
mov eax, dword [eax + 0x18]
lea ecx, [eax + ecx*4]
mov dword [ebp - 0x194], ecx
jle 0x1008089c
mov eax, dword [ebp - 0x1b0]
shl eax, 2
mov dword [ebp - 0x1a4], eax
lea eax, [edx*4]
mov dword [ebp - 0x1f8], eax
mov eax, dword [ebp - 0x168]
xor esi, esi
test edx, edx
jle 0x10080872
sub eax, dword [ebp - 0x194]
mov dword [ebp - 0x1b0], eax
nop dword [eax]
mov eax, dword [ecx + eax]
lea ecx, [ecx + 4]
mov dword [ecx - 4], eax
inc esi
mov edx, dword [edi]
mov eax, dword [ebp - 0x1b0]
cmp esi, edx
jl 0x10080850
mov eax, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x194]
mov esi, dword [ebp - 0x198]
add ecx, dword [ebp - 0x1a4]
inc esi
add eax, dword [ebp - 0x1f8]
mov dword [ebp - 0x198], esi
mov dword [ebp - 0x194], ecx
mov dword [ebp - 0x168], eax
cmp esi, dword [edi + 4]
jl 0x10080837
mov esi, dword [ebp - 0x15c]
movss xmm2, dword [ebp - 0x17c]
movss xmm1, dword [ebp - 0x174]
mov ecx, dword [ebp - 0x1b8]
mov eax, dword [ebp - 0x178]
inc ecx
add dword [ebp - 0x188], 0x20
add dword [ebp - 0x1b4], 0x10
mov edx, dword [ebp - 0x188]
cmp ecx, dword [eax + 0x30]
mov dword [ebp - 0x1b8], ecx
mov ecx, dword [ebp - 0x1b4]
jl 0x10080604
mov edi, dword [ebp - 0x16c]
mov edx, dword [ebp - 0x1a0]
mov ecx, dword [ebp - 0x160]
mov dword [eax + 0x20], 0
add eax, 0x54
add edx, 0x78
sub ecx, 1
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x1a0], edx
mov dword [ebp - 0x160], ecx
jne 0x10080511
mov al, byte [ebp - 0x161]
xor esi, esi
mov byte [edi + 0x12], al
cmp dword [ebp - 0x1a8], esi
jle 0x1008096f
mov edi, dword [ebp - 0x184]
nop dword [eax + eax]
mov ecx, dword [edi + esi*4]
test ecx, ecx
je 0x10080956
mov eax, dword [0x103c80a8]
test eax, eax
je 0x10080956
dec dword [eax + 0x370]
push ecx
call dword [ebp - 0x190]
inc esi
add esp, 4
cmp esi, dword [ebp - 0x1a8]
jl 0x10080940
mov edi, dword [ebp - 0x16c]
mov eax, dword [ebp - 0x19c]
test eax, eax
jle 0x100809eb
mov esi, dword [ebp - 0x180]
mov edi, dword [ebp - 0x190]
add esi, 0x18
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x100809a4
mov eax, dword [0x103c80a8]
test eax, eax
je 0x1008099e
dec dword [eax + 0x370]
push ecx
call edi
add esp, 4
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x100809c0
mov eax, dword [0x103c80a8]
test eax, eax
je 0x100809ba
dec dword [eax + 0x370]
push ecx
call edi
add esp, 4
mov byte [ebp - 4], 8
mov eax, dword [esi]
test eax, eax
je 0x100809d9
push eax
call fcn.100f3fc0
add esp, 4
mov dword [esi], 0
add esi, 0x54
sub dword [ebp - 0x19c], 1
jne 0x10080988
mov edi, dword [ebp - 0x16c]
mov ecx, dword [ebp - 0x180]
test ecx, ecx
je 0x10080a34
mov eax, dword [0x103c80a8]
mov dword [ebp - 0x1f0], 0
mov dword [ebp - 0x1f4], 0
test eax, eax
je 0x10080a18
dec dword [eax + 0x370]
mov esi, dword [ebp - 0x190]
push ecx
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x1ec], eax
jmp 0x10080a3a
mov esi, dword [ebp - 0x190]
mov ecx, edi
call fcn.1007cb10
mov byte [ebp - 0x155], 1
mov ecx, dword [ebp - 0x1fc]
test ecx, ecx
je 0x10080a67
mov eax, dword [0x103c80a8]
test eax, eax
je 0x10080a61
dec dword [eax + 0x370]
push ecx
call esi
add esp, 4
mov ecx, dword [ebp - 0x184]
test ecx, ecx
je 0x10080a86
mov eax, dword [0x103c80a8]
test eax, eax
je 0x10080a80
dec dword [eax + 0x370]
push ecx
call esi
add esp, 4
mov ecx, dword [ebp - 0x170]
test ecx, ecx
je 0x10080aa5
mov eax, dword [0x103c80a8]
test eax, eax
je 0x10080a9f
dec dword [eax + 0x370]
push ecx
call esi
add esp, 4
mov edi, dword [ebp - 0x18c]
test edi, edi
je 0x10080acc
mov eax, dword [0x103c80a8]
test eax, eax
je 0x10080abe
dec dword [eax + 0x370]
mov esi, dword [ebp - 0x190]
push edi
call esi
add esp, 4
jmp 0x10080ad2
mov esi, dword [ebp - 0x190]
mov eax, dword [ebp - 0x180]
test eax, eax
je 0x10080af2
mov ecx, dword [0x103c80a8]
test ecx, ecx
je 0x10080aec
dec dword [ecx + 0x370]
push eax
call esi
add esp, 4
mov al, byte [ebp - 0x155]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101528b9
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret