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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x168
mov esi, esp
mov dword [esi + 0x150], ebp
mov dword [esi + 0x154], esp
mov dword [esi + 0x160], 0xffffffff
mov dword [esi + 0x15c], 0x1008caa0
mov edi, dword [ebp + 0xc]
lea eax, [esi + 0x158]
mov ecx, dword fs:[0]
mov dword [esi + 0x158], ecx
mov dword fs:[0], eax
mov eax, dword [edi]
test eax, eax
je 0x10086f38
xor ecx, ecx
cmp eax, 1
jne 0x10086f3f
cmp dword [edi + 0x14], 0
jne 0x10086f3f
mov ecx, dword [edi + 0xc]
xor edx, edx
sub ecx, dword [edi + 0x10]
cmovb ecx, edx
test ecx, ecx
jns 0x10086f3f
mov bl, 2
cmp eax, 1
jne 0x100871ed
mov eax, dword [edi + 0xc]
test eax, eax
je 0x10087700
push 1
push eax
push dword [edi + 8]
call fcn.10013780
add esp, 0xc
jmp 0x10087700
mov ecx, dword [edi + 0xc]
test ecx, ecx
js 0x10086f0f
mov dword [esi + 0x14], ecx
mov byte [esi + 3], 1
mov dword [esi + 0x160], 0
push dword [ebp + 0x14]
call fcn.10133910
add esp, 4
movzx ecx, byte [eax + 0x20]
add cl, 0xfa
movzx edx, cl
cmp cl, 6
mov ecx, 6
cmovb ecx, edx
cmp cl, 3
je 0x100871bf
movzx ecx, cl
cmp ecx, 5
jne 0x100871c9
cmp byte [eax + 0x21], 1
jne 0x100871c9
mov eax, dword [esi + 0x14]
mov byte [esi + 3], 1
mov dword [esi + 4], eax
push dword [ebp + 0x14]
call fcn.101339a0
add esp, 4
mov ecx, dword [esi + 4]
mov edi, dword [0x1027132c]
add dword [eax + 0xd8], ecx
mov eax, dword [edi]
test eax, eax
je 0x1008721b
lea eax, [esi + 0x68]
mov dword [esi + 0x68], 2
mov dword [esi + 0x78], 0
mov dword [esi + 0xc], eax
mov eax, dword [edi]
test eax, eax
je 0x1008736e
mov byte [esi + 2], 1
mov dword [esi + 0x160], 3
push dword [ebp + 0x14]
call fcn.10133910
add esp, 4
mov eax, dword [eax + 0xd4]
mov byte [esi + 2], 1
mov dword [esi + 4], eax
push dword [ebp + 0x14]
call fcn.10133910
add esp, 4
mov ecx, dword [esi + 4]
cmp ecx, dword [eax + 0xd8]
jae 0x10087071
mov byte [esi + 2], 1
push dword [ebp + 0x14]
call fcn.10133910
add esp, 4
mov eax, dword [eax + 0xd8]
mov byte [esi + 2], 1
mov dword [esi + 4], eax
push dword [ebp + 0x14]
call fcn.101339a0
add esp, 4
mov ecx, dword [esi + 4]
mov dword [eax + 0xd4], ecx
mov byte [esi + 2], 1
push dword [ebp + 0x14]
call fcn.10133910
add esp, 4
cmp byte [eax + 0xe4], 0
jne 0x10087071
mov byte [esi + 2], 1
push dword [ebp + 0x14]
push dword [ebp + 8]
call fcn.1011e670
add esp, 8
mov eax, dword [ebp + 0xc]
test byte [eax + 0x1e], 1
je 0x100870b1
mov byte [esi + 2], 1
push dword [ebp + 0x14]
call fcn.101339a0
add esp, 4
add eax, 0x20
mov byte [esi + 2], 1
push eax
call fcn.1013cf30
add esp, 4
mov eax, dword [ebp + 0x18]
mov byte [esi + 2], 1
push eax
push dword [ebp + 0x14]
push 0
push dword [ebp + 8]
call fcn.1011cc70
add esp, 0x10
mov eax, dword [0x1027132c]
mov eax, dword [eax]
test eax, eax
je 0x1008746b
mov byte [esi + 2], 1
push dword [ebp + 0x14]
call fcn.10133910
add esp, 4
mov edx, dword [ebp + 0x10]
cmp dword [eax + 0x3c], 0
jle 0x100875de
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x1c]
mov byte [esi + 2], 0
movsd xmm1, qword [ecx + 0x10]
movsd xmm0, qword [ecx + 0x18]
movsd xmm2, qword [ecx]
movsd qword [esi + 0xa8], xmm1
movsd xmm1, qword [ecx + 8]
movsd qword [esi + 0xb0], xmm0
movsd qword [esi + 0x98], xmm2
lea ecx, [esi + 0x90]
movsd qword [esi + 0xa0], xmm1
mov byte [esi + 0x90], 0
push eax
push dword [ebp + 0x14]
push edx
push ecx
push dword [ebp + 8]
call fcn.10083870
add esp, 0x14
cmp dword [esi + 0x68], 2
je 0x100876fe
lea eax, [esi + 0x60]
mov byte [esi + 0xb], 0
mov dword [esi + 0x160], 2
push eax
push dword [esi + 0xc]
call fcn.1014a960
add esp, 8
mov eax, dword [esi + 0x68]
cmp eax, 2
je 0x100876fe
mov ecx, dword [esi + 0x64]
mov dword [esi + 4], eax
mov eax, dword [esi + 0x60]
mov dword [esi + 0x160], 1
push ecx
push eax
push dword [esi + 0xc]
call fcn.1014a990
add esp, 0xc
cmp dword [esi + 4], 0
je 0x100876fe
mov eax, dword [esi + 0x6c]
lock dec dword [eax]
jne 0x100876fe
lea eax, [esi + 0x6c]
mov byte [esi + 3], 0
mov dword [esi + 0x160], 0
push eax
call fcn.10006ea0
add esp, 4
jmp 0x100876fe
cmp byte [eax + 0x21], 0
jne 0x10086f8f
mov byte [esi + 3], 1
push dword [ebp + 0x14]
call fcn.10133910
add esp, 4
mov edi, dword [ebp + 0xc]
cmp byte [eax + 0x20], 6
mov eax, dword [edi]
setae bl
cmp eax, 1
je 0x10086f1a
test eax, eax
jne 0x10087700
mov eax, dword [edi + 4]
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 8]
add edi, 0x10
mov eax, dword [eax + 0x10]
mov dword [esi + 0x160], 0xffffffff
push edx
push ecx
push edi
call eax
add esp, 0xc
jmp 0x10087700
mov ebx, dword [0x10270b28]
movzx eax, byte [ebx + 8]
movzx ecx, al
lea edx, [ecx - 1]
cmp edx, 2
jb 0x10087259
test ecx, ecx
je 0x10086fbd
mov byte [esi + 3], 1
push ebx
call fcn.101c9ee0
add esp, 4
mov edi, dword [0x1027132c]
mov ebx, dword [0x10270b28]
test al, al
je 0x10086fbd
mov ecx, dword [ebx]
movzx eax, al
mov byte [esi + 3], 1
push eax
push ecx
call fcn.10149b60
add esp, 8
test al, al
mov edi, dword [0x1027132c]
mov eax, dword [0x10270b28]
je 0x10086fbd
mov edx, dword [eax]
mov ecx, dword [edx + 0x20]
test ecx, ecx
je 0x1008773c
lea edi, [edx + 0x1c]
mov eax, dword [edi]
test eax, eax
je 0x1008773c
mov dword [esi + 4], edx
add edx, 0x20
mov dword [esi + 0x18], eax
mov dword [esi + 0xc], edi
cmp ecx, 1
movsd xmm0, qword [edx]
movsd qword [esi + 0x1c], xmm0
mov edi, dword [edx + 8]
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], 0
je 0x100877c1
mov ecx, dword [edx + 8]
mov dword [esi + 0x44], ecx
movsd xmm0, qword [edx]
mov byte [esi + 3], 1
movsd qword [esi + 0x3c], xmm0
mov dword [esi + 0x38], eax
mov dword [esi + 0x48], 1
push dword [ebp + 0x14]
call fcn.10133910
add esp, 4
lea ecx, [esi + 0x18]
add eax, 0xd4
mov byte [esi + 3], 1
mov dword [esi + 0x90], ecx
lea ecx, [esi + 0x14]
mov dword [esi + 0x94], ecx
lea ecx, [esi + 0x38]
mov dword [esi + 0x98], 0x101daa00
mov dword [esi + 0x9c], ecx
mov dword [esi + 0xa0], eax
lea eax, [esi + 0x90]
mov dword [esi + 0xa4], 0x101daa00
lea ecx, [esi + 0x60]
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0xc]
mov dword [esi + 0x30], 2
mov dword [esi + 0x34], eax
lea eax, [esi + 0x2c]
push eax
push dword [esi + 4]
push ecx
call fcn.10149860
add esp, 0xc
cmp dword [esi + 0x68], 2
lea eax, [esi + 0x68]
mov dword [esi + 0xc], eax
jne 0x10087716
mov edi, dword [0x1027132c]
jmp 0x10086fd1
mov edi, dword [0x10270b2c]
movzx eax, byte [edi + 8]
mov dword [esi + 0x160], 3
movzx ecx, al
lea edx, [ecx - 1]
cmp edx, 2
jb 0x100873b0
test ecx, ecx
je 0x10086fdb
mov byte [esi + 2], 1
push edi
call fcn.101c9ee0
add esp, 4
mov edi, dword [0x10270b2c]
test al, al
je 0x10086fdb
mov ecx, dword [edi]
movzx eax, al
mov byte [esi + 2], 1
push eax
push ecx
call fcn.10149b60
add esp, 8
test al, al
mov eax, dword [0x10270b2c]
je 0x10086fdb
mov eax, dword [eax]
cmp dword [eax + 0x20], 0
je 0x10087759
lea ecx, [eax + 0x1c]
mov dword [esi + 4], ecx
mov ecx, dword [ecx]
test ecx, ecx
je 0x10087759
add eax, 0x20
mov dword [esi + 0x90], ecx
movsd xmm0, qword [eax]
movsd qword [esi + 0x94], xmm0
mov eax, dword [eax + 8]
mov byte [esi + 2], 1
mov dword [esi + 0x9c], eax
mov dword [esi + 0xa0], 0
push dword [ebp + 0x14]
call fcn.10133910
add esp, 4
lea ecx, [esi + 0x90]
add eax, 0xd8
mov byte [esi + 2], 1
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x18]
lea ecx, [esi + 0x38]
mov dword [esi + 0x20], 0x101da6f8
mov dword [esi + 0x38], eax
mov eax, dword [esi + 4]
mov dword [esi + 0x3c], 1
mov dword [esi + 0x40], eax
mov eax, dword [0x10270b2c]
mov eax, dword [eax]
push ecx
push eax
call fcn.1014a450
add esp, 8
jmp 0x10086fdb
mov edi, dword [0x10270b30]
movzx eax, byte [edi + 8]
movzx ecx, al
lea edx, [ecx - 1]
cmp edx, 2
jb 0x100874a3
test ecx, ecx
je 0x100870c0
mov byte [esi + 2], 1
push edi
call fcn.101c9ee0
add esp, 4
mov edi, dword [0x10270b30]
test al, al
je 0x100870c0
mov ecx, dword [edi]
movzx eax, al
mov byte [esi + 2], 1
push eax
push ecx
call fcn.10149b60
add esp, 8
test al, al
mov eax, dword [0x10270b30]
je 0x100870c0
mov ecx, dword [eax]
mov eax, dword [ecx + 0x20]
test eax, eax
mov dword [esi + 0x10], eax
je 0x10087773
lea eax, [ecx + 0x1c]
mov dword [esi + 4], eax
mov eax, dword [eax]
test eax, eax
je 0x10087773
add ecx, 0x20
mov dword [esi + 0x18], eax
movsd xmm0, qword [ecx]
mov dword [esi + 0x84], ecx
movsd qword [esi + 0x1c], xmm0
mov eax, dword [ecx + 8]
mov byte [esi + 2], 1
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], 0
push dword [ebp + 0x14]
call fcn.10133910
add esp, 4
mov eax, dword [eax + 0x3c]
cmp dword [esi + 0x10], 1
lea ecx, [esi + 0x8c]
mov dword [esi + 0x88], ecx
mov dword [esi + 0x8c], eax
je 0x1008778d
mov eax, dword [esi + 4]
mov eax, dword [eax]
test eax, eax
je 0x1008778d
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0x84]
movsd xmm0, qword [eax]
movsd qword [esi + 0x3c], xmm0
mov eax, dword [eax + 8]
mov byte [esi + 2], 1
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], 1
push dword [ebp + 0x14]
call fcn.10133910
add esp, 4
lea ecx, [esi + 0x18]
add eax, 0xd8
mov byte [esi + 2], 1
mov dword [esi + 0x90], ecx
lea ecx, [esi + 0x88]
mov dword [esi + 0x94], ecx
lea ecx, [esi + 0x38]
mov dword [esi + 0x98], 0x101daaa8
mov dword [esi + 0x9c], ecx
mov dword [esi + 0xa0], eax
lea eax, [esi + 0x90]
lea ecx, [esi + 0x2c]
mov dword [esi + 0xa4], 0x101da6f8
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 4]
mov dword [esi + 0x30], 2
mov dword [esi + 0x34], eax
mov eax, dword [0x10270b30]
mov eax, dword [eax]
push ecx
push eax
call fcn.1014a450
add esp, 8
jmp 0x100870c0
mov byte [esi + 2], 1
push dword [ebp + 0x14]
call fcn.10133910
add esp, 4
cmp dword [eax + 0xd8], 0
mov edx, dword [ebp + 0x10]
je 0x100870dc
mov byte [esi + 2], 1
push dword [ebp + 0x14]
call fcn.101339a0
add esp, 4
mov dword [esi + 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov byte [esi + 0x98], 0
mov byte [esi + 2], 0
movsd xmm1, qword [eax + 0x10]
movsd xmm0, qword [eax + 0x18]
movsd xmm2, qword [eax + 8]
mov edx, dword [ecx + 0x10]
movsd qword [esi + 0x4f], xmm1
movsd xmm1, qword [eax]
movsd qword [esi + 0x57], xmm0
movsd qword [esi + 0x47], xmm2
lea eax, [esi + 0x90]
mov dword [esi + 0x10], edx
movsd qword [esi + 0x3f], xmm1
movsd xmm2, qword [esi + 0x40]
movsd xmm1, qword [esi + 0x38]
movsd xmm3, qword [esi + 0x48]
movsd qword [esi + 0xa1], xmm2
movsd xmm2, qword [esi + 0x50]
movsd qword [esi + 0x99], xmm1
movsd qword [esi + 0xa9], xmm3
movsd qword [esi + 0xb1], xmm2
movsd qword [esi + 0xb8], xmm0
mov dword [esi + 0x90], 0
push eax
call fcn.10043950
add esp, 4
mov edx, dword [esi + 4]
mov eax, dword [ebp + 0x10]
test byte [edx + 0x64], 1
je 0x100876e2
mov ecx, dword [edx + 0x6c]
cmp dword [eax + 8], ecx
jbe 0x100877a7
mov eax, dword [eax + 4]
lea ecx, [ecx + ecx*2]
shl ecx, 6
cmp dword [eax + ecx], 2
je 0x100877a7
mov edi, dword [esi + 0x10]
add eax, ecx
add edx, 0x6c
mov dword [eax], 1
mov dword [eax + 4], edi
mov eax, edi
jmp 0x100876f2
mov eax, dword [esi + 0x10]
mov dword [edx + 0x64], 1
mov dword [edx + 0x68], eax
add edx, 0x6c
mov dword [edx], eax
cmp dword [esi + 0x68], 2
jne 0x10087141
mov bl, 0xc
mov eax, dword [esi + 0x158]
mov dword fs:[0], eax
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esi + 0x60]
mov byte [esi + 0xb], 1
mov dword [esi + 0x160], 2
push ecx
push eax
call fcn.1014a930
add esp, 8
mov edi, dword [0x1027132c]
jmp 0x10086fd1
mov byte [esi + 3], 1
push 0x101dab4c
push 0x22
push 0x101da60c
call fcn.101cc830
add esp, 0xc
jmp 0x100877d9
mov byte [esi + 2], 1
push 0x101dab5c
push 0x22
push 0x101da60c
call fcn.101cc830
add esp, 0xc
jmp 0x100877d9
mov byte [esi + 2], 1
push 0x101dab6c
push 0x22
push 0x101da60c
call fcn.101cc830
add esp, 0xc
jmp 0x100877d9
mov byte [esi + 2], 1
push 0x101dab6c
push 0x22
push 0x101da60c
call fcn.101cc830
add esp, 0xc
jmp 0x100877d9
mov byte [esi + 2], 0
push 0x101d65bc
push 0xb
push 0x101d6a04
call fcn.101c6857
add esp, 0xc
jmp 0x100877d9
mov byte [esi + 3], 1
push 0x101dab4c
push 0x22
push 0x101da60c
call fcn.101cc830
add esp, 0xc
ud2