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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
mov edx, dword [ebp + 0x10]
push 0xffffffffffffffff
push 0x1009ef0f
push eax
mov dword fs:[0], esp
sub esp, 0x104
push esi
push edi
mov ecx, 9
mov esi, edx
lea edi, [esp + 0xb8]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [edx + 0x1c]
xor edi, edi
cmp esi, edi
je 0x8c6ce2
mov eax, dword [edx + 8]
mov ecx, eax
and ecx, 0xfff
cmp ecx, 0x25
je 0x8c6cc2
test eax, 0x20000000
je 0x8c6ce2
mov ecx, 8
lea edi, [esp + 0xe0]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0xe0]
mov dword [esp + 0xd4], ecx
xor edi, edi
jmp 0x8c6ce9
mov ecx, dword [esp + 0xd4]
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x34], edi
mov dword [esp + 0x20], edi
cmp ecx, edi
je 0x8c6d2a
mov esi, eax
and esi, 0xfff
cmp esi, 0x25
je 0x8c6d10
test eax, 0x20000000
je 0x8c6d2a
and dword [ecx + 8], 0xffffdfff
mov dword [ecx + 0xc], edi
mov ecx, dword [esp + 0xd4]
mov eax, dword [esp + 0xc0]
jmp 0x8c6d36
and eax, 0xffffdfff
mov dword [esp + 0xc0], eax
cmp ecx, edi
je 0x8c6d51
mov esi, eax
and esi, 0xfff
cmp esi, 0x25
je 0x8c6d4e
test eax, 0x20000000
je 0x8c6d51
mov eax, dword [ecx + 8]
shr eax, 0xe
and al, 1
mov byte [esp + 0xf], al
mov eax, dword [edx + 0x1c]
mov dword [esp + 0x1c], edi
cmp eax, edi
je 0x8c6d86
mov ecx, dword [edx + 8]
mov edx, ecx
and edx, 0xfff
cmp edx, 0x25
je 0x8c6d7d
test ecx, 0x20000000
je 0x8c6d86
mov edi, dword [eax + 0x14]
mov dword [esp + 0x28], edi
jmp 0x8c6d8c
mov dword [esp + 0x28], eax
mov edi, eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edi]
mov eax, dword [eax + 4]
lea ecx, [esp + 0x1c]
push ecx
push edx
push edi
call eax
add esp, 0xc
mov dword [esp + 8], eax
test eax, eax
js 0x8c7177
cmp dword [esp + 0x1c], 0
je 0x8c7177
mov ecx, dword [edi]
mov eax, dword [ecx + 0xc]
lea edx, [esp + 0x20]
push edx
push edi
call eax
add esp, 8
test eax, eax
jns 0x8c6dd5
mov dword [esp + 0x20], 0
jmp 0x8c6de9
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0x20
call fcn.008ce41c
mov dword [esp + 0x34], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x1c]
test edx, edx
je 0x8c6e0f
mov eax, dword [ecx + 8]
mov esi, eax
and esi, 0xfff
cmp esi, 0x25
je 0x8c6e0a
test eax, 0x20000000
je 0x8c6e0f
mov eax, dword [edx + 8]
jmp 0x8c6e12
mov eax, dword [ecx + 8]
xor esi, esi
and eax, 0xfff0000
mov dword [esp + 0x38], eax
mov dword [esp + 0x10], esi
cmp dword [esp + 0x1c], esi
jbe 0x8c7173
jmp 0x8c6e31
mov edi, dword [esp + 0x28]
push esi
push 0x100ab780
lea edx, [esp + 0xac]
push 0x14
push edx
call fcn.008fa8a1
mov edx, dword [ebp + 0xc]
lea ecx, [esp + 0x34]
push ecx
push esi
mov dword [ebx + 0x1c], esi
mov eax, dword [edi]
mov eax, dword [eax + 8]
push edx
push edi
mov dword [esp + 0x44], 0
call eax
add esp, 0x20
mov dword [esp + 8], eax
test eax, eax
js 0x8c7173
mov edx, dword [esp + 0x24]
test edx, edx
je 0x8c7173
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], edi
mov dword [esp + 0x30], ecx
cmp eax, 0x30000
je 0x8c6ec9
cmp eax, 0x20000
je 0x8c6ec9
lea ecx, [esp + 0xb8]
call fcn.008c1edc
test al, 0x10
jne 0x8c714b
mov edx, dword [esp + 0x24]
mov dword [esp + 0x18], edx
jmp 0x8c6f4f
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x14]
push eax
push ecx
mov ecx, dword [ebp + 0x10]
lea eax, [esp + 0x20]
call fcn.008c6bcc
test al, al
jne 0x8c6f3b
cmp byte [esp + 0xf], al
je 0x8c713a
xor edi, edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x114], edi
mov eax, dword [ebx + 0x10]
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0xa8]
push ecx
push eax
call edx
mov dword [esp + 0x120], 0xffffffff
mov eax, dword [esp + 0x1c]
add esp, 0xc
cmp eax, edi
je 0x8c713a
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
add esp, 4
jmp 0x8c713a
mov edi, dword [esp + 0x14]
mov ecx, dword [ebp + 8]
push edi
add ecx, 0x20
call fcn.008ce41c
mov dword [esp + 0x30], eax
xor eax, eax
cmp edi, eax
je 0x8c714b
cmp dword [esp + 0x30], eax
jne 0x8c701e
mov dword [esp + 8], eax
lea edx, [esp + 8]
push edx
mov dword [esp + 0x118], 1
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0xa8]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov esi, eax
xor edx, edx
add esp, 0xc
cmp esi, edx
jl 0x8c6fef
mov al, byte [ebx + 0xd]
mov cl, byte [ebx + 0xc]
mov byte [esp + 0x50], cl
mov ecx, dword [esp + 8]
mov byte [esp + 0x51], al
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edx
mov dword [esp + 0x54], ecx
mov byte [esp + 0x58], 1
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 0x14], edx
mov byte [esp + 0x114], 2
mov ecx, dword [esp + 0x18]
push edi
push ecx
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x4c]
push edx
add ecx, 0x20
call fcn.008cca9c
mov esi, eax
mov dword [esp + 0x114], 0xffffffff
mov eax, dword [esp + 8]
test eax, eax
je 0x8c700d
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
add esp, 4
mov dword [esp + 8], esi
test esi, esi
js 0x8c7173
jmp 0x8c7136
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
lea esi, [esp + 0x84]
mov dword [esp + 0x114], 3
call fcn.00882a7c
mov eax, dword [esp + 0x30]
mov byte [esp + 0x114], 5
mov eax, dword [eax + 0xc]
add eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
lea eax, [ecx + edx*2]
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x3c]
push ecx
mov ecx, esi
mov dword [esp + 0x44], eax
call fcn.00885afc
mov dword [esp + 0x30], 0
mov byte [esp + 0x118], 6
mov eax, dword [ebx + 0x10]
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x8c]
push ecx
push eax
call edx
mov esi, eax
xor edx, edx
add esp, 0x10
cmp esi, edx
jl 0x8c70fb
mov al, byte [ebx + 0xd]
mov cl, byte [ebx + 0xc]
mov byte [esp + 0x70], cl
mov ecx, dword [ebx + 0x18]
mov byte [esp + 0x71], al
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edx
mov dword [esp + 0x74], eax
mov byte [esp + 0x78], dl
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], 0xffffffff
mov dword [esp + 0x14], edx
mov ecx, dword [ebp + 8]
mov byte [esp + 0x114], 7
mov edx, dword [esp + 0x18]
push edi
push edx
lea eax, [esp + 0x6c]
push eax
add ecx, 0x20
call fcn.008cca9c
mov esi, eax
mov byte [esp + 0x114], 5
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x8c7116
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
add esp, 4
mov dword [esp + 8], esi
mov dword [esp + 0x114], 0xffffffff
test esi, esi
js 0x8c7166
lea eax, [esp + 0x84]
push eax
call fcn.00882aac
mov esi, dword [esp + 0x10]
inc esi
mov dword [esp + 0x10], esi
cmp esi, dword [esp + 0x1c]
jb 0x8c6e2d
jmp 0x8c7173
mov eax, 0x8000004b
mov ecx, dword [esp + 0x10c]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
lea ecx, [esp + 0x84]
push ecx
call fcn.00882aac
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10c]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc