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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x100
mov esi, esp
mov ebx, dword [ebp + 8]
mov eax, dword [0x1018fc64]
xor eax, ebp
mov dword [esi + 0xf8], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0xd0], xmm0
movdqa xmmword [esi + 0xc0], xmm0
movdqa xmmword [esi + 0xb0], xmm0
xor edi, edi
dec edi
mov dword [esi + 0xf0], edi
mov dword [esi + 0xf4], edi
mov dword [esi + 0xe8], edi
mov dword [esi + 0xec], edi
mov eax, dword [ebx + 8]
mov dword [esi + 0x30], eax
xor eax, eax
mov dword [esi + 0xac], eax
mov dword [esi + 0xa8], eax
mov dword [esi + 0xa4], edi
mov eax, dword [ebx + 0xc]
mov dword [esi + 0x28], eax
push ebx
call fcn.100f2f68
add esp, 4
mov ebx, dword [ebx]
mov edx, dword [ebx + 0x24]
test edx, edx
js 0x100f4213
mov edi, dword [ebx + 4]
mov eax, edi
mov dword [esi + 0x40], edi
lea eax, [edi + 0x800]
mov ecx, dword [esi + 0x30]
imul eax, ecx
mov edi, dword [ebp + 8]
lea eax, [edi + eax*4]
mov edi, ebx
lea ecx, [ecx + ecx*2]
shl ecx, 5
lea ebx, [eax + ecx]
mov dword [esi + 0x14], ebx
add eax, ecx
add eax, 0x5c
mov dword [esi + 0x48], eax
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 8]
imul eax, dword [ecx + 0x10]
mov dword [esi + 0x34], eax
mov ecx, dword [edi + 8]
mov eax, dword [esi + 0x14]
lea ebx, [eax + ecx*8]
add ebx, 0x5c
mov eax, dword [ebp + 0x1c]
mov dword [esi + 8], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0xa0], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
mov dword [esi + 0x1c], eax
lea eax, [ecx + ecx]
mov dword [esi + 0x7c], eax
mov dword [esi + 0x50], ecx
mov dword [esi + 0x78], ebx
lea eax, [ebx + ecx*8]
mov dword [esi + 0x74], eax
mov dword [esi + 0x18], edi
mov eax, dword [edi + 0x2c]
mov ebx, 0xfffffff0
xor ecx, ecx
mov dword [esi + 0x38], ebx
mov ebx, eax
shl ebx, cl
mov edi, dword [esi + 0x34]
cmp ebx, edi
je 0x100f3412
lea edi, [ecx + 1]
mov ebx, dword [esi + 0x38]
add ebx, 0xfffffff8
cmp ecx, edx
mov ecx, edi
jl 0x100f33f0
jmp 0x100f3542
xor edx, edx
inc edx
mov eax, edx
mov dword [esi + 0x20], ecx
shl eax, cl
cmp dword [ebp + 0x10], 0x4fb
ja 0x100f3542
mov ebx, edi
cmp dword [ebp + 0x14], 0
mov edi, 0xffffffff
je 0x100f4213
mov dword [esi + 0x70], eax
mov eax, dword [esi + 0x30]
test eax, eax
mov dword [esi + 0x5c], edx
mov ecx, edx
cmovg ecx, eax
mov eax, dword [esi + 0x40]
lea eax, [eax*4 + 0x2000]
mov dword [esi + 4], eax
lea eax, [ebx*4]
mov edx, 0x205c
sub edx, eax
xor edi, edi
mov ebx, dword [ebp + 8]
lea eax, [ebx + 0x5c]
mov dword [esi + edi*4 + 0xf0], eax
lea eax, [ebx + edx]
mov dword [esi + edi*4 + 0xe8], eax
inc edi
add ebx, dword [esi + 4]
cmp ecx, edi
jne 0x100f346a
mov dword [esi + 0x8c], ecx
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 0x1c]
cmp eax, ecx
cmovle ecx, eax
mov ebx, dword [ebp + 0xc]
test ebx, ebx
mov edx, dword [ebp + 0x10]
je 0x100f354a
cmp edx, 1
jle 0x100f354a
mov dword [esi + 0x9c], ecx
xor eax, eax
mov edi, dword [ebp + 8]
cmp dword [edi + 0x34], 0
setne al
mov dword [edi + 0x38], eax
cmp dword [ebp + 0x1c], 0
jne 0x100f34e0
lea eax, [esi + 0xb0]
push edx
push ebx
mov dword [esi + 8], eax
push eax
call fcn.100f53f8
add esp, 0xc
cmp dword [esi + 0x28], 1
mov ebx, dword [esi + 0x50]
jne 0x100f351e
test ebx, ebx
jle 0x100f351e
mov eax, dword [esi + 0x40]
lea ecx, [eax*4 + 0x2060]
imul ecx, dword [esi + 0x30]
lea eax, [ecx + ebx*4]
add eax, edi
add eax, 0x5c
add ecx, edi
add ecx, 0x5c
xor edx, edx
movss xmm0, dword [ecx + edx*4]
maxss xmm0, dword [eax + edx*4]
movss dword [ecx + edx*4], xmm0
inc edx
cmp ebx, edx
jne 0x100f350a
mov eax, dword [ebp + 0x10]
lea eax, [eax*8]
mov dword [esi + 0x2c], eax
mov edi, dword [esi + 8]
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x100f3593
bsr ebx, eax
not ebx
or ebx, 0xffffffe0
jmp 0x100f3595
xor edi, edi
dec edi
jmp 0x100f4213
mov edi, dword [ebp + 8]
mov ecx, edi
mov ebx, dword [esi + 0x34]
mov edx, ebx
push dword [esi + 0x20]
call fcn.100f423e
add esp, 4
lea eax, [edi + 0x54]
mov edi, dword [esi + 0x18]
add edi, 0x10
lea ecx, [esi + 0xe8]
mov edx, dword [ebp + 0x14]
push dword [ebp + 0x20]
push eax
push edi
mov edi, dword [ebp + 8]
push dword [edi + 0x10]
push dword [esi + 0x30]
push ebx
call fcn.100f4c24
add esp, 0x18
mov eax, ebx
cdq
idiv dword [edi + 0x10]
jmp 0x100f4211
xor ebx, ebx
add ebx, ecx
cmp ebx, dword [esi + 0x2c]
mov ecx, dword [esi + 0x18]
jge 0x100f35c9
xor eax, eax
mov dword [esi + 0x5c], 0
cmp ebx, 1
jne 0x100f35e4
push 0xf
push edi
call fcn.100f5581
add esp, 8
mov dword [esi + 0x5c], eax
test eax, eax
je 0x100f422a
mov eax, dword [edi + 0x1c]
mov ecx, dword [esi + 0x18]
test eax, eax
je 0x100f35d8
bsr eax, eax
xor eax, 0xffffffe0
add eax, 0x21
jmp 0x100f35da
xor eax, eax
mov ebx, dword [esi + 0x2c]
add eax, ebx
mov dword [edi + 0x14], eax
mov al, 1
mov dword [esi + 0x3c], 0
pxor xmm0, xmm0
cmp dword [esi + 0x14], 0
mov dword [esi + 0x98], eax
jne 0x100f36bc
lea edx, [ebx + 0x10]
mov dword [esi + 0x58], 0
mov eax, 0
cmp edx, dword [esi + 0x2c]
jg 0x100f36eb
push 1
push edi
call fcn.100f5581
add esp, 8
xor ebx, ebx
test eax, eax
je 0x100f36c7
push 6
push edi
call fcn.100f560b
add esp, 8
mov edx, 0x10
mov ecx, eax
shl edx, cl
mov dword [esi + 4], edx
add eax, 4
push eax
push edi
call fcn.100f5715
add esp, 8
mov dword [esi + 0x10], eax
push 3
push edi
call fcn.100f5715
add esp, 8
mov ecx, edi
mov edi, eax
mov eax, dword [ecx + 0x14]
mov edx, dword [ecx + 0x1c]
mov ecx, 0
test edx, edx
je 0x100f3679
bsr ecx, edx
not ecx
or ecx, 0xffffffe0
add eax, ecx
add eax, 2
cmp eax, dword [esi + 0x2c]
mov eax, 0
jg 0x100f369a
push 2
push 0x1016f722
push dword [esi + 8]
call fcn.100f55bd
add esp, 0xc
inc edi
xorps xmm0, xmm0
cvtsi2ss xmm0, edi
mov ecx, dword [esi + 4]
mov edx, dword [esi + 0x10]
lea ecx, [edx + ecx - 1]
mov dword [esi + 0x58], ecx
mulss xmm0, dword [0x1016f304]
mov edi, dword [esi + 8]
jmp 0x100f36d4
mov dword [esi + 0x58], 0
xor eax, eax
jmp 0x100f36eb
pxor xmm0, xmm0
mov dword [esi + 0x58], 0
xor eax, eax
mov edx, dword [edi + 0x14]
mov ecx, dword [edi + 0x1c]
test ecx, ecx
je 0x100f36e6
bsr ebx, ecx
not ebx
or ebx, 0xffffffe0
add ebx, edx
mov ecx, dword [esi + 0x18]
add ebx, 3
cmp dword [esi + 0x20], 0
mov dword [esi + 0x88], eax
movd dword [esi + 0x84], xmm0
je 0x100f3734
cmp ebx, dword [esi + 0x2c]
jg 0x100f3734
push 3
push edi
call fcn.100f5581
add esp, 8
mov dword [esi + 0x3c], eax
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x1c]
test ecx, ecx
je 0x100f3729
bsr ecx, ecx
not ecx
or ecx, 0xffffffe0
jmp 0x100f372b
xor ecx, ecx
lea ebx, [ecx + eax]
add ebx, 3
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x3c]
test eax, eax
mov edx, dword [esi + 0x70]
cmove edx, eax
mov dword [esi + 0x94], edx
xor edi, edi
mov eax, 0
cmp ebx, dword [esi + 0x2c]
jg 0x100f3761
push 3
push dword [esi + 8]
call fcn.100f5581
mov ecx, dword [esi + 0x18]
add esp, 8
push dword [esi + 0x20]
push dword [esi + 0x28]
mov ebx, dword [esi + 8]
push ebx
push eax
push dword [esi + 0x48]
push dword [esi + 0x1c]
push dword [esi + 0x14]
push ecx
call fcn.100f6aec
add esp, 0x20
mov eax, dword [esi + 0x50]
lea ecx, [eax*4]
mov eax, ecx
call fcn.101027c0
mov eax, esp
and eax, 0xfffffff0
mov esp, eax
mov dword [esi + 0x4c], ecx
push ecx
push 0xff
mov dword [esi + 0x60], eax
push eax
call fcn.10105ec0
add esp, 0xc
mov ecx, dword [ebx + 4]
mov eax, dword [ebx + 0x14]
shl ecx, 3
mov dword [esi + 0xc], ecx
mov ecx, dword [ebx + 0x1c]
test ecx, ecx
je 0x100f37c6
bsr edi, ecx
not edi
or edi, 0xffffffe0
add edi, eax
xor eax, eax
cmp dword [esi + 0x3c], 0
sete al
cmp dword [esi + 0x20], 0
setne cl
lea edx, [edi + eax*2]
add edx, 3
mov ebx, dword [esi + 0xc]
cmp edx, ebx
setbe ch
and ch, cl
mov byte [esi + 0x44], ch
mov dword [esi + 0x54], 0
mov dword [esi + 0x24], 0
mov ecx, dword [esi + 0x1c]
cmp dword [esi + 0x14], ecx
jge 0x100f387e
mov edx, ebx
add eax, eax
add eax, 2
movzx ecx, byte [esi + 0x44]
sub edx, ecx
xor ecx, ecx
cmp dword [esi + 0x3c], 0
sete cl
or ecx, 4
mov dword [esi + 0x10], ecx
mov dword [esi + 0x24], 0
mov dword [esi + 4], 0
mov ebx, dword [esi + 0x14]
mov dword [esi + 0xc], edx
lea ecx, [eax + edi]
cmp ecx, edx
jbe 0x100f383d
mov eax, dword [esi + 4]
jmp 0x100f386f
push eax
mov edi, dword [esi + 8]
push edi
call fcn.100f5581
add esp, 8
xor eax, dword [esi + 4]
mov ecx, dword [edi + 0x1c]
test ecx, ecx
je 0x100f385e
bsr edi, ecx
not edi
or edi, 0xffffffe0
jmp 0x100f3860
xor edi, edi
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 8]
add edi, dword [ecx + 0x14]
or dword [esi + 0x24], eax
mov dword [esi + 4], eax
mov ecx, dword [esi + 0x60]
mov dword [ecx + ebx*4], eax
inc ebx
mov eax, dword [esi + 0x10]
cmp dword [esi + 0x1c], ebx
jne 0x100f3831
cmp byte [esi + 0x44], 0
je 0x100f38bc
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x24]
lea eax, [ecx + eax*4]
mov edx, dword [esi + 0x20]
mov cl, byte [eax + edx*8 + 0x1016d954]
cmp cl, byte [eax + edx*8 + 0x1016d956]
mov ebx, dword [esi + 8]
mov ecx, dword [esi + 0x14]
je 0x100f38c2
push 1
push ebx
mov edi, ecx
call fcn.100f5581
mov ecx, edi
add esp, 8
add eax, eax
mov dword [esi + 0x54], eax
jmp 0x100f38c2
mov ebx, dword [esi + 8]
mov ecx, dword [esi + 0x14]
mov dword [esi + 8], ebx
mov edx, dword [esi + 0x1c]
cmp ecx, edx
mov edi, dword [esi + 0x60]
jge 0x100f38fb
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x54]
lea eax, [ecx + eax*4]
mov dword [esi + 4], eax
mov ecx, dword [esi + 0x14]
mov ebx, dword [esi + 0x20]
mov eax, edx
mov edx, dword [edi + ecx*4]
add edx, dword [esi + 4]
movsx edx, byte [edx + ebx*8 + 0x1016d954]
mov dword [edi + ecx*4], edx
mov edx, eax
inc ecx
cmp eax, ecx
jne 0x100f38e1
mov edx, dword [esi + 8]
mov eax, dword [edx + 0x14]
mov ecx, dword [edx + 0x1c]
test ecx, ecx
je 0x100f3912
bsr ecx, ecx
not ecx
or ecx, 0xffffffe0
jmp 0x100f3914
xor ecx, ecx
add ecx, eax
add ecx, 4
mov eax, 2
cmp ecx, dword [esi + 0x2c]
jg 0x100f3933
push 5
push 0x1016f725
push edx
call fcn.100f55bd
add esp, 0xc
mov dword [esi + 0x90], eax
mov eax, dword [esi + 0x4c]
lea ebx, [eax + 3]
mov ecx, eax
and ebx, 0xfffffffc
mov eax, ebx
call fcn.101027c0
mov edi, esp
and edi, 0xfffffff0
mov esp, edi
mov eax, 0xff
push ecx
push eax
push edi
call fcn.10105ec0
add esp, 0xc
push dword [esi + 0x28]
push dword [esi + 0x20]
mov dword [esi + 0x44], edi
push edi
push dword [esi + 0x18]
call fcn.100d0fd4
add esp, 0x10
mov dword [esi + 0x68], ebx
mov eax, ebx
call fcn.101027c0
mov eax, esp
and eax, 0xfffffff0
mov esp, eax
push dword [esi + 0x4c]
mov ecx, 0xff
push ecx
mov dword [esi + 0x80], eax
push eax
call fcn.10105ec0
add esp, 0xc
mov edi, dword [ebp + 0x10]
shl edi, 6
push dword [esi + 8]
call fcn.100f6e14
add esp, 4
mov ecx, dword [esi + 0x14]
cmp ecx, dword [esi + 0x1c]
mov dword [esi + 0x6c], edi
jge 0x100f3a90
mov ebx, 6
mov dword [esi + 4], edi
mov edx, ecx
mov edi, eax
mov ecx, edx
mov dword [esi + 0xc], edx
mov eax, dword [esi + 0xa0]
movsx edx, word [eax + edx*2 + 2]
movsx eax, word [eax + ecx*2]
sub edx, eax
imul edx, dword [esi + 0x28]
mov ecx, dword [esi + 0x20]
shl edx, cl
lea eax, [edx*8]
cmp edx, 0x30
mov ecx, 0x30
cmovle edx, ecx
cmp eax, edx
cmovl edx, eax
mov dword [esi + 0x24], edx
mov eax, dword [esi + 0xc]
inc eax
mov dword [esi + 0x64], eax
mov ecx, dword [esi + 4]
xor edx, edx
mov dword [esi + 0x54], ebx
mov eax, ebx
mov ebx, edx
mov edx, ecx
lea ecx, [edi + eax*8]
mov dword [esi + 4], edx
cmp ecx, edx
jge 0x100f3a5e
mov ecx, dword [esi + 0x44]
mov edx, dword [esi + 0xc]
cmp ebx, dword [ecx + edx*4]
jge 0x100f3a5e
push eax
mov edi, dword [esi + 8]
push edi
call fcn.100f5581
add esp, 8
mov dword [esi + 0x10], eax
push edi
call fcn.100f6e14
add esp, 4
mov edi, eax
mov eax, dword [esi + 0x24]
lea edx, [ebx + eax]
mov ecx, dword [esi + 4]
sub ecx, eax
xor eax, eax
inc eax
cmp dword [esi + 0x10], 0
jne 0x100f3a16
mov eax, dword [esi + 0x80]
mov ecx, dword [esi + 0xc]
mov dword [eax + ecx*4], ebx
mov ecx, dword [esi + 0x54]
lea eax, [ecx - 1]
cmp ecx, 2
mov edx, 2
cmovle eax, edx
test ebx, ebx
mov ebx, ecx
cmovg ebx, eax
mov edx, dword [esi + 0x64]
cmp edx, dword [esi + 0x1c]
jne 0x100f39cc
jmp 0x100f3a95
mov dword [esi + 4], edi
mov edi, eax
mov eax, dword [esi + 0x68]
call fcn.101027c0
mov eax, esp
and eax, 0xfffffff0
mov esp, eax
push dword [esi + 0x4c]
push 0xff
mov dword [esi + 0x10], eax
push eax
call fcn.10105ec0
add esp, 0xc
add edi, 0x30
mov eax, 5
cmp edi, dword [esi + 4]
mov edi, dword [esi + 8]
jg 0x100f3ad8
push 7
push str.wmW_
push edi
call fcn.100f55bd
add esp, 0xc
mov dword [esi + 4], eax
push edi
call fcn.100f6e14
add esp, 4
not eax
add eax, dword [esi + 0x6c]
xor ebx, ebx
cmp dword [esi + 0x20], 2
jb 0x100f3b14
mov ecx, 0
mov edx, 0
cmp dword [esi + 0x3c], 0
je 0x100f3b18
mov edx, dword [esi + 0x38]
neg edx
xor ecx, ecx
cmp eax, edx
setge cl
mov edx, ecx
shl edx, 3
jmp 0x100f3b18
xor ecx, ecx
xor edx, edx
mov dword [esi + 0x24], ecx
mov dword [esi + 0x54], edx
sub eax, edx
mov dword [esi + 0xc], eax
mov edi, dword [esi + 0x68]
mov eax, edi
call fcn.101027c0
mov eax, esp
and eax, 0xfffffff0
mov dword [esi + 0x38], eax
mov esp, eax
mov ecx, 0xff
push dword [esi + 0x4c]
push ecx
push eax
call fcn.10105ec0
add esp, 0xc
mov eax, edi
call fcn.101027c0
mov edi, esp
and edi, 0xfffffff0
mov esp, edi
push dword [esi + 0x4c]
mov eax, 0xff
push eax
push edi
call fcn.10105ec0
add esp, 0xc
lea ecx, [esi + 0xa4]
lea eax, [esi + 0xa8]
lea edx, [esi + 0xac]
push ebx
push ebx
push ebx
push dword [esi + 8]
push dword [esi + 0x20]
push dword [esi + 0x28]
mov dword [esi + 0x64], edi
push edi
push dword [esi + 0x10]
push dword [esi + 0x38]
push ecx
push dword [esi + 0xc]
push eax
push edx
push dword [esi + 4]
push dword [esi + 0x44]
push dword [esi + 0x80]
push dword [esi + 0x1c]
push dword [esi + 0x14]
mov edi, dword [esi + 0x18]
push edi
call fcn.100f6e50
add esp, 0x4c
mov dword [esi + 0x44], eax
push dword [esi + 0x28]
push dword [esi + 8]
push dword [esi + 0x10]
push dword [esi + 0x48]
push dword [esi + 0x1c]
push dword [esi + 0x14]
push edi
call fcn.100f6c82
add esp, 0x1c
mov ecx, dword [esi + 0x40]
mov eax, ecx
shr eax, 0x1f
add eax, ecx
shr eax, 1
sub eax, dword [esi + 0x34]
lea eax, [eax*4 + 0x2000]
mov dword [esi + 4], eax
mov edi, dword [esi + 0x8c]
mov eax, dword [esi + ebx*4 + 0xf0]
mov ecx, dword [esi + 0x34]
lea ecx, [eax + ecx*4]
push dword [esi + 4]
push ecx
push eax
call fcn.10105940
add esp, 0xc
inc ebx
cmp edi, ebx
jne 0x100f3bf2
mov edi, dword [esi + 0x50]
mov eax, dword [esi + 0x28]
imul edi, eax
mov ebx, eax
lea eax, [edi + 3]
and eax, 0xfffffffc
call fcn.101027c0
mov eax, esp
and eax, 0xfffffff0
mov dword [esi + 0xc], eax
mov esp, eax
mov ecx, 0xff
push edi
push ecx
push eax
call fcn.10105ec0
add esp, 0xc
mov ecx, ebx
imul ecx, dword [esi + 0x34]
shl ecx, 2
mov eax, ecx
call fcn.101027c0
mov ebx, esp
and ebx, 0xfffffff0
mov esp, ebx
push ecx
mov eax, 0xff
push eax
push ebx
call fcn.10105ec0
add esp, 0xc
mov eax, dword [ebp + 8]
add eax, 0x28
mov dword [esi + 4], eax
mov eax, dword [esi + 0x6c]
sub eax, dword [esi + 0x54]
cmp dword [esi + 0x28], 2
mov ecx, dword [esi + 0x34]
lea ecx, [ebx + ecx*4]
mov edx, 0
cmovne ecx, edx
mov edx, dword [ebp + 8]
push dword [edx + 0x20]
push dword [edx + 0x24]
xor edx, edx
push edx
xor edx, edx
push dword [esi + 4]
push dword [esi + 0x44]
push dword [esi + 0x20]
push dword [esi + 8]
push dword [esi + 0xa4]
push eax
push dword [esi + 0x60]
push dword [esi + 0xac]
push dword [esi + 0xa8]
push dword [esi + 0x90]
push dword [esi + 0x94]
push dword [esi + 0x38]
push edx
push dword [esi + 0xc]
push ecx
mov dword [esi + 4], ebx
push ebx
xor ebx, ebx
push dword [esi + 0x1c]
push dword [esi + 0x14]
push dword [esi + 0x18]
push ebx
call fcn.100f7f13
add esp, 0x5c
cmp byte [esi + 0x24], 0
je 0x100f3d11
push 1
mov ebx, dword [esi + 8]
push ebx
call fcn.100f5715
add esp, 8
mov dword [esi + 0x24], eax
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x1c]
test ecx, ecx
je 0x100f3d52
bsr ecx, ecx
xor ecx, 0xffffffe0
add ecx, 0x21
jmp 0x100f3d54
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x1c]
test ecx, ecx
je 0x100f3d27
bsr ebx, ecx
xor ebx, 0xffffffe0
add ebx, 0x21
mov ecx, dword [esi + 0x2c]
sub ecx, eax
add ecx, ebx
push dword [esi + 0x28]
push dword [esi + 8]
push ecx
push dword [esi + 0x64]
push dword [esi + 0x10]
push dword [esi + 0x48]
push dword [esi + 0x1c]
mov ebx, dword [esi + 0x14]
push ebx
push dword [esi + 0x18]
call fcn.100f6d21
add esp, 0x24
jmp 0x100f3db6
xor ecx, ecx
mov edx, dword [esi + 0x2c]
sub edx, eax
add edx, ecx
push dword [esi + 0x28]
push dword [esi + 8]
push edx
push dword [esi + 0x64]
push dword [esi + 0x10]
push dword [esi + 0x48]
push dword [esi + 0x1c]
mov ebx, dword [esi + 0x14]
push ebx
push dword [esi + 0x18]
call fcn.100f6d21
add esp, 0x24
cmp dword [esi + 0x24], 0
je 0x100f3db6
mov eax, dword [ebp + 8]
push dword [eax + 0x24]
push dword [eax + 0x28]
push dword [esi + 0x38]
push dword [esi + 0x74]
push dword [esi + 0x78]
push dword [esi + 0x48]
push dword [esi + 0x1c]
push ebx
push dword [esi + 0x34]
push dword [esi + 0x28]
push dword [esi + 0x20]
push dword [esi + 0xc]
push dword [esi + 4]
push dword [esi + 0x18]
call fcn.100f7c28
add esp, 0x38
test edi, edi
setle al
mov ecx, dword [esi + 0x98]
xor cl, 1
or cl, al
jne 0x100f3dec
mov eax, dword [esi + 0x40]
lea eax, [eax*4 + 0x2060]
imul eax, dword [esi + 0x30]
mov ecx, dword [ebp + 8]
add eax, ecx
add eax, 0x5c
xor ecx, ecx
mov dword [eax + ecx*4], 0xc1e00000
inc ecx
cmp edi, ecx
jne 0x100f3de0
lea eax, [esi + 0xe8]
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 4]
mov edi, dword [ebp + 8]
push dword [edi + 0x24]
push dword [esi + 0x5c]
push dword [edi + 0x10]
push dword [esi + 0x20]
push dword [esi + 0x3c]
push dword [esi + 0x30]
push dword [esi + 0x28]
push dword [esi + 0x9c]
push ebx
mov ebx, edi
push dword [esi + 0x48]
push eax
call fcn.100f4e44
add esp, 0x2c
xor edi, edi
mov dword [esi + 0x38], edi
mov eax, dword [ebx + 0x24]
mov dword [esi + 4], eax
mov ecx, dword [ebx + 0x3c]
mov eax, 0xf
cmp ecx, eax
cmovle ecx, eax
mov dword [ebx + 0x3c], ecx
mov edx, dword [ebx + 0x40]
cmp edx, eax
cmovle edx, eax
mov dword [ebx + 0x40], edx
mov eax, dword [esi + 0x18]
mov edi, dword [eax + 0x2c]
mov dword [esi + 0x10], edi
movd xmm0, dword [ebx + 0x44]
movss xmm1, dword [ebx + 0x48]
mov eax, dword [eax + 0x3c]
mov dword [esi + 0x44], eax
mov eax, dword [ebx + 0x4c]
mov dword [esi + 0x24], eax
mov eax, dword [ebx + 0x50]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x38]
mov edi, eax
mov ebx, dword [esi + eax*4 + 0xe8]
sub esp, 0x30
mov eax, dword [esi + 4]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x44]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
mov eax, dword [esi + 0x40]
mov dword [esp + 0x28], eax
movd dword [esp + 0x18], xmm0
movss dword [esp + 0x14], xmm1
mov dword [esp + 4], ebx
mov dword [esi + 4], ebx
mov dword [esp], ebx
call fcn.100d0d4d
add esp, 0x30
cmp dword [esi + 0x20], 0
je 0x100f3f62
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + 0x2c]
mov ecx, dword [ecx + 0x3c]
mov dword [esi + 0x10], ecx
mov edx, dword [esi + 0x34]
sub edx, eax
mov ecx, dword [esi + 4]
lea ebx, [ecx + eax*4]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x4c]
mov dword [esi + 0xc], ecx
movd xmm0, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
mov eax, dword [eax + 0x3c]
mov dword [esi + 4], eax
sub esp, 0x30
mov dword [esp + 0x2c], ecx
mov eax, dword [esi + 0x10]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], edx
mov eax, dword [esi + 4]
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], ebx
mov eax, dword [esi + 0x40]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x88]
mov dword [esp + 0x20], eax
movss xmm1, dword [esi + 0x84]
movss dword [esp + 0x18], xmm1
movd dword [esp + 0x14], xmm0
mov eax, dword [esi + 0x58]
mov dword [esp + 0xc], eax
call fcn.100d0d4d
add esp, 0x30
inc edi
cmp dword [esi + 0x8c], edi
mov ebx, dword [ebp + 8]
jne 0x100f3e27
mov eax, dword [ebx + 0x3c]
mov dword [ebx + 0x40], eax
movss xmm0, dword [ebx + 0x44]
movss dword [ebx + 0x48], xmm0
mov eax, dword [ebx + 0x4c]
mov dword [ebx + 0x50], eax
mov ecx, dword [esi + 0x58]
mov dword [ebx + 0x3c], ecx
movss xmm0, dword [esi + 0x84]
movss dword [ebx + 0x44], xmm0
mov eax, dword [esi + 0x88]
mov dword [ebx + 0x4c], eax
cmp dword [esi + 0x20], 0
je 0x100f3fb5
mov dword [ebx + 0x40], ecx
movss dword [ebx + 0x48], xmm0
mov dword [ebx + 0x50], eax
cmp dword [esi + 0x28], 1
mov ebx, dword [esi + 0x50]
jne 0x100f3fd1
mov ecx, dword [esi + 0x48]
lea eax, [ecx + ebx*4]
push dword [esi + 0x4c]
push ecx
push eax
call fcn.101053c0
add esp, 0xc
cmp dword [esi + 0x3c], 0
je 0x100f401c
test ebx, ebx
mov edi, dword [esi + 0x7c]
jle 0x100f40ab
mov eax, dword [esi + 0x40]
lea ecx, [eax*4 + 0x2060]
imul ecx, dword [esi + 0x30]
mov edx, dword [ebp + 8]
lea eax, [ecx + edx]
add eax, 0x5c
add ecx, edx
lea ecx, [ecx + ebx*8]
add ecx, 0x5c
xor edx, edx
movss xmm0, dword [ecx + edx*4]
minss xmm0, dword [eax + edx*4]
movss dword [ecx + edx*4], xmm0
inc edx
cmp edx, edi
jl 0x100f4003
jmp 0x100f40ab
lea eax, [ebx*8]
mov dword [esi + 4], eax
push eax
mov edi, dword [esi + 0x78]
push edi
push dword [esi + 0x74]
call fcn.101053c0
add esp, 0xc
push dword [esi + 4]
push dword [esi + 0x48]
push edi
call fcn.101053c0
add esp, 0xc
mov eax, dword [ebp + 8]
cmp dword [eax + 0x34], 0xa
jl 0x100f4058
movss xmm0, dword [0x101349c0]
jmp 0x100f4068
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [esi + 0x70]
mulss xmm0, dword [0x1016f308]
test ebx, ebx
mov edi, dword [esi + 0x7c]
jle 0x100f40ab
mov eax, dword [esi + 0x40]
lea ecx, [eax*4 + 0x2060]
imul ecx, dword [esi + 0x30]
mov edx, dword [ebp + 8]
lea eax, [ecx + edx]
add eax, 0x5c
add ecx, edx
lea edx, [ebx + ebx*2]
lea ecx, [ecx + edx*8]
add ecx, 0x5c
xor edx, edx
movss xmm1, dword [ecx + edx*4]
addss xmm1, xmm0
minss xmm1, dword [eax + edx*4]
movss dword [ecx + edx*4], xmm1
inc edx
cmp edx, edi
jl 0x100f4093
mov eax, dword [esi + 0x40]
lea eax, [eax*4 + 0x2060]
imul eax, dword [esi + 0x30]
mov edx, dword [ebp + 8]
lea ecx, [eax + edx]
add ecx, 0x5c
mov dword [esi + 0xc], ecx
mov edi, ebx
mov ecx, dword [esi + 0x1c]
sub edi, ecx
lea eax, [eax + ecx*4]
add eax, edx
add eax, 0x5c
mov dword [esi + 0x24], eax
mov dword [esi + 0x10], 0
mov al, 1
mov dword [esi + 4], edi
mov edi, 0xc1e00000
mov dword [esi + 0x38], eax
cmp dword [esi + 0x14], 0
jle 0x100f4133
mov eax, dword [esi + 0x10]
lea ebx, [eax*4 + 8]
mov edx, dword [esi + 0x50]
imul ebx, edx
mov ecx, dword [esi + 0xc]
add ebx, ecx
mov eax, dword [esi + 0x10]
lea eax, [eax*4 + 0x10]
imul eax, edx
add eax, ecx
mov edx, dword [esi + 0x4c]
imul edx, dword [esi + 0x10]
add edx, ecx
xor ecx, ecx
mov dword [edx + ecx*4], 0
mov dword [eax + ecx*4], edi
mov dword [ebx + ecx*4], edi
inc ecx
cmp dword [esi + 0x14], ecx
jne 0x100f4120
mov eax, dword [esi + 0x1c]
cmp eax, dword [esi + 0x50]
jge 0x100f417c
mov edx, dword [esi + 0x10]
lea ebx, [edx*4 + 8]
mov ecx, dword [esi + 0x50]
imul ebx, ecx
add ebx, dword [esi + 0x24]
lea eax, [edx*4 + 0x10]
imul eax, ecx
add eax, dword [esi + 0x24]
imul edx, ecx
add edx, dword [esi + 0x1c]
mov ecx, dword [esi + 0xc]
lea edx, [ecx + edx*4]
xor ecx, ecx
mov dword [edx + ecx*4], 0
mov dword [eax + ecx*4], edi
mov dword [ebx + ecx*4], edi
inc ecx
cmp dword [esi + 4], ecx
jne 0x100f4169
xor ebx, ebx
xor eax, eax
inc eax
mov dword [esi + 0x10], eax
test byte [esi + 0x38], 1
mov eax, 0
jne 0x100f40e8
mov edi, dword [esi + 8]
mov eax, dword [edi + 0x1c]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x28], eax
lea eax, [ecx + 0x54]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x18]
add eax, 0x10
lea ecx, [esi + 0xe8]
mov edx, dword [ebp + 0x14]
push dword [ebp + 0x20]
push dword [esi + 0x14]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x10]
push dword [esi + 0x30]
push dword [esi + 0x34]
call fcn.100f4c24
add esp, 0x18
mov eax, dword [ebp + 8]
mov dword [eax + 0x34], 0
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x1c]
test ecx, ecx
je 0x100f41eb
bsr ebx, ecx
not ebx
or ebx, 0xffffffe0
add ebx, eax
mov edi, 0xfffffffd
cmp ebx, dword [esi + 0x2c]
mov eax, dword [esi + 0x34]
jg 0x100f4213
mov ecx, dword [esi + 8]
cmp dword [ecx + 0x2c], 0
mov ecx, dword [ebp + 8]
je 0x100f420d
mov dword [ecx + 0x2c], 1
cdq
idiv dword [ecx + 0x10]
mov edi, eax
mov ecx, dword [esi + 0xf8]
xor ecx, ebp
call fcn.10102288
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor ebx, ebx
inc ebx
xor eax, eax
mov dword [esi + 0x5c], 0
mov ecx, dword [esi + 0x18]
jmp 0x100f35e4