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

Disassembly:
sub esp, 0x120
mov eax, dword [0x101366b4]
xor eax, esp
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x12c]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x130]
mov dword [esp + 0x14], eax
push edi
mov edi, dword [esp + 0x138]
mov eax, dword [esi + 0x80]
mov ebx, dword [esi + 0x48]
shr eax, 6
mov ebp, dword [edi + 0xe0]
and eax, 1
mov dword [esp + 0x34], eax
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x98]
push ebp
push ebx
mov dword [esp + 0x30], ebp
mov eax, dword [eax + 0x9c]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0xb0]
mov dword [esp + 0x1c], eax
call fcn.10037420
test eax, eax
je 0x100c86b4
test byte [esi + 0xa0], 0x10
je 0x100c863a
mov eax, 0xfc
mov dword [esp + 0x10], eax
jmp 0x100c8688
lea eax, [esp + 0x2c]
push eax
push dword [edi + 0xc8]
push 0x10002450
push ebp
push ebx
call fcn.1003bb10
test eax, eax
js 0x100c8c7f
xor ecx, ecx
lea eax, [esp + 0x10]
push ecx
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x20]
push dword [ecx + eax*8 + 4]
push dword [ecx + eax*8]
push dword [esp + 0x40]
push ebp
push ebx
call fcn.10033d30
test eax, eax
js 0x100c8c7f
mov eax, dword [esp + 0x10]
test al, 0xd0
jne 0x100c86ae
xor eax, eax
push eax
push eax
push eax
push 0xffffe049
push eax
push eax
push dword [edi + 0xc8]
push ebx
call fcn.100378e0
push 0xfffff88d
jmp 0x100c8c80
mov dword [edi + 0xa0], eax
and dword [edi + 0xdc], 0xffffffef
mov eax, dword [esi + 0x40]
test eax, eax
je 0x100c86ca
mov dword [eax + 0xf0], edi
jmp 0x100c86cd
mov dword [esi + 0x3c], edi
push 5
xor eax, eax
mov dword [esi + 0x40], edi
cmp dword [esp + 0x38], 0
pop edx
push 2
mov dword [edi + 0xf0], eax
pop eax
je 0x100c86ee
test byte [edi + 0xdc], 8
je 0x100c86fa
cmp dword [edi + 0xc0], eax
jne 0x100c87f1
cmp ebp, 0xffffffff
je 0x100c879d
push ebp
call fcn.100ee470
test eax, eax
je 0x100c879d
mov ecx, dword [edi + 0xc8]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [esp + 0x30]
jne 0x100c871a
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
cmp eax, 0x82
jb 0x100c873f
mov ebp, 0xfffffae7
jmp 0x100c87ce
lea eax, [esp + 0x14]
push eax
xor eax, eax
push eax
push 0x104
push esi
call fcn.100caa46
test eax, eax
js 0x100c8c7f
mov eax, dword [esp + 0x14]
xor ecx, ecx
push 0x82
mov word [eax + 0x102], cx
push dword [edi + 0xc8]
push dword [esp + 0x1c]
call fcn.10117cbd
mov eax, dword [esp + 0x20]
xor ecx, ecx
add esp, 0xc
cmp word [eax + 0x102], cx
je 0x100c8797
push 0xfffffbf2
jmp 0x100c8c80
mov dword [edi + 0xc8], eax
push 1
lea eax, [esp + 0x74]
mov dword [esp + 0x3c], 0x38
mov dword [esp + 0x48], eax
lea eax, [esp + 0x3c]
push eax
xor eax, eax
push eax
push dword [edi + 0xc8]
push ebp
push ebx
call fcn.1003b930
mov ebp, eax
test ebp, ebp
jns 0x100c88f1
xor eax, eax
push eax
push eax
push eax
push 0xffffe0bd
push eax
push dword [edi + 0xc8]
push dword [esi + 0xa4]
push ebx
call fcn.100378e0
push ebp
jmp 0x100c8c80
mov ecx, dword [esi + 0x9c]
push 4
pop eax
test cl, 1
je 0x100c8805
test cl, 0x10
cmove eax, edx
test byte [edi + 0xdc], 8
je 0x100c885c
test dword [esi + 0x80], 0x100000
je 0x100c8824
push 0xfffff3fa
jmp 0x100c8c80
push dword [esp + 0x18]
lea ecx, [esp + 0x20]
push ecx
push eax
push dword [edi + 0xc8]
push ebp
push esi
call fcn.100ca738
mov eax, dword [esi + 0x80]
test al, 0x40
jne 0x100c891e
or eax, 1
xor ebp, ebp
mov dword [esi + 0x80], eax
mov dword [edi + 0xc4], ebp
jmp 0x100c88cd
test dword [edi + 0xa0], 0x100
je 0x100c886d
or eax, sym.msjet40.dll_Ordinal_60
mov edx, 0x400000
test edx, ecx
je 0x100c8878
or eax, edx
push eax
push dword [edi + 0xc8]
lea eax, [esp + 0x24]
push eax
push ebp
push ebx
call fcn.1003bbc0
push dword [edi + 0xc8]
mov ebp, eax
push ebp
push ebx
call fcn.100309c0
cmp ebp, 0xfffffc01
jne 0x100c88c3
mov eax, dword [edi + 0xd0]
test eax, eax
je 0x100c87eb
xor ecx, ecx
push ecx
push ecx
push ecx
push 0xffffe01f
push ecx
push ecx
push eax
push ebx
call fcn.100378e0
test ebp, ebp
js 0x100c87eb
xor ebp, ebp
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x70]
push 1
push 0x38
push ecx
push ebp
push eax
push ebx
mov dword [edi + 0xe4], eax
call fcn.1003c7e0
test eax, eax
jns 0x100c88f3
jmp 0x100c8c7f
xor ebp, ebp
mov eax, dword [esp + 0x78]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x100c8939
push dword [esp + 0x74]
mov dword [edi + 8], ebp
push ebx
call fcn.1003c120
or dword [esp + 0x74], 0xffffffff
lea eax, [edi + 4]
push eax
push 1
push ebp
push esi
call fcn.100ca994
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10117cfd
add esp, 0x120
ret 0xc
lea ecx, [eax + 1]
mov dword [edi + 8], eax
mov dword [esp + 0x30], ecx
mov dword [edi + 0xc], ecx
lea ecx, [esp + 0x20]
shl eax, 4
push ecx
mov dword [esp + 0x30], eax
add eax, 0x10
push ebp
push eax
push esi
call fcn.100caafd
mov ebp, eax
test ebp, ebp
js 0x100c8c6b
imul eax, dword [esp + 0x18], 0x34
lea ecx, [edi + 4]
push ecx
push 1
mov dword [esp + 0x20], eax
add eax, 0x34
push eax
push esi
call fcn.100caafd
mov ebp, eax
test ebp, ebp
js 0x100c8c6b
mov eax, dword [esp + 0x30]
xor ecx, ecx
mov dword [edi + 0x8c], eax
lea eax, [edi + 0x84]
push eax
mov eax, dword [esp + 0x30]
push ecx
add eax, 0x10
mov dword [edi + 0x88], ecx
push eax
push esi
call fcn.100caa46
mov ebp, eax
test ebp, ebp
js 0x100c8c6b
mov eax, dword [edi + 4]
xor edx, edx
mov ecx, dword [esp + 0x18]
add ecx, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x24], ecx
cmp eax, ecx
jmp 0x100c8a72
lea eax, [esp + 0x48]
push eax
push 0x41
lea eax, [esp + 0xb0]
push eax
lea eax, [esp + 0x7c]
push eax
push ebx
push edi
push esi
call fcn.100c7957
mov ebp, eax
test ebp, ebp
js 0x100c8c6b
xor eax, eax
push eax
push 1
push dword [esp + 0x7c]
push ebx
call fcn.1003cb30
mov ebp, eax
test ebp, ebp
jns 0x100c8a2e
cmp ebp, 0xfffff9bd
jne 0x100c8c6b
mov eax, dword [esp + 0x24]
add eax, 0xffffffcc
cmp dword [esp + 0x14], eax
jb 0x100c8c6b
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x4c]
mov dword [ecx], eax
lea eax, [esp + 0xa8]
push eax
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0x28]
push dword [esp + 0x1c]
push edi
push esi
call fcn.100c7822
mov ebp, eax
test ebp, ebp
js 0x100c8c6b
mov eax, dword [esp + 0x14]
add dword [esp + 0x20], 0x10
add eax, 0x34
inc dword [esp + 0x10]
cmp eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
jb 0x100c89d6
push dword [esp + 0x74]
push ebx
call fcn.1003c120
or dword [esp + 0x74], 0xffffffff
cmp dword [esp + 0x34], 0
mov ebp, dword [esp + 0x28]
jne 0x100c8b50
push 2
pop eax
cmp dword [edi + 0xc0], eax
jne 0x100c8ac4
push edi
push esi
push ebp
push ebx
call fcn.100eeea6
mov eax, dword [esi + 0x9c]
test eax, 0x2000
je 0x100c8ac4
and eax, 0xffffffef
mov dword [esi + 0x9c], eax
cmp ebp, 0xffffffff
je 0x100c8ad3
push ebp
call fcn.100ee470
test eax, eax
jne 0x100c8b1b
push 5
lea eax, [esp + 0x4c]
mov dword [esp + 0x3c], 0x28
mov dword [esp + 0x48], eax
lea eax, [esp + 0x3c]
push eax
push dword [edi + 0xc8]
xor eax, eax
push 0x10002450
push eax
push ebp
push ebx
call fcn.1003bab0
test eax, eax
js 0x100c8c7f
mov eax, dword [esp + 0x58]
mov dword [edi + 0xb0], eax
mov eax, dword [esp + 0x5c]
mov dword [edi + 0xb4], eax
push 2
pop ecx
cmp dword [edi + 0xc0], ecx
jne 0x100c8bda
movzx eax, word [esi + 0x88]
cmp ax, cx
je 0x100c8b50
cmp eax, 3
je 0x100c8b50
push edi
push esi
call fcn.100eeaab
test eax, eax
jne 0x100c8b50
or dword [esi + 0x80], 0x2000
cmp ebp, 0xffffffff
je 0x100c891e
push ebp
call fcn.100ee470
test eax, eax
je 0x100c891e
xor esi, esi
test dword [edi + 0xdc], 0x1000
jne 0x100c8b8a
push esi
push ebp
push ebx
call fcn.1003b680
test eax, eax
jns 0x100c8b8a
push 1
push ebp
push ebx
call fcn.1003b680
or dword [edi + 0xe0], 0xffffffff
mov ebx, 0x1000ce90
or dword [edi + 0xdc], 0x800
mov ecx, ebx
push 2
pop ebp
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, ebp
cmp ax, si
jne 0x100c8ba8
sub ecx, edx
sar ecx, 1
push ecx
push ebx
push dword [edi + 0xd4]
call fcn.10116290
add esp, 0xc
test eax, eax
jne 0x100c891e
add dword [edi + 0xd4], 0xa
jmp 0x100c891e
xor eax, eax
push eax
push 0x28
lea eax, [esp + 0x50]
push eax
push dword [esp + 0x28]
push ebx
call fcn.1003c930
test eax, eax
js 0x100c8c7f
test byte [esp + 0x60], 2
jne 0x100c8c0f
or dword [edi + 0xdc], 0x20
push 2
pop eax
or dword [esi + 0x80], eax
jmp 0x100c8c45
push 0xa
push 4
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x28]
push ebx
call fcn.1003c930
test eax, eax
js 0x100c8c7f
cmp dword [esp + 0x10], 0xa
je 0x100c8c3b
cmp dword [esp + 0x10], 0xb
je 0x100c8c3b
cmp dword [esp + 0x10], 0xc
jne 0x100c8c45
or dword [edi + 0xdc], 0x8000
movzx eax, word [esi + 0x88]
push 2
pop ecx
cmp ax, cx
je 0x100c8b50
cmp eax, 3
je 0x100c8b50
test byte [esp + 0x60], 4
jmp 0x100c8b44
push dword [esp + 0x74]
push ebx
call fcn.1003c120
or dword [esp + 0x74], 0xffffffff
jmp 0x100c87eb
push eax
push esi
call fcn.100c55ec
int3