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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x710
mov esi, esp
mov eax, dword [0x1026f864]
xor edx, edx
mov edi, dword [ebp + 0x58]
xor eax, ebp
cmp dword [ebp + 0x1c], 0
setne dl
mov ecx, edx
inc ecx
cmp dword [ebp + 8], 0
mov dword [esi + 0x44], ecx
mov ecx, dword [ebp + 0x34]
sete bh
setne byte [esi + 0xc]
test ecx, ecx
mov dword [esi + 0x38], ecx
mov ecx, dword [ebp + 0x4c]
sete bl
cmp edi, 7
setg byte [esi + 0x14]
and bl, dl
xor edx, edx
and bl, byte [esi + 0x14]
inc edx
mov edi, edx
shl edi, cl
mov ecx, dword [ebp + 0x10]
and bl, byte [esi + 0xc]
mov dword [esi + 0x708], eax
mov dword [esi + 0x18], edx
or bh, bl
cmp dword [ebp + 0x2c], 0
cmove edi, edx
mov dword [esi + 0x34], edi
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 0x20]
movsx edx, word [eax + ecx*2]
mov ecx, dword [ebp + 0x4c]
mov dword [esi + 0x14], eax
shl edx, cl
mov ecx, dword [edi + 8]
mov dword [esi + 0x78], edx
movsx edi, word [eax + ecx*2 - 2]
mov dword [esi + 0x30], ecx
mov ecx, dword [ebp + 0x4c]
mov dword [esi + 0xc], edi
shl edi, cl
mov ecx, dword [ebp + 0x18]
mov eax, edi
sub eax, edx
movzx edx, bh
imul eax, dword [esi + 0x44]
mov dword [esi + 0x74], edx
shl eax, 2
call fcn.101e0a30
mov eax, esp
and eax, 0xfffffff0
mov dword [esi + 0x20], eax
mov esp, eax
cmp bl, 1
mov byte [esi + 0x2b], bl
jne 0x101d595c
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x30]
movsx edx, word [eax + ecx*2]
mov ecx, dword [ebp + 0x4c]
sub edx, dword [esi + 0xc]
shl edx, cl
shl edx, 2
mov eax, edx
call fcn.101e0a30
mov eax, esp
and eax, 0xfffffff0
mov dword [esi + 0x40], eax
mov esp, eax
jmp 0x101d5964
lea eax, [ecx + edi*4]
xor edx, edx
mov dword [esi + 0x40], eax
add edx, 3
and edx, 0xfffffffc
mov eax, edx
call fcn.101e0a30
mov eax, esp
and eax, 0xfffffff0
mov dword [esi + 0x70], eax
mov esp, eax
mov eax, edx
call fcn.101e0a30
mov eax, esp
and eax, 0xfffffff0
mov dword [esi + 0x6c], eax
mov esp, eax
mov eax, edx
call fcn.101e0a30
mov eax, esp
and eax, 0xfffffff0
mov dword [esi + 0x94], eax
mov esp, eax
mov eax, edx
call fcn.101e0a30
mov eax, esp
and eax, 0xfffffff0
mov dword [esi + 0x90], eax
mov esp, eax
mov eax, edx
call fcn.101e0a30
mov eax, esp
and eax, 0xfffffff0
mov dword [esi + 0x8c], eax
mov esp, eax
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x30]
mov ebx, dword [esi + 0x74]
xor edx, edx
mov dword [esi + 0x1e8], eax
mov eax, dword [ebp + 0x48]
mov dword [esi + 0x1e0], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x1c4], eax
mov eax, dword [ebp + 0x38]
mov dword [esi + 0x1d4], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x1cc], eax
mov eax, dword [ebp + 0x54]
mov eax, dword [eax]
mov dword [esi + 0x1ec], eax
mov dword [esi + 0x1d8], ecx
mov ecx, dword [ebp + 0x5c]
mov dword [esi + 0x1f0], ecx
mov ecx, dword [ebp + 0x60]
mov dword [esi + 0x1f8], ecx
mov dword [esi + 0x1c8], ebx
mov ebx, dword [esi + 0x34]
mov dword [esi + 0x1f4], 0
cmp ebx, 1
setg dl
mov dword [esi + 0x1fc], edx
mov edx, dword [ebp + 0x14]
cmp dword [ebp + 0x10], edx
mov edx, dword [esi + 0x78]
jge 0x101d65dc
mov eax, dword [esi + 0x20]
mov ecx, edi
mov ebx, dword [esi + 0x20]
mov dword [esi + 0x58], 0
lea edi, [eax + edi*4]
lea eax, [edx*4]
neg edx
sub edi, eax
cmp dword [esi + 0x34], 1
mov dword [esi + 0xc], edx
mov edx, ecx
mov dword [esi + 0x7c], edi
mov edi, dword [ebp + 0x1c]
setg cl
test edi, edi
cmove ebx, edi
cmp dword [ebp + 0x30], 3
mov edi, dword [ebp + 0x10]
mov dword [esi + 0xc4], ebx
setne bl
shl edx, 2
or bl, cl
sub edx, eax
xor eax, eax
mov ecx, dword [esi + 0x34]
dec eax
mov byte [esi + 0x53], bl
mov ebx, dword [esi + 0x20]
shl eax, cl
mov ecx, dword [esi + 0xc]
not eax
mov dword [esi + 0xa0], eax
mov eax, dword [esi + 0x74]
xor al, 1
mov byte [esi + 0x52], al
add edx, ebx
lea eax, [ebx + ecx*4]
mov dword [esi + 0xcc], edx
mov edx, dword [ebp + 0x14]
mov ebx, edi
mov dword [esi + 0x4c], eax
mov eax, dword [esi + 0x7c]
lea edx, [edx - 1]
lea eax, [eax + ecx*4]
mov ecx, dword [esi + 0x44]
mov dword [esi + 0x3c], edx
lea edx, [edi + 1]
mov dword [esi + 0xa4], eax
mov dword [esi + 0x84], edx
mov edx, dword [ebp + 0x48]
mov eax, ecx
neg eax
mov dword [esi + 0xd0], eax
mov eax, dword [ebp + 0x20]
sub eax, ecx
dec ecx
mov dword [esi + 0xbc], eax
mov eax, dword [ebp + 0x44]
mov dword [esi + 0xc0], ecx
lea ecx, [edx + 8]
mov dword [esi + 0x9c], ecx
lea ecx, [edx + 0x1c]
mov dword [esi + 0x98], ecx
mov dword [esi + 0x88], eax
mov eax, dword [esi + 0x14]
mov dword [esi + 0x1d0], ebx
mov ecx, dword [ebp + 0x4c]
movsx edx, word [eax + ebx*2]
mov eax, dword [ebp + 0x1c]
shl edx, cl
test eax, eax
lea edi, [eax + edx*4]
mov dword [esi + 0xc], edx
cmove edi, eax
mov eax, dword [esi + 0x14]
mov dword [esi + 0x2c], edi
movsx eax, word [eax + ebx*2 + 2]
shl eax, cl
sub eax, edx
mov dword [esi + 0x24], eax
jg 0x101d5b70
push 0x5d7
push 0x10254924
push str.assertion_failed:_N___0
call fcn.10193ce0
add esp, 0xc
push dword [ebp + 0x48]
call fcn.101d4650
add esp, 4
mov edi, eax
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov edx, dword [esi + 0x88]
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc8], edi
cmp ebx, eax
mov eax, edi
cmove eax, ecx
mov ecx, dword [ebp + 0x40]
sub edx, eax
mov dword [esi + 0x88], edx
sub ecx, edi
lea eax, [ecx - 1]
mov dword [esi + 0x1e4], eax
mov eax, dword [ebp + 0x50]
cmp ebx, eax
jge 0x101d5bfc
mov edi, eax
mov eax, 3
movss xmm1, dword [0x10210914]
sub edi, ebx
cmp edi, 4
cmovge edi, eax
mov eax, edx
cdq
idiv edi
mov edx, dword [ebp + 0x28]
mov edi, dword [ebp + 0x10]
add eax, dword [edx + ebx*4]
mov edx, 0
cmp ecx, eax
cmovle eax, ecx
mov ecx, dword [esi + 0x74]
test eax, eax
js 0x101d5c0c
cmp eax, 0x4000
mov edx, 0x3fff
cmovge eax, edx
mov edx, eax
jmp 0x101d5c0c
mov ecx, dword [esi + 0x74]
movss xmm1, dword [0x10210914]
mov edi, dword [ebp + 0x10]
xor edx, edx
test ecx, ecx
mov dword [esi + 0x5c], edx
je 0x101d5c4e
mov ebx, edi
mov edx, dword [esi + 0x14]
mov edi, dword [esi + 0x10]
mov ecx, dword [ebp + 0x4c]
movsx eax, word [edx + edi*2]
movsx edx, word [edx + ebx*2]
shl eax, cl
shl edx, cl
cmp edi, dword [esi + 0x84]
je 0x101d5c39
sub eax, dword [esi + 0x24]
cmp eax, edx
jl 0x101d5c4e
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x10]
test eax, eax
cmove eax, ecx
cmp dword [esi + 0x18], 0
cmovne eax, ecx
mov dword [esi + 0x58], eax
mov eax, dword [ebp + 0x18]
mov ecx, dword [esi + 0xc]
lea eax, [eax + ecx*4]
mov ecx, dword [esi + 0x10]
mov dword [esi + 0x1c], eax
cmp ecx, dword [esi + 0x84]
jne 0x101d5cd7
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov eax, dword [eax + 0x20]
mov edx, ecx
movsx ebx, word [eax + ecx*2 + 2]
movsx edi, word [eax + edx*2 + 4]
movsx ecx, word [eax + ecx*2]
sub edi, ebx
sub ebx, ecx
mov ecx, dword [ebp + 0x4c]
shl ebx, cl
shl edi, cl
mov ecx, dword [esi + 0x20]
lea edx, [ebx + ebx]
sub edx, edi
sub edi, ebx
shl edi, 2
mov dword [esi + 0xc], edx
lea eax, [ecx + ebx*4]
lea ecx, [ecx + edx*4]
push edi
push ecx
push eax
call fcn.101e35e0
movss xmm1, dword [0x10210914]
add esp, 0xc
cmp dword [esi + 0x38], 0
je 0x101d5cd7
mov ecx, dword [esi + 0x7c]
mov edx, dword [esi + 0xc]
lea eax, [ecx + ebx*4]
lea ecx, [ecx + edx*4]
push edi
push ecx
push eax
call fcn.101e35e0
movss xmm1, dword [0x10210914]
add esp, 0xc
mov eax, dword [ebp + 0x3c]
mov ebx, dword [esi + 0x10]
mov ecx, dword [ebp + 0xc]
mov edi, 0
mov eax, dword [eax + ebx*4]
mov dword [esi + 0x1dc], eax
cmp ebx, dword [ecx + 0xc]
mov ecx, dword [esi + 0x2c]
cmovge ecx, dword [esi + 0xc4]
mov dword [esi + 0x2c], ecx
mov ecx, dword [esi + 0x1c]
cmovge ecx, dword [esi + 0x20]
mov dword [esi + 0x1c], ecx
mov ecx, dword [esi + 0x40]
cmovge ecx, edi
cmp ebx, dword [esi + 0x3c]
mov edx, ecx
cmove edx, edi
cmp byte [esi + 0x2b], 0
cmovne edx, ecx
test eax, eax
mov dword [esi + 0x40], edx
mov edx, dword [esi + 0xa0]
sets cl
cmp dword [esi + 0x58], 0
mov eax, edx
mov dword [esi + 0xc], edx
mov edx, 0xffffffff
je 0x101d5e45
or cl, byte [esi + 0x53]
mov ecx, dword [esi + 0xa0]
mov edx, 0xffffffff
mov eax, ecx
mov dword [esi + 0xc], ecx
je 0x101d5e45
mov edi, dword [esi + 0x58]
mov eax, dword [esi + 0x14]
mov ecx, dword [ebp + 0x4c]
mov edx, 0
movsx ebx, word [eax + edi*2]
mov eax, dword [esi + 0x78]
shl ebx, cl
sub ebx, eax
sub ebx, dword [esi + 0x24]
cmovs ebx, edx
mov edx, edi
add eax, ebx
mov dword [esi + 0x60], ebx
mov ebx, dword [esi + 0xbc]
mov dword [esi + 0x30], eax
mov eax, 2
sub eax, edi
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov edi, ebx
movsx ebx, word [eax + edx*2 - 2]
mov eax, dword [esi + 0xc]
dec edx
shl ebx, cl
inc eax
cmp ebx, dword [esi + 0x30]
mov ebx, dword [esi + 0xd0]
lea ebx, [edi + ebx]
jg 0x101d5d8e
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x10]
add eax, dword [esi + 0x24]
mov ebx, ecx
mov dword [esi + 0x30], eax
mov eax, dword [esi + 0x58]
cmp eax, ecx
lea ecx, [edx + 1]
cmovge ebx, eax
mov dword [esi + 0x48], ecx
lea ecx, [ebx - 1]
neg ebx
mov dword [esi + 0x18], ebx
lea ebx, [eax - 2]
mov eax, dword [esi + 0xc]
mov dword [esi + 0x54], ecx
mov ecx, dword [esi + 0x18]
add ecx, ebx
cmp ecx, 0xfffffffe
je 0x101d5dff
mov eax, dword [esi + 0x14]
mov ecx, dword [ebp + 0x4c]
movsx eax, word [eax + ebx*2 + 4]
inc ebx
shl eax, cl
cmp eax, dword [esi + 0x30]
mov eax, dword [esi + 0xc]
jl 0x101d5ddd
jmp 0x101d5e02
mov ebx, dword [esi + 0x54]
cmp ebx, dword [esi + 0x48]
cmovge edx, ebx
mov ebx, dword [esi + 0x44]
add edx, eax
mov eax, dword [esi + 0x58]
lea ecx, [eax + 1]
imul ecx, ebx
imul ebx, eax
xor eax, eax
mov dword [esi + 0x30], ebx
xor ebx, ebx
mov dword [esi + 0xc], ecx
mov ecx, dword [esi + 0x30]
movzx ecx, byte [edi + ecx]
or eax, ecx
mov ecx, dword [esi + 0xc]
movzx ecx, byte [edi + ecx - 1]
add edi, dword [esi + 0x44]
or ebx, ecx
dec edx
jne 0x101d5e23
mov dword [esi + 0xc], ebx
mov ebx, dword [esi + 0x10]
mov edx, dword [esi + 0x60]
cmp dword [esi + 0x38], 0
lea ecx, [ebx + 1]
mov dword [esi + 0x60], edx
mov dword [esi + 0x30], ecx
je 0x101d5fa1
mov edx, dword [ebp + 0x38]
mov edi, ebx
cmp ebx, edx
setne cl
or cl, byte [esi + 0x52]
je 0x101d5f5e
cmp edi, edx
je 0x101d5fa1
xor edx, edx
cmp edi, dword [esi + 0x3c]
mov ecx, 0
je 0x101d5e93
mov ecx, dword [esi + 0x14]
movsx edx, word [ecx + edi*2]
mov ecx, dword [ebp + 0x4c]
shl edx, cl
mov ecx, dword [esi + 0x4c]
lea ecx, [ecx + edx*4]
xor edx, edx
mov dword [esi + 0x48], ecx
mov ebx, dword [esi + 0x60]
mov ecx, dword [esi + 0x20]
movss xmm0, dword [0x10210930]
mov dword [esi + 0x18], 0
cmp ebx, 0xffffffff
lea ebx, [ecx + ebx*4]
mov ecx, dword [esi + 0x5c]
cmove ebx, edx
mov edx, dword [esi + 0x1c]
mov edi, ecx
shr edi, 0x1f
add edi, ecx
lea ecx, [esi + 0x1c4]
sar edi, 1
push eax
push dword [esi + 0x40]
push dword [esi + 0x48]
mov eax, dword [ebp + 0x4c]
push eax
push ebx
push dword [esi + 0x34]
push edi
mov ebx, dword [esi + 0x24]
push ebx
call fcn.101d6600
add esp, 0x20
mov ecx, dword [esi + 0x10]
mov dword [esi + 0x80], eax
cmp ecx, dword [esi + 0x3c]
je 0x101d5f0e
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0xa4]
movsx eax, word [eax + ecx*2]
mov ecx, dword [ebp + 0x4c]
shl eax, cl
lea eax, [edx + eax*4]
mov dword [esi + 0x18], eax
mov ecx, dword [esi + 0x60]
mov eax, dword [esi + 0x7c]
mov edx, dword [esi + 0x2c]
movss xmm0, dword [0x10210930]
cmp ecx, 0xffffffff
lea eax, [eax + ecx*4]
mov ecx, 0
cmove eax, ecx
lea ecx, [esi + 0x1c4]
push dword [esi + 0xc]
push dword [esi + 0x40]
push dword [esi + 0x18]
push dword [ebp + 0x4c]
push eax
push dword [esi + 0x34]
push edi
push ebx
call fcn.101d6600
add esp, 0x20
mov dword [esi + 0xc], eax
mov edx, dword [esi + 0x44]
mov eax, dword [esi + 0x80]
jmp 0x101d6586
mov ecx, dword [esi + 0x14]
movsx edx, word [ecx + edi*2]
mov ecx, dword [ebp + 0x4c]
shl edx, cl
cmp edx, dword [esi + 0x78]
jle 0x101d5fa1
xor edx, edx
mov ebx, dword [esi + 0x20]
mov edi, dword [esi + 0xcc]
movss xmm0, dword [ebx + edx*4]
addss xmm0, dword [edi + edx*4]
mov edi, dword [esi + 0x14]
mulss xmm0, xmm1
movss dword [ebx + edx*4], xmm0
mov ebx, dword [esi + 0x10]
inc edx
movsx edi, word [edi + ebx*2]
shl edi, cl
sub edi, dword [esi + 0x78]
cmp edx, edi
jl 0x101d5f71
cmp dword [esi + 0x2c], 0
je 0x101d63f5
mov edi, dword [esi + 0x10]
mov dl, byte [esi + 0x2b]
cmp edi, dword [ebp + 0x38]
setge cl
xor dl, 1
or dl, cl
jne 0x101d645f
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x48]
or dword [esi + 0xc], eax
mov edx, dword [ebp + 0x24]
mov ecx, dword [ecx + 8]
mov eax, dword [ebx]
add ecx, edi
mov dword [esi + 0x54], eax
mov eax, dword [ebx + 4]
movss xmm0, dword [edx + ecx*4]
mov dword [esi + 0xb4], eax
mov eax, dword [esi + 0x9c]
movss dword [esi + 0x48], xmm0
movss xmm0, dword [edx + edi*4]
movsd xmm1, qword [eax + 8]
movss dword [esi + 0x18], xmm0
movsd xmm0, qword [eax]
movsd qword [esi + 0x1b8], xmm1
movsd qword [esi + 0x1b0], xmm0
mov eax, dword [ebx + 0x18]
mov dword [esi + 0xb0], eax
mov eax, dword [esi + 0x98]
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [esi + 0x198], xmm0
movsd qword [esi + 0x1a0], xmm1
mov eax, dword [eax + 0x10]
mov dword [esi + 0x1a8], eax
push 0x3c
lea eax, [esi + 0x1c4]
push eax
lea eax, [esi + 0x12c]
push eax
call fcn.101e35e0
add esp, 0xc
mov eax, dword [esi + 0x24]
lea edi, [eax*4]
push edi
push dword [esi + 0x1c]
push dword [esi + 0x70]
call fcn.101e35e0
add esp, 0xc
mov dword [esi + 0x38], edi
push edi
push dword [esi + 0x2c]
push dword [esi + 0x6c]
call fcn.101e35e0
add esp, 0xc
movss xmm2, dword [esi + 0x18]
movss xmm1, dword [esi + 0x48]
mov eax, dword [esi + 0x10]
xor edi, edi
mov dword [esi + 0x1f4], 0xffffffff
movaps xmm0, xmm2
cmp eax, dword [esi + 0x3c]
minss xmm0, xmm1
divss xmm0, dword [0x1025460c]
addss xmm2, xmm0
addss xmm0, xmm1
movss dword [esi + 0x18], xmm2
movss dword [esi + 0x48], xmm0
je 0x101d60dc
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x4c]
movsx eax, word [eax + ecx*2]
mov ecx, dword [ebp + 0x4c]
shl eax, cl
lea edi, [edx + eax*4]
mov edx, dword [esi + 0x60]
mov ecx, dword [esi + 0x20]
mov ebx, dword [esi + 0x1c]
lea eax, [ecx + edx*4]
cmp edx, 0xffffffff
mov ecx, 0
mov edx, ebx
cmove eax, ecx
lea ecx, [esi + 0x1c4]
push dword [esi + 0xc]
push dword [esi + 0x40]
push edi
push dword [ebp + 0x4c]
mov dword [esi + 0xb8], eax
push eax
push dword [esi + 0x34]
push dword [esi + 0x5c]
mov edi, dword [esi + 0x24]
push edi
push dword [esi + 0x2c]
call fcn.101d6d50
add esp, 0x24
mov dword [esi + 0x80], eax
push edi
push ebx
push dword [esi + 0x70]
call fcn.101cd260
add esp, 0xc
fstp xword [esi + 0x60]
push edi
mov edi, dword [esi + 0x2c]
push edi
push dword [esi + 0x6c]
call fcn.101cd260
add esp, 0xc
fstp xword [esi + 0xe4]
push 0x30
mov eax, dword [ebp + 0x48]
push eax
lea eax, [esi + 0x168]
push eax
call fcn.101e35e0
add esp, 0xc
push 0x3c
lea eax, [esi + 0x1c4]
push eax
lea eax, [esi + 0xf0]
push eax
call fcn.101e35e0
add esp, 0xc
mov ebx, dword [esi + 0x38]
push ebx
push dword [esi + 0x1c]
push dword [esi + 0x94]
call fcn.101e35e0
add esp, 0xc
push ebx
push edi
push dword [esi + 0x90]
call fcn.101e35e0
add esp, 0xc
mov eax, dword [esi + 0x3c]
cmp dword [esi + 0x10], eax
fld xword [esi + 0x60]
fstp dword [esi + 0xe0]
movss xmm0, dword [esi + 0xe0]
mulss xmm0, dword [esi + 0x18]
movss dword [esi + 0x60], xmm0
fld xword [esi + 0xe4]
fstp dword [esi + 0xdc]
movss xmm0, dword [esi + 0xdc]
mulss xmm0, dword [esi + 0x48]
movss dword [esi + 0xe4], xmm0
je 0x101d6208
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x4c]
movsx eax, word [eax + ecx*2]
mov ecx, dword [ebp + 0x4c]
shl eax, cl
lea eax, [edx + eax*4]
push ebx
push eax
push dword [esi + 0x8c]
call fcn.101e35e0
add esp, 0xc
mov ebx, dword [esi + 0xb4]
mov edi, dword [esi + 0xb0]
mov eax, dword [esi + 0x54]
mov ecx, ebx
add eax, edi
sub ecx, edi
mov dword [esi + 0xa8], ecx
push ecx
mov dword [esi + 0xac], eax
push eax
lea eax, [esi + 0x20d]
push eax
call fcn.101e35e0
add esp, 0xc
mov ecx, dword [ebp + 0x48]
mov eax, dword [esi + 0x54]
mov dword [ecx], eax
mov dword [ecx + 4], ebx
mov eax, dword [esi + 0x9c]
movsd xmm0, qword [esi + 0x1b0]
movsd xmm1, qword [esi + 0x1b8]
movsd qword [eax], xmm0
movsd qword [eax + 8], xmm1
mov dword [ecx + 0x18], edi
mov ecx, dword [esi + 0x98]
mov eax, dword [esi + 0x1a8]
mov dword [ecx + 0x10], eax
movsd xmm0, qword [esi + 0x198]
movsd xmm1, qword [esi + 0x1a0]
movsd qword [ecx + 8], xmm1
movsd qword [ecx], xmm0
push 0x3c
lea eax, [esi + 0x12c]
push eax
lea eax, [esi + 0x1c4]
push eax
call fcn.101e35e0
add esp, 0xc
mov edi, dword [esi + 0x38]
push edi
push dword [esi + 0x70]
push dword [esi + 0x1c]
call fcn.101e35e0
add esp, 0xc
push edi
push dword [esi + 0x6c]
push dword [esi + 0x2c]
call fcn.101e35e0
add esp, 0xc
mov ebx, dword [esi + 0x10]
mov edi, dword [esi + 0x1c]
cmp ebx, dword [esi + 0x84]
jne 0x101d6324
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov eax, dword [eax + 0x20]
movsx ecx, word [eax + edi*2 + 2]
movsx edx, word [eax + edi*2]
movsx eax, word [eax + edi*2 + 4]
mov edi, ecx
sub eax, ecx
mov ecx, dword [ebp + 0x4c]
sub edi, edx
mov edx, ebx
mov ebx, dword [esi + 0x20]
shl edi, cl
shl eax, cl
lea ecx, [edi + edi]
sub ecx, eax
sub eax, edi
lea edi, [ebx + edi*4]
mov dword [esi + 0x54], edi
mov edi, dword [esi + 0x1c]
lea ecx, [ebx + ecx*4]
mov ebx, edx
shl eax, 2
push eax
push ecx
push dword [esi + 0x54]
call fcn.101e35e0
add esp, 0xc
movss xmm0, dword [esi + 0x60]
xor eax, eax
cmp ebx, dword [esi + 0x3c]
mov dword [esi + 0x1f4], 1
addss xmm0, dword [esi + 0xe4]
movss dword [esi + 0x60], xmm0
je 0x101d635c
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x4c]
movsx eax, word [eax + ecx*2]
mov ecx, dword [ebp + 0x4c]
shl eax, cl
lea eax, [edx + eax*4]
lea ecx, [esi + 0x1c4]
mov edx, edi
push dword [esi + 0xc]
push dword [esi + 0x40]
push eax
push dword [ebp + 0x4c]
push dword [esi + 0xb8]
push dword [esi + 0x34]
push dword [esi + 0x5c]
mov edi, dword [esi + 0x24]
push edi
mov ebx, dword [esi + 0x2c]
push ebx
call fcn.101d6d50
add esp, 0x24
mov dword [esi + 0xc], eax
push edi
push dword [esi + 0x1c]
push dword [esi + 0x70]
call fcn.101cd260
add esp, 0xc
fstp dword [esi + 0xd8]
movss xmm0, dword [esi + 0x18]
mulss xmm0, dword [esi + 0xd8]
movss dword [esi + 0x18], xmm0
push edi
push ebx
push dword [esi + 0x6c]
call fcn.101cd260
add esp, 0xc
fstp dword [esi + 0xd4]
movss xmm0, dword [esi + 0x48]
movss xmm1, dword [esi + 0x60]
mulss xmm0, dword [esi + 0xd4]
addss xmm0, dword [esi + 0x18]
ucomiss xmm1, xmm0
jae 0x101d64d7
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 0x44]
mov ebx, dword [esi + 0x24]
jmp 0x101d657c
mov ebx, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
xor edx, edx
or ebx, eax
cmp ecx, dword [esi + 0x3c]
mov eax, 0
je 0x101d641b
mov eax, dword [esi + 0x14]
mov edi, dword [esi + 0x4c]
movsx eax, word [eax + ecx*2]
mov ecx, dword [ebp + 0x4c]
shl eax, cl
lea eax, [edi + eax*4]
mov edi, dword [esi + 0x60]
mov ecx, dword [esi + 0x20]
movss xmm0, dword [0x10210930]
mov dword [esi + 0x38], 0
cmp edi, 0xffffffff
lea edi, [ecx + edi*4]
lea ecx, [esi + 0x1c4]
cmove edi, edx
mov edx, dword [esi + 0x1c]
push ebx
push dword [esi + 0x40]
push eax
push dword [ebp + 0x4c]
push edi
push dword [esi + 0x34]
push dword [esi + 0x5c]
mov ebx, dword [esi + 0x24]
push ebx
call fcn.101d6600
add esp, 0x20
jmp 0x101d64cf
mov ebx, dword [esi + 0xc]
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x1f4], 0
or ebx, eax
cmp edi, dword [esi + 0x3c]
mov eax, 0
je 0x101d6490
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 0x4c]
mov ecx, dword [ebp + 0x4c]
movsx eax, word [eax + edi*2]
shl eax, cl
mov ecx, dword [esi + 0x20]
lea eax, [edx + eax*4]
mov edx, dword [esi + 0x60]
mov dword [esi + 0x38], 0
lea edi, [ecx + edx*4]
cmp edx, 0xffffffff
mov edx, dword [esi + 0x1c]
mov ecx, 0
cmove edi, ecx
lea ecx, [esi + 0x1c4]
push ebx
push dword [esi + 0x40]
push eax
push dword [ebp + 0x4c]
push edi
push dword [esi + 0x34]
push dword [esi + 0x5c]
mov ebx, dword [esi + 0x24]
push ebx
push dword [esi + 0x2c]
call fcn.101d6d50
add esp, 0x24
mov edx, dword [esi + 0x44]
jmp 0x101d6583
push 0x30
lea eax, [esi + 0x168]
push eax
push dword [ebp + 0x48]
call fcn.101e35e0
add esp, 0xc
push 0x3c
lea eax, [esi + 0xf0]
push eax
lea eax, [esi + 0x1c4]
push eax
call fcn.101e35e0
add esp, 0xc
mov edi, dword [esi + 0x38]
push edi
push dword [esi + 0x94]
push dword [esi + 0x1c]
call fcn.101e35e0
add esp, 0xc
push edi
push dword [esi + 0x90]
push ebx
call fcn.101e35e0
add esp, 0xc
mov eax, dword [esi + 0x3c]
mov ebx, dword [esi + 0x14]
cmp dword [esi + 0x10], eax
je 0x101d6555
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0x4c]
mov ecx, dword [ebp + 0x4c]
movsx eax, word [ebx + eax*2]
shl eax, cl
lea eax, [edx + eax*4]
push edi
push dword [esi + 0x8c]
push eax
call fcn.101e35e0
add esp, 0xc
push dword [esi + 0xa8]
lea eax, [esi + 0x20d]
push eax
push dword [esi + 0xac]
call fcn.101e35e0
add esp, 0xc
mov edx, dword [esi + 0x44]
mov ebx, dword [esi + 0x24]
mov eax, dword [esi + 0x80]
mov dword [esi + 0x38], 0
mov dword [esi + 0xc], eax
mov edi, dword [esi + 0x10]
shl ebx, 3
mov ecx, edi
imul ecx, edx
mov edx, dword [ebp + 0x20]
mov byte [edx + ecx], al
add ecx, dword [esi + 0xc0]
mov eax, dword [esi + 0xc]
mov byte [edx + ecx], al
mov eax, dword [esi + 0x88]
mov ecx, dword [ebp + 0x28]
add eax, dword [esi + 0xc8]
add eax, dword [ecx + edi*4]
xor ecx, ecx
cmp dword [esi + 0x5c], ebx
mov ebx, dword [esi + 0x30]
mov dword [esi + 0x1fc], 0
setg cl
cmp ebx, dword [ebp + 0x14]
mov dword [esi + 0x18], ecx
jne 0x101d5b1f
mov eax, dword [esi + 0x1ec]
mov ecx, dword [ebp + 0x54]
mov dword [ecx], eax
mov ecx, dword [esi + 0x708]
xor ecx, ebp
call fcn.101e05ab
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret