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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xf4
mov eax, dword [0x10077990]
xor eax, esp
mov dword [esp + 0xf0], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x14]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x18]
push esi
mov esi, dword [edx + 0x10]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x14], edx
mov dword [esp + 8], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 0x10], 1
mov dword [esp + 0x40], 0xffffffff
push edi
test eax, eax
je 0x1002c90c
test ebx, ebx
je 0x1002c902
cmp eax, 3
ja 0x1002c902
test eax, eax
je 0x1002c8cc
movzx ecx, word [ebx]
test cx, cx
je 0x1002c8cc
cmp ecx, 1
je 0x1002c8cc
cmp ecx, 8
jne 0x1002c902
cmp dword [ebx + 8], 0
jne 0x1002c902
cmp eax, 1
jbe 0x1002c8ea
movzx ecx, word [ebx + 0x10]
test cx, cx
je 0x1002c8ea
cmp ecx, 1
je 0x1002c8ea
cmp ecx, 8
jne 0x1002c902
cmp dword [ebx + 0x18], 0
jne 0x1002c902
cmp eax, 2
jbe 0x1002c90c
movzx eax, word [ebx + 0x20]
test ax, ax
je 0x1002c90c
cmp eax, 1
je 0x1002c90c
cmp eax, 8
je 0x1002c90c
mov edi, 0x80070057
jmp 0x1002cc45
mov eax, dword [0x1007a1e0]
push 0x10
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x1002cc1e
push 0
push eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x24]
push 6
call fcn.10031c40
mov edi, eax
test edi, edi
js 0x1002cc23
cmp dword [ebp + 0x10], 3
jb 0x1002c95c
mov edx, 1
xor ecx, ecx
cmp dx, word [ebx + 0x20]
mov eax, edx
cmove eax, ecx
mov dword [esp + 0x14], eax
push 2
push 0x30
lea eax, [esp + 0x48]
push eax
mov eax, dword [esp + 0x24]
push 0
push 0x1005e124
push 1
push dword [eax + 0x14]
push esi
call sub.msjet40.dll_Ordinal_140
mov dword [esp + 0xc], eax
test eax, eax
je 0x1002c98d
mov edi, 0x80004005
jmp 0x1002cc27
push 0
push SysReAllocStringLen
push dword [esp + 0x4c]
push esi
call sub.msjet40.dll_Ordinal_156
mov dword [esp + 0xc], eax
cmp eax, 0xfffff9bd
je 0x1002c9b1
test eax, eax
jne 0x1002cc2b
cmp dword [ebp + 0x10], 2
mov eax, 8
jbe 0x1002c9d4
cmp ax, word [ebx + 0x20]
mov eax, dword [esp + 0x14]
jne 0x1002c9d8
xor ecx, ecx
cmp dword [ebx + 0x28], ecx
cmove eax, ecx
mov dword [esp + 0x14], eax
jmp 0x1002c9d8
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x48], 0
mov dword [esp + 0x20], 0
jbe 0x1002cb50
jmp 0x1002c9f0
test eax, eax
je 0x1002cb50
xor eax, eax
push eax
push eax
mov word [esp + 0x78], ax
lea eax, [esp + 0x2c]
push eax
push 0x81
lea eax, [esp + 0x80]
push eax
push dword [esp + 0x64]
push dword [esp + 0x5c]
push esi
call sub.msjet40.dll_Ordinal_167
mov dword [esp + 0xc], eax
test eax, eax
jne 0x1002cc2b
mov eax, dword [esp + 0x24]
and eax, 0xfffffffe
cmp eax, 0x82
jae 0x1002ccaa
xor ecx, ecx
cmp dword [ebp + 0x10], 3
mov word [esp + eax + 0x70], cx
jne 0x1002ca74
mov eax, 8
cmp ax, word [ebx + 0x20]
jne 0x1002ca74
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x1002ca74
push eax
lea eax, [esp + 0x74]
push eax
call fcn.1004ae64
add esp, 8
test eax, eax
jne 0x1002cb27
push 0
push 0
lea eax, [esp + 0x3c]
push eax
push 4
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x7c]
push dword [esp + 0x5c]
push esi
call sub.msjet40.dll_Ordinal_167
mov dword [esp + 0xc], eax
test eax, eax
jne 0x1002c983
push eax
push dword [esp + 0x14]
push esi
call sub.msjet40.dll_Ordinal_159
mov dword [esp + 0xc], eax
test eax, eax
jne 0x1002c983
push eax
push eax
push dword [esp + 0x2c]
lea eax, [esp + 0x7c]
push eax
mov eax, dword [esp + 0x2c]
push dword [eax + 8]
push dword [esp + 0x24]
push esi
call sub.msjet40.dll_Ordinal_172
mov eax, dword [esp + 0x30]
push 0
push 0
push 8
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10062450]
lea eax, [esp + 0x44]
push eax
mov eax, dword [esp + 0x2c]
movsd qword [esp + 0x48], xmm0
push dword [eax + 0xc]
push dword [esp + 0x24]
push esi
call sub.msjet40.dll_Ordinal_172
push 0
push 0
push 0
push dword [esp + 0x1c]
push esi
call sub.msjet40.dll_Ordinal_179
mov dword [esp + 0xc], eax
test eax, eax
jne 0x1002c983
push 0
push 1
push dword [esp + 0x4c]
push esi
call sub.msjet40.dll_Ordinal_156
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x20]
inc eax
cmp eax, dword [esp + 0x48]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
jb 0x1002c9f0
push 0x20
call fcn.1003d386
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1002cc1e
mov dword [ebx + 4], 0
mov ecx, ebx
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx], vtable.ColumnDataWithFakeNamesAndDBTYPES.0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov eax, dword [0x10060a0c]
mov dword [ebx + 0x10], eax
mov eax, dword [0x10060a08]
push 0
mov dword [ebx + 0x14], eax
lea eax, [esp + 0x10]
push 0
push eax
mov eax, dword [esp + 0x24]
mov dword [ebx + 0x1c], 0
push dword [esp + 0x1c]
push dword [eax + 0x14]
push esi
call fcn.10089003
mov edi, eax
test edi, edi
js 0x1002cc23
push 0x10068ef8
push 0
push 0
push 1
push ebx
push 0
push 0
push 1
push dword [esp + 0x4c]
mov dword [ebx + 4], 4
push dword [esp + 0x34]
push 0
push 0
push 0
push dword [esp + 0x4c]
push 0
push dword [esp + 0x64]
call fcn.1001c790
mov edi, eax
or ecx, 0xffffffff
mov eax, dword [esp + 0x10]
test edi, edi
cmovns eax, ecx
mov dword [esp + 0x10], eax
jmp 0x1002cc23
mov edi, 0x8007000e
mov eax, dword [esp + 0xc]
test eax, eax
je 0x1002cc3d
push 0x10068de8
push eax
push edi
push dword [esp + 0x24]
call fcn.10010bd0
jmp 0x1002cc58
test edi, edi
jns 0x1002cc58
mov edx, dword [esp + 0x18]
push 0
push 0x10068de8
push edi
push dword [edx + 0x14]
push dword [edx + 0x10]
call fcn.100105d0
mov eax, dword [esp + 0x44]
cmp eax, 0xffffffff
je 0x1002cc79
push eax
push esi
call sub.msjet40.dll_Ordinal_108
cmp dword [esp + 0x44], 0xffffffff
je 0x1002cc79
push dword [esp + 0x10]
push esi
call sub.msjet40.dll_Ordinal_108
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x1002cc91
mov eax, dword [0x1007a1e0]
test eax, eax
je 0x1002cc91
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x14]
mov ecx, dword [esp + 0xfc]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1003dba2
mov esp, ebp
pop ebp
ret 0x14
call fcn.1003e83e
int3