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

Disassembly:
sub esp, 0x134
mov eax, dword [0x10077990]
xor eax, esp
mov dword [esp + 0x130], eax
mov eax, dword [esp + 0x138]
push ebx
mov ebx, dword [esp + 0x140]
push ebp
mov ebp, dword [esp + 0x14c]
push esi
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x154]
push edi
mov dword [esp + 0x3c], eax
xor edi, edi
xor eax, eax
mov dword [esp + 0x14], ebx
push 0x2c
push eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x60]
push eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x34], edi
call fcn.1003e950
mov esi, dword [ebx + 0x10]
lea edx, [edi + 1]
mov ebx, dword [esp + 0x15c]
add esp, 0xc
mov dword [esp + 0x20], 1
cmp ebx, 2
jbe 0x1002e07c
movzx eax, word [ebp + 0x20]
test ax, ax
je 0x1002e07c
cmp eax, edx
cmovne edi, edx
mov dword [esp + 0x28], edi
xor ecx, ecx
cmp ebx, 3
jbe 0x1002e096
movzx eax, word [ebp + 0x30]
test ax, ax
je 0x1002e096
cmp eax, 1
cmovne ecx, edx
mov dword [esp + 0x34], ecx
cmp ebx, 4
ja 0x1002e719
test ebx, ebx
je 0x1002e0cc
test ebp, ebp
je 0x1002e719
movzx eax, word [ebp]
test ax, ax
je 0x1002e0cc
cmp eax, 1
je 0x1002e0cc
cmp eax, 8
jne 0x1002e719
cmp dword [ebp + 8], 0
jne 0x1002e719
cmp ebx, 1
jbe 0x1002e0f2
movzx eax, word [ebp + 0x10]
test ax, ax
je 0x1002e0f2
cmp eax, 1
je 0x1002e0f2
cmp eax, 8
jne 0x1002e719
cmp dword [ebp + 0x18], 0
jne 0x1002e719
test edi, edi
je 0x1002e101
cmp word [ebp + 0x20], 8
jne 0x1002e719
test ecx, ecx
je 0x1002e110
cmp word [ebp + 0x30], 8
jne 0x1002e719
mov eax, dword [0x1007a1e0]
push 0x24
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x1002e6f3
push 0
push eax
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push eax
push 1
call fcn.10031c40
mov edi, eax
test edi, edi
jne 0x1002e6f8
lea eax, [edi + 1]
cmp ebx, 3
jb 0x1002e155
cmp ax, word [ebp + 0x20]
je 0x1002e160
cmp ebx, 4
jb 0x1002e168
cmp ax, word [ebp + 0x30]
jne 0x1002e168
xor ebx, ebx
mov dword [esp + 0x20], ebx
jmp 0x1002e16d
mov ebx, 1
cmp dword [esp + 0x28], 0
je 0x1002e180
xor eax, eax
cmp dword [ebp + 0x28], eax
cmove ebx, eax
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x34]
test eax, eax
je 0x1002e279
mov eax, dword [ebp + 0x38]
xor ecx, ecx
test eax, eax
cmove ebx, ecx
mov dword [esp + 0x20], ebx
je 0x1002e279
push str.TABLE
push eax
call fcn.1004ae64
add esp, 8
test eax, eax
je 0x1002e279
push str.SYSTEM_TABLE
push dword [ebp + 0x38]
call fcn.1004ae64
add esp, 8
test eax, eax
je 0x1002e279
push str.ALIAS
push dword [ebp + 0x38]
call fcn.1004ae64
add esp, 8
test eax, eax
je 0x1002e279
push str.SYNONYM
push dword [ebp + 0x38]
call fcn.1004ae64
add esp, 8
test eax, eax
je 0x1002e279
push str.VIEW
push dword [ebp + 0x38]
call fcn.1004ae64
add esp, 8
test eax, eax
je 0x1002e279
push str.GLOBAL_TEMPORARY
push dword [ebp + 0x38]
call fcn.1004ae64
add esp, 8
test eax, eax
je 0x1002e279
push str.LOCAL_TEMPORARY
push dword [ebp + 0x38]
call fcn.1004ae64
add esp, 8
test eax, eax
je 0x1002e279
push str.PASS_THROUGH
push dword [ebp + 0x38]
call fcn.1004ae64
add esp, 8
test eax, eax
je 0x1002e279
push str.ACCESS_TABLE
push dword [ebp + 0x38]
call fcn.1004ae64
add esp, 8
test eax, eax
je 0x1002e279
push str.LINK
push dword [ebp + 0x38]
call fcn.1004ae64
xor ecx, ecx
add esp, 8
test eax, eax
cmovne ebx, ecx
mov dword [esp + 0x20], ebx
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x54]
push 1
push 0x30
push eax
push 0
push 0
push 0
push dword [edi + 0x14]
push esi
call sub.msjet40.dll_Ordinal_140
push 0
push SysReAllocStringLen
push dword [esp + 0x60]
mov dword [esp + 0x1c], eax
push esi
call sub.msjet40.dll_Ordinal_156
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1002e656
test ebx, ebx
je 0x1002e656
push 0
push 0
lea eax, [esp + 0x24]
mov dword [esp + 0x38], 0
push eax
push 4
lea eax, [esp + 0x34]
mov edi, 1
push eax
push dword [esp + 0x7c]
push dword [esp + 0x70]
push esi
call sub.msjet40.dll_Ordinal_167
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1002e648
mov ecx, dword [esp + 0x24]
cmp ecx, edi
je 0x1002e30e
cmp ecx, 3
jbe 0x1002e307
cmp ecx, 6
jbe 0x1002e30e
xor edi, edi
jmp 0x1002e41a
push 0
push 0
lea eax, [esp + 0x24]
push eax
push 4
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x8c]
push dword [esp + 0x70]
push esi
call sub.msjet40.dll_Ordinal_167
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1002e648
mov ecx, dword [esp + 0x24]
cmp ecx, 5
jne 0x1002e354
movzx eax, word [esp + 0x30]
test eax, eax
je 0x1002e354
xor edi, edi
jmp 0x1002e41a
push 0
push 0
lea eax, [esp + 0x24]
push eax
push 0x82
lea eax, [esp + 0xcc]
push eax
push dword [esp + 0x78]
push dword [esp + 0x70]
push esi
call sub.msjet40.dll_Ordinal_167
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1002e648
mov eax, dword [esp + 0x1c]
and eax, 0xfffffffe
cmp eax, 0x82
jae 0x1002e786
xor ecx, ecx
push ecx
push ecx
mov word [esp + eax + 0xc4], cx
lea eax, [esp + 0x24]
push eax
push 8
lea eax, [esp + 0x50]
push eax
push dword [esp + 0x80]
push dword [esp + 0x70]
push esi
call sub.msjet40.dll_Ordinal_167
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1002e648
push eax
push eax
lea eax, [esp + 0x24]
push eax
push 8
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x84]
push dword [esp + 0x70]
push esi
call sub.msjet40.dll_Ordinal_167
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1002e648
cmp dword [esp + 0x28], eax
je 0x1002e416
lea eax, [esp + 0xbc]
push eax
push dword [ebp + 0x28]
call fcn.1004ae64
xor ecx, ecx
add esp, 8
test eax, eax
cmovne edi, ecx
mov ecx, dword [esp + 0x24]
test edi, edi
je 0x1002e625
xor ebx, ebx
cmp ecx, 5
jne 0x1002e480
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x48]
push eax
push 0x38
lea eax, [esp + 0x8c]
push eax
lea eax, [esp + 0xc8]
push eax
push dword [edi + 0x14]
push esi
call sub.msjet40.dll_Ordinal_310
push dword [esp + 0x88]
mov dword [esp + 0x14], eax
push esi
call sub.msjet40.dll_Ordinal_108
cmp dword [esp + 0x10], ebx
jne 0x1002e46d
cmp dword [esp + 0x8c], ebx
je 0x1002e480
push 0
push 1
push dword [esp + 0x60]
push esi
call sub.msjet40.dll_Ordinal_156
jmp 0x1002e637
push 0
push dword [esp + 0x1c]
push esi
call sub.msjet40.dll_Ordinal_159
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1002e648
mov eax, dword [esp + 0x24]
dec eax
cmp eax, 5
ja case.0x1002e4a2.2
jmp dword [eax*4 + 0x1002e78c]
mov eax, dword [esp + 0x30]
test eax, eax
jns 0x1002e4b9
mov ebx, dword [0x10077190]
jmp case.0x1002e4a2.2
mov ebx, dword [0x1007718c]
test al, 2
cmovne ebx, dword [0x100771a0]
jmp case.0x1002e4a2.2
mov ebx, dword [0x1007719c]
jmp case.0x1002e4a2.2
mov ebx, dword [0x10077194]
jmp case.0x1002e4a2.2
mov ebx, dword [0x10077198]
lea ecx, [esp + 0xbc]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002e4f0
mov edi, dword [esp + 0x2c]
sub ecx, edx
push 0
sar ecx, 1
push 0
lea eax, [ecx + ecx]
push eax
lea eax, [esp + 0xc8]
push eax
push dword [edi + 8]
push dword [esp + 0x2c]
push esi
call sub.msjet40.dll_Ordinal_172
mov ecx, ebx
mov dword [esp + 0x10], eax
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002e530
sub ecx, edx
push 0
sar ecx, 1
push 0
lea eax, [ecx + ecx]
push eax
push ebx
push dword [edi + 0xc]
push dword [esp + 0x2c]
push esi
call sub.msjet40.dll_Ordinal_172
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
push dword [edi + 0x14]
lea eax, [esp + 0xc4]
push dword [esp + 0x20]
push 0x1005e0f4
push 0
push eax
mov eax, dword [esp + 0x2c]
push 0x1005e134
push dword [eax + 0x14]
push esi
call fcn.10031b60
mov edi, eax
test edi, edi
js 0x1002e6f8
mov edi, dword [esp + 0x2c]
lea eax, [esp + 0x40]
push 0
push 0
push 8
push eax
push dword [edi + 0x1c]
push dword [esp + 0x2c]
push esi
call sub.msjet40.dll_Ordinal_172
mov dword [esp + 0x10], eax
test eax, eax
js 0x1002e648
push 0
push 0
push 8
lea eax, [esp + 0x58]
push eax
push dword [edi + 0x20]
push dword [esp + 0x2c]
push esi
call sub.msjet40.dll_Ordinal_172
mov dword [esp + 0x10], eax
test eax, eax
js 0x1002e648
mov eax, dword [esp + 0x34]
test eax, eax
je 0x1002e607
cmp eax, 1
jne 0x1002e5f9
push dword [ebp + 0x38]
push ebx
call fcn.1004ae64
add esp, 8
test eax, eax
je 0x1002e607
push 3
push dword [esp + 0x1c]
push esi
call sub.msjet40.dll_Ordinal_159
jmp 0x1002e617
push 0
push 0
push 0
push dword [esp + 0x24]
push esi
call sub.msjet40.dll_Ordinal_179
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1002e648
cmp dword [esp + 0x28], eax
jne 0x1002e652
push 0
push 1
push dword [esp + 0x60]
push esi
call sub.msjet40.dll_Ordinal_156
mov edi, dword [esp + 0x14]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1002e656
mov ebx, dword [esp + 0x20]
jmp 0x1002e2b6
mov edi, 0x80004005
jmp 0x1002e6fc
mov edi, dword [esp + 0x14]
push 0x20
mov dword [esp + 0x14], 0
call fcn.1003d386
add esp, 4
test eax, eax
je 0x1002e6f3
mov ecx, eax
call fcn.10002de0
mov ebx, eax
test ebx, ebx
je 0x1002e6f3
mov ecx, dword [0x100609bc]
lea eax, [esp + 0x10]
push 0
push 0
mov dword [ebx + 0x10], ecx
mov ecx, dword [0x100609b8]
push eax
mov dword [ebx + 0x14], ecx
mov ecx, ebx
mov dword [ebx + 0x1c], 0
push dword [esp + 0x24]
push dword [edi + 0x14]
push esi
call fcn.10088c55
mov edi, eax
test edi, edi
js 0x1002e6f8
push 0x10068ef8
push 0
push 0
push 1
push ebx
push 0
push 0
push 1
push dword [esp + 0x5c]
mov dword [ebx + 4], 9
push dword [esp + 0x3c]
mov ebx, dword [esp + 0x3c]
push 0
push 0
push 0
push ebx
push 0
push dword [esp + 0x74]
call fcn.1001c790
mov edi, eax
mov eax, dword [esp + 0x10]
jmp 0x1002e700
mov edi, 0x8007000e
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
test eax, eax
je 0x1002e713
push 0x10068de8
push eax
push edi
push ebx
call fcn.10010bd0
jmp 0x1002e735
test edi, edi
jns 0x1002e735
jmp 0x1002e71e
mov edi, 0x80070057
mov eax, dword [esp + 0x14]
push 0
push 0x10068de8
push edi
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.100105d0
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x1002e74d
mov eax, dword [0x1007a1e0]
test eax, eax
je 0x1002e74d
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x14]
push dword [esp + 0x58]
push esi
call sub.msjet40.dll_Ordinal_108
mov dword [esp + 0x10], eax
test edi, edi
jns 0x1002e769
push dword [esp + 0x18]
push esi
call sub.msjet40.dll_Ordinal_108
mov ecx, dword [esp + 0x140]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003dba2
add esp, 0x134
ret 0x14
call fcn.1003e83e
nop
test eax, 0xe01002e4
in al, 2
adc al, ah
in al, 2
adc dl, cl
in al, 2
adc dl, dl
in al, 2
adc dl, bl
in al, 2
adc ah, cl
int3