Function at 0x1008608a
Capabilities:
Inspect section memory permissions
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xdc
push ebx
push esi
push edi
mov edi, ecx
push 0x60
mov eax, dword [edi + 8]
mov dword [esp + 0x4c], eax
xor eax, eax
push eax
lea eax, [esp + 0x60]
mov ebx, edx
push eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x50], edi
call fcn.100a56b0
movzx eax, word [ebx]
add esp, 0xc
mov dword [esp + 0x58], edi
push 0x40
pop edx
cmp ax, dx
jle 0x100860e1
push edx
push 0x101948fc
push edi
call fcn.100488d3
add esp, 0xc
jmp 0x100866fe
mov ecx, dword [ebp + 0x14]
and ecx, edx
mov dword [esp + 0xbc], ecx
je 0x100860f4
xor eax, eax
inc eax
jmp 0x100860f5
cwde
mov ecx, dword [edi]
mov esi, eax
imul esi, esi, 0x58
add esi, 0x3f
and esi, 0xfffffff8
mov dword [esp + 0x10], eax
lea edx, [esi + 0x264]
mov dword [esp + 0x28], ecx
call fcn.10046e8d
mov ebx, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x30], ebx
cmp byte [eax + 0x38], 0
je 0x10086133
mov edx, ebx
mov ecx, eax
call fcn.10046cee
jmp 0x100866fe
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x48]
mov dword [ebx + 0x1c], eax
mov eax, dword [esp + 0x14]
mov dword [ebx], edi
mov dword [ebx + 4], eax
call fcn.1005a5a6
mov dword [ebx + 0x18], eax
lea eax, [ebx + esi]
mov dword [esp + 0x5c], eax
mov dword [ebx + 0x20], eax
mov eax, dword [ebp + 0x14]
mov word [ebx + 0xa], ax
movsd xmm0, qword [edi + 0x1b8]
movsd qword [ebx + 0x28], xmm0
mov ecx, dword [esp + 0x5c]
lea eax, [ebx + 0x38]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x28]
add ecx, 0x160
test byte [eax + 0x34], 0x20
mov eax, dword [ebp + 0x10]
push 0
pop edx
cmovne eax, edx
push 0x104
xor esi, esi
push esi
push ecx
mov dword [esp + 0x40], ecx
mov dword [ebp + 0x10], eax
call fcn.100a56b0
mov ecx, dword [esp + 0x68]
add esp, 0xc
mov edx, edi
push dword [ebp + 0x14]
push dword [esp + 0x38]
call fcn.10081a3d
add esp, 8
cmp dword [edi + 0x15c], esi
jne 0x100861fb
mov eax, dword [edi]
test byte [eax + 0x34], 8
jne 0x100861fb
mov edx, dword [ebp + 8]
lea ecx, [esp + 0xc0]
mov dword [esp + 0xc0], 0x100694cc
mov dword [esp + 0xc4], esi
mov dword [esp + 0xc8], edi
call fcn.10065416
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x5c]
push 0x45
call fcn.10081b7e
pop ecx
cmp dword [ebp + 8], esi
je 0x10086235
cmp dword [esp + 0x10], esi
je 0x10086224
mov ecx, dword [ebp + 8]
push 3
pop edx
call fcn.10067a6f
test eax, eax
je 0x10086235
mov edx, dword [ebp + 8]
push 8
push dword [ebx + 0x18]
mov ecx, edi
call fcn.100698db
pop ecx
pop ecx
mov eax, dword [esp + 0x14]
xor ecx, ecx
cmp cx, word [eax]
jge 0x10086270
lea edx, [eax + 0x34]
mov ebx, esi
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x34]
mov ecx, dword [eax]
mov eax, dword [edx]
mov dword [edi + ecx*4 + 4], eax
mov eax, edi
mov edi, dword [esp + 0x14]
inc dword [eax]
movsx eax, word [edi]
inc ebx
lea edx, [edx + 0x48]
cmp ebx, eax
jl 0x10086245
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x44]
mov ecx, dword [esp + 0x5c]
mov eax, dword [ecx + 0x10]
dec eax
js 0x1008629e
mov esi, dword [esp + 0x14]
mov ebx, eax
mov edi, ecx
push ebx
mov edx, edi
mov ecx, esi
call fcn.1008278d
dec ebx
pop ecx
jns 0x10086282
mov ecx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x44]
xor esi, esi
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x38], 0
jne 0x100866e6
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x100862d1
mov edx, dword [esp + 0x14]
push eax
push ecx
mov ecx, edi
call fcn.1008301c
pop ecx
pop ecx
test eax, eax
je 0x100862ce
mov eax, esi
mov byte [ebx + 0xe], 1
jmp 0x100862d1
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
or ecx, 0xffffffff
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x7c], eax
lea eax, [ebx + 0x38]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x88], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x84], esi
mov dword [esp + 0x40], eax
test edx, edx
jle 0x100866b9
movsd xmm1, qword [0x101952e8]
mov dword [esp + 0x4c], ecx
push 0xa
xor eax, eax
pop ecx
lea edi, [esp + 0xc0]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x24]
lea ecx, [edx - 1]
cmp eax, ecx
mov ecx, dword [esp + 0x14]
movsd qword [esp + 0xd8], xmm1
mov dword [esp + 0x20], esi
jne 0x10086350
mov dword [esp + 0x50], esi
jmp 0x100863c8
or dword [esp + 0x50], 0xffffffff
mov edi, eax
imul eax, eax, 0x48
lea esi, [ecx + 8]
add esi, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x60], esi
cmp eax, edx
jge 0x100863c8
mov ebx, dword [esp + 0x70]
mov edx, dword [esi + 0x2c]
mov ecx, dword [esp + 0x34]
call fcn.10081bbb
and edx, dword [esp + 0x74]
and eax, ebx
or eax, edx
mov eax, dword [esp + 0x24]
jne 0x10086394
cmp edi, eax
jne 0x100863aa
inc eax
mov dword [esp + 0x24], eax
jmp 0x100863aa
cmp edi, eax
jle 0x1008639e
test byte [esi + 0x20], 0xa
jne 0x100863bc
inc dword [esp + 0x50]
jne 0x100863bc
test byte [esi + 0x20], 8
jne 0x100863bc
mov edx, dword [esp + 0x10]
inc edi
add esi, 0x48
mov dword [esp + 0x60], esi
cmp edi, edx
jl 0x1008636f
jmp 0x100863c0
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x50]
mov dword [esp + 0x38], esi
test esi, esi
js 0x100865b3
cmp dword [esp + 0x4c], 0
jge 0x100865b3
mov esi, eax
imul eax, eax, 0x48
lea edi, [eax + 8]
mov eax, dword [esp + 0x24]
add edi, ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x60], edi
cmp eax, edx
jge 0x100865a9
imul eax, eax, 0x58
sub eax, 0xffffff80
add eax, ebx
mov dword [esp + 0x2c], eax
xor ebx, ebx
mov eax, dword [esp + 0x24]
cmp esi, eax
jle 0x10086421
test byte [edi + 0x20], 0xa
jne 0x100865a1
mov edx, dword [edi + 0x2c]
mov ecx, dword [esp + 0x34]
call fcn.10081bbb
mov esi, eax
and esi, dword [esp + 0x70]
mov ecx, edx
and ecx, dword [esp + 0x74]
or esi, ecx
je 0x10086551
cmp dword [esp + 0x38], ebx
je 0x10086451
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
jmp 0x10086461
mov eax, dword [esp + 0x70]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x6c], eax
cmp dword [edi + 0x44], ebx
jne 0x1008646a
inc dword [esp + 0x20]
mov eax, dword [edi + 0x10]
lea ecx, [esp + 0x58]
test byte [eax + 0x2a], 0x10
je 0x1008648c
mov esi, dword [esp + 0x2c]
lea eax, [esi + 8]
mov dword [esp + 0x80], eax
call fcn.10083aea
jmp 0x10086495
call fcn.100840e6
mov esi, dword [esp + 0x2c]
cmp dword [esp + 0x38], ebx
je 0x10086574
movsd xmm0, qword [esp + 0xa8]
movsd qword [esi], xmm0
movsd xmm0, qword [esp + 0xa8]
mov ecx, dword [esp + 0xb0]
mov eax, dword [esp + 0xb4]
and ecx, dword [esp + 0x70]
and eax, dword [esp + 0x74]
or ecx, eax
jne 0x10086547
cmp dword [esp + 0x20], ebx
je 0x100864eb
mov eax, dword [esp + 0x60]
cmp dword [eax + 0x44], ebx
je 0x100864eb
test dword [esp + 0x90], 0x100f3000
je 0x10086547
cmp dword [esp + 0x4c], ebx
jl 0x1008652c
movsd xmm1, qword [esp + 0xd8]
comisd xmm1, xmm0
ja 0x1008652c
comisd xmm0, xmm1
ja 0x10086547
mov ax, word [esp + 0x96]
cmp ax, word [esp + 0xc6]
ja 0x1008652c
movsd xmm0, qword [esp + 0xc8]
comisd xmm0, xmmword [esp + 0x98]
jbe 0x10086547
mov eax, dword [esp + 0x18]
push 0xa
pop ecx
lea esi, [esp + 0x90]
lea edi, [esp + 0xc0]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x4c], eax
mov edi, dword [esp + 0x60]
test byte [edi + 0x20], 8
jne 0x10086599
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
add dword [esp + 0x2c], 0x58
inc esi
add edi, 0x48
mov dword [esp + 0x18], esi
mov dword [esp + 0x60], edi
cmp esi, edx
jl 0x1008640f
jmp 0x1008659d
cmp dword [esp + 0x50], ebx
je 0x100864ac
movsd xmm0, qword [esp + 0xa8]
divsd xmm0, qword [esi]
movsd qword [esp + 0xa8], xmm0
jmp 0x100864b5
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
dec dword [esp + 0x38]
jns 0x100863d8
mov edx, dword [esp + 0xc0]
test edx, 0x40000000
je 0x100865c6
mov byte [ebx + 0xe], 2
mov edi, dword [esp + 0x40]
and dword [esp + 0x1c], edx
push 6
pop ecx
lea esi, [esp + 0xc0]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x14]
imul esi, esi, 0x48
mov edi, dword [esp + 0x40]
mov eax, dword [esi + ecx + 0x34]
mov dword [edi + 0x1c], eax
test edx, 0x200f0000
je 0x10086626
cmp word [esp + 0xbc], 0
je 0x10086613
test edx, 0x20000000
jne 0x10086613
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x20], eax
jmp 0x1008662a
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov eax, dword [edi + 0x48]
mov dword [edx + 0x20], eax
inc dword [edi + 0x48]
jmp 0x1008662e
or dword [edi + 0x20], 0xffffffff
mov edi, dword [esp + 0x44]
mov edx, dword [esi + ecx + 0x34]
mov ecx, dword [esp + 0x34]
call fcn.10081bbb
mov ecx, dword [esp + 0x40]
movsd xmm1, qword [esp + 0xc8]
not eax
and dword [esp + 0x70], eax
mov eax, dword [esp + 0x4c]
not edx
and dword [esp + 0x74], edx
comisd xmm1, xmmword [0x10195208]
mov byte [ecx + 0x34], al
jb 0x10086679
movsd xmm0, qword [edi + 0x1b8]
mulsd xmm0, xmm1
movsd qword [edi + 0x1b8], xmm0
mov eax, dword [esp + 0x14]
mov eax, dword [esi + eax + 0x4c]
test eax, eax
je 0x10086692
test dword [esp + 0xc0], 0xf0000
je 0x100866d6
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x10]
add ecx, 0x58
inc eax
mov dword [esp + 0x40], ecx
xor esi, esi
or ecx, 0xffffffff
mov dword [esp + 0x84], eax
cmp eax, edx
jl 0x10086314
cmp dword [edi + 0x44], esi
jne 0x100866e6
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x38], 0
jne 0x100866e6
test edx, edx
je 0x10086707
mov eax, dword [esp + 0x40]
mov ax, word [eax - 0x52]
jmp 0x10086709
push dword [eax]
push 0x10194940
push edi
call fcn.100488d3
add esp, 0xc
movsd xmm0, qword [ebx + 0x28]
mov ecx, dword [esp + 0x28]
mov edx, ebx
movsd qword [edi + 0x1b8], xmm0
call fcn.10085ff4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov word [ebx + 8], ax
mov eax, dword [esp + 0x1c]
and eax, 0x2000000
mov dword [esp + 0x1c], eax
je 0x1008672e
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x1008672e
mov ax, word [edx]
mov word [ebx + 8], ax
mov eax, dword [esp + 0x1c]
test byte [ebp + 0x14], 4
je 0x10086743
test eax, eax
je 0x10086743
mov byte [ebx + 0xc], 1
and dword [ebx + 0x38], 0xffbfffff
mov edx, ecx
mov ecx, edi
call fcn.1006f6d3
mov ecx, dword [esp + 0x10]
movsd xmm0, qword [0x10195208]
or edx, 0xffffffff
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], edx
movsd qword [ebx + 0x30], xmm0
test ecx, ecx
jle 0x1008693c
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x14]
movzx eax, byte [edx + 0x34]
movsd xmm0, qword [edx + 8]
imul eax, eax, 0x48
mulsd xmm0, qword [ebx + 0x30]
add ecx, 8
add eax, ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x1c], eax
mov eax, dword [eax + 0x10]
movsd qword [ebx + 0x30], xmm0
mov edx, dword [eax + 0x40]
mov dword [esp + 0x38], eax
call fcn.10078e46
mov ecx, dword [esp + 0x38]
mov edx, eax
mov al, byte [ecx + 0x2a]
mov dword [esp + 0x30], edx
test al, 2
jne 0x1008689a
cmp dword [ecx + 0xc], esi
jne 0x1008689a
mov edi, dword [esp + 0x3c]
test dword [edi], 0x8000000
mov edi, dword [esp + 0x44]
je 0x1008680f
mov edx, ecx
mov ecx, dword [esp + 0x28]
call fcn.10080ccc
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x48]
mov esi, eax
xor eax, eax
push eax
push eax
push dword [edx + 0x2c]
mov edx, 0x87
call fcn.1005a4a8
mov ecx, dword [esp + 0x54]
add esp, 0xc
mov edx, eax
push 0xfffffffffffffff6
jmp 0x10086880
test al, 0x10
jne 0x1008689a
mov eax, dword [esp + 0x3c]
test dword [eax], 0x400000
jne 0x1008688a
test byte [ebp + 0x14], 0x10
jne 0x1008688a
xor eax, eax
cmp byte [ebx + 0xc], al
setne al
add eax, 0x27
push eax
push ecx
push edx
mov edx, dword [esp + 0x28]
mov ecx, edi
mov edx, dword [edx + 0x2c]
call fcn.10073a6d
add esp, 0xc
cmp byte [ebx + 0xc], 0
jne 0x1008689a
mov eax, dword [esp + 0x38]
push 0x40
pop ecx
cmp word [eax + 0x26], cx
jge 0x1008689a
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 0x38]
mov ecx, dword [eax + 0x3c]
jmp 0x1008686e
shrd edx, ecx, 1
shr ecx, 1
inc esi
mov eax, edx
or eax, ecx
jne 0x10086867
mov eax, dword [esp + 0x48]
push 0xfffffffffffffff2
mov edx, dword [eax + 0x1c]
dec edx
mov ecx, eax
push esi
call fcn.1005a92f
pop ecx
pop ecx
jmp 0x1008689a
push dword [ecx]
push esi
push dword [ecx + 0x20]
mov ecx, edi
call fcn.1006c104
add esp, 0xc
mov esi, dword [esp + 0x3c]
test dword [esi], 0x20000000
je 0x100868c3
mov edx, dword [esp + 0x5c]
push esi
push dword [esp + 0x24]
mov ecx, edi
push dword [esp + 0x20]
push dword [esp + 0x28]
call fcn.10083505
add esp, 0x10
jmp 0x100868f7
test dword [esi], 0xf0000
je 0x100868f7
mov esi, dword [esi + 0x10]
mov edx, esi
mov ecx, edi
call fcn.1006fa3d
mov ecx, dword [esp + 0x48]
push 0xfffffffffffffff0
push eax
push dword [esp + 0x38]
push dword [esi + 0x24]
mov esi, dword [esp + 0x4c]
push dword [esi + 0x20]
push 0x27
pop edx
call fcn.1005a4f9
add esp, 0x14
mov edx, dword [esp + 0x30]
mov ecx, edi
call fcn.1006f6d3
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x5c]
mov edx, dword [eax + 0x2c]
mov ecx, dword [ecx + 4]
call fcn.10081bbb
add esi, 0x58
not eax
and dword [esp + 0x18], eax
not edx
and dword [esp + 0x20], edx
dec dword [esp + 0x2c]
push 0
mov dword [esp + 0x40], esi
pop esi
jne 0x10086774
mov ecx, dword [esp + 0x10]
or edx, 0xffffffff
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x1c]
mov dword [ebx + 0x10], eax
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x38], 0
jne 0x100866e6
mov dword [esp + 0x18], edx
test ecx, ecx
jle 0x100869b1
lea edx, [ebx + 0x64]
mov dword [esp + 0x20], edx
movzx eax, byte [edx + 8]
push dword [ebp + 0x14]
mov ecx, edi
push eax
lea eax, [edx - 0x2c]
mov edx, dword [esp + 0x1c]
push esi
push eax
call fcn.10084f27
push dword [esp + 0x28]
mov edx, esi
push dword [esp + 0x68]
mov ecx, ebx
push dword [ebp + 0x14]
call fcn.10085176
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x3c]
add esp, 0x1c
mov ecx, dword [edx]
inc esi
add edx, 0x58
mov dword [esp + 0x54], eax
mov dword [ebx + 0x14], ecx
mov dword [esp + 0x20], edx
cmp esi, dword [esp + 0x10]
jl 0x10086963
mov eax, ebx
jmp 0x10086700