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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a69ec
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x100db690]
xor eax, esp
mov dword [esp + 0x298], eax
push ebx
push esi
push edi
mov eax, dword [0x100db690]
xor eax, esp
push eax
lea eax, [esp + 0x2b0]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [esp + 0x38], eax
xor eax, eax
mov word [esp + 0x84], ax
xor edi, edi
push 0xa
mov eax, 0x100d1b24
lea esi, [esp + 0x84]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x9c], 7
mov dword [esp + 0x98], edi
call fcn.10004870
mov dword [esp + 0x2b8], edi
push 0x206
lea edx, [esp + 0xa2]
xor ecx, ecx
push edi
push edx
mov dword [esp + 0x50], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x28], edi
mov word [esp + 0xa8], cx
call fcn.1002e520
xor eax, eax
add esp, 0xc
mov word [esp + 0x68], ax
push edi
mov eax, 0x100d1844
lea esi, [esp + 0x68]
mov dword [esp + 0x34], edi
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], edi
call fcn.10004870
mov byte [esp + 0x2b8], 1
xor esi, esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], edi
cmp ebx, edi
jne 0x1000c797
mov ebx, 0x80070057
jmp 0x1000cbcc
cmp dword [esp + 0x38], edi
jne 0x1000c7a7
mov ebx, 0x80070057
jmp 0x1000cbcc
cmp dword [esp + 0x40], edi
jne 0x1000c7b7
mov ebx, 0x80070057
jmp 0x1000cbcc
cmp dword [esp + 0x3c], edi
jne 0x1000c7c7
mov ebx, 0x80070057
jmp 0x1000cbcc
cmp dword [esp + 0x98], 8
mov ecx, dword [esp + 0x84]
jae 0x1000c7df
lea ecx, [esp + 0x84]
lea edx, [esp + 0x44]
push edx
lea ebx, [esp + 0x38]
call fcn.1000c4d0
mov ebx, eax
add esp, 4
test ebx, ebx
jl 0x1000cb80
push str.SELECT__FROM_Win32_
lea eax, [esp + 0xa0]
push 0x104
push eax
call fcn.1002e493
mov ecx, dword [esp + 0x6c]
push ecx
lea edx, [esp + 0xd4]
push 0xf0
push edx
call fcn.1002e493
add esp, 0x18
lea eax, [esp + 0x5c]
push eax
lea edi, [esp + 0xa0]
call fcn.1000c3e0
mov edi, eax
lea ebx, [esp + 0x48]
mov byte [esp + 0x2b8], 2
call fcn.1000c350
mov byte [esp + 0x2b8], 3
mov ecx, dword [edi]
test ecx, ecx
je 0x1000c861
mov ecx, dword [ecx]
jmp 0x1000c863
xor ecx, ecx
mov eax, dword [eax]
test eax, eax
je 0x1000c86d
mov edx, dword [eax]
jmp 0x1000c86f
xor edx, edx
mov eax, dword [esp + 0x34]
mov edi, dword [eax]
lea ebx, [esp + 0x24]
push ebx
push 0
push 0x30
push ecx
mov ecx, dword [edi + 0x50]
push edx
push eax
call ecx
lea edi, [esp + 0x48]
mov ebx, eax
call fcn.1000c480
lea edi, [esp + 0x5c]
mov byte [esp + 0x2b8], 1
call fcn.1000c480
test ebx, ebx
jl 0x1000cb80
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1000cb7b
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x20]
push ecx
push 1
push 0x2710
push eax
call edx
test eax, eax
jl 0x1000cb10
cmp dword [esp + 0x30], 0
je 0x1000cb55
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
push 0
push 0
lea edx, [esp + 0x54]
push edx
mov edx, dword [esp + 0x44]
push 0
push edx
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jl 0x1000cb43
mov ax, word [esp + 0x4c]
cmp ax, 1
je 0x1000cb4a
cmp ax, 8
jne 0x1000c96a
mov eax, dword [esp + 0x54]
test eax, eax
je 0x1000cb7b
lea ecx, [esp + 0x64]
push ecx
call fcn.10004600
cmp dword [esp + 0x7c], 8
mov eax, dword [esp + 0x68]
jae 0x1000c94b
lea eax, [esp + 0x68]
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x18]
push ecx
push eax
call fcn.1001e9f0
mov ebx, eax
add esp, 0xc
test ebx, ebx
jl 0x1000cb80
jmp 0x1000c9bb
cmp ax, 3
jne 0x1000cb7b
push 0x41
mov dword [esp + 0x1c], 0x41
call fcn.1002e03d
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
je 0x1000cb74
mov edx, dword [esp + 0x18]
push edx
push 0
push eax
call fcn.1002e520
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push eax
push 0x100d1b6c
push ecx
push edx
call fcn.1002ffe3
add esp, 0x1c
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 0x10]
cmp eax, ecx
jbe 0x1000c9e9
add ecx, ecx
cmp eax, ecx
ja 0x1000c9e9
mov ecx, dword [esp + 0x14]
push 0
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x18]
push eax
push ecx
call fcn.1001f4c0
mov eax, dword [esp + 0x28]
add esp, 0x10
cmp dword [esp + 0x10], 0
jne 0x1000ca31
mov dword [esp + 0x20], eax
inc eax
push eax
call fcn.1002e03d
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
je 0x1000cb74
mov edx, dword [esp + 0x18]
inc edx
push edx
push 0
push eax
call fcn.1002e520
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push eax
push ecx
inc eax
push eax
push edx
call fcn.1002e730
add esp, 0x1c
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
lea ebx, [edi + eax + 1]
push ebx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], ebx
call fcn.1002e03d
mov esi, eax
add esp, 4
test esi, esi
je 0x1000cb74
push ebx
push 0
push esi
call fcn.1002e520
mov ebx, dword [esp + 0x34]
push edi
push ebx
push edi
push esi
call fcn.1002e730
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
push eax
add edi, esi
push edi
call fcn.1002e730
mov edx, dword [esp + 0x4c]
push 1
push 0x100d1b70
add edi, edx
push 1
push edi
call fcn.1002e730
mov eax, dword [esp + 0x4c]
xor edi, edi
add esp, 0x3c
cmp eax, edi
je 0x1000cab0
push eax
call fcn.1002e59a
add esp, 4
mov dword [esp + 0x10], edi
cmp ebx, edi
je 0x1000cac1
push ebx
call fcn.1002e59a
add esp, 4
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x1000cad6
push eax
call fcn.1002e59a
add esp, 4
mov dword [esp + 0x14], edi
lea eax, [esp + 0x4c]
push eax
call dword [0x100a8378]
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
lea edx, [esp + 0x30]
push edx
lea edx, [esp + 0x20]
push edx
push 1
push 0x2710
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp eax, edi
jge 0x1000c8d7
test eax, eax
jne 0x1000cb10
call dword [0x100a8200]
test eax, 0x20000000
je 0x1000cb2d
test eax, eax
jg 0x1000cb1f
mov ebx, eax
jmp 0x1000cb80
and eax, 0xffff
or eax, 0xa0070000
mov ebx, eax
jmp 0x1000cb80
test eax, eax
jg 0x1000cb35
mov ebx, eax
jmp 0x1000cb80
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
jmp 0x1000cb80
lea ecx, [esp + 0x4c]
push ecx
jmp 0x1000cb4f
lea edx, [esp + 0x4c]
push edx
call dword [0x100a8378]
mov eax, dword [esp + 0x2c]
test eax, eax
jle 0x1000cb70
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
dec eax
mov byte [eax + esi], 0
mov dword [ecx], esi
xor esi, esi
mov dword [edx], eax
xor ebx, ebx
jmp 0x1000cb80
mov ebx, 0x8007000e
jmp 0x1000cb80
mov ebx, 0x80004005
mov eax, dword [esp + 0x14]
xor edi, edi
cmp eax, edi
je 0x1000cb97
push eax
call fcn.1002e59a
add esp, 4
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x28]
cmp eax, edi
je 0x1000cba8
push eax
call fcn.1002e59a
add esp, 4
cmp esi, edi
je 0x1000cbb5
push esi
call fcn.1002e59a
add esp, 4
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x1000cbca
push eax
call fcn.1002e59a
add esp, 4
mov dword [esp + 0x10], edi
xor edi, edi
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x1000cbe0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x24]
cmp eax, edi
je 0x1000cbf4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x24], edi
mov eax, dword [esp + 0x34]
cmp eax, edi
je 0x1000cc04
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x44]
cmp eax, edi
je 0x1000cc14
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, 8
cmp dword [esp + 0x7c], esi
jb 0x1000cc2c
mov eax, dword [esp + 0x68]
push eax
call fcn.1002e0fe
add esp, 4
xor ecx, ecx
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], edi
mov word [esp + 0x68], cx
cmp dword [esp + 0x98], esi
jb 0x1000cc58
mov edx, dword [esp + 0x84]
push edx
call fcn.1002e0fe
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x2b0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x298]
xor ecx, esp
call fcn.1002e502
mov esp, ebp
pop ebp
ret