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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
push ebx
push esi
mov esi, ecx
lea ecx, [esp + 0x84]
push edi
mov dword [esp + 0x34], esi
mov eax, dword [esi + 0x28]
mov dword [esp + 0x88], eax
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x8c], eax
mov eax, dword [esi + 0x30]
mov dword [esp + 0x90], eax
mov eax, dword [esi + 0x34]
mov dword [esp + 0x94], eax
inc dword [eax]
lea eax, [ebp + 0xc]
push eax
call fcn.00c66350
mov edi, dword [ebp + 8]
lea ecx, [esp + 0x24]
push dword [esp + 0x88]
mov edi, dword [edi + 8]
mov dword [esp + 0x84], edi
call fcn.00c69cb3
mov ecx, dword [esi + 0x3c]
lea eax, [esp + 0x24]
push eax
call fcn.00c7e300
lea ecx, [esp + 0x24]
mov dword [esp + 0x10], eax
call fcn.00c6988f
mov eax, dword [esp + 0x10]
xor ebx, ebx
test eax, eax
je 0xcc6c67
cmp byte [eax + 0x20], bl
je 0xcc6b10
mov ecx, dword [esi + 0x3c]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x4c], ebx
mov dword [ecx + 0xf8], eax
mov ecx, dword [esp + 0x10]
push dword [ecx + 0x10]
call fcn.00c627b1
mov edx, dword [esp + 0x80]
mov edi, ebx
mov dword [esp + 0x18], eax
mov eax, edx
shl eax, 4
push 4
mov dword [esp + 0x20], eax
mov eax, ebx
mov dword [esp + 0x28], 0xcfcc38
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
pop esi
mov dword [esp + 0x60], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], 1
mov dword [esp + 0x38], 0xcfcc3c
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x70], 0xcfcc34
mov dword [esp + 0x20], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x84], 0x47
mov dword [esp + 0x58], 0x48
mov dword [esp + 0x5c], 0x40
cmp eax, dword [ecx + 0x14]
jl 0xcc66f8
cmp eax, edx
jge 0xcc682e
mov byte [esp + 0xf], bl
cmp eax, dword [ecx + 0x14]
jge 0xcc67de
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 4]
mov dword [esp + 0x14], ecx
mov eax, dword [ecx + esi*4]
cmp word [eax + 8], bx
jne 0xcc677d
lea eax, [ecx + 4]
lea eax, [eax + esi*4]
mov dword [esp + 0x54], eax
mov ecx, dword [eax]
mov dword [esp + 0x50], ecx
cmp word [ecx + 8], 0x33
je 0xcc674b
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x50]
mov ecx, dword [ecx + esi*4]
mov eax, dword [ecx]
cmp eax, dword [edi]
mov edi, ebx
je 0xcc6a90
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + esi*4]
cmp dword [eax], 0x24
jne 0xcc675e
mov byte [esp + 0xf], 1
jmp 0xcc6767
cmp dword [eax], 0x1e
jne 0xcc6a96
mov eax, dword [esp + 0x54]
inc esi
add eax, 4
mov dword [esp + 0x54], eax
cmp word [ecx + 8], bx
je 0xcc6723
mov ecx, dword [esp + 0x14]
inc esi
mov eax, dword [ecx + esi*4]
cmp word [eax + 8], 0x41
jne 0xcc67be
mov edi, dword [esp + 0x14]
mov ecx, ebx
inc esi
mov eax, dword [edi + esi*4]
movzx eax, word [eax + 8]
cmp ax, word [esp + 0x84]
jne 0xcc67a3
inc ecx
jmp 0xcc678e
cmp ax, word [esp + 0x58]
jne 0xcc67b1
sub ecx, 1
js 0xcc67bc
jmp 0xcc678e
cmp ax, word [esp + 0x5c]
jne 0xcc678e
test ecx, ecx
jne 0xcc678e
mov edi, ebx
cmp dword [esp + 0x4c], edx
jge 0xcc67de
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
mov eax, dword [eax]
add eax, ecx
lea ecx, [esp + 0x60]
push eax
call fcn.00cd0cdf
jmp 0xcc67f3
lea ecx, [esp + 0x60]
call fcn.00c6cfa0
mov dword [esp + 0x60], ebx
mov dword [esp + 0x6c], 1
lea eax, [esp + 0xf]
push eax
lea ecx, [esp + 0x3c]
call fcn.00cc7120
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x28]
call fcn.00cc7099
mov eax, dword [esp + 0x4c]
sub dword [esp + 0x1c], 0x10
inc eax
mov edx, dword [esp + 0x80]
inc esi
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x4c], eax
jmp 0xcc66eb
push dword [ecx + 0x10]
call fcn.00ccf0b3
mov eax, dword [esp + 0x10]
push 4
pop esi
mov dword [esp + 0x14], 1
cmp dword [eax + 0x14], 1
jl 0xcc6982
mov eax, dword [esp + 0x28]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], ebx
mov edx, dword [eax + 4]
jmp 0xcc687b
mov eax, dword [edx + esi*4]
cmp dword [eax], 0x24
je 0xcc687a
cmp dword [eax], 0x1e
jne 0xcc687b
mov eax, 0x100
mov dword [esp + 0x1c], eax
inc esi
mov eax, dword [edx + esi*4]
cmp word [eax + 8], bx
je 0xcc6864
xor edi, edi
lea edx, [edx + esi*4]
inc edi
mov ecx, ebx
add edx, 4
mov eax, dword [edx]
movzx eax, word [eax + 8]
cmp ax, word [esp + 0x84]
jne 0xcc68a2
inc ecx
jmp 0xcc691c
cmp ax, word [esp + 0x58]
jne 0xcc6911
sub ecx, 1
jns 0xcc691c
mov eax, dword [esp + 0x4c]
lea ecx, [esi + edi]
mov edi, dword [esp + 0x34]
mov dword [esp + 0x50], ecx
cmp dword [esp + 0x14], eax
jle 0xcc6922
lea eax, [esi + 2]
push ecx
mov ecx, dword [edi + 0x3c]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x24]
call fcn.00c6ec40
test eax, eax
js 0xcc6aad
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x70]
mov eax, dword [eax + 4]
mov eax, dword [eax + esi*4]
push dword [eax]
call fcn.00c6515f
mov eax, dword [esp + 0x1c]
push 1
or eax, 0x200
push eax
lea eax, [esp + 0x68]
push eax
jmp 0xcc6949
cmp ax, word [esp + 0x5c]
jne 0xcc691c
test ecx, ecx
je 0xcc68ae
inc edi
jmp 0xcc688c
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 4]
lea ecx, [esp + 0x70]
mov eax, dword [eax + esi*4]
push dword [eax]
call fcn.00c6515f
mov eax, dword [esp + 0x1c]
push 1
or eax, 0x200
push eax
mov eax, dword [esp + 0x28]
push dword [eax]
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 4]
mov eax, dword [eax + esi*4]
push dword [eax]
call fcn.00c6a81b
mov esi, dword [esp + 0x50]
mov ecx, dword [esp + 0x14]
inc esi
mov eax, dword [esp + 0x10]
inc ecx
add dword [esp + 0x20], 4
mov dword [esp + 0x14], ecx
cmp ecx, dword [eax + 0x14]
jle 0xcc6857
mov edi, dword [esp + 0x74]
mov dword [esp + 0x20], edi
lea ecx, [esp + 0x60]
call fcn.00c6cfa0
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x98]
push str._COM_EVENTOBJ
mov dword [esp + 0x70], 6
lea eax, [esi + 0x40]
mov dword [esp + 0x64], eax
call fcn.00c69cb3
mov eax, dword [esp + 0x6c]
sub eax, 6
neg eax
push 1
sbb eax, eax
not eax
and eax, dword [esp + 0x64]
push ebx
push eax
lea eax, [esp + 0xa4]
push eax
call fcn.00c6a81b
lea ecx, [esp + 0x98]
call fcn.00c6988f
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x3c]
push ebx
push ebx
mov eax, dword [eax + 0x10]
inc eax
push eax
call fcn.00cd3a2a
mov edx, dword [ebp + 8]
mov esi, dword [edx + 8]
test esi, esi
je 0xcc6a47
mov eax, dword [esp + 0x3c]
sub eax, edi
mov dword [esp + 0x58], eax
mov eax, dword [eax + edi]
mov ecx, esi
cmp byte [eax], 0
je 0xcc6a33
sub esi, ebx
sub esp, 0x10
dec esi
mov edi, esp
shl esi, 4
add esi, dword [edx]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x30]
mov ecx, dword [edi]
call fcn.00cc6e71
mov edx, dword [ebp + 8]
add esp, 0x10
mov ecx, dword [edx + 8]
mov eax, dword [esp + 0x58]
inc ebx
add edi, 4
mov esi, ecx
mov dword [esp + 0x20], edi
cmp ebx, ecx
jb 0xcc6a04
xor ebx, ebx
mov ecx, 0xd32380
call fcn.00c6a704
lea ecx, [esp + 0x70]
mov dword [esp + 0x70], 0xcfcc34
call fcn.00c667e0
push dword [esp + 0x74]
call fcn.00c7fe14
pop ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], 0xcfcc3c
call fcn.00cc6ffc
push dword [esp + 0x3c]
call fcn.00c7fe14
pop ecx
lea ecx, [esp + 0x60]
jmp 0xcc6c47
movzx eax, word [ecx + 0xa]
jmp 0xcc6a9a
movzx eax, word [eax + 0xa]
mov edi, dword [esp + 0x34]
cwde
push eax
push 0x91
mov ecx, dword [edi + 0x3c]
call fcn.00cd359c
lea ecx, [esp + 0x70]
mov dword [esp + 0x70], 0xcfcc34
call fcn.00c667e0
push dword [esp + 0x74]
call fcn.00c7fe14
pop ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], 0xcfcc3c
call fcn.00cc6ffc
push dword [esp + 0x3c]
call fcn.00c7fe14
pop ecx
lea ecx, [esp + 0x60]
call fcn.00c6cfa0
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], 0xcfcc38
call fcn.00cc6fcd
push dword [esp + 0x28]
call fcn.00c7fe14
mov ebx, 0x80004005
jmp 0xcc6c66
mov ecx, dword [esi + 0x38]
cmp dword [ecx], 0x40
jne 0xcc6b1d
call fcn.00cc702a
add esi, 0x40
mov dword [esp + 0x24], 0xcfcc38
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
cmp dword [esi + 0xc], 8
mov dword [esp + 0x38], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], 1
jne 0xcc6b4e
mov eax, dword [esi]
jmp 0xcc6b50
mov eax, ebx
mov eax, dword [eax + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
lea ecx, [esp + 0x38]
call fcn.00c6cfa0
lea eax, [esp + 0x38]
mov dword [esp + 0x44], 6
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x3c], esi
call fcn.00cc7099
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x9c]
call fcn.00c66f88
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x28]
call fcn.00cc7099
lea ecx, [esp + 0x98]
call fcn.00c6cfa0
sub edi, 1
js 0xcc6be0
mov ebx, dword [ebp + 8]
mov esi, edi
shl esi, 4
mov eax, dword [ebx]
lea ecx, [esp + 0x38]
add eax, esi
push eax
call fcn.00cd0cdf
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x28]
call fcn.00cc7099
sub esi, 0x10
sub edi, 1
jns 0xcc6bba
xor ebx, ebx
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x80]
mov eax, dword [eax + 0x14]
cmp eax, edi
jle 0xcc6c32
sub eax, edi
mov esi, ebx
test eax, eax
jle 0xcc6c32
lea eax, [esp + 0x70]
mov dword [esp + 0x70], ebx
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], 1
call fcn.00cc7099
lea ecx, [esp + 0x70]
call fcn.00c6cfa0
mov eax, dword [esp + 0x10]
inc esi
mov eax, dword [eax + 0x14]
sub eax, edi
cmp esi, eax
jl 0xcc6bfa
mov edi, dword [esp + 0x34]
lea eax, [esp + 0x24]
push eax
mov ecx, dword [edi + 0x38]
call fcn.00cc704d
lea ecx, [esp + 0x38]
call fcn.00c6cfa0
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], 0xcfcc38
call fcn.00cc6fcd
push dword [esp + 0x28]
call fcn.00c7fe14
pop ecx
lea ecx, [esp + 0x88]
call fcn.00c6988f
lea ecx, [ebp + 0xc]
call fcn.00c6988f
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0x14