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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x180
push esi
mov esi, ecx
push edi
mov dword [esp + 0x34], esi
cmp dword [esi + 0x458], 0
jge 0x100f63fa
test byte [esi + 4], 2
lea eax, [esp + 0x50]
mov dword [esp + 0x54], 0xffffffff
lea ecx, [esi + 0x40]
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
push eax
mov dword [esp + 0x54], 0x1b00d9
je 0x100f63eb
mov dword [esp + 0x54], 0x20002
call fcn.10022310
mov eax, dword [esi + 0x40]
dec eax
mov dword [esi + 0x458], eax
cmp dword [esi + 0x45c], 0
jge 0x100f6458
test byte [esi + 4], 4
jne 0x100f6458
lea eax, [esp + 0x50]
mov dword [esp + 0x54], 0xffffffff
push eax
lea ecx, [esi + 0x40]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x54], 0x400041
call fcn.10022310
mov eax, dword [esi + 0x40]
dec eax
mov dword [esi + 0x45c], eax
mov ecx, esi
mov dword [esi + 8], 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.100f88c0
mov ecx, dword [esi + 0x4c]
xor edi, edi
mov dword [esp + 0x38], 0
mov dword [esp + 0x44], edi
mov dword [esp + 0x3c], ecx
lea edx, [edi + 8]
test ecx, ecx
jle 0x100f64e6
cmp ecx, edx
mov eax, ecx
cmovl eax, edx
test eax, eax
jle 0x100f64e6
mov ecx, dword [0x101c0bb0]
test ecx, ecx
je 0x100f64c7
inc dword [ecx + 0x370]
push dword [0x101c0be4]
imul eax, eax, 0xc4
push eax
call dword [0x101bd508]
add esp, 8
mov dword [esp + 0x38], eax
mov edx, 8
mov esi, dword [esi + 0x34]
mov dword [esp + 0x30], esi
test esi, esi
jle 0x100f6528
cmp esi, 8
mov ecx, esi
cmovl ecx, edx
test ecx, ecx
jle 0x100f6528
mov eax, dword [0x101c0bb0]
test eax, eax
je 0x100f650c
inc dword [eax + 0x370]
push dword [0x101c0be4]
lea eax, [ecx + ecx*2]
shl eax, 3
push eax
call dword [0x101bd508]
add esp, 8
mov dword [esp + 0x44], eax
mov edi, eax
imul ecx, dword [esp + 0x3c], 0xc4
push ecx
push 0
push dword [esp + 0x40]
call fcn.10079280
add esp, 0xc
lea eax, [esi + esi*2]
shl eax, 3
push eax
push 0
push edi
call fcn.10079280
mov ecx, dword [esp + 0x40]
add esp, 0xc
mov dword [esp + 0x20], 0
cmp dword [ecx + 0x4c], 0
jle 0x100f67c0
mov esi, dword [esp + 0x38]
xor edx, edx
add esi, 0xa4
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], esi
nop dword [eax + eax]
mov eax, dword [ecx + 0x54]
add eax, edx
mov dword [esi - 4], 0xffffffff
xor edx, edx
mov dword [esp + 0x18], eax
cmp dword [ecx + 0x34], edx
jle 0x100f6812
or eax, 0xffffffff
nop
cmp eax, 0xffffffff
jne 0x100f65d1
mov eax, dword [esp + 0x18]
mov ecx, dword [ecx + 0x3c]
mov eax, dword [eax + 0x74]
cmp eax, dword [ecx + edx*4]
jne 0x100f65bb
mov dword [esi - 4], edx
mov eax, edx
jmp 0x100f65be
mov eax, dword [esi - 4]
mov ecx, dword [esp + 0x34]
inc edx
cmp edx, dword [ecx + 0x34]
jl 0x100f65a0
cmp eax, 0xffffffff
je 0x100f6812
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
mov esi, dword [eax + 0xc]
mov al, byte [edx]
cmp al, 0x31
jne 0x100f65fa
cmp byte [edx + 1], 0
jne 0x100f6707
cmp byte [edx + 2], 0
jne 0x100f6707
cmp byte [edx + 3], 0
jmp 0x100f6669
cmp al, 0x74
jne 0x100f6614
cmp byte [edx + 1], 0x79
jne 0x100f6655
cmp byte [edx + 2], 0x70
jne 0x100f6707
cmp byte [edx + 3], 0x31
jmp 0x100f6669
cmp al, 0x4f
jne 0x100f6631
cmp byte [edx + 1], 0x54
jne 0x100f6707
cmp byte [edx + 2], 0x54
jne 0x100f6707
cmp byte [edx + 3], al
jmp 0x100f6669
test al, al
jne 0x100f664d
cmp byte [edx + 1], 1
jne 0x100f6707
cmp byte [edx + 2], al
jne 0x100f6707
cmp byte [edx + 3], al
jmp 0x100f6669
cmp al, 0x74
jne 0x100f6707
cmp byte [edx + 1], 0x72
jne 0x100f6678
cmp byte [edx + 2], 0x75
jne 0x100f6707
cmp byte [edx + 3], 0x65
jne 0x100f6707
neg esi
sbb esi, esi
jmp 0x100f670a
cmp byte [edx + 1], 0x74
jne 0x100f6707
cmp byte [edx + 2], 0x63
jne 0x100f6707
cmp byte [edx + 3], 0x66
jne 0x100f6707
movzx eax, byte [edx + 4]
movzx ecx, byte [edx + 5]
shl eax, 8
add ecx, eax
movzx eax, byte [edx + 6]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 7]
shl ecx, 8
add eax, ecx
cmp eax, 0x10000
je 0x100f66bf
cmp eax, 0x20000
jne 0x100f6707
movzx ecx, byte [edx + 8]
movzx eax, byte [edx + 9]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 0xa]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 0xb]
shl ecx, 8
add ecx, eax
cmp esi, ecx
jge 0x100f6707
movzx eax, byte [edx + esi*4 + 0xd]
lea ecx, [edx + esi*4]
movzx esi, byte [ecx + 0xc]
shl esi, 8
add esi, eax
movzx eax, byte [ecx + 0xe]
shl esi, 8
add esi, eax
movzx eax, byte [ecx + 0xf]
shl esi, 8
add esi, eax
jmp 0x100f670a
or esi, 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xffffff5c
push esi
mov ecx, eax
mov dword [esp + 0x10], eax
call fcn.10102aa0
add esp, 4
test eax, eax
je 0x100f6812
mov eax, dword [esp + 0xc]
mov edx, 0x101a9f28
mov esi, dword [esp + 0x1c]
mov eax, dword [eax + 0xa0]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], ecx
mov eax, dword [eax + 0x30]
test eax, eax
cmovne edx, eax
mov dword [esi - 8], edx
cmp word [edx], 0
je 0x100f677f
nop dword [eax]
movzx eax, word [edx + 2]
test ax, ax
je 0x100f677b
mov ecx, eax
cmp dword [esi], ecx
cmovge ecx, dword [esi]
add edx, 4
mov dword [esi], ecx
cmp word [edx], 0
jne 0x100f6760
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x10]
inc dword [edi + ecx*8]
mov ecx, dword [esi]
mov eax, dword [esp + 0x20]
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 [esp + 0x34]
mov edx, dword [esp + 0x14]
add edx, 0x78
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], edx
cmp eax, dword [ecx + 0x4c]
jl 0x100f6580
mov eax, dword [esp + 0x3c]
xor esi, esi
mov dword [esp + 8], esi
test eax, eax
jle 0x100f6b52
mov esi, dword [esp + 0x38]
add esi, 0xa8
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], esi
mov eax, dword [esi - 8]
lea ecx, [eax + eax*2]
mov eax, dword [esi + 8]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi - 4]
add ecx, 0x20
sar ecx, 5
mov dword [esp + 0xc], ecx
cmp ecx, eax
jle 0x100f6835
test eax, eax
je 0x100f681c
cdq
sub eax, edx
mov edx, eax
sar edx, 1
add edx, dword [esi + 8]
jmp 0x100f6821
mov byte [esp + 0x27], 0
jmp 0x100f78e6
mov edx, 8
cmp edx, ecx
mov eax, ecx
lea ecx, [esi + 4]
cmovg eax, edx
push eax
call fcn.100208e0
mov ecx, dword [esp + 0xc]
lea eax, [ecx*4]
mov dword [esi + 4], ecx
push eax
push 0
push dword [esi + 0xc]
call fcn.10079280
mov edx, dword [esp + 0x38]
add esp, 0xc
lea eax, [edx*8 + 0xc]
add eax, edi
mov dword [esp + 0x18], eax
cmp dword [eax], 0
jne 0x100f68cc
mov ecx, dword [edi + edx*8 + 4]
mov edx, dword [eax + 4]
add ecx, 0x20
sar ecx, 5
mov dword [esp + 0x20], ecx
mov dword [esp + 0xc], edx
cmp ecx, edx
jle 0x100f68ad
test edx, edx
je 0x100f688f
mov eax, edx
cdq
sub eax, edx
mov edx, eax
sar edx, 1
add edx, dword [esp + 0xc]
jmp 0x100f6894
mov edx, 8
cmp edx, ecx
mov eax, ecx
mov ecx, dword [esp + 0x18]
cmovg eax, edx
push eax
call fcn.100208e0
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov dword [eax], ecx
lea eax, [ecx*4]
push eax
mov eax, dword [esp + 0x1c]
push 0
push dword [eax + 8]
call fcn.10079280
mov edx, dword [esp + 0x38]
add esp, 0xc
mov eax, dword [esi - 0xc]
mov dword [esp + 0x18], eax
movzx ecx, word [eax]
test cx, cx
je 0x100f69a2
nop
movzx eax, word [eax + 2]
test ax, ax
je 0x100f699a
movzx edi, cx
cmp edi, eax
ja 0x100f697f
mov eax, dword [esp + 0x44]
mov esi, edi
mov ecx, edi
sar esi, 5
and ecx, 0x1f
mov dword [esp + 0xc], ecx
mov edx, dword [eax + edx*8 + 0x14]
mov eax, 1
shl eax, cl
test dword [edx + esi*4], eax
jne 0x100f696a
mov ecx, dword [esp + 0x28]
mov edx, edi
lea ecx, [ecx - 0xa8]
call fcn.10102760
test eax, eax
je 0x100f696a
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x44]
inc dword [eax]
inc dword [edx + ecx*8 + 8]
mov ecx, dword [eax + 0xc]
mov edx, dword [esp + 0xc]
mov eax, dword [ecx + esi*4]
bts eax, edx
mov dword [ecx + esi*4], eax
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x2c]
mov ecx, dword [eax + ecx*8 + 0x14]
mov eax, dword [ecx + esi*4]
bts eax, edx
inc dword [esp + 8]
mov dword [ecx + esi*4], eax
mov eax, dword [esp + 0x18]
inc edi
mov edx, dword [esp + 0x2c]
movzx eax, word [eax + 2]
cmp edi, eax
jbe 0x100f68f8
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x2c]
add eax, 4
mov dword [esp + 0x18], eax
movzx ecx, word [eax]
test cx, cx
jne 0x100f68e0
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x44]
add esi, 0xc4
sub dword [esp + 0x10], 1
mov dword [esp + 0x28], esi
jne 0x100f67e4
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
add esi, 0xb8
mov dword [esp + 0x18], eax
nop dword [eax]
mov edi, dword [esi - 0x10]
cmp edi, dword [esi + 4]
jle 0x100f6a49
mov eax, dword [0x101c0bb0]
test eax, eax
je 0x100f69e7
inc dword [eax + 0x370]
push dword [0x101c0be4]
lea eax, [edi*4]
push eax
call dword [0x101bd508]
mov edx, dword [esi + 8]
add esp, 8
mov dword [esp + 0xc], eax
test edx, edx
je 0x100f6a43
mov ecx, dword [esi]
shl ecx, 2
push ecx
push edx
push eax
call fcn.10078d00
mov ecx, dword [esi + 8]
add esp, 0xc
test ecx, ecx
je 0x100f6a2f
mov eax, dword [0x101c0bb0]
test eax, eax
je 0x100f6a2f
dec dword [eax + 0x370]
push dword [0x101c0be4]
push ecx
call dword [0x101bd570]
mov eax, dword [esp + 0x14]
add esp, 8
mov dword [esi + 8], eax
mov dword [esi + 4], edi
mov ecx, dword [esi - 4]
mov eax, dword [esi - 0xc]
mov dword [esp + 0x14], ecx
lea eax, [ecx + eax*4]
mov dword [esp + 0x1c], eax
cmp ecx, eax
jae 0x100f6afe
xor edi, edi
mov dword [esp + 0x40], edi
mov edx, dword [ecx]
mov dword [esp + 0xc], edx
test edx, edx
je 0x100f6ae8
xor eax, eax
mov ecx, 1
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], ecx
test edx, ecx
je 0x100f6ad0
mov edx, dword [esi]
and edi, 0xffffffe0
add edi, eax
mov eax, dword [esi + 4]
cmp edx, eax
jne 0x100f6abc
lea ecx, [edx + 1]
test eax, eax
je 0x100f6aa4
cdq
sub eax, edx
sar eax, 1
add eax, dword [esi + 4]
jmp 0x100f6aa9
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.10020340
mov edx, dword [esi]
mov ecx, dword [esp + 0x20]
mov eax, dword [esi + 8]
mov dword [eax + edx*4], edi
inc dword [esi]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov edi, dword [esp + 0x40]
inc eax
rol ecx, 1
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], ecx
cmp eax, 0x20
jb 0x100f6a81
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
add ecx, 4
add edi, 0x20
mov dword [esp + 0x14], ecx
mov dword [esp + 0x40], edi
cmp ecx, eax
jb 0x100f6a68
mov ecx, dword [esi - 4]
test ecx, ecx
je 0x100f6b39
mov eax, dword [0x101c0bb0]
mov dword [esi - 8], 0
mov dword [esi - 0xc], 0
test eax, eax
je 0x100f6b22
dec dword [eax + 0x370]
push dword [0x101c0be4]
push ecx
call dword [0x101bd570]
add esp, 8
mov dword [esi - 4], 0
add esi, 0xc4
sub dword [esp + 0x18], 1
jne 0x100f69d0
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 8]
cmp dword [esp + 0x30], 0
jle 0x100f6bb1
mov esi, dword [esp + 0x30]
lea eax, [edi + 0x14]
mov dword [esp + 0x10], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x100f6ba1
mov dword [eax - 4], 0
mov dword [eax - 8], 0
mov eax, dword [0x101c0bb0]
test eax, eax
je 0x100f6b87
dec dword [eax + 0x370]
push dword [0x101c0be4]
push ecx
call dword [0x101bd570]
mov eax, dword [esp + 0x18]
add esp, 8
mov dword [eax], 0
add eax, 0x18
mov dword [esp + 0x10], eax
sub esi, 1
jne 0x100f6b64
mov esi, dword [esp + 8]
test edi, edi
je 0x100f6bdc
mov eax, dword [0x101c0bb0]
test eax, eax
je 0x100f6bc4
dec dword [eax + 0x370]
push dword [0x101c0be4]
push edi
call dword [0x101bd570]
add esp, 8
mov dword [esp + 0x44], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x18], 0
test esi, esi
jle 0x100f6c67
cmp esi, 8
mov edi, esi
mov eax, 8
cmovl edi, eax
test edi, edi
jle 0x100f6c5f
mov eax, dword [0x101c0bb0]
test eax, eax
je 0x100f6c14
inc dword [eax + 0x370]
push dword [0x101c0be4]
mov eax, edi
shl eax, 4
push eax
call dword [0x101bd508]
mov ecx, dword [0x101c0bb0]
add esp, 8
mov dword [esp + 0x2c], eax
test ecx, ecx
je 0x100f6c3d
inc dword [ecx + 0x370]
push dword [0x101c0be4]
lea eax, [edi*8]
sub eax, edi
shl eax, 2
push eax
call dword [0x101bd508]
add esp, 8
mov dword [esp + 0x18], eax
jmp 0x100f6c67
mov dword [esp + 0x2c], 0
mov eax, esi
shl eax, 4
push eax
push 0
push dword [esp + 0x34]
call fcn.10079280
add esp, 0xc
lea eax, [esi*8]
sub eax, esi
shl eax, 2
push eax
push 0
push dword [esp + 0x20]
call fcn.10079280
mov eax, dword [esp + 0x48]
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x14], edx
add esp, 0xc
mov dword [esp + 0x1c], edx
mov dword [esp + 0x28], ecx
test eax, eax
jle 0x100f6f19
mov edi, dword [esp + 0x38]
xor esi, esi
add edi, 0x98
mov dword [esp + 0x20], esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
nop word [eax + eax]
mov edx, dword [edi + 0x10]
test edx, edx
je 0x100f6ef7
mov eax, dword [esp + 0x1c]
add dword [esp + 0x1c], edx
add dword [esp + 0x28], edx
shl eax, 4
add eax, dword [esp + 0x2c]
mov dword [edi - 4], eax
lea eax, [ecx*8]
sub eax, ecx
mov ecx, dword [esp + 0x18]
lea ecx, [ecx + eax*4]
mov eax, dword [esp + 0x34]
mov dword [edi], ecx
mov edx, dword [eax + 0x54]
mov eax, dword [edx + esi + 0x10]
add edx, esi
mov dword [edi - 0x1c], eax
mov eax, dword [edi + 0x28]
mov dword [edi - 0x14], eax
mov eax, dword [edi + 0x20]
mov dword [edi - 0x18], 0
mov dword [edi - 0x10], eax
mov dword [edi - 0xc], ecx
mov al, byte [edx + 0x14]
mov byte [edi - 8], al
mov al, byte [edx + 0x18]
mov byte [edi - 7], al
movss xmm1, dword [edx + 0x10]
comiss xmm1, dword [0x101afb04]
mov dword [esp + 0x40], edx
jbe 0x100f6d9f
mov eax, dword [edi - 0x7c]
mov edi, dword [edi - 0x94]
movzx edx, byte [eax + edi + 7]
movzx ecx, byte [eax + edi + 6]
mov eax, 0x100
cwde
movsx ecx, cx
imul ecx, eax
add dx, cx
mov ecx, dword [esp + 0x14]
movsx esi, dx
mov eax, dword [ecx - 0x7c]
movzx edx, byte [eax + edi + 5]
movzx ecx, byte [eax + edi + 4]
mov eax, 0x100
mov edi, dword [esp + 0x14]
cwde
movsx ecx, cx
imul ecx, eax
add dx, cx
movsx eax, dx
sub eax, esi
mov esi, dword [esp + 0x20]
movd xmm0, eax
jmp 0x100f6dc5
mov edx, dword [edi - 0x84]
mov eax, dword [edi - 0x94]
xorps xmm1, xmmword [0x101b1470]
movzx ecx, byte [edx + eax + 0x13]
movzx eax, byte [edx + eax + 0x12]
shl eax, 8
add ecx, eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x10]
divss xmm1, xmm0
mov dword [esp + 0x7c], eax
xor eax, eax
mov dword [esp + 0x30], eax
movss dword [esp + 0xc], xmm1
cmp dword [edi + 0x20], eax
jle 0x100f6eef
mov dword [esp + 0x14], eax
mov edx, dword [edi + 0x28]
lea ecx, [edi - 0x98]
mov edx, dword [edx + eax*4]
call fcn.10102760
lea ecx, [esp + 0x48]
mov edx, eax
push ecx
lea ecx, [esp + 0x88]
push ecx
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x8c]
push ecx
mov ecx, dword [esp + 0x50]
sub esp, 8
movd xmm3, dword [ecx + 0x18]
movd xmm2, dword [ecx + 0x14]
lea ecx, [edi - 0x98]
cvtdq2ps xmm3, xmm3
mov dword [esp + 4], 0
mov dword [esp], 0
cvtdq2ps xmm2, xmm2
mulss xmm3, xmm1
mulss xmm2, xmm1
call fcn.100ffd90
mov eax, dword [esp + 0x94]
add esp, 0x18
mov esi, dword [esp + 0x40]
movzx edx, ax
mov eax, dword [edi - 4]
mov ecx, edx
sub ecx, dword [esp + 0x80]
sub edx, dword [esp + 0x4c]
dec cx
add cx, word [esi + 0x14]
mov esi, dword [esp + 0x14]
add cx, word [esp + 0x84]
add edx, dword [esp + 0x48]
movss xmm1, dword [esp + 0xc]
dec dx
mov word [esi + eax + 4], cx
mov esi, dword [esp + 0x40]
mov eax, dword [edi - 4]
add dx, word [esi + 0x18]
mov esi, dword [esp + 0x14]
mov word [esi + eax + 6], dx
mov eax, dword [edi - 4]
mov edx, dword [esp + 8]
movzx ecx, word [esi + eax + 6]
movzx eax, word [esi + eax + 4]
add esi, 0x10
imul ecx, eax
mov eax, dword [esp + 0x30]
inc eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x30], eax
add edx, ecx
mov dword [esp + 8], edx
cmp eax, dword [edi + 0x20]
jl 0x100f6df0
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
jmp 0x100f6efb
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 8]
add edi, 0xc4
add esi, 0x78
sub eax, 1
mov dword [esp + 0x14], edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x10], eax
jne 0x100f6cd0
mov edi, dword [esp + 0x34]
mov eax, dword [edi + 0xc]
mov dword [edi + 0x20], 0
test eax, eax
jg 0x100f6f8d
movd xmm0, edx
xorps xmm1, xmm1
cvtdq2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x100f6f44
sqrtsd xmm0, xmm0
jmp 0x100f6f49
call fcn.101610b0
cvtsd2ss xmm0, xmm0
cvttss2si eax, xmm0
inc eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [0x101afdfc]
jb 0x100f6f69
mov eax, 0x1000
jmp 0x100f6f8d
comiss xmm0, dword [0x101afdf8]
jb 0x100f6f79
mov eax, 0x800
jmp 0x100f6f8d
comiss xmm0, dword [0x101afde8]
mov eax, 0x200
mov ecx, 0x400
cmovae eax, ecx
push 0x2c
mov dword [edi + 0x1c], eax
lea eax, [esp + 0x54]
push 0
push eax
call fcn.10079280
mov eax, dword [edi + 0x10]
add esp, 0xc
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [0x101c0bb0]
test eax, eax
je 0x100f6fbe
inc dword [eax + 0x370]
push dword [0x101c0be4]
push 0x30
call dword [0x101bd508]
mov ecx, dword [0x101c0bb0]
mov esi, eax
mov eax, dword [esp + 0x14]
add esp, 8
sub eax, dword [esp + 0x30]
mov dword [esp + 8], esi
mov dword [esp + 0x48], eax
test ecx, ecx
je 0x100f6ff1
inc dword [ecx + 0x370]
push dword [0x101c0be4]
shl eax, 3
push eax
call dword [0x101bd508]
add esp, 8
test esi, esi
je 0x100f7075
test eax, eax
je 0x100f705d
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x58], edx
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x48]
push edx
push eax
mov dword [esp + 0x80], eax
mov eax, 0x8000
sub eax, ecx
mov dword [esp + 0x6c], ecx
push eax
mov ecx, esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x78], 1
mov dword [esp + 0x7c], 1
mov dword [esp + 0x74], 0
call fcn.101040d0
add esp, 0xc
jmp 0x100f70a1
mov eax, dword [0x101c0bb0]
test eax, eax
je 0x100f706c
dec dword [eax + 0x370]
push dword [0x101c0be4]
push esi
jmp 0x100f7090
test eax, eax
je 0x100f7099
mov ecx, dword [0x101c0bb0]
test ecx, ecx
je 0x100f7089
dec dword [ecx + 0x370]
push dword [0x101c0be4]
push eax
call dword [0x101bd570]
add esp, 8
mov eax, dword [esp + 0x54]
mov dword [esp + 8], eax
mov esi, dword [edi + 0x40]
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], esi
test esi, esi
jle 0x100f70e9
cmp esi, 8
mov ecx, esi
mov edx, 8
cmovl ecx, edx
test ecx, ecx
jle 0x100f70e9
mov eax, dword [0x101c0bb0]
test eax, eax
je 0x100f70d2
inc dword [eax + 0x370]
push dword [0x101c0be4]
shl ecx, 4
push ecx
call dword [0x101bd508]
add esp, 8
mov dword [esp + 0x28], eax
mov ecx, esi
shl ecx, 4
push ecx
push 0
push eax
call fcn.10079280
add esp, 0xc
cmp dword [edi + 0x40], 0
jle 0x100f7138
mov edx, dword [esp + 0x28]
xor ecx, ecx
add edx, 6
xor esi, esi
nop dword [eax + 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 0x100f7110
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 8]
push esi
call fcn.10103ad0
add esp, 4
test esi, esi
jle 0x100f71a3
mov edx, dword [esp + 0x28]
xor esi, esi
mov eax, dword [esp + 0x1c]
add edx, 0xa
nop word [eax + eax]
cmp dword [edx + 2], 0
je 0x100f7194
mov ecx, dword [edi + 0x48]
movzx eax, word [edx - 2]
mov word [esi + ecx + 4], ax
mov ecx, dword [edi + 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 + 0x1c]
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 [esp + 0x1c], eax
jne 0x100f7160
mov eax, dword [esp + 0x28]
test eax, eax
je 0x100f71cb
mov ecx, dword [0x101c0bb0]
test ecx, ecx
je 0x100f71bb
dec dword [ecx + 0x370]
push dword [0x101c0be4]
push eax
call dword [0x101bd570]
add esp, 8
mov esi, dword [esp + 0x3c]
test esi, esi
jle 0x100f7256
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
add esi, 0xa8
mov dword [esp + 0xc], eax
nop dword [eax]
mov eax, dword [esi]
test eax, eax
je 0x100f7241
mov edx, dword [esi - 0x14]
mov ecx, dword [esp + 8]
push eax
call fcn.10103ad0
xor edi, edi
add esp, 4
cmp dword [esi], edi
jle 0x100f7241
xor edx, edx
nop
mov eax, dword [esi - 0x14]
cmp dword [eax + edx + 0xc], 0
je 0x100f7239
movzx ecx, word [eax + edx + 0xa]
movzx eax, word [eax + edx + 6]
add ecx, eax
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x20]
cmp eax, ecx
cmovge ecx, eax
mov eax, dword [esp + 0x34]
mov dword [eax + 0x20], ecx
inc edi
add edx, 0x10
cmp edi, dword [esi]
jl 0x100f7210
add esi, 0xc4
sub dword [esp + 0xc], 1
jne 0x100f71f0
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x3c]
test byte [edi + 4], 1
mov eax, dword [edi + 0x20]
jne 0x100f7284
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 [0x101afc38]
lea ecx, [eax + 1]
mov eax, dword [edi + 0x1c]
movaps xmm2, xmm1
mov dword [edi + 0x20], ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
imul ecx, eax
divss xmm1, xmm0
mov eax, dword [0x101c0bb0]
movss dword [edi + 0x24], xmm2
movss dword [edi + 0x28], xmm1
test eax, eax
je 0x100f72ca
inc dword [eax + 0x370]
push dword [0x101c0be4]
push ecx
call dword [0x101bd508]
mov ecx, dword [edi + 0x1c]
imul ecx, dword [edi + 0x20]
mov dword [edi + 0x14], eax
push ecx
push 0
push eax
call fcn.10079280
mov eax, dword [edi + 0x14]
add esp, 0x14
mov dword [esp + 0x74], eax
mov eax, dword [edi + 0x20]
mov dword [esp + 0x5c], eax
test esi, esi
jle 0x100f74a0
mov ecx, dword [esp + 0x38]
xor eax, eax
mov dword [esp + 0x20], eax
mov edx, esi
mov dword [esp + 8], ecx
mov dword [esp + 0x14], esi
nop word [eax + eax]
mov esi, dword [edi + 0x54]
add esi, eax
cmp dword [ecx + 0xa8], 0
je 0x100f747c
push dword [ecx + 0x94]
lea eax, [ecx + 0x7c]
mov edx, ecx
push ecx
push eax
lea ecx, [esp + 0x5c]
call fcn.100fc440
movss xmm1, dword [esi + 0x44]
add esp, 0xc
ucomiss xmm1, dword [0x101afc38]
movss dword [esp + 0x48], xmm1
lahf
test ah, 0x44
jnp 0x100f7466
xor esi, esi
nop dword [eax]
movd xmm0, esi
mov eax, esi
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101b0e30]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
call fcn.1015f650
movss xmm1, dword [esp + 0x48]
mov edx, 0xff
cmp eax, edx
movzx ecx, al
cmovbe edx, ecx
mov byte [esp + esi + 0x88], dl
inc esi
cmp esi, 0x100
jb 0x100f7370
mov ecx, dword [esp + 8]
xor eax, eax
mov dword [esp + 0x10], eax
mov edx, dword [ecx + 0x94]
cmp dword [ecx + 0xa8], eax
jle 0x100f746a
lea ecx, [edx + 4]
mov edx, dword [esp + 8]
mov dword [esp + 0x30], ecx
nop dword [eax]
cmp dword [ecx + 8], 0
je 0x100f744e
mov eax, dword [edi + 0x1c]
movzx edx, word [ecx + 6]
movzx esi, word [ecx]
imul edx, eax
mov dword [esp + 0xc], eax
movzx eax, word [ecx + 4]
add edx, eax
add edx, dword [edi + 0x14]
movzx edi, word [ecx + 2]
test edi, edi
je 0x100f7442
mov eax, dword [esp + 0xc]
nop dword [eax]
xor ecx, ecx
test esi, esi
je 0x100f7437
nop word [eax + eax]
movzx eax, byte [ecx + edx]
mov al, byte [esp + eax + 0x88]
mov byte [ecx + edx], al
inc ecx
cmp ecx, esi
jl 0x100f7420
mov eax, dword [esp + 0xc]
dec edi
add edx, eax
test edi, edi
jg 0x100f7410
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x34]
inc eax
add ecx, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x30], ecx
cmp eax, dword [edx + 0xa8]
jl 0x100f73e0
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov dword [ecx + 0x94], 0
add eax, 0x78
add ecx, 0xc4
sub edx, 1
mov dword [esp + 0x20], eax
mov dword [esp + 8], ecx
mov dword [esp + 0x14], edx
jne 0x100f7320
mov esi, dword [esp + 0x54]
jmp 0x100f74a4
mov esi, dword [esp + 8]
cmp dword [esp + 0x78], 0
je 0x100f74ba
mov eax, dword [0x101c0bb0]
test eax, eax
je 0x100f74ba
dec dword [eax + 0x370]
push dword [0x101c0be4]
push dword [esp + 0x7c]
call dword [0x101bd570]
add esp, 8
test esi, esi
je 0x100f74e0
mov eax, dword [0x101c0bb0]
test eax, eax
je 0x100f74e0
dec dword [eax + 0x370]
push dword [0x101c0be4]
push esi
call dword [0x101bd570]
mov ecx, dword [esp + 0x34]
add esp, 8
test ecx, ecx
je 0x100f751f
mov eax, dword [0x101c0bb0]
test eax, eax
je 0x100f7507
dec dword [eax + 0x370]
push dword [0x101c0be4]
push ecx
call dword [0x101bd570]
add esp, 8
mov dword [esp + 0x2c], 0
mov eax, dword [esp + 0x3c]
test eax, eax
jle 0x100f7888
mov edx, dword [esp + 0x38]
xor ecx, ecx
add edx, 4
mov dword [esp + 0x40], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], eax
cmp dword [edx + 0xa4], 0
je 0x100f7802
mov esi, dword [edx + 0x18]
mov eax, dword [edi + 0x54]
mov edx, dword [edx]
add eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [eax + 0x74]
movzx ecx, byte [esi + edx + 6]
mov dword [esp + 0x30], eax
mov eax, 0x100
cwde
movsx ecx, cx
imul ecx, eax
movzx eax, byte [esi + edx + 7]
add cx, ax
movsx eax, cx
movzx ecx, byte [esi + edx + 4]
mov dword [esp + 0xc], eax
mov eax, 0x100
cwde
movsx ecx, cx
imul ecx, eax
movzx eax, byte [esi + edx + 5]
mov esi, dword [esp + 0x30]
add cx, ax
movsx eax, cx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x48], eax
sub eax, dword [esp + 0xc]
cmp byte [ecx + 0x3c], 0
movss xmm1, dword [ecx + 0x10]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss dword [esp + 0x4c], xmm1
jne 0x100f765e
mov ecx, esi
call fcn.100f5550
mov ecx, dword [esp + 0x10]
xorps xmm4, xmm4
movd xmm1, dword [esp + 0x48]
cvtdq2ps xmm1, xmm1
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x10], eax
xor eax, eax
mov dword [esi + 0x34], ecx
mov dword [esi + 0x30], edi
comiss xmm1, xmm4
mulss xmm1, dword [esp + 0x4c]
seta al
lea eax, [eax*2 - 1]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movd xmm1, dword [esp + 0xc]
cvtdq2ps xmm1, xmm1
cvttss2si eax, xmm0
movd xmm2, eax
xor eax, eax
comiss xmm1, xmm4
mulss xmm1, dword [esp + 0x4c]
seta al
cvtdq2ps xmm2, xmm2
lea eax, [eax*2 - 1]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0x44], xmm2
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
xor eax, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0x48], xmm0
jmp 0x100f7667
movzx eax, word [esi + 0x38]
movss xmm2, dword [esi + 0x44]
addss xmm2, dword [0x101afbec]
mov edx, dword [esp + 0x14]
inc eax
mov word [esi + 0x38], ax
movss xmm7, dword [ecx + 0x28]
movss dword [esp + 0x4c], xmm7
cmp dword [edx + 0xa4], 0
cvttss2si eax, xmm2
mov dword [esp + 0x20], 0
movd xmm6, eax
cvtdq2ps xmm6, xmm6
addss xmm6, dword [ecx + 0x2c]
movss dword [esp + 0x48], xmm6
jle 0x100f77fa
xor eax, eax
mov dword [esp + 8], eax
nop dword [eax]
nop dword [eax + eax]
mov ecx, dword [edx + 0x94]
sub esp, 0x20
movd xmm0, dword [edi + 0x1c]
movss xmm1, dword [0x101afc38]
movss xmm3, dword [0x101afc38]
movzx eax, word [eax + ecx]
cvtdq2ps xmm0, xmm0
movd xmm5, eax
mov eax, dword [esp + 0x28]
divss xmm1, xmm0
movzx eax, word [eax + ecx + 2]
movd xmm0, dword [edi + 0x20]
cvtdq2ps xmm0, xmm0
movd xmm4, eax
mov eax, dword [esp + 0x28]
divss xmm3, xmm0
movzx eax, word [eax + ecx + 4]
movd xmm2, eax
mov eax, dword [esp + 0x28]
cvtdq2ps xmm5, xmm5
movzx eax, word [eax + ecx + 6]
cvtdq2ps xmm2, xmm2
mulss xmm5, xmm1
mulss xmm2, xmm1
movd xmm1, eax
mov eax, dword [esp + 0x28]
cvtdq2ps xmm1, xmm1
movss xmm0, dword [eax + ecx + 0x10]
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [eax + ecx + 0x18]
mulss xmm1, xmm3
cvtdq2ps xmm4, xmm4
movss dword [esp + 0x18], xmm1
xorps xmm1, xmm1
addss xmm0, xmm1
mulss xmm4, xmm3
movss xmm3, dword [eax + ecx + 8]
movss dword [esp + 0x14], xmm2
addss xmm3, xmm1
movss dword [esp + 0x10], xmm4
addss xmm0, xmm6
movss dword [esp + 0xc], xmm5
addss xmm3, xmm7
movss dword [esp + 8], xmm0
movss xmm0, dword [eax + ecx + 0x14]
addss xmm0, xmm1
addss xmm0, xmm7
movss dword [esp + 4], xmm0
movss xmm0, dword [eax + ecx + 0xc]
mov eax, dword [edx + 0xbc]
addss xmm0, xmm1
mov ecx, dword [esp + 0x40]
movzx eax, word [eax + ecx*4]
addss xmm0, xmm6
mov ecx, esi
movss dword [esp], xmm0
push eax
push dword [esp + 0x34]
call fcn.100f4f10
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
inc ecx
mov eax, dword [esp + 8]
movss xmm6, dword [esp + 0x48]
add eax, 0x1c
movss xmm7, dword [esp + 0x4c]
mov dword [esp + 0x20], ecx
mov dword [esp + 8], eax
cmp ecx, dword [edx + 0xa4]
jl 0x100f76c0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x40]
add edx, 0xc4
add ecx, 0x78
sub eax, 1
mov dword [esp + 0x14], edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x1c], eax
jne 0x100f7540
mov esi, dword [esp + 0x38]
add esi, 0xb4
nop word [eax + eax]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x100f7856
mov eax, dword [0x101c0bb0]
test eax, eax
je 0x100f7846
dec dword [eax + 0x370]
push dword [0x101c0be4]
push ecx
call dword [0x101bd570]
add esp, 8
mov ecx, dword [esi]
test ecx, ecx
je 0x100f787b
mov eax, dword [0x101c0bb0]
test eax, eax
je 0x100f786b
dec dword [eax + 0x370]
push dword [0x101c0be4]
push ecx
call dword [0x101bd570]
add esp, 8
add esi, 0xc4
sub dword [esp + 0x3c], 1
jne 0x100f7830
mov ecx, edi
call fcn.100f5980
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x27], 1
test ecx, ecx
je 0x100f78bb
mov eax, dword [0x101c0bb0]
test eax, eax
je 0x100f78ab
dec dword [eax + 0x370]
push dword [0x101c0be4]
push ecx
call dword [0x101bd570]
add esp, 8
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x100f78e2
mov eax, dword [0x101c0bb0]
test eax, eax
je 0x100f78d2
dec dword [eax + 0x370]
push dword [0x101c0be4]
push ecx
call dword [0x101bd570]
add esp, 8
mov edi, dword [esp + 0x44]
test edi, edi
je 0x100f7909
mov eax, dword [0x101c0bb0]
test eax, eax
je 0x100f78f9
dec dword [eax + 0x370]
push dword [0x101c0be4]
push edi
call dword [0x101bd570]
add esp, 8
mov eax, dword [esp + 0x38]
test eax, eax
je 0x100f7931
mov ecx, dword [0x101c0bb0]
test ecx, ecx
je 0x100f7921
dec dword [ecx + 0x370]
push dword [0x101c0be4]
push eax
call dword [0x101bd570]
add esp, 8
mov al, byte [esp + 0x27]
pop edi
pop esi
mov esp, ebp
pop ebp
ret