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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov ecx, dword [ebp + 0xc]
sub esp, 0x94
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 8]
mov edx, dword [eax + 0x14]
lea esi, [edi + 8]
push ecx
push esi
call edx
test eax, eax
jl 0x1000c855
mov eax, dword [esi]
mov ecx, dword [eax + 0x30]
push esi
call ecx
xor ecx, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
test eax, eax
jbe 0x1000c3ef
mov edx, dword [edi + 8]
lea eax, [edi + 8]
push ecx
push eax
mov eax, dword [edx + 0x34]
call eax
lea ecx, [esp + 0xc]
push ecx
mov ecx, eax
call fcn.1000be50
mov edx, dword [esp + 0xc]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x1000c2b4
mov ecx, esi
lea eax, [esp + 0xc]
call fcn.10001d60
mov edx, dword [esp + 0xc]
lea eax, [esi + 1]
push eax
push edx
call fcn.1001ba79
add esp, 8
test esi, esi
jl 0x1000c580
mov eax, dword [esp + 0xc]
cmp esi, dword [eax - 8]
jg 0x1000c580
mov dword [eax - 0xc], esi
mov edx, dword [esp + 0xc]
xor ecx, ecx
mov word [edx + esi*2], cx
mov eax, dword [esp + 0xc]
cmp dword [eax - 0xc], ecx
jne 0x1000c311
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000c3dc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x1000c3dc
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x198]
mov edi, dword [esi + 0x180]
add esi, 0x180
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x3c], ecx
call fcn.1000d0b0
mov ebx, eax
mov eax, dword [ebx]
test eax, eax
je 0x1000c345
cmp eax, edi
je 0x1000c34a
call fcn.1001c363
mov ecx, dword [esp + 0x34]
cmp dword [ebx + 4], ecx
jne 0x1000c3b9
sub esp, 0x20
mov eax, esp
mov dword [esp + 0x38], esp
push eax
call fcn.1000d930
mov eax, dword [esp + 0x2c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x3c], esp
mov ebx, esp
call fcn.10001c30
lea edx, [esp + 0xa0]
add eax, 0x10
push edx
mov dword [ebx], eax
call fcn.1000f100
add esp, 0x28
lea ecx, [esp + 0x4c]
push ecx
mov ecx, eax
call fcn.1000f1b0
lea edx, [esp + 0x4c]
push edx
push esi
lea ebx, [esp + 0x24]
call fcn.1000cf80
lea eax, [esp + 0x4c]
push eax
call fcn.1000c8c0
lea ecx, [esp + 0x7c]
push ecx
call fcn.1000c8c0
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1000c3d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp + 8]
mov ecx, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, dword [esp + 0x14]
jb 0x1000c274
mov eax, dword [edi + 0x198]
mov ecx, dword [edi + 0x180]
mov esi, dword [eax]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], esi
jmp 0x1000c410
mov ecx, dword [esp + 0x1c]
mov ebx, dword [edi + 0x198]
mov eax, dword [edi + 0x180]
test ecx, ecx
je 0x1000c428
cmp ecx, eax
je 0x1000c42d
call fcn.1001c363
cmp esi, ebx
je 0x1000c7cf
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x1000c58a
call fcn.1001c363
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x1000c452
call fcn.1001c363
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x1000c591
call fcn.1001c363
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x1000c46f
call fcn.1001c363
mov esi, dword [esi + 0xc]
mov edx, dword [edi + 8]
mov edx, dword [edx + 0x38]
lea ecx, [esp + 0xc]
lea eax, [edi + 8]
push ecx
push esi
push eax
mov dword [esp + 0x18], 0
call edx
mov dword [esp + 0x14], eax
test eax, eax
je 0x1000c749
jmp 0x1000c4a0
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
lea edx, [esp + 0x38]
push edx
push 0x20005
push eax
mov eax, dword [ecx + 0x24]
call eax
test eax, eax
jne 0x1000c6ef
cmp word [esp + 0x38], 8
jne 0x1000c6ef
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x44]
call fcn.1000be50
mov edx, dword [esp + 0x10]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x1000c50a
mov ecx, esi
lea eax, [esp + 0x10]
call fcn.10001d60
mov edx, dword [esp + 0x10]
lea eax, [esi + 1]
push eax
push edx
call fcn.1001ba79
add esp, 8
test esi, esi
jl 0x1000c580
mov eax, dword [esp + 0x10]
cmp esi, dword [eax - 8]
jg 0x1000c580
mov dword [eax - 0xc], esi
mov edx, dword [esp + 0x10]
xor ecx, ecx
push ecx
mov word [edx + esi*2], cx
mov ecx, dword [esp + 0x10]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], esp
test eax, eax
je 0x1000c54e
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x14]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
mov dword [esp + 0x20], esp
mov edi, esp
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x1000c598
cmp eax, dword [esi]
jne 0x1000c598
mov ebx, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x1000c5cf
push 0x80070057
call fcn.10001e30
mov eax, dword [eax]
jmp 0x1000c448
mov eax, dword [eax]
jmp 0x1000c465
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x1000c7ca
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
lea eax, [eax + eax + 2]
push eax
add esi, 0x10
push esi
push eax
lea ecx, [ebx + 0x10]
push ecx
call fcn.1001b710
add esp, 0x10
lea edx, [esp + 0x38]
add ebx, 0x10
push edx
mov dword [edi], ebx
call fcn.1000f220
mov edi, eax
mov esi, dword [edi]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
sub esi, 0x10
add esp, 0xc
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x1000c60c
cmp eax, dword [esi]
jne 0x1000c60c
mov ebx, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x1000c643
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x1000c7ca
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
lea eax, [eax + eax + 2]
push eax
add esi, 0x10
push esi
push eax
lea ecx, [ebx + 0x10]
push ecx
call fcn.1001b710
add esp, 0x10
mov esi, dword [edi + 4]
add ebx, 0x10
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], esi
test esi, esi
je 0x1000c65d
mov edx, dword [esi]
mov eax, dword [edx + 4]
push esi
call eax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x28]
push ecx
add eax, 0x10
push eax
lea ebx, [esp + 0x78]
call fcn.1000d240
test esi, esi
je 0x1000c67f
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000c69f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
test eax, eax
je 0x1000c6af
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000c6cf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000c6ef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x1000c707
mov dword [esp + 0xc], 0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
lea edx, [esp + 0xc]
push edx
mov edx, dword [esp + 0x18]
add eax, 8
push edx
push eax
mov eax, dword [ecx + 0x3c]
call eax
lea ecx, [esp + 0x38]
push ecx
mov esi, eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test esi, esi
je 0x1000c4a0
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax + 8]
mov edx, dword [edx + 0x40]
add eax, 8
push ecx
push eax
call edx
mov eax, dword [esp + 0xc]
test eax, eax
je 0x1000c759
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp dword [esp + 0x1c], 0
jne 0x1000c765
call fcn.1001c363
mov esi, dword [esp + 0x20]
cmp byte [esi + 0x31], 0
je 0x1000c77c
call fcn.1001c363
mov edi, dword [ebp + 8]
jmp 0x1000c410
mov eax, dword [esi + 8]
cmp byte [eax + 0x31], 0
jne 0x1000c7a2
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x31], 0
jne 0x1000c79a
nop
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x31], 0
je 0x1000c790
mov edi, dword [ebp + 8]
jmp 0x1000c401
mov eax, dword [esi + 4]
cmp byte [eax + 0x31], 0
jne 0x1000c7c0
jmp 0x1000c7b0
cmp esi, dword [eax + 8]
jne 0x1000c7c0
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x31], 0
je 0x1000c7b0
mov edi, dword [ebp + 8]
mov esi, eax
jmp 0x1000c401
call fcn.10001d20
mov ecx, dword [edi + 8]
mov edx, dword [ecx + 0x44]
lea eax, [edi + 8]
push str.ScanInfo
push eax
call edx
lea esi, [edi + 0x1c0]
test eax, eax
jne 0x1000c7ee
xor ecx, ecx
jmp 0x1000c802
mov ecx, eax
lea ebx, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x1000c7f3
sub ecx, ebx
sar ecx, 1
push eax
mov ebx, ecx
mov eax, esi
call fcn.10001b90
mov ecx, dword [edi + 8]
mov edx, dword [ecx + 0x44]
lea eax, [edi + 8]
push str.CleanType
push eax
call edx
lea esi, [edi + 0x1c4]
test eax, eax
jne 0x1000c82b
xor ecx, ecx
jmp 0x1000c83f
mov ecx, eax
lea ebx, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x1000c830
sub ecx, ebx
sar ecx, 1
push eax
mov ebx, ecx
mov eax, esi
call fcn.10001b90
mov dword [edi + 0x178], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8