Function at 0x100f1e80
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 0x10391b1c
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x210
mov eax, dword [0x1049b0c0]
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 - 0x150], esi
mov dword [ebp - 0x154], ecx
mov ecx, esi
call fcn.100efaf0
mov ecx, esi
mov dword [esi + 8], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
call fcn.100edda0
xor ecx, ecx
mov dword [ebp - 0x1f4], 0
mov dword [ebp - 0x1f8], 0
mov dword [ebp - 0x17c], ecx
mov dword [ebp - 0x1f0], ecx
mov dword [ebp - 4], ecx
xor edi, edi
mov dword [ebp - 0x1d0], ecx
mov dword [ebp - 0x1d4], ecx
mov dword [ebp - 0x178], edi
mov dword [ebp - 0x1cc], edi
mov byte [ebp - 4], 1
lea ecx, [edi + 8]
mov eax, dword [esi + 0x54]
mov dword [ebp - 0x170], eax
test eax, eax
jle 0x100f1faa
cmp eax, ecx
mov esi, eax
cmovl esi, ecx
test esi, esi
jle 0x100f1fa4
mov eax, dword [0x1054ade8]
test eax, eax
je 0x100f1f7b
inc dword [eax + 0x374]
imul eax, esi, 0x54
push eax
call fcn.1036863d
mov dword [ebp - 0x17c], eax
add esp, 4
mov dword [ebp - 0x1f0], eax
mov ecx, 8
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x1f4], esi
mov esi, dword [ebp - 0x150]
mov dword [ebp - 0x1f8], eax
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0x164], eax
test eax, eax
jle 0x100f2007
cmp eax, 8
mov esi, eax
cmovl esi, ecx
test esi, esi
jle 0x100f2001
mov eax, dword [0x1054ade8]
test eax, eax
je 0x100f1fd8
inc dword [eax + 0x374]
lea eax, [esi + esi*2]
shl eax, 3
push eax
call fcn.1036863d
mov edi, eax
mov dword [ebp - 0x1d0], esi
mov eax, dword [ebp - 0x164]
add esp, 4
mov dword [ebp - 0x178], edi
mov dword [ebp - 0x1cc], edi
mov esi, dword [ebp - 0x150]
imul ecx, dword [ebp - 0x170], 0x54
mov dword [ebp - 0x1d4], eax
push ecx
push 0
push dword [ebp - 0x17c]
call fcn.1034c920
mov eax, dword [ebp - 0x164]
add esp, 0xc
lea eax, [eax + eax*2]
shl eax, 3
push eax
push 0
push edi
call fcn.1034c920
add esp, 0xc
mov dword [ebp - 0x168], 0
cmp dword [esi + 0x54], 0
jle 0x100f216f
mov edi, dword [ebp - 0x17c]
xor eax, eax
mov dword [ebp - 0x18c], eax
add edi, 0x34
jmp 0x100f2066
mov esi, ecx
mov ecx, dword [esi + 0x5c]
xor edx, edx
add ecx, eax
mov dword [edi - 4], 0xffffffff
mov dword [ebp - 0x158], ecx
cmp dword [esi + 0x3c], edx
jle 0x100f21db
or esi, 0xffffffff
mov eax, esi
cmp esi, 0xffffffff
jne 0x100f20b9
mov eax, dword [ebp - 0x150]
or esi, esi
mov ecx, dword [eax + 0x44]
mov eax, dword [ebp - 0x158]
mov eax, dword [eax + 0x74]
cmp eax, dword [ecx + edx*4]
jne 0x100f20ab
mov dword [edi - 4], edx
mov esi, edx
mov ecx, dword [ebp - 0x150]
inc edx
mov eax, esi
cmp edx, dword [ecx + 0x3c]
jl 0x100f2086
cmp eax, 0xffffffff
je 0x100f21db
mov esi, dword [ebp - 0x158]
push ecx
push esi
push dword [ebp - 0x154]
lea ecx, [edi - 0x34]
call fcn.100f1b00
test al, al
je 0x100f21db
mov eax, dword [edi - 4]
mov edx, 0x1046517c
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0x30]
test eax, eax
mov dword [ebp - 0x158], ecx
cmovne edx, eax
mov dword [edi - 8], edx
cmp word [edx], 0
je 0x100f2123
movzx eax, word [edx + 2]
test ax, ax
je 0x100f211d
mov ecx, eax
cmp dword [edi], ecx
cmovge ecx, dword [edi]
add edx, 4
mov dword [edi], ecx
cmp word [edx], 0
jne 0x100f2102
mov ecx, dword [ebp - 0x158]
mov esi, dword [ebp - 0x178]
mov edx, dword [ebp - 0x158]
mov eax, dword [ebp - 0x18c]
inc dword [esi + ecx*8]
mov ecx, dword [edi]
cmp dword [esi + edx*8 + 4], ecx
cmovge ecx, dword [esi + edx*8 + 4]
add eax, 0x78
mov dword [esi + edx*8 + 4], ecx
add edi, 0x54
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x150]
inc esi
mov dword [ebp - 0x168], esi
mov dword [ebp - 0x18c], eax
cmp esi, dword [ecx + 0x54]
jl 0x100f2064
mov eax, dword [ebp - 0x170]
xor esi, esi
mov dword [ebp - 0x180], esi
test eax, eax
jle 0x100f2578
mov edx, dword [ebp - 0x17c]
add edx, 0x44
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x15c], edx
nop word [eax + eax]
mov eax, dword [edx - 0x14]
mov edi, dword [edx - 0x10]
add edi, 0x20
sar edi, 5
lea esi, [eax + eax*2]
mov eax, dword [edx - 4]
mov dword [ebp - 0x160], esi
mov dword [ebp - 0x154], eax
cmp edi, eax
jle 0x100f2212
test eax, eax
je 0x100f21e7
cdq
sub eax, edx
mov edx, dword [ebp - 0x15c]
mov ecx, eax
sar ecx, 1
add ecx, dword [ebp - 0x154]
jmp 0x100f21ec
mov byte [ebp - 0x149], 0
jmp 0x100f34a5
mov ecx, 8
add edx, 0xfffffff8
mov eax, edi
cmp ecx, edi
mov dword [ebp - 0x154], edx
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.100e1f80
mov edx, dword [ebp - 0x15c]
mov eax, dword [ebp - 0x154]
jmp 0x100f2215
lea eax, [edx - 8]
mov dword [eax], edi
lea eax, [edi*4]
push eax
push 0
push dword [edx]
call fcn.1034c920
mov eax, dword [ebp - 0x178]
add esp, 0xc
cmp dword [eax + esi*8 + 0xc], 0
lea edi, [eax + esi*8]
jne 0x100f2289
mov esi, dword [eax + esi*8 + 4]
mov eax, dword [edi + 0x10]
add esi, 0x20
sar esi, 5
cmp esi, eax
jle 0x100f2271
test eax, eax
je 0x100f225c
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, dword [edi + 0x10]
jmp 0x100f2261
mov ecx, 8
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
lea ecx, [edi + 0xc]
push eax
call fcn.100e1f80
lea eax, [esi*4]
mov dword [edi + 0xc], esi
push eax
push 0
push dword [edi + 0x14]
call fcn.1034c920
add esp, 0xc
mov edx, dword [ebp - 0x15c]
mov eax, dword [edx - 0x18]
mov dword [ebp - 0x184], eax
cmp word [eax], 0
je 0x100f2371
movzx ecx, word [eax + 2]
test cx, cx
je 0x100f2371
movzx edi, word [eax]
cmp edi, ecx
ja 0x100f2358
nop word [eax + eax]
mov eax, dword [ebp - 0x160]
mov ecx, edi
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov esi, edi
mov ecx, dword [ebp - 0x178]
sar esi, 5
mov dword [ebp - 0x154], edx
mov eax, dword [ecx + eax*8 + 0x14]
test dword [eax + esi*4], edx
jne 0x100f233f
mov eax, dword [ebp - 0x15c]
push edi
push dword [eax - 0x2c]
call fcn.10295af0
mov edx, dword [ebp - 0x15c]
add esp, 8
test eax, eax
je 0x100f2345
inc dword [edx - 0xc]
mov eax, dword [ebp - 0x160]
mov ecx, dword [ebp - 0x178]
inc dword [ecx + eax*8 + 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x154]
mov edx, dword [ebp - 0x178]
or dword [eax + esi*4], ecx
mov eax, dword [ebp - 0x160]
mov eax, dword [edx + eax*8 + 0x14]
or dword [eax + esi*4], ecx
inc dword [ebp - 0x180]
mov edx, dword [ebp - 0x15c]
mov eax, dword [ebp - 0x184]
inc edi
movzx eax, word [eax + 2]
cmp edi, eax
jle 0x100f22c0
mov eax, dword [ebp - 0x184]
add eax, 4
mov dword [ebp - 0x184], eax
cmp word [eax], 0
jne 0x100f22a2
add edx, 0x54
sub dword [ebp - 0x158], 1
mov dword [ebp - 0x15c], edx
jne 0x100f21a0
mov esi, dword [ebp - 0x17c]
mov eax, dword [ebp - 0x170]
add esi, 0x50
mov dword [ebp - 0x160], esi
mov dword [ebp - 0x168], eax
mov edi, dword [esi - 0x18]
cmp edi, dword [esi - 4]
jle 0x100f2422
mov eax, dword [0x1054ade8]
test eax, eax
je 0x100f23b9
inc dword [eax + 0x374]
lea eax, [edi*8]
sub eax, edi
shl eax, 2
push eax
call fcn.1036863d
mov dword [ebp - 0x158], eax
add esp, 4
mov eax, dword [esi]
test eax, eax
je 0x100f2417
mov ecx, dword [esi - 8]
lea edx, [ecx*8]
sub edx, ecx
shl edx, 2
push edx
push eax
push dword [ebp - 0x158]
call fcn.1034c3a0
mov ecx, dword [esi]
add esp, 0xc
test ecx, ecx
je 0x100f240e
mov eax, dword [0x1054ade8]
test eax, eax
je 0x100f240e
dec dword [eax + 0x374]
push ecx
call fcn.1035bfd5
add esp, 4
mov eax, dword [ebp - 0x158]
mov dword [esi], eax
mov dword [esi - 4], edi
mov ecx, dword [esi - 0xc]
mov edx, ecx
mov eax, dword [esi - 0x14]
mov dword [ebp - 0x1a8], ecx
mov dword [ebp - 0x158], ecx
lea eax, [ecx + eax*4]
mov dword [ebp - 0x1a4], eax
cmp ecx, eax
jae 0x100f2526
nop word [eax + eax]
mov eax, dword [edx]
mov dword [ebp - 0x154], eax
test eax, eax
je 0x100f2511
xor edi, edi
mov eax, 1
mov ecx, edi
shl eax, cl
test dword [ebp - 0x154], eax
je 0x100f2507
mov ecx, dword [esi - 8]
mov eax, edx
sub eax, dword [ebp - 0x1a8]
xorps xmm0, xmm0
shl eax, 3
and eax, 0xffffffe0
movq qword [ebp - 0x210], xmm0
add eax, edi
movzx eax, ax
mov dword [ebp - 0x20c], eax
mov eax, dword [esi - 4]
cmp ecx, eax
jne 0x100f24d6
inc ecx
test eax, eax
je 0x100f24ba
cdq
sub eax, edx
mov edx, dword [ebp - 0x160]
sar eax, 1
add eax, dword [edx - 4]
jmp 0x100f24bf
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
lea ecx, [esi - 8]
call fcn.100f35f0
mov edx, dword [ebp - 0x158]
xorps xmm0, xmm0
mov eax, dword [esi - 8]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esi]
movups xmmword [eax + ecx*4], xmm0
movq xmm0, qword [ebp - 0x210]
movq qword [eax + ecx*4 + 0x10], xmm0
mov dword [eax + ecx*4 + 0x18], 0
inc dword [esi - 8]
mov esi, dword [ebp - 0x160]
inc edi
cmp edi, 0x20
jl 0x100f2462
add edx, 4
mov dword [ebp - 0x158], edx
cmp edx, dword [ebp - 0x1a4]
jb 0x100f2450
mov ecx, dword [esi - 0xc]
test ecx, ecx
je 0x100f255a
mov eax, dword [0x1054ade8]
mov dword [esi - 0x10], 0
mov dword [esi - 0x14], 0
test eax, eax
je 0x100f254a
dec dword [eax + 0x374]
push ecx
call fcn.1035bfd5
add esp, 4
mov dword [esi - 0xc], 0
add esi, 0x54
sub dword [ebp - 0x168], 1
mov dword [ebp - 0x160], esi
jne 0x100f23a2
mov esi, dword [ebp - 0x180]
jmp 0x100f257a
xor esi, esi
cmp dword [ebp - 0x164], 0
jle 0x100f25d8
mov edi, dword [ebp - 0x178]
mov eax, dword [ebp - 0x164]
add edi, 0x14
mov ecx, dword [edi]
test ecx, ecx
je 0x100f25ca
mov eax, dword [0x1054ade8]
mov dword [edi - 4], 0
mov dword [edi - 8], 0
test eax, eax
je 0x100f25b5
dec dword [eax + 0x374]
push ecx
call fcn.1035bfd5
mov eax, dword [ebp - 0x164]
add esp, 4
mov dword [edi], 0
add edi, 0x18
sub eax, 1
mov dword [ebp - 0x164], eax
jne 0x100f2592
mov ecx, dword [ebp - 0x178]
test ecx, ecx
je 0x100f261c
mov eax, dword [0x1054ade8]
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1d4], 0
test eax, eax
je 0x100f2605
dec dword [eax + 0x374]
push ecx
call fcn.1035bfd5
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x178], ecx
mov dword [ebp - 0x1cc], ecx
xor eax, eax
mov dword [ebp - 0x200], 0
mov dword [ebp - 0x204], 0
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x1fc], eax
mov byte [ebp - 4], 6
test esi, esi
jle 0x100f2686
cmp esi, 8
mov edi, esi
mov ecx, 8
cmovl edi, ecx
test edi, edi
jle 0x100f2686
mov eax, dword [0x1054ade8]
test eax, eax
je 0x100f2666
inc dword [eax + 0x374]
mov eax, edi
shl eax, 4
push eax
call fcn.1036863d
add esp, 4
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x1fc], eax
mov dword [ebp - 0x200], edi
mov dword [ebp - 0x204], esi
shl esi, 4
push esi
push 0
push eax
call fcn.1034c920
add esp, 0xc
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x1dc], 0
mov dword [ebp - 0x1e0], 0
mov dword [ebp - 0x1d8], 0
mov byte [ebp - 4], 7
mov edi, 8
mov eax, dword [0x1054ade8]
mov dword [ebp - 0x1b4], edi
test eax, eax
je 0x100f26e1
inc dword [eax + 0x374]
push 0x40000
call fcn.1036863d
mov ecx, dword [0x1054ade8]
add esp, 4
mov esi, eax
test ecx, ecx
je 0x100f2700
inc dword [ecx + 0x374]
push 0x20
call fcn.1036863d
mov ecx, dword [ebp - 0x170]
add esp, 4
movss xmm0, dword [0x1046f104]
mov dword [ebp - 0x164], eax
mov dword [eax], esi
xor esi, esi
mov dword [ebp - 0x1d8], eax
mov eax, 1
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x1e0], eax
xor eax, eax
mov dword [ebp - 0x1dc], edi
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x154], esi
test ecx, ecx
jle 0x100f2d77
mov edi, dword [ebp - 0x17c]
xor edx, edx
mov eax, dword [ebp - 0x150]
add edi, 0x48
mov dword [ebp - 0x1a4], edx
mov dword [ebp - 0x18c], edi
mov dword [ebp - 0x1a8], ecx
mov ecx, dword [eax + 0x5c]
add ecx, edx
mov edx, dword [edi - 0x10]
test edx, edx
je 0x100f2d46
mov eax, esi
add esi, edx
shl eax, 4
add eax, dword [ebp - 0x158]
mov dword [edi - 0x20], eax
movss xmm1, dword [ecx + 0x44]
ucomiss xmm1, xmm0
mov dword [ebp - 0x154], esi
movss dword [ebp - 0x1a0], xmm1
lahf
test ah, 0x44
jnp 0x100f280a
mov byte [ebp - 0x171], 1
xor esi, esi
nop dword [eax]
movd xmm0, esi
mov eax, esi
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1046f8a0]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
call fcn.102ff0f0
movss xmm1, dword [ebp - 0x1a0]
mov edx, 0xff
cmp eax, edx
movzx ecx, al
cmovbe edx, ecx
mov byte [ebp + esi - 0x118], dl
inc esi
cmp esi, 0x100
jb 0x100f27c0
jmp 0x100f2811
mov byte [ebp - 0x171], 0
cmp dword [edi], 0
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x1c8], 0
movss xmm0, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
movss dword [ebp - 0x1ac], xmm0
movss xmm0, dword [eax + 0x18]
mov dword [ebp - 0x1c4], ecx
movss dword [ebp - 0x190], xmm0
jle 0x100f2d3e
xor esi, esi
xor ecx, ecx
mov dword [ebp - 0x1b0], esi
mov dword [ebp - 0x1a0], ecx
nop dword [eax]
mov eax, dword [edi + 8]
add eax, ecx
mov dword [ebp - 0x1c0], eax
push dword [eax + 0x14]
push dword [edi - 0x30]
call fcn.10295af0
add esp, 8
test eax, eax
je 0x100f2d0b
push dword [edi - 0x28]
push eax
push dword [edi - 0x30]
call fcn.10296460
add esp, 0xc
test eax, eax
jne 0x100f2d0b
test byte [edi - 0x2c], 0x20
mov eax, dword [edi - 0x30]
mov esi, dword [eax + 0x54]
je 0x100f28ad
push esi
call fcn.1029d360
add esp, 4
test byte [edi - 0x2c], 0x40
je 0x100f28bc
push esi
call fcn.1029d460
add esp, 4
lea eax, [esi + 0x18]
test eax, eax
je 0x100f2d05
mov eax, dword [edi - 0x30]
push dword [edi - 0x24]
mov esi, dword [eax + 0x54]
push esi
call fcn.102986f0
mov edx, dword [ebp - 0x1c0]
add esp, 8
test eax, eax
je 0x100f28e7
xor edi, edi
jmp 0x100f293e
mov eax, dword [edi - 0x30]
mov ecx, dword [ebp - 0x18c]
mov edi, dword [eax + 0x54]
mov eax, dword [edi + 0x50]
add edi, 0x4c
mov dword [edx], eax
mov eax, dword [edi]
mov dword [edx + 4], eax
mov eax, dword [ecx - 0x30]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x64]
mov dword [edx + 8], eax
mov eax, dword [ecx - 0x30]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x68]
neg eax
mov dword [edx + 0xc], eax
mov eax, dword [esi + 0x40]
add eax, 0x3f
and eax, 0xffffffc0
cdq
and edx, 0x3f
add eax, edx
mov edx, dword [ebp - 0x1c0]
sar eax, 6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edx + 0x10], xmm0
mov eax, dword [edx + 4]
imul eax, dword [edx]
mov dword [ebp - 0x188], edi
mov dword [ebp - 0x160], eax
add eax, dword [ebp - 0x180]
cmp eax, 0x40000
jle 0x100f2a7b
mov eax, dword [0x1054ade8]
mov dword [ebp - 0x180], 0
test eax, eax
je 0x100f297a
inc dword [eax + 0x374]
push 0x40000
call fcn.1036863d
mov edx, dword [ebp - 0x194]
mov ecx, eax
mov eax, dword [ebp - 0x1b4]
add esp, 4
mov dword [ebp - 0x198], ecx
cmp edx, eax
jne 0x100f2a57
lea esi, [edx + 1]
test eax, eax
je 0x100f29b9
cdq
sub eax, edx
mov edx, dword [ebp - 0x1b4]
sar eax, 1
add eax, edx
jmp 0x100f29c4
mov edx, dword [ebp - 0x1b4]
mov eax, 8
cmp eax, esi
cmovg esi, eax
cmp esi, edx
jle 0x100f2a57
mov eax, dword [0x1054ade8]
test eax, eax
je 0x100f29e0
inc dword [eax + 0x374]
lea eax, [esi*4]
push eax
call fcn.1036863d
mov edx, dword [ebp - 0x164]
add esp, 4
mov dword [ebp - 0x19c], eax
test edx, edx
je 0x100f2a37
mov ecx, dword [ebp - 0x194]
shl ecx, 2
push ecx
push edx
push eax
call fcn.1034c3a0
mov eax, dword [0x1054ade8]
add esp, 0xc
test eax, eax
je 0x100f2a23
dec dword [eax + 0x374]
push dword [ebp - 0x164]
call fcn.1035bfd5
mov eax, dword [ebp - 0x19c]
add esp, 4
mov ecx, dword [ebp - 0x198]
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x1d8], eax
mov eax, esi
mov dword [ebp - 0x1b4], eax
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp - 0x194]
mov edx, dword [ebp - 0x164]
mov dword [edx + eax*4], ecx
inc eax
mov edx, dword [ebp - 0x1c0]
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x1e0], eax
jmp 0x100f2a81
mov eax, dword [ebp - 0x194]
mov ecx, dword [ebp - 0x164]
mov esi, dword [ecx + eax*4 - 4]
xor eax, eax
mov ecx, dword [ebp - 0x180]
add esi, ecx
add ecx, dword [ebp - 0x160]
cmp byte [ebp - 0x171], al
mov dword [ebp - 0x180], ecx
lea ecx, [ebp - 0x118]
cmove ecx, eax
mov dword [edx + 0x18], esi
mov eax, dword [edx]
mov edx, dword [edi]
mov dword [ebp - 0x160], eax
mov eax, dword [edi + 4]
mov edi, dword [edi + 0xc]
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x19c], ecx
mov dword [ebp - 0x1bc], esi
mov dword [ebp - 0x15c], edx
mov ecx, dword [eax + 8]
movzx eax, byte [eax + 0x12]
sub eax, 1
mov dword [ebp - 0x188], ecx
mov ecx, dword [ebp - 0x19c]
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x184], edi
je 0x100f2bc5
sub dword [ebp - 0x198], 1
jne 0x100f2c94
test ecx, ecx
jne 0x100f2b53
test edx, edx
je 0x100f2c94
push eax
push edi
push esi
call fcn.1034c3a0
add edi, dword [ebp - 0x188]
add esp, 0xc
add esi, dword [ebp - 0x160]
sub dword [ebp - 0x15c], 1
mov eax, dword [ebp - 0x1b8]
jne 0x100f2b28
jmp 0x100f2c94
test edx, edx
je 0x100f2c94
mov ecx, dword [ebp - 0x160]
test eax, eax
je 0x100f2ba1
mov ecx, esi
sub edi, esi
mov esi, dword [ebp - 0x19c]
mov edx, eax
movzx eax, byte [ecx + edi]
lea ecx, [ecx + 1]
mov al, byte [eax + esi]
mov byte [ecx - 1], al
sub edx, 1
jne 0x100f2b71
mov esi, dword [ebp - 0x1bc]
mov edi, dword [ebp - 0x184]
mov eax, dword [ebp - 0x1b8]
mov edx, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0x160]
add edi, dword [ebp - 0x188]
add esi, ecx
sub edx, 1
mov dword [ebp - 0x184], edi
mov dword [ebp - 0x1bc], esi
mov dword [ebp - 0x15c], edx
jne 0x100f2b61
jmp 0x100f2c94
test ecx, ecx
je 0x100f2be5
mov al, byte [ecx]
mov cl, byte [ecx + 0xff]
mov byte [ebp - 0x169], al
mov eax, dword [ebp - 0x1b8]
mov byte [ebp - 0x16a], cl
jmp 0x100f2bf3
mov byte [ebp - 0x169], 0
mov byte [ebp - 0x16a], 0xff
test edx, edx
je 0x100f2c94
mov ecx, dword [ebp - 0x15c]
xor edx, edx
mov byte [ebp - 0x149], 0
test eax, eax
je 0x100f2c67
nop
mov esi, edx
and esi, 7
jne 0x100f2c1f
mov al, byte [edi]
mov byte [ebp - 0x149], al
cmp byte [ebp - 0x149], 0
movzx eax, byte [ebp - 0x16a]
movzx ecx, byte [ebp - 0x169]
cmovl ecx, eax
mov eax, dword [ebp - 0x1bc]
shl byte [ebp - 0x149], 1
mov byte [eax + edx], cl
inc edx
test esi, esi
lea eax, [edi + 1]
cmovne eax, edi
mov edi, eax
mov eax, dword [ebp - 0x1b8]
cmp edx, eax
jb 0x100f2c10
mov esi, dword [ebp - 0x1bc]
mov ecx, dword [ebp - 0x15c]
mov edi, dword [ebp - 0x184]
add edi, dword [ebp - 0x188]
add esi, dword [ebp - 0x160]
sub ecx, 1
mov dword [ebp - 0x184], edi
mov dword [ebp - 0x1bc], esi
mov dword [ebp - 0x15c], ecx
jne 0x100f2c01
mov edx, dword [ebp - 0x1c0]
mov edi, dword [ebp - 0x18c]
mov esi, dword [ebp - 0x1b0]
mov eax, dword [edx]
add eax, dword [ebp - 0x1c4]
movd xmm0, eax
mov eax, dword [edi - 0x20]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ebp - 0x1ac]
cvttss2si ecx, xmm0
mov word [esi + eax + 4], cx
mov eax, dword [edx + 4]
add eax, dword [ebp - 0x1c4]
movd xmm0, eax
mov eax, dword [edi - 0x20]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ebp - 0x190]
cvttss2si ecx, xmm0
mov word [esi + eax + 6], cx
mov eax, dword [edi - 0x20]
movzx ecx, word [esi + eax + 6]
movzx eax, word [esi + eax + 4]
imul ecx, eax
add dword [ebp - 0x168], ecx
jmp 0x100f2d0b
mov esi, dword [ebp - 0x1b0]
mov eax, dword [ebp - 0x1c8]
add esi, 0x10
mov ecx, dword [ebp - 0x1a0]
inc eax
add ecx, 0x1c
mov dword [ebp - 0x1c8], eax
mov dword [ebp - 0x1a0], ecx
mov dword [ebp - 0x1b0], esi
cmp eax, dword [edi]
jl 0x100f2860
mov eax, dword [ebp - 0x150]
movss xmm0, dword [0x1046f104]
mov edx, dword [ebp - 0x1a4]
add edi, 0x54
mov esi, dword [ebp - 0x154]
add edx, 0x78
sub dword [ebp - 0x1a8], 1
mov dword [ebp - 0x18c], edi
mov dword [ebp - 0x1a4], edx
jne 0x100f2778
mov eax, dword [ebp - 0x168]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov edi, dword [ebp - 0x150]
mov esi, dword [edi + 0xc]
sqrtss xmm0, xmm0
mov dword [edi + 0x28], 0
cvttss2si eax, xmm0
inc eax
test esi, esi
jg 0x100f2dd6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [0x1046f430]
jb 0x100f2db2
mov esi, 0x1000
jmp 0x100f2dd6
comiss xmm0, dword [0x1046f428]
jb 0x100f2dc2
mov esi, 0x800
jmp 0x100f2dd6
comiss xmm0, dword [0x1046f40c]
mov esi, 0x200
mov eax, 0x400
cmovae esi, eax
mov eax, edi
mov dword [eax + 0x24], esi
xor eax, eax
sub esi, dword [edi + 0x10]
mov dword [ebp - 0x1e8], 0
mov dword [ebp - 0x1ec], 0
mov dword [ebp - 0x1e4], eax
mov byte [ebp - 4], 8
test esi, esi
jle 0x100f2e44
cmp esi, 8
mov edi, esi
mov ecx, 8
cmovl edi, ecx
test edi, edi
jle 0x100f2e3e
mov eax, dword [0x1054ade8]
test eax, eax
je 0x100f2e22
inc dword [eax + 0x374]
lea eax, [edi*8]
push eax
call fcn.1036863d
add esp, 4
mov dword [ebp - 0x1e4], eax
mov dword [ebp - 0x1e8], edi
mov edi, dword [ebp - 0x150]
mov edx, dword [edi + 0x24]
push esi
push eax
push ecx
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x1ec], esi
call fcn.100f1d00
add esp, 0xc
lea edx, [ebp - 0x148]
mov ecx, edi
call fcn.100efb60
mov esi, dword [ebp - 0x170]
test esi, esi
jle 0x100f2ef6
mov esi, dword [ebp - 0x17c]
mov eax, dword [ebp - 0x170]
add esi, 0x38
mov dword [ebp - 0x154], eax
nop
mov eax, dword [esi]
test eax, eax
je 0x100f2ede
mov edx, dword [esi - 0x10]
lea ecx, [ebp - 0x148]
push eax
call fcn.100e2d40
xor edi, edi
add esp, 4
cmp dword [esi], edi
jle 0x100f2ede
xor edx, edx
mov eax, dword [esi - 0x10]
cmp dword [eax + edx + 0xc], 0
je 0x100f2ed6
movzx ecx, word [eax + edx + 0xa]
movzx eax, word [eax + edx + 6]
add ecx, eax
mov eax, dword [ebp - 0x150]
cmp dword [eax + 0x28], ecx
cmovge ecx, dword [eax + 0x28]
mov dword [eax + 0x28], ecx
inc edi
add edx, 0x10
cmp edi, dword [esi]
jl 0x100f2eb0
add esi, 0x54
sub dword [ebp - 0x154], 1
jne 0x100f2e90
mov edi, dword [ebp - 0x150]
mov esi, dword [ebp - 0x170]
test byte [edi + 4], 1
mov eax, dword [edi + 0x28]
jne 0x100f2f24
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 [0x1046f104]
lea ecx, [eax + 1]
mov eax, dword [edi + 0x24]
movaps xmm2, xmm1
mov dword [edi + 0x28], 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 [0x1054ade8]
movss dword [edi + 0x2c], xmm2
movss dword [edi + 0x30], xmm1
test eax, eax
je 0x100f2f6a
inc dword [eax + 0x374]
push ecx
call fcn.1036863d
mov ecx, dword [edi + 0x28]
add esp, 4
imul ecx, dword [edi + 0x24]
mov dword [edi + 0x1c], eax
push ecx
push 0
push eax
call fcn.1034c920
add esp, 0xc
test esi, esi
jle 0x100f3363
mov ecx, dword [ebp - 0x17c]
xor eax, eax
movss xmm4, dword [0x1046f094]
add ecx, 8
mov edx, esi
mov dword [ebp - 0x188], eax
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x160], edx
nop dword [eax + eax]
cmp dword [ecx + 0x30], 0
je 0x100f3342
mov esi, dword [edi + 0x5c]
movss xmm0, dword [ecx - 4]
add esi, eax
movss dword [ebp - 0x190], xmm0
movss xmm0, dword [ecx]
mov dword [ebp - 0x184], esi
cmp byte [esi + 0x3c], 0
mov edx, dword [esi + 0x74]
mov dword [ebp - 0x1c8], edx
movss dword [ebp - 0x1ac], xmm0
lea edi, [edx + 0x4c]
jne 0x100f3046
mov ecx, edx
call fcn.100f00d0
mov edx, dword [ebp - 0x1c8]
mov eax, dword [esi + 0x10]
movss xmm0, dword [ebp - 0x190]
movss xmm4, dword [0x1046f094]
mov ecx, dword [ebp - 0x168]
movss dword [edi], xmm0
movss xmm0, dword [ebp - 0x1ac]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x150]
mov dword [edx + 0x3c], esi
mov dword [edx + 0x38], eax
movss dword [edx + 0x50], xmm0
movss xmm0, dword [edi]
inc word [edx + 0x40]
addss xmm0, xmm4
cmp dword [ecx + 0x30], 0
mov edi, dword [ebp - 0x150]
movss xmm3, dword [esi + 0x28]
movss dword [ebp - 0x18c], xmm3
cvttss2si eax, xmm0
mov edx, dword [edi + 0x10]
mov dword [ebp - 0x180], edx
mov dword [ebp - 0x1c4], 0
movd xmm5, eax
cvtdq2ps xmm5, xmm5
addss xmm5, dword [esi + 0x2c]
movss dword [ebp - 0x1b0], xmm5
jle 0x100f332f
xor esi, esi
xor eax, eax
mov dword [ebp - 0x198], esi
mov dword [ebp - 0x19c], eax
nop word [eax + eax]
mov edi, dword [ecx + 0x48]
add edi, eax
mov eax, dword [ecx + 0x20]
mov dword [ebp - 0x1ac], edi
movzx ecx, word [eax + esi + 8]
movzx eax, word [eax + esi + 0xa]
add ecx, edx
add eax, edx
mov dword [ebp - 0x1a4], ecx
mov ecx, dword [edi]
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x154], ecx
mov ecx, dword [ebp - 0x150]
mov edx, dword [eax + 0x24]
mov esi, edx
imul esi, dword [ebp - 0x1a0]
mov eax, dword [edi + 0x18]
mov edi, dword [edi + 4]
mov dword [ebp - 0x190], edx
mov dword [ebp - 0x1a8], eax
add esi, dword [ecx + 0x1c]
add esi, dword [ebp - 0x1a4]
mov ecx, dword [ebp - 0x154]
test edi, edi
jle 0x100f316d
nop dword [eax]
push ecx
push eax
push esi
call fcn.1034c3a0
mov eax, dword [ebp - 0x1a8]
dec edi
mov ecx, dword [ebp - 0x154]
add esp, 0xc
add esi, dword [ebp - 0x190]
add eax, ecx
mov dword [ebp - 0x1a8], eax
test edi, edi
jg 0x100f3120
mov edi, dword [ebp - 0x150]
movss xmm3, dword [ebp - 0x18c]
movss xmm4, dword [0x1046f094]
movss xmm5, dword [ebp - 0x1b0]
mov edx, dword [edi + 0x24]
jmp 0x100f3173
mov edi, dword [ebp - 0x150]
mov esi, dword [ebp - 0x1ac]
mov ecx, dword [ebp - 0x184]
movss xmm2, dword [esi + 0x10]
movss xmm1, dword [ecx + 0x34]
comiss xmm1, xmm2
movss dword [ebp - 0x154], xmm1
ja 0x100f31bb
movss xmm1, dword [ecx + 0x38]
movaps xmm0, xmm3
minss xmm1, xmm2
ucomiss xmm2, xmm1
movss dword [ebp - 0x154], xmm1
movss dword [ebp - 0x190], xmm1
lahf
test ah, 0x44
jnp 0x100f31db
cmp byte [ecx + 0x1c], 0
movaps xmm0, xmm1
subss xmm0, xmm2
mulss xmm0, xmm4
je 0x100f31d7
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, xmm3
movd xmm1, dword [esi + 8]
sub esp, 0x1c
mov ecx, dword [esi + 4]
mov eax, dword [esi]
cvtdq2ps xmm1, xmm1
movd xmm6, ecx
addss xmm1, xmm0
movd xmm7, eax
movd xmm0, dword [esi + 0xc]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm6, xmm6
addss xmm0, xmm5
movss dword [ebp - 0x1ac], xmm1
cvtdq2ps xmm7, xmm7
movss dword [ebp - 0x190], xmm0
addss xmm6, xmm0
movd xmm0, edx
addss xmm7, xmm1
movss xmm1, dword [0x1046f104]
cvtdq2ps xmm0, xmm0
mov edx, dword [ebp - 0x1a4]
add eax, edx
movaps xmm3, xmm1
movd xmm2, eax
divss xmm3, xmm0
movd xmm0, dword [edi + 0x28]
mov edi, dword [ebp - 0x1a0]
cvtdq2ps xmm0, xmm0
lea eax, [edi + ecx]
mov ecx, dword [ebp - 0x1c8]
movd xmm4, edi
divss xmm1, xmm0
movd xmm0, eax
movzx eax, word [esi + 0x14]
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm0, xmm0
movd xmm5, edx
cvtdq2ps xmm4, xmm4
cvtdq2ps xmm5, xmm5
mulss xmm2, xmm3
mulss xmm0, xmm1
mulss xmm4, xmm1
movss xmm1, dword [ebp - 0x154]
movss dword [esp + 0x18], xmm1
movss dword [esp + 0x14], xmm0
movss dword [esp + 0x10], xmm2
movss xmm2, dword [ebp - 0x1ac]
mulss xmm5, xmm3
movss xmm3, dword [ebp - 0x190]
movss dword [esp + 0xc], xmm4
movss dword [esp + 8], xmm5
movss dword [esp + 4], xmm6
movss dword [esp], xmm7
push eax
call fcn.100f0520
mov edx, dword [ebp - 0x1c4]
mov ecx, dword [ebp - 0x168]
inc edx
mov eax, dword [ebp - 0x19c]
mov esi, dword [ebp - 0x198]
add eax, 0x1c
movss xmm3, dword [ebp - 0x18c]
add esi, 0x10
cmp edx, dword [ecx + 0x30]
movss xmm4, dword [0x1046f094]
movss xmm5, dword [ebp - 0x1b0]
mov dword [ebp - 0x1c4], edx
mov edx, dword [ebp - 0x180]
mov dword [ebp - 0x19c], eax
mov dword [ebp - 0x198], esi
jl 0x100f30b0
mov edi, dword [ebp - 0x150]
mov eax, dword [ebp - 0x188]
mov edx, dword [ebp - 0x160]
mov dword [ecx + 0x20], 0
add ecx, 0x54
add eax, 0x78
sub edx, 1
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x188], eax
mov dword [ebp - 0x160], edx
jne 0x100f2fc0
mov ecx, dword [ebp - 0x194]
xor esi, esi
test ecx, ecx
jle 0x100f33a3
mov edi, dword [ebp - 0x164]
mov ecx, dword [edi + esi*4]
test ecx, ecx
je 0x100f338b
mov eax, dword [0x1054ade8]
test eax, eax
je 0x100f338b
dec dword [eax + 0x374]
push ecx
call fcn.1035bfd5
inc esi
add esp, 4
cmp esi, dword [ebp - 0x194]
jl 0x100f3375
mov edi, dword [ebp - 0x150]
mov eax, dword [ebp - 0x170]
test eax, eax
jle 0x100f3425
mov esi, dword [ebp - 0x17c]
add esi, 0x18
mov byte [ebp - 4], 9
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x100f33d9
mov eax, dword [0x1054ade8]
test eax, eax
je 0x100f33d0
dec dword [eax + 0x374]
push ecx
call fcn.1035bfd5
add esp, 4
mov byte [ebp - 4], 0xa
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x100f33fc
mov eax, dword [0x1054ade8]
test eax, eax
je 0x100f33f3
dec dword [eax + 0x374]
push ecx
call fcn.1035bfd5
add esp, 4
mov byte [ebp - 4], 0xb
mov eax, dword [esi]
test eax, eax
je 0x100f3415
push eax
call fcn.10295670
add esp, 4
mov dword [esi], 0
mov byte [ebp - 4], 8
add esi, 0x54
sub dword [ebp - 0x170], 1
jne 0x100f33b6
mov ecx, edi
call fcn.100efcc0
mov byte [ebp - 0x149], 1
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x1e4]
test ecx, ecx
je 0x100f3459
mov eax, dword [0x1054ade8]
test eax, eax
je 0x100f3450
dec dword [eax + 0x374]
push ecx
call fcn.1035bfd5
add esp, 4
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x164]
test ecx, ecx
je 0x100f347f
mov eax, dword [0x1054ade8]
test eax, eax
je 0x100f3476
dec dword [eax + 0x374]
push ecx
call fcn.1035bfd5
add esp, 4
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x158]
test ecx, ecx
je 0x100f34a5
mov eax, dword [0x1054ade8]
test eax, eax
je 0x100f349c
dec dword [eax + 0x374]
push ecx
call fcn.1035bfd5
add esp, 4
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x178]
test ecx, ecx
je 0x100f34cb
mov eax, dword [0x1054ade8]
test eax, eax
je 0x100f34c2
dec dword [eax + 0x374]
push ecx
call fcn.1035bfd5
add esp, 4
mov dword [ebp - 4], 0x10
mov eax, dword [ebp - 0x17c]
test eax, eax
je 0x100f34f5
mov ecx, dword [0x1054ade8]
test ecx, ecx
je 0x100f34ec
dec dword [ecx + 0x374]
push eax
call fcn.1035bfd5
add esp, 4
mov al, byte [ebp - 0x149]
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.102fe398
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret