Function at 0x1007e7d0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018c5ec
mov eax, dword fs:[0]
push eax
sub esp, 0x1d4
mov eax, dword [0x102a67c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x150], ebx
cmp dword [ebx + 0x60], 0
jge 0x1007e879
test byte [ebx + 4], 2
lea eax, [ebp - 0x180]
mov dword [ebp - 0x178], 0xffffffff
lea ecx, [ebx + 0x48]
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x180], 0x80000000
push eax
mov dword [ebp - 0x17c], 0x1b00d9
je 0x1007e86d
mov dword [ebp - 0x17c], 0x20002
call fcn.100820b0
mov eax, dword [ebx + 0x48]
dec eax
mov dword [ebx + 0x60], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebx + 8], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
test eax, eax
je 0x1007e8ba
push eax
call fcn.100715e0
add esp, 4
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x1007e8ca
push eax
call fcn.100715e0
add esp, 4
xor ecx, ecx
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1d4], 0
mov dword [ebp - 0x148], ecx
mov dword [ebp - 0x1cc], ecx
xor edi, edi
mov dword [ebp - 4], ecx
mov dword [ebp - 0x1a8], ecx
mov dword [ebp - 0x1ac], ecx
mov dword [ebp - 0x140], edi
mov dword [ebp - 0x1a4], edi
mov eax, dword [ebx + 0x54]
lea ecx, [edi + 8]
mov byte [ebp - 4], 1
mov dword [ebp - 0x144], eax
test eax, eax
jle 0x1007e960
cmp eax, ecx
mov esi, eax
cmovl esi, ecx
test esi, esi
jle 0x1007e960
imul eax, esi, 0xc4
push eax
call fcn.100715b0
mov dword [ebp - 0x148], eax
lea ecx, [edi + 8]
mov dword [ebp - 0x1cc], eax
add esp, 4
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x1d0], esi
mov dword [ebp - 0x1d4], eax
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x11c], eax
test eax, eax
jle 0x1007e9a8
cmp eax, 8
mov esi, eax
cmovl esi, ecx
test esi, esi
jle 0x1007e9a8
lea eax, [esi + esi*2]
shl eax, 3
push eax
call fcn.100715b0
mov edi, eax
mov dword [ebp - 0x1a8], esi
mov eax, dword [ebp - 0x11c]
add esp, 4
mov dword [ebp - 0x140], edi
mov dword [ebp - 0x1a4], edi
imul ecx, dword [ebp - 0x144], 0xc4
mov esi, dword [ebp - 0x148]
mov dword [ebp - 0x1ac], eax
push ecx
push 0
push esi
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x11c]
lea eax, [eax + eax*2]
shl eax, 3
push eax
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
mov dword [ebp - 0x12c], 0
cmp dword [ebx + 0x54], 0
jle 0x1007eb3a
xor ecx, ecx
add esi, 0xa4
mov dword [ebp - 0x13c], ecx
mov dword [ebp - 0x128], esi
mov eax, dword [ebx + 0x5c]
xor edx, edx
add eax, ecx
mov dword [esi - 4], 0xffffffff
mov dword [ebp - 0x118], eax
cmp dword [ebx + 0x3c], edx
jle 0x1007eba5
mov edi, dword [ebp - 0x128]
or esi, 0xffffffff
nop dword [eax]
mov ecx, esi
cmp esi, 0xffffffff
jne 0x1007ea57
mov ecx, dword [ebx + 0x44]
or esi, esi
mov eax, dword [eax + 0x74]
cmp eax, dword [ecx + edx*4]
jne 0x1007ea49
mov dword [edi - 4], edx
mov esi, edx
mov eax, dword [ebp - 0x118]
inc edx
mov ecx, esi
cmp edx, dword [ebx + 0x3c]
jl 0x1007ea30
mov edi, dword [ebp - 0x140]
cmp ecx, 0xffffffff
je 0x1007eba5
push dword [eax + 0xc]
mov esi, dword [eax]
push esi
call fcn.10088930
mov ecx, dword [ebp - 0x128]
push eax
add ecx, 0xffffff5c
push esi
push ecx
mov dword [ebp - 0x134], ecx
call fcn.10082e70
add esp, 0x14
test eax, eax
je 0x1007eba5
mov eax, dword [ebp - 0x134]
mov edx, 0x101aa63c
mov esi, dword [ebp - 0x128]
mov eax, dword [eax + 0xa0]
lea ecx, [eax + eax*2]
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x120], ecx
mov eax, dword [eax + 0x30]
test eax, eax
cmovne edx, eax
mov dword [esi - 8], edx
cmp word [edx], 0
je 0x1007eaf1
nop dword [eax]
movzx eax, word [edx + 2]
test ax, ax
je 0x1007eaeb
mov ecx, eax
cmp dword [esi], ecx
cmovge ecx, dword [esi]
add edx, 4
mov dword [esi], ecx
cmp word [edx], 0
jne 0x1007ead0
mov ecx, dword [ebp - 0x120]
inc dword [edi + ecx*8]
mov edx, dword [ebp - 0x120]
mov ecx, dword [esi]
mov eax, dword [ebp - 0x12c]
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, 0xc4
mov ecx, dword [ebp - 0x13c]
add ecx, 0x78
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x128], esi
mov dword [ebp - 0x13c], ecx
cmp eax, dword [ebx + 0x54]
jl 0x1007ea07
mov eax, dword [ebp - 0x144]
xor esi, esi
mov dword [ebp - 0x128], esi
test eax, eax
jle 0x1007ef93
mov edx, dword [ebp - 0x148]
add edx, 0xb4
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x114], edx
nop dword [eax + eax]
mov eax, dword [edx - 0x14]
mov esi, dword [edx - 0x10]
mov ecx, dword [edx - 4]
add esi, 0x20
sar esi, 5
lea ebx, [eax + eax*2]
mov dword [ebp - 0x118], ebx
cmp esi, ecx
jle 0x1007ec1a
test ecx, ecx
je 0x1007ebac
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0x114]
sar eax, 1
add eax, ecx
jmp 0x1007ebb1
xor bl, bl
jmp 0x1007fed5
mov eax, 8
cmp eax, esi
mov ecx, esi
cmovg ecx, eax
mov dword [ebp - 0x130], ecx
cmp ecx, dword [edx - 4]
jle 0x1007ec1a
lea eax, [ecx*4]
push eax
call fcn.100715b0
mov edx, dword [ebp - 0x114]
add esp, 4
mov dword [ebp - 0x134], eax
cmp dword [edx], 0
je 0x1007ec0f
mov ecx, dword [edx - 8]
shl ecx, 2
push ecx
push dword [edx]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x114]
push dword [eax]
call fcn.100715e0
mov edx, dword [ebp - 0x114]
add esp, 0x10
mov eax, dword [ebp - 0x134]
mov dword [edx], eax
mov eax, dword [ebp - 0x130]
mov dword [edx - 4], eax
lea eax, [esi*4]
mov dword [edx - 8], esi
push eax
push 0
push dword [edx]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [edi + ebx*8 + 0xc], 0
jne 0x1007ecda
mov esi, dword [edi + ebx*8 + 4]
mov ecx, dword [edi + ebx*8 + 0x10]
add esi, 0x20
sar esi, 5
cmp esi, ecx
jle 0x1007ecc0
test ecx, ecx
je 0x1007ec5d
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1007ec62
mov eax, 8
cmp eax, esi
mov edx, esi
cmovg edx, eax
mov dword [ebp - 0x130], edx
cmp edx, ecx
jle 0x1007ecc0
lea eax, [edx*4]
push eax
call fcn.100715b0
mov edx, dword [edi + ebx*8 + 0x14]
add esp, 4
mov dword [ebp - 0x134], eax
test edx, edx
je 0x1007ecb2
mov ecx, dword [edi + ebx*8 + 0xc]
shl ecx, 2
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
push dword [edi + ebx*8 + 0x14]
call fcn.100715e0
mov eax, dword [ebp - 0x134]
add esp, 0x10
mov dword [edi + ebx*8 + 0x14], eax
mov eax, dword [ebp - 0x130]
mov dword [edi + ebx*8 + 0x10], eax
lea eax, [esi*4]
mov dword [edi + ebx*8 + 0xc], esi
push eax
push 0
push dword [edi + ebx*8 + 0x14]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov edx, dword [ebp - 0x114]
mov eax, dword [edx - 0x18]
mov dword [ebp - 0x138], eax
cmp word [eax], 0
je 0x1007eda9
movzx ecx, word [eax + 2]
test cx, cx
je 0x1007eda3
movzx edi, word [eax]
cmp edi, ecx
ja 0x1007ed8a
nop dword [eax + eax]
mov eax, dword [ebp - 0x118]
mov ecx, edi
and ecx, 0x1f
mov ebx, 1
shl ebx, cl
mov esi, edi
mov ecx, dword [ebp - 0x140]
sar esi, 5
mov eax, dword [ecx + eax*8 + 0x14]
test dword [eax + esi*4], ebx
jne 0x1007ed7b
lea eax, [edx - 0xb4]
push edi
push eax
call fcn.10088630
mov edx, dword [ebp - 0x114]
add esp, 8
test eax, eax
je 0x1007ed7b
inc dword [edx - 0xc]
mov ecx, dword [ebp - 0x118]
mov eax, dword [ebp - 0x140]
inc dword [eax + ecx*8 + 8]
mov eax, dword [edx]
or dword [eax + esi*4], ebx
mov eax, dword [ebp - 0x140]
mov eax, dword [eax + ecx*8 + 0x14]
or dword [eax + esi*4], ebx
inc dword [ebp - 0x128]
mov eax, dword [ebp - 0x138]
inc edi
movzx eax, word [eax + 2]
cmp edi, eax
jbe 0x1007ed10
mov eax, dword [ebp - 0x138]
add eax, 4
mov dword [ebp - 0x138], eax
cmp word [eax], 0
jne 0x1007ecf3
mov edi, dword [ebp - 0x140]
add edx, 0xc4
sub dword [ebp - 0x120], 1
mov dword [ebp - 0x114], edx
jne 0x1007eb70
mov esi, dword [ebp - 0x148]
mov eax, dword [ebp - 0x144]
add esi, 0xb8
mov dword [ebp - 0x13c], eax
nop word [eax + eax]
mov edi, dword [esi - 0x10]
cmp edi, dword [esi + 4]
jle 0x1007ee1f
lea eax, [edi*4]
push eax
call fcn.100715b0
mov ebx, eax
add esp, 4
mov eax, dword [esi + 8]
test eax, eax
je 0x1007ee19
mov ecx, dword [esi]
shl ecx, 2
push ecx
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
push dword [esi + 8]
call fcn.100715e0
add esp, 0x10
mov dword [esi + 8], ebx
mov dword [esi + 4], edi
mov ecx, dword [esi - 4]
mov eax, dword [esi - 0xc]
mov dword [ebp - 0x120], ecx
lea eax, [ecx + eax*4]
mov dword [ebp - 0x118], eax
cmp ecx, eax
jae 0x1007ef47
mov edx, dword [ebp - 0x118]
xor eax, eax
mov dword [ebp - 0x12c], eax
nop word [eax + eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x124], ecx
test ecx, ecx
je 0x1007ef27
xor edi, edi
mov ebx, 1
mov dword [ebp - 0x138], edi
nop dword [eax]
test ebx, ecx
je 0x1007ef0f
mov ecx, dword [esi + 4]
and eax, 0xffffffe0
add eax, edi
mov dword [ebp - 0x130], eax
mov eax, dword [esi]
cmp eax, ecx
jne 0x1007eef3
lea edi, [eax + 1]
test ecx, ecx
je 0x1007ee9e
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1007eea3
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x1007eeed
lea eax, [edi*4]
push eax
call fcn.100715b0
mov edx, dword [esi + 8]
add esp, 4
mov dword [ebp - 0x134], eax
test edx, edx
je 0x1007eee7
mov ecx, dword [esi]
shl ecx, 2
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
push dword [esi + 8]
call fcn.100715e0
mov eax, dword [ebp - 0x134]
add esp, 0x10
mov dword [esi + 8], eax
mov dword [esi + 4], edi
mov edi, dword [ebp - 0x138]
mov ecx, dword [esi]
mov eax, dword [esi + 8]
mov edx, dword [ebp - 0x130]
mov dword [eax + ecx*4], edx
inc dword [esi]
mov eax, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x124]
inc edi
rol ebx, 1
mov dword [ebp - 0x138], edi
cmp edi, 0x20
jl 0x1007ee70
mov edx, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x120]
add eax, 0x20
add ecx, 4
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x120], ecx
cmp ecx, edx
jb 0x1007ee50
mov eax, dword [esi - 4]
test eax, eax
je 0x1007ef6c
push eax
mov dword [esi - 8], 0
mov dword [esi - 0xc], 0
call fcn.100715e0
add esp, 4
mov dword [esi - 4], 0
add esi, 0xc4
sub dword [ebp - 0x13c], 1
jne 0x1007ede0
mov edi, dword [ebp - 0x140]
mov ebx, dword [ebp - 0x150]
mov esi, dword [ebp - 0x128]
jmp 0x1007ef95
xor esi, esi
cmp dword [ebp - 0x11c], 0
jle 0x1007efde
lea ebx, [edi + 0x14]
mov edi, dword [ebp - 0x11c]
mov eax, dword [ebx]
test eax, eax
je 0x1007efca
push eax
mov dword [ebx - 4], 0
mov dword [ebx - 8], 0
call fcn.100715e0
add esp, 4
mov dword [ebx], 0
add ebx, 0x18
sub edi, 1
jne 0x1007efa7
mov edi, dword [ebp - 0x140]
mov ebx, dword [ebp - 0x150]
test edi, edi
je 0x1007f00d
push edi
mov dword [ebp - 0x1a8], 0
mov dword [ebp - 0x1ac], 0
call fcn.100715e0
add esp, 4
xor eax, eax
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x1a4], eax
xor eax, eax
mov dword [ebp - 0x1b4], 0
mov dword [ebp - 0x1b8], 0
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x1b0], eax
mov dword [ebp - 0x1dc], eax
mov dword [ebp - 0x1e0], eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x1d8], eax
mov byte [ebp - 4], 7
mov eax, 8
test esi, esi
jle 0x1007f084
cmp esi, eax
mov edi, esi
cmovl edi, eax
test edi, edi
jle 0x1007f084
mov eax, edi
shl eax, 4
push eax
call fcn.100715b0
mov dword [ebp - 0x128], eax
add esp, 4
mov dword [ebp - 0x1b0], eax
mov eax, 8
mov dword [ebp - 0x1b4], edi
mov dword [ebp - 0x1b8], esi
test esi, esi
jle 0x1007f0c1
cmp esi, 8
mov edi, esi
cmovl edi, eax
test edi, edi
jle 0x1007f0c1
lea eax, [edi*8]
sub eax, edi
shl eax, 2
push eax
call fcn.100715b0
add esp, 4
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x1d8], eax
mov dword [ebp - 0x1dc], edi
mov ecx, esi
mov dword [ebp - 0x1e0], esi
shl ecx, 4
push ecx
push 0
push dword [ebp - 0x128]
call sub.VCRUNTIME140.dll_memset
lea eax, [esi*8]
sub eax, esi
shl eax, 2
push eax
push 0
push dword [ebp - 0x138]
call sub.VCRUNTIME140.dll_memset
mov edx, dword [ebp - 0x144]
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x114], eax
xor edi, edi
mov dword [ebp - 0x11c], ecx
add esp, 0x18
mov dword [ebp - 0x13c], edi
test edx, edx
jle 0x1007f3f3
mov esi, dword [ebp - 0x148]
add esi, 0x98
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x118], esi
mov dword [ebp - 0x12c], edx
nop dword [eax + eax]
mov edx, dword [esi + 0x10]
test edx, edx
je 0x1007f3cd
add dword [ebp - 0x11c], edx
mov eax, ecx
mov ecx, dword [ebp - 0x138]
shl eax, 4
add eax, dword [ebp - 0x128]
mov dword [esi - 4], eax
lea eax, [edi*8]
sub eax, edi
add edi, edx
mov dword [ebp - 0x13c], edi
lea ecx, [ecx + eax*4]
mov dword [esi], ecx
mov edx, dword [ebx + 0x5c]
add edx, dword [ebp - 0x124]
mov dword [ebp - 0x134], edx
mov eax, dword [edx + 0x10]
mov dword [esi - 0x1c], eax
mov eax, dword [esi + 0x28]
mov dword [esi - 0x14], eax
mov eax, dword [esi + 0x20]
mov dword [esi - 0x18], 0
mov dword [esi - 0x10], eax
mov dword [esi - 0xc], ecx
mov al, byte [edx + 0x14]
mov byte [esi - 8], al
mov al, byte [edx + 0x18]
mov byte [esi - 7], al
movss xmm2, dword [edx + 0x10]
comiss xmm2, dword [0x101a0ee0]
jbe 0x1007f224
mov ebx, dword [esi - 0x7c]
mov eax, 0x100
mov edi, dword [esi - 0x94]
cwde
movzx ecx, byte [ebx + edi + 4]
movzx edx, byte [ebx + edi + 5]
movsx ecx, cx
imul ecx, eax
mov eax, 0x100
cwde
add dx, cx
movzx ecx, byte [ebx + edi + 6]
movsx ecx, cx
imul ecx, eax
movsx esi, dx
movzx edx, byte [ebx + edi + 7]
mov ebx, dword [ebp - 0x150]
add dx, cx
movsx eax, dx
sub esi, eax
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov esi, dword [ebp - 0x118]
divss xmm2, xmm0
movss dword [ebp - 0x120], xmm2
jmp 0x1007f261
mov ecx, dword [esi - 0x84]
mov eax, dword [esi - 0x94]
movss xmm1, dword [0x101a1058]
movzx edx, byte [ecx + eax + 0x13]
movzx eax, byte [ecx + eax + 0x12]
shl eax, 8
add edx, eax
movd xmm0, edx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
mulss xmm1, xmm2
movaps xmm2, xmm1
movss dword [ebp - 0x120], xmm1
movss xmm0, dword [ebx + 0x14]
xor ecx, ecx
mov eax, dword [ebx + 0x10]
movss dword [ebp - 0x158], xmm0
movss xmm0, dword [ebx + 0x18]
mov dword [ebp - 0x164], eax
movss dword [ebp - 0x14c], xmm0
mov dword [ebp - 0x118], ecx
cmp dword [esi + 0x20], ecx
jle 0x1007f3c1
mov ebx, dword [ebp - 0x134]
lea edx, [esi - 0x98]
xor edi, edi
mov eax, dword [esi + 0x28]
push dword [eax + ecx*4]
push edx
call fcn.10088630
movd xmm0, dword [ebx + 0x18]
lea ecx, [ebp - 0x160]
add esp, 8
cvtdq2ps xmm0, xmm0
push ecx
lea ecx, [ebp - 0x154]
push ecx
lea ecx, [ebp - 0x15c]
mulss xmm0, xmm2
push ecx
lea ecx, [ebp - 0x130]
push ecx
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
movss dword [esp + 4], xmm0
movd xmm0, dword [ebx + 0x14]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
movss dword [esp], xmm0
push eax
lea eax, [esi - 0x98]
push eax
call fcn.100889c0
mov eax, dword [ebx + 0x14]
add esp, 0x28
sub eax, dword [ebp - 0x130]
mov edx, dword [ebp - 0x164]
dec eax
add eax, dword [ebp - 0x154]
add eax, edx
movss xmm2, dword [ebp - 0x120]
dec edx
movd xmm0, eax
mov eax, dword [esi - 4]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ebp - 0x158]
cvttss2si ecx, xmm0
mov word [eax + edi + 4], cx
mov eax, dword [ebx + 0x18]
sub eax, dword [ebp - 0x15c]
add eax, dword [ebp - 0x160]
add eax, edx
lea edx, [esi - 0x98]
movd xmm0, eax
mov eax, dword [esi - 4]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ebp - 0x14c]
cvttss2si ecx, xmm0
mov word [eax + edi + 6], cx
mov eax, dword [esi - 4]
movzx ecx, word [eax + edi + 6]
movzx eax, word [eax + edi + 4]
add edi, 0x10
imul ecx, eax
mov eax, dword [ebp - 0x114]
add eax, ecx
mov ecx, dword [ebp - 0x118]
inc ecx
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x118], ecx
cmp ecx, dword [esi + 0x20]
jl 0x1007f2a3
mov ebx, dword [ebp - 0x150]
jmp 0x1007f3c7
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x11c]
add dword [ebp - 0x124], 0x78
add esi, 0xc4
sub dword [ebp - 0x12c], 1
mov edi, dword [ebp - 0x13c]
mov dword [ebp - 0x118], esi
jne 0x1007f140
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, dword [ebx + 0xc]
mov dword [ebx + 0x28], 0
sqrtss xmm0, xmm0
cvttss2si ecx, xmm0
inc ecx
test eax, eax
jg 0x1007f44c
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [0x101aa688]
jb 0x1007f428
mov eax, 0x1000
jmp 0x1007f44c
comiss xmm0, dword [0x101aa684]
jb 0x1007f438
mov eax, 0x800
jmp 0x1007f44c
comiss xmm0, dword [0x101aa680]
mov eax, 0x200
mov ecx, 0x400
cmovae eax, ecx
push 0x2c
mov dword [ebx + 0x24], eax
lea eax, [ebp - 0x190]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebx + 0x10]
mov edi, dword [ebx + 0x24]
push 0x30
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x14c], edi
call fcn.100715b0
sub edi, dword [ebp - 0x118]
mov esi, eax
mov dword [ebp - 0x114], esi
lea ecx, [edi*8]
push ecx
call fcn.100715b0
add esp, 0x14
test esi, esi
je 0x1007f4ff
test eax, eax
je 0x1007f4fc
mov ecx, dword [ebp - 0x118]
mov edx, dword [ebp - 0x14c]
push edi
push eax
mov dword [ebp - 0x168], eax
mov eax, 0x8000
sub eax, ecx
mov dword [ebp - 0x188], edx
push eax
push edi
push esi
mov dword [ebp - 0x18c], esi
mov dword [ebp - 0x17c], ecx
mov dword [ebp - 0x180], edx
mov dword [ebp - 0x174], 1
mov dword [ebp - 0x170], 1
mov dword [ebp - 0x178], 0
call fcn.100882d0
add esp, 0x14
jmp 0x1007f518
push esi
jmp 0x1007f504
test eax, eax
je 0x1007f50c
push eax
call fcn.100715e0
add esp, 4
mov esi, dword [ebp - 0x18c]
mov dword [ebp - 0x114], esi
xor eax, eax
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x19c], 0
mov dword [ebp - 0x194], eax
mov edi, dword [ebx + 0x48]
mov byte [ebp - 4], 8
test edi, edi
jle 0x1007f576
cmp edi, 8
mov ecx, edi
mov edx, 8
cmovl ecx, edx
mov dword [ebp - 0x14c], ecx
test ecx, ecx
jle 0x1007f576
mov eax, ecx
shl eax, 4
push eax
call fcn.100715b0
mov ecx, dword [ebp - 0x14c]
add esp, 4
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x198], ecx
mov ecx, edi
mov dword [ebp - 0x19c], edi
shl ecx, 4
push ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [ebx + 0x48], 0
jle 0x1007f5ca
mov edx, dword [ebp - 0x194]
xor ecx, ecx
add edx, 6
xor esi, esi
mov eax, dword [ebx + 0x50]
lea ecx, [ecx + 0x1c]
inc esi
lea edx, [edx + 0x10]
movzx eax, word [ecx + eax - 0x18]
mov word [edx - 0x12], ax
mov eax, dword [ebx + 0x50]
movzx eax, word [ecx + eax - 0x16]
mov word [edx - 0x10], ax
cmp esi, dword [ebx + 0x48]
jl 0x1007f5a0
mov esi, dword [ebp - 0x114]
push edi
push dword [ebp - 0x194]
push esi
call fcn.10088440
add esp, 0xc
test edi, edi
jle 0x1007f62b
mov edx, dword [ebp - 0x194]
xor esi, esi
add edx, 0xa
nop dword [eax]
cmp dword [edx + 2], 0
je 0x1007f620
mov eax, dword [ebx + 0x50]
movzx ecx, word [edx - 2]
mov word [esi + eax + 8], cx
mov eax, dword [ebx + 0x50]
movzx ecx, word [edx]
mov word [esi + eax + 0xa], cx
movzx ecx, word [edx - 4]
movzx eax, word [edx]
add ecx, eax
cmp dword [ebx + 0x28], ecx
cmovge ecx, dword [ebx + 0x28]
mov dword [ebx + 0x28], ecx
add esi, 0x1c
add edx, 0x10
sub edi, 1
jne 0x1007f5f0
mov eax, dword [ebp - 0x194]
mov byte [ebp - 4], 9
test eax, eax
je 0x1007f642
push eax
call fcn.100715e0
add esp, 4
mov edi, dword [ebp - 0x144]
mov byte [ebp - 4], 7
test edi, edi
jle 0x1007f6bf
mov esi, dword [ebp - 0x148]
add esi, 0xa8
mov dword [ebp - 0x118], edi
mov eax, dword [esi]
test eax, eax
je 0x1007f6aa
push eax
push dword [esi - 0x14]
push dword [ebp - 0x114]
call fcn.10088440
xor edi, edi
add esp, 0xc
cmp dword [esi], edi
jle 0x1007f6aa
xor edx, edx
mov eax, dword [esi - 0x14]
cmp dword [eax + edx + 0xc], 0
je 0x1007f6a2
movzx ecx, word [eax + edx + 0xa]
movzx eax, word [eax + edx + 6]
add ecx, eax
cmp dword [ebx + 0x28], ecx
cmovge ecx, dword [ebx + 0x28]
mov dword [ebx + 0x28], ecx
inc edi
add edx, 0x10
cmp edi, dword [esi]
jl 0x1007f682
add esi, 0xc4
sub dword [ebp - 0x118], 1
jne 0x1007f662
mov edi, dword [ebp - 0x144]
test byte [ebx + 4], 1
mov eax, dword [ebx + 0x28]
jne 0x1007f6ed
lea ecx, [eax - 1]
mov eax, ecx
sar eax, 1
or ecx, eax
mov eax, ecx
sar eax, 2
or ecx, eax
mov eax, ecx
sar eax, 4
or ecx, eax
mov eax, ecx
sar eax, 8
or ecx, eax
mov eax, ecx
sar eax, 0x10
or eax, ecx
movss xmm1, dword [0x101a0e2c]
lea ecx, [eax + 1]
mov eax, dword [ebx + 0x24]
movaps xmm2, xmm1
mov dword [ebx + 0x28], ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
imul ecx, eax
divss xmm1, xmm0
push ecx
movss dword [ebx + 0x2c], xmm2
movss dword [ebx + 0x30], xmm1
call fcn.100715b0
mov ecx, dword [ebx + 0x28]
imul ecx, dword [ebx + 0x24]
mov dword [ebx + 0x1c], eax
push ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebx + 0x1c]
add esp, 0x10
mov dword [ebp - 0x16c], eax
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0x184], eax
test edi, edi
jle 0x1007f930
mov ecx, dword [ebp - 0x148]
xor edi, edi
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x120], edi
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0x12c], eax
nop word [eax + eax]
cmp dword [ecx + 0xa8], 0
mov esi, dword [ebx + 0x5c]
je 0x1007f8fa
push dword [ecx + 0x94]
lea eax, [ecx + 0x7c]
push 1
push eax
push ecx
lea eax, [ebp - 0x190]
push eax
call fcn.10088fa0
movss xmm1, dword [esi + edi + 0x44]
add esp, 0x14
ucomiss xmm1, dword [0x101a0e2c]
movss dword [ebp - 0x14c], xmm1
lahf
test ah, 0x44
jnp 0x1007f8e4
xor esi, esi
nop dword [eax]
movd xmm0, esi
mov eax, esi
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101a0e90]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
call fcn.10184b80
movss xmm1, dword [ebp - 0x14c]
mov edx, 0xff
cmp eax, edx
movzx ecx, al
cmovbe edx, ecx
mov byte [ebp + esi - 0x110], dl
inc esi
cmp esi, 0x100
jb 0x1007f7d0
mov ecx, dword [ebp - 0x114]
xor eax, eax
mov dword [ebp - 0x11c], eax
mov edx, dword [ecx + 0x94]
cmp dword [ecx + 0xa8], eax
jle 0x1007f8ea
lea ecx, [edx + 6]
mov edx, dword [ebp - 0x114]
mov dword [ebp - 0x118], ecx
cmp dword [ecx + 6], 0
je 0x1007f8c2
mov eax, dword [ebx + 0x24]
movzx edx, word [ecx + 4]
movzx edi, word [ecx]
movzx esi, word [ecx - 2]
mov dword [ebp - 0x124], eax
imul edx, dword [ebp - 0x124]
movzx eax, word [ecx + 2]
add edx, dword [ebx + 0x1c]
add edx, eax
test edi, edi
je 0x1007f8b6
mov eax, dword [ebp - 0x124]
nop dword [eax + eax]
xor ecx, ecx
test esi, esi
je 0x1007f8a9
nop word [eax + eax]
movzx eax, byte [edx + ecx]
mov al, byte [ebp + eax - 0x110]
mov byte [edx + ecx], al
inc ecx
cmp ecx, esi
jl 0x1007f890
mov eax, dword [ebp - 0x124]
dec edi
add edx, eax
test edi, edi
jg 0x1007f880
mov ecx, dword [ebp - 0x118]
mov edx, dword [ebp - 0x114]
mov eax, dword [ebp - 0x11c]
inc eax
add ecx, 0x10
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x118], ecx
cmp eax, dword [edx + 0xa8]
jl 0x1007f847
mov edi, dword [ebp - 0x120]
mov ecx, dword [ebp - 0x114]
mov eax, dword [ebp - 0x12c]
mov dword [ecx + 0x94], 0
add edi, 0x78
add ecx, 0xc4
sub eax, 1
mov dword [ebp - 0x120], edi
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0x12c], eax
jne 0x1007f780
mov eax, dword [ebp - 0x18c]
mov edi, dword [ebp - 0x144]
mov dword [ebp - 0x114], eax
push dword [ebp - 0x168]
call fcn.100715e0
push dword [ebp - 0x114]
call fcn.100715e0
mov eax, dword [ebp - 0x128]
add esp, 8
test eax, eax
je 0x1007f97e
push eax
mov dword [ebp - 0x1b4], 0
mov dword [ebp - 0x1b8], 0
call fcn.100715e0
add esp, 4
xor eax, eax
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x1b0], eax
test edi, edi
jle 0x1007fe96
mov ecx, dword [ebp - 0x148]
xor edx, edx
add ecx, 4
mov dword [ebp - 0x120], edx
mov dword [ebp - 0x12c], ecx
mov eax, edi
mov dword [ebp - 0x118], edi
nop word [eax + eax]
cmp dword [ecx + 0xa4], 0
je 0x1007fe1f
mov edi, dword [ecx + 0x18]
xorps xmm3, xmm3
mov esi, dword [ecx]
mov eax, dword [ebx + 0x5c]
add eax, edx
mov dword [ebp - 0x13c], eax
movzx ecx, byte [edi + esi + 4]
movzx edx, byte [edi + esi + 7]
mov eax, dword [eax + 0x74]
mov dword [ebp - 0x124], eax
mov eax, 0x100
cwde
movsx ecx, cx
imul ecx, eax
movzx eax, byte [edi + esi + 5]
add cx, ax
mov eax, 0x100
movsx ebx, cx
movzx ecx, byte [edi + esi + 6]
cwde
movsx ecx, cx
imul ecx, eax
mov eax, ebx
movd xmm1, ebx
cvtdq2ps xmm1, xmm1
mov ebx, dword [ebp - 0x124]
add dx, cx
movsx ecx, dx
mov edx, dword [ebp - 0x13c]
sub eax, ecx
movss xmm2, dword [edx + 0x10]
movd xmm0, eax
xor eax, eax
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm3
divss xmm2, xmm0
seta al
lea eax, [eax*2 - 1]
movd xmm0, eax
xor eax, eax
cvtdq2ps xmm0, xmm0
mulss xmm1, xmm2
addss xmm0, xmm1
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
lea ecx, [ebx + 0x3c]
mov dword [ebp - 0x11c], ecx
lea ecx, [ebx + 0x38]
mov dword [ebp - 0x114], ecx
cvttss2si esi, xmm0
comiss xmm1, xmm3
mulss xmm1, xmm2
seta al
cmp byte [edx + 0x3c], 0
lea eax, [eax*2 - 1]
movd xmm0, eax
lea eax, [ebx + 0x4c]
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x130], eax
addss xmm0, xmm1
cvttss2si edi, xmm0
jne 0x1007faf8
mov ecx, ebx
call fcn.1007dfe0
mov edx, dword [ebp - 0x13c]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov eax, dword [edx + 0x10]
mov dword [ebx + 0x10], eax
mov ebx, dword [ebp - 0x11c]
mov eax, dword [ebp - 0x114]
mov dword [ebx], edx
mov ebx, dword [ebp - 0x150]
mov dword [eax], ebx
mov eax, dword [ebp - 0x130]
movss dword [eax], xmm0
mov eax, dword [ebp - 0x124]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
movss dword [eax + 0x50], xmm0
mov eax, dword [ebp - 0x130]
jmp 0x1007fb10
mov ebx, dword [ebp - 0x11c]
mov dword [ebp - 0x11c], ebx
mov ebx, dword [ebp - 0x150]
mov dword [ebp - 0x114], ecx
movss xmm0, dword [eax]
xor esi, esi
movss xmm2, dword [0x101a0e20]
mov edi, dword [ebp - 0x124]
addss xmm0, xmm2
mov ecx, dword [ebp - 0x12c]
mov dword [ebp - 0x134], esi
inc word [edi + 0x40]
movss xmm4, dword [edx + 0x28]
cvttss2si eax, xmm0
movss dword [ebp - 0x1c4], xmm4
movd xmm5, eax
cvtdq2ps xmm5, xmm5
addss xmm5, dword [edx + 0x2c]
movss dword [ebp - 0x1c8], xmm5
cmp dword [ecx + 0xa4], esi
jle 0x1007fe13
xor eax, eax
mov dword [ebp - 0x124], eax
mov eax, dword [ecx + 0xbc]
movss xmm0, dword [edx + 0x34]
movss dword [ebp - 0x130], xmm0
mov eax, dword [eax + esi*4]
mov esi, dword [ecx + 0x94]
mov ecx, dword [ebp - 0x124]
mov dword [ebp - 0x14c], eax
movss xmm1, dword [esi + ecx + 0x10]
comiss xmm0, xmm1
ja 0x1007fbc9
movss xmm0, dword [edx + 0x38]
movaps xmm3, xmm4
minss xmm0, xmm1
ucomiss xmm1, xmm0
movss dword [ebp - 0x130], xmm0
movss dword [ebp - 0x1a0], xmm0
lahf
test ah, 0x44
jnp 0x1007fbe9
cmp byte [edx + 0x1c], 0
movaps xmm3, xmm0
subss xmm3, xmm1
mulss xmm3, xmm2
je 0x1007fbe5
cvttss2si eax, xmm3
movd xmm3, eax
cvtdq2ps xmm3, xmm3
addss xmm3, xmm4
movd xmm0, dword [ebx + 0x24]
movss xmm2, dword [0x101a0e2c]
cvtdq2ps xmm0, xmm0
movzx eax, word [esi + ecx]
movaps xmm1, xmm2
divss xmm1, xmm0
movd xmm0, dword [ebx + 0x28]
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
movd xmm0, eax
movzx eax, word [esi + ecx + 2]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x154], xmm0
movd xmm0, eax
movzx eax, word [esi + ecx + 4]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
movss dword [ebp - 0x1bc], xmm0
movd xmm0, eax
movzx eax, word [esi + ecx + 6]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x1c0], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, dword [edi + 0x20]
inc eax
push eax
mulss xmm0, xmm2
movss dword [ebp - 0x1a0], xmm0
movaps xmm0, xmm3
addss xmm0, dword [esi + ecx + 8]
addss xmm3, dword [esi + ecx + 0x14]
movss dword [ebp - 0x160], xmm0
movaps xmm0, xmm5
addss xmm0, dword [esi + ecx + 0xc]
movss dword [ebp - 0x158], xmm3
movss dword [ebp - 0x15c], xmm0
movaps xmm0, xmm5
addss xmm0, dword [esi + ecx + 0x18]
lea ecx, [edi + 0x20]
movss dword [ebp - 0x164], xmm0
call fcn.10082330
mov eax, dword [edi + 0x20]
mov esi, dword [edi + 0x28]
movss xmm0, dword [ebp - 0x160]
mov ecx, dword [ebp - 0x11c]
lea edx, [eax + eax*4]
movss xmm2, dword [0x101a0e20]
mov eax, dword [ebp - 0x14c]
movss dword [esi + edx*8 - 0x20], xmm0
movss xmm0, dword [ebp - 0x15c]
movss dword [esi + edx*8 - 0x1c], xmm0
movss xmm0, dword [ebp - 0x158]
movss dword [esi + edx*8 - 0x18], xmm0
movss xmm0, dword [ebp - 0x164]
movss dword [esi + edx*8 - 0x14], xmm0
movss xmm0, dword [ebp - 0x154]
movss dword [esi + edx*8 - 0x10], xmm0
movss xmm0, dword [ebp - 0x1bc]
movss dword [esi + edx*8 - 0xc], xmm0
movss xmm0, dword [ebp - 0x1c0]
movss dword [esi + edx*8 - 8], xmm0
movss xmm0, dword [ebp - 0x1a0]
movss dword [esi + edx*8 - 4], xmm0
movss xmm0, dword [ebp - 0x130]
mov word [esi + edx*8 - 0x28], ax
mov eax, dword [ecx]
addss xmm0, dword [eax + 0x20]
movss dword [esi + edx*8 - 0x24], xmm0
mov eax, dword [ecx]
cmp byte [eax + 0x1c], 0
je 0x1007fd7d
addss xmm0, xmm2
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + edx*8 - 0x24], xmm0
mov eax, dword [ebp - 0x114]
mov byte [edi + 0x58], 1
movss xmm0, dword [esi + edx*8 - 4]
subss xmm0, dword [esi + edx*8 - 0xc]
mov eax, dword [eax]
add dword [ebp - 0x124], 0x1c
movss xmm4, dword [ebp - 0x1c4]
movss xmm5, dword [ebp - 0x1c8]
movd xmm1, dword [eax + 0x28]
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm0
movss xmm0, dword [esi + edx*8 - 8]
subss xmm0, dword [esi + edx*8 - 0x10]
addss xmm1, dword [0x101aa66c]
mov esi, dword [ebp - 0x134]
mov edx, dword [ebp - 0x13c]
inc esi
mov dword [ebp - 0x134], esi
cvttss2si ecx, xmm1
movd xmm1, dword [eax + 0x24]
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm0
addss xmm1, dword [0x101aa66c]
cvttss2si eax, xmm1
imul ecx, eax
add dword [edi + 0x54], ecx
mov ecx, dword [ebp - 0x12c]
cmp esi, dword [ecx + 0xa4]
jl 0x1007fb71
mov eax, dword [ebp - 0x118]
mov edx, dword [ebp - 0x120]
add ecx, 0xc4
add edx, 0x78
sub eax, 1
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0x120], edx
mov dword [ebp - 0x118], eax
jne 0x1007f9b0
mov edi, dword [ebp - 0x144]
test edi, edi
jle 0x1007fe96
mov esi, dword [ebp - 0x148]
add esi, 0xb4
nop dword [eax]
mov eax, dword [esi + 0xc]
mov byte [ebp - 4], 0xa
test eax, eax
je 0x1007fe74
push eax
call fcn.100715e0
add esp, 4
mov eax, dword [esi]
mov byte [ebp - 4], 0xb
test eax, eax
je 0x1007fe87
push eax
call fcn.100715e0
add esp, 4
add esi, 0xc4
mov byte [ebp - 4], 7
sub edi, 1
jne 0x1007fe60
push ebx
call fcn.1007e2b0
add esp, 4
mov bl, 1
mov eax, dword [ebp - 0x138]
mov byte [ebp - 4], 0xc
test eax, eax
je 0x1007feb8
push eax
call fcn.100715e0
add esp, 4
mov eax, dword [ebp - 0x128]
mov byte [ebp - 4], 0xd
test eax, eax
je 0x1007fecf
push eax
call fcn.100715e0
add esp, 4
mov edi, dword [ebp - 0x140]
mov byte [ebp - 4], 0xe
test edi, edi
je 0x1007fee6
push edi
call fcn.100715e0
add esp, 4
mov eax, dword [ebp - 0x148]
mov dword [ebp - 4], 0xf
test eax, eax
je 0x1007ff00
push eax
call fcn.100715e0
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10184b39
mov esp, ebp
pop ebp
ret