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

Disassembly:
sub esp, 0xec
mov eax, dword [0x1013567c]
xor eax, esp
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0x100]
push ebx
mov ebx, dword [esp + 0x110]
push ebp
mov ebp, dword [esp + 0x104]
push esi
mov esi, dword [esp + 0x110]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x114]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x30], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 0x10], ebx
mov dword [esp + 0x34], 0
test esi, esi
je 0x1002e5f8
cmp word [esi], 0
je 0x1002e5f8
push edi
mov edi, dword [esp + 0x100]
test ebp, ebp
jne 0x1002df30
push 1
push 0x41
lea eax, [esp + 0x7c]
push eax
push 0x10003948
push edi
mov dword [esp + 0x38], eax
call fcn.10093569
test eax, eax
jns 0x1002df2c
mov eax, 0xfffffc16
pop edi
mov ecx, dword [esp + 0xf4]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1011720d
add esp, 0xec
ret 0x2c
mov eax, dword [esp + 0x18]
test ebx, ebx
je 0x1002df3a
cmp word [ebx], 0
jne 0x1002df73
lea ecx, [esp + 0x14]
push ecx
push eax
push dword [esp + 0x10c]
push edi
call fcn.1002ebf0
test eax, eax
js 0x1002df11
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
test ebx, ebx
je 0x1002e5ee
cmp word [ebx], 0
je 0x1002e5ee
mov dword [esp + 0x38], 1
mov eax, esi
xor ebp, ebp
mov dword [esp + 0x2c], ebp
mov edx, ebx
cmp word [eax], bp
je 0x1002dfd1
cmp word [edx], 0
je 0x1002dfd1
mov ecx, esi
lea ebx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002df90
sub ecx, ebx
sar ecx, 1
lea esi, [esi + ecx*2]
mov ecx, edx
add esi, 2
lea ebx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002dfb0
sub ecx, ebx
inc ebp
sar ecx, 1
mov dword [esp + 0x2c], ebp
lea edx, [edx + ecx*2]
add edx, 2
cmp word [esi], ax
jne 0x1002df82
jmp 0x1002dfdb
cmp word [esi], 0
jne 0x1002e5cf
cmp word [edx], 0
jne 0x1002e5cf
mov ebp, dword [esp + 0x104]
lea eax, [esp + 0x44]
push 8
push 4
push eax
push ebp
push edi
call fcn.1003b6c0
mov esi, eax
test esi, esi
js 0x1002e5d4
mov eax, dword [esp + 0x44]
cmp eax, 0x10000
je 0x1002e5c8
cmp eax, 0x10001
je 0x1002e5c8
lea eax, [esp + 0x3c]
push eax
push 0x10002420
push 0
push ebp
push edi
call fcn.1003b7c0
mov esi, eax
test esi, esi
js 0x1002e5d4
push edi
call sym.msjet40.dll_Ordinal_104
mov esi, eax
test esi, esi
js 0x1002e5d4
push 1
lea eax, [esp + 0x4c]
push eax
push ebp
push edi
call fcn.1002ee00
mov esi, eax
test esi, esi
js 0x1002e596
mov ebx, dword [esp + 0x4c]
push 8
push dword [esp + 0x28]
push dword [esp + 0x44]
push ebp
push edi
call fcn.1003b3e0
mov esi, eax
test esi, esi
js 0x1002e599
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x28]
push 0x10002420
push ebp
push edi
call fcn.1003b7c0
mov esi, eax
test esi, esi
js 0x1002e599
cmp dword [esp + 0x128], 0
je 0x1002e0ee
push 0
push 0
push dword [esp + 0x48]
push ebp
push edi
call fcn.100342e0
mov esi, eax
test esi, esi
js 0x1002e599
push 1
push 0
push 0
push 1
push 1
push 0
push 0
push dword [esp + 0x5c]
push ebp
push dword [esp + 0x60]
push ebp
push edi
call fcn.10033840
mov esi, eax
test esi, esi
js 0x1002e599
cmp dword [esp + 0x2c], 0
mov eax, dword [esp + 0x34]
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], 0
jbe 0x1002e309
lea ecx, [ecx]
push 0
push ebx
push edi
call fcn.1003c9c0
mov esi, eax
test esi, esi
js 0x1002e599
mov esi, dword [esp + 0x24]
mov ecx, esi
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002e130
sub ecx, edx
push 0
sar ecx, 1
push 0
lea eax, [ecx + ecx]
push eax
push esi
push dword [esp + 0x64]
push ebx
push edi
call fcn.1003cd80
mov esi, eax
test esi, esi
js 0x1002e599
push 0
push 0
push 4
lea eax, [esp + 0x12c]
push eax
push dword [esp + 0x68]
push ebx
push edi
call fcn.1003cd80
mov esi, eax
test esi, esi
js 0x1002e599
push 0
push 0
push 4
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x6c]
push ebx
push edi
call fcn.1003cd80
mov esi, eax
test esi, esi
js 0x1002e599
push 0
push 0
push 4
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x70]
push ebx
push edi
call fcn.1003cd80
mov esi, eax
test esi, esi
js 0x1002e599
mov esi, dword [esp + 0x20]
mov ecx, esi
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002e1d0
sub ecx, edx
push 0
sar ecx, 1
push 0
lea eax, [ecx + ecx]
push eax
push esi
push dword [esp + 0x74]
push ebx
push edi
call fcn.1003cd80
mov esi, eax
test esi, esi
js 0x1002e599
mov esi, dword [esp + 0x1c]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002e206
sub ecx, edx
push 0
sar ecx, 1
push 0
lea eax, [ecx + ecx]
push eax
push esi
push dword [esp + 0x78]
push ebx
push edi
call fcn.1003cd80
mov esi, eax
test esi, esi
js 0x1002e599
mov esi, dword [esp + 0x18]
mov ecx, esi
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002e240
sub ecx, edx
push 0
sar ecx, 1
push 0
lea eax, [ecx + ecx]
push eax
push esi
push dword [esp + 0x7c]
push ebx
push edi
call fcn.1003cd80
mov esi, eax
test esi, esi
js 0x1002e599
mov ecx, ebp
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002e272
sub ecx, edx
push 0
sar ecx, 1
push 0
lea eax, [ecx + ecx]
push eax
push ebp
push dword [esp + 0x80]
push ebx
push edi
call fcn.1003cd80
mov esi, eax
test esi, esi
js 0x1002e599
push 0
push 0
push 0
push ebx
push edi
call fcn.1003cf90
mov esi, eax
test esi, esi
js 0x1002e599
mov esi, dword [esp + 0x1c]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002e2c2
sub ecx, edx
sar ecx, 1
lea esi, [esi + ecx*2]
mov ecx, ebp
add esi, 2
mov dword [esp + 0x1c], esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002e2e0
mov eax, dword [esp + 0x30]
sub ecx, edx
sar ecx, 1
inc eax
mov dword [esp + 0x30], eax
lea ebp, [ebp + ecx*2]
add ebp, 2
cmp eax, dword [esp + 0x2c]
jb 0x1002e110
push ebx
push edi
call fcn.1003bdc0
mov esi, eax
test esi, esi
js 0x1002e599
or ebx, 0xffffffff
test byte [esp + 0x120], 2
jne 0x1002e56e
mov ebp, dword [esp + 0x108]
cmp ebp, 0xffffffff
je 0x1002e42e
mov dword [esp + 0x10], ebp
cmp dword [esp + 0x124], 0
je 0x1002e4c9
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x24]
push 0x10002410
push dword [esp + 0x110]
push edi
call fcn.1003b7c0
mov esi, eax
test esi, esi
js 0x1002e599
push 0
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 0
push dword [esp + 0x30]
push dword [esp + 0x11c]
push edi
call fcn.10033bc0
mov esi, eax
test esi, esi
js 0x1002e599
mov eax, dword [esp + 0x14]
test al, 8
je 0x1002e4a6
test al, 0xd0
je 0x1002e4a6
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x1c]
push 0x10002410
push dword [esp + 0x110]
push edi
call fcn.1003b7c0
mov esi, eax
test esi, esi
js 0x1002e599
push 0
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 0
push dword [esp + 0x30]
push dword [esp + 0x11c]
push edi
call fcn.10033bc0
mov esi, eax
test esi, esi
js 0x1002e599
mov eax, dword [esp + 0x14]
test al, 8
je 0x1002e40b
test al, 0xd0
jne 0x1002e4c9
push 0
push 0
push 0
push 0xffffe016
push 0
push 0
push dword [esp + 0x30]
mov esi, 0xfffff88d
push edi
call fcn.10037780
jmp 0x1002e599
push 2
push dword [esp + 0x24]
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x110]
push edi
call fcn.1003b870
mov esi, eax
test esi, esi
jns 0x1002e33f
cmp esi, 0xfffffae7
jne 0x1002e486
push 0
push 0
push 0
push 0xffffdf94
push 0
push 0
push dword [esp + 0x38]
push edi
call fcn.10037780
push 0
push edi
mov dword [esp + 0x18], 0xffffffff
call fcn.100184b0
jmp 0x1002e5d4
push dword [esp + 0x20]
push esi
push edi
call fcn.10030860
push 0
push edi
mov dword [esp + 0x18], 0xffffffff
call fcn.100184b0
jmp 0x1002e5d4
push 0
push 0
push 0
push 0xffffe016
push 0
push 0
push dword [esp + 0x38]
mov esi, 0xfffff88d
push edi
call fcn.10037780
jmp 0x1002e599
and dword [esp + 0x120], 0xfffff3
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x14]
call fcn.10048490
mov eax, dword [esp + 0x14]
or eax, 0x10
push eax
push dword [esp + 0x14]
call fcn.1004a190
push dword [esp + 0x120]
push dword [esp + 0x2c]
push dword [esp + 0x20]
push dword [esp + 0x40]
push dword [esp + 0x34]
push dword [esp + 0x24]
push edi
call fcn.1003c040
push dword [esp + 0x14]
mov esi, eax
push dword [esp + 0x14]
call fcn.1004a190
test esi, esi
jns 0x1002e557
cmp esi, 0xfffffae7
jne 0x1002e54a
push 0
push 0
push 0
push 0xffffdf94
push 0
push 0
push dword [esp + 0x30]
push edi
call fcn.10037780
jmp 0x1002e599
push dword [esp + 0x18]
push esi
push edi
call fcn.10030860
jmp 0x1002e599
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x1002e566
push eax
push edi
call fcn.1003bdc0
mov dword [esp + 0x10], 0xffffffff
push 0
push edi
call sym.msjet40.dll_Ordinal_109
mov esi, eax
test esi, esi
js 0x1002e599
cmp dword [esp + 0x38], 0
je 0x1002e58f
push dword [esp + 0x28]
call fcn.1011741a
add esp, 4
xor eax, eax
jmp 0x1002df11
or ebx, 0xffffffff
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x1002e5b2
cmp eax, dword [esp + 0x108]
je 0x1002e5b2
push eax
push edi
call fcn.1003bdc0
cmp ebx, 0xffffffff
je 0x1002e5be
push ebx
push edi
call fcn.1003bdc0
push 0
push edi
call fcn.100184b0
jmp 0x1002e5d4
mov esi, 0xfffffbd5
jmp 0x1002e5d4
mov esi, 0xfffffa82
cmp dword [esp + 0x38], 0
je 0x1002e5e7
push dword [esp + 0x28]
call fcn.1011741a
add esp, 4
mov eax, esi
jmp 0x1002df11
mov eax, 0xfffffa84
jmp 0x1002df11
mov eax, 0xfffffc15
jmp 0x1002df12