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

Disassembly:
push 0xffffffffffffffff
push 0x1004b514
mov eax, dword fs:[0]
push eax
sub esp, 0x48c
mov eax, dword [0x10077990]
xor eax, esp
mov dword [esp + 0x488], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10077990]
xor eax, esp
push eax
lea eax, [esp + 0x4a0]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4b4]
mov ecx, dword [esp + 0x4d8]
mov ebp, dword [esp + 0x4b0]
mov edi, dword [esp + 0x4d0]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x4b8]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x4bc]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x4c0]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x4c4]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x4d4]
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x54]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x50], edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x14], 0
call fcn.100135b0
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x2c], ebx
mov ebx, dword [eax + 0x10]
xor eax, eax
push eax
push eax
mov dword [esp + 0x4b0], 0
mov dword [esp + 0x30], eax
call dword [sym.imp.OLEAUT32.dll_CreateErrorInfo]
mov esi, dword [ebp + 8]
add esi, 0x68
mov dword [esp + 0x78], 0xffffffff
push esi
mov dword [esp + 0x6c], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x34]
mov byte [esp + 0x4a8], 1
test eax, eax
je 0x10003734
cmp dword [esp + 0x38], 0
mov dword [eax], 0
je 0x10003734
cmp dword [esp + 0x44], 0
je 0x10003734
mov ebp, dword [esp + 0x4cc]
test ebp, ebp
je 0x100032d0
test edi, edi
je 0x10003730
xor ecx, ecx
test ebp, ebp
je 0x100032ef
mov eax, edi
cmp dword [eax + 4], 0
je 0x100032e7
cmp dword [eax], 0
je 0x10003730
inc ecx
add eax, 0x18
cmp ecx, ebp
jb 0x100032d8
mov eax, dword [esp + 0x4c8]
test eax, 0xfffffffc
jne 0x10003730
and eax, 1
mov dword [esp + 0x20], eax
je 0x10003315
cmp dword [esp + 0x40], 0
jne 0x10003730
cmp dword [esp + 0x4c], 0
je 0x1000333c
push dword [esp + 0x3c]
push 0x10068bd8
call fcn.10004080
test al, al
je 0x1000333c
mov edi, 0x80040e22
mov ebp, dword [esp + 0x1c]
jmp 0x10003739
lea ecx, [esp + 0x54]
call fcn.10014da0
mov edi, eax
test edi, edi
js 0x10003333
push 0x10064cb8
lea ecx, [esp + 0x58]
call fcn.10014100
mov edi, eax
test edi, edi
js 0x10003333
push 0
push dword [esp + 0x54]
lea ecx, [esp + 0x5c]
push ebp
call fcn.10016d20
mov edi, eax
test edi, edi
js 0x10003333
test byte [esp + 0x4c8], 2
mov ecx, dword [esp + 0x24]
je 0x1000338a
or ecx, 2
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
or edx, 2
push edx
push ecx
push 0
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x78]
push ecx
push 0x1c
lea ecx, [esp + 0x88]
push ecx
push dword [esp + 0x60]
push dword [esp + 0x5c]
push dword [esp + 0x64]
push dword [esp + 0x5c]
push dword [eax + 0x14]
push dword [eax + 0x10]
call sub.msjet40.dll_Ordinal_906
mov dword [esp + 0x14], eax
cmp eax, 0xfffff8ef
je 0x1000371a
test eax, eax
je 0x100033e3
mov edi, 0x80004005
jmp 0x1000373d
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x1c]
push ecx
push 8
push 3
push 0x1004dad0
push dword [eax + 0x10]
call sub.msjet40.dll_Ordinal_56
mov dword [esp + 0x14], eax
test eax, eax
jns 0x10003416
mov edi, 0x80004005
jmp 0x1000373d
mov eax, dword [ebp + 8]
push 0
push SysReAllocStringLen
push dword [esp + 0x80]
push dword [eax + 0x10]
call sub.msjet40.dll_Ordinal_156
mov dword [esp + 0x14], eax
cmp eax, 0xfffff9bd
je 0x10003613
mov edi, edi
test eax, eax
js 0x1000360c
push 0
push 0
lea eax, [esp + 0x28]
push eax
push 0x200
lea eax, [esp + 0xac]
push eax
push dword [esp + 0x90]
push dword [esp + 0x90]
push ebx
call sub.msjet40.dll_Ordinal_167
mov dword [esp + 0x14], eax
test eax, eax
js 0x100033d9
mov eax, dword [esp + 0x20]
and eax, 0xfffffffe
cmp eax, 0x200
jae 0x10003607
xor ecx, ecx
push ecx
push dword [esp + 0x1c]
mov word [esp + eax + 0xa4], cx
push ebx
call sub.msjet40.dll_Ordinal_159
mov dword [esp + 0x14], eax
test eax, eax
js 0x100033d9
push 0
push 0
push dword [esp + 0x28]
lea eax, [esp + 0xa8]
push eax
push dword [esp + 0xa0]
push dword [esp + 0x2c]
push ebx
call sub.msjet40.dll_Ordinal_172
mov dword [esp + 0x14], eax
test eax, eax
js 0x100033d9
push 0
push 0
lea eax, [esp + 0x28]
push eax
push 0x200
lea eax, [esp + 0x2ac]
push eax
push dword [esp + 0x94]
push dword [esp + 0x90]
push ebx
call sub.msjet40.dll_Ordinal_167
mov dword [esp + 0x14], eax
test eax, eax
js 0x100033d9
mov ecx, dword [esp + 0x20]
mov eax, ecx
and eax, 0xfffffffe
cmp eax, 0x200
jae 0x10003607
xor edx, edx
push edx
push edx
push ecx
mov word [esp + eax + 0x2a8], dx
lea eax, [esp + 0x2a8]
push eax
push dword [esp + 0xa4]
push dword [esp + 0x2c]
push ebx
call sub.msjet40.dll_Ordinal_172
mov dword [esp + 0x14], eax
test eax, eax
js 0x100033d9
push 0
push 0
lea eax, [esp + 0x28]
push eax
push 4
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x98]
push dword [esp + 0x90]
push ebx
call sub.msjet40.dll_Ordinal_167
mov dword [esp + 0x14], eax
test eax, eax
js 0x100033d9
test byte [esp + 0x24], 2
je 0x10003596
or dword [esp + 0x30], 2
push 0
push 0
push 4
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0xa8]
push dword [esp + 0x2c]
push ebx
call sub.msjet40.dll_Ordinal_172
mov dword [esp + 0x14], eax
test eax, eax
js 0x100033d9
lea eax, [esp + 0x20]
push eax
push 4
lea eax, [esp + 0x78]
push eax
push dword [esp + 0x24]
push ebx
call sub.msjet40.dll_Ordinal_179
mov dword [esp + 0x14], eax
test eax, eax
js 0x100033d9
mov eax, dword [ebp + 8]
push 0
push 1
push dword [esp + 0x80]
push dword [eax + 0x10]
call sub.msjet40.dll_Ordinal_156
mov dword [esp + 0x14], eax
cmp eax, 0xfffff9bd
jne 0x10003440
jmp 0x10003613
call fcn.1003e83e
cmp eax, 0xfffff9bd
jne 0x1000361b
mov dword [esp + 0x14], 0
push 0xf0
call fcn.1003d386
add esp, 4
mov dword [esp + 0x48], eax
mov byte [esp + 0x4a8], 2
test eax, eax
je 0x10003645
push dword [esp + 0x4c]
mov ecx, eax
call fcn.1001c170
jmp 0x10003647
xor eax, eax
mov dword [esp + 0x2c], eax
mov byte [esp + 0x4a8], 1
test eax, eax
jne 0x10003661
mov edi, 0x8007000e
jmp 0x10003739
push 0x20
call fcn.1003d386
add esp, 4
test eax, eax
je 0x1000367e
mov ecx, eax
call fcn.10002de0
mov ecx, eax
mov dword [esp + 0x28], eax
jmp 0x10003684
xor ecx, ecx
mov dword [esp + 0x28], ecx
test ecx, ecx
jne 0x10003692
mov edi, 0x8007000e
jmp 0x10003739
push 0
push 0
mov dword [ecx + 0x1c], 0
lea edx, [esp + 0x1c]
mov dword [ecx + 0x14], 0x10074138
mov eax, dword [ebp + 8]
push edx
push dword [esp + 0x24]
push dword [eax + 0x14]
push ebx
call fcn.10088cb2
mov edi, eax
test edi, edi
js 0x10003739
mov eax, dword [esp + 0x28]
push 0x10068ef8
push 0
push 0
push 1
push eax
mov ebx, dword [esp + 0x40]
push 0
push 0
push 1
mov dword [eax + 4], 3
lea eax, [esp + 0x74]
push eax
push dword [esp + 0x3c]
push 0
push 0
push 0
push dword [ebp + 8]
push 0
push ebx
call fcn.1001c790
mov edi, eax
test edi, edi
js 0x10003739
mov ecx, dword [esp + 0x34]
push ecx
push dword [esp + 0x40]
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [ebx]
push ebx
call dword [eax]
mov edi, eax
jmp 0x10003739
push 0x1006e250
push eax
mov edi, 0x80040e09
push edi
push dword [ebp + 8]
call fcn.10010bd0
jmp 0x1000376c
mov ebp, dword [esp + 0x1c]
mov edi, 0x80070057
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10003752
push 0x1006e250
push eax
push edi
push dword [ebp + 8]
call fcn.10010bd0
jmp 0x1000376c
test edi, edi
jns 0x1000376c
mov eax, dword [ebp + 8]
push 0
push 0x1006e250
push edi
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.100105d0
mov eax, dword [esp + 0x34]
test eax, eax
je 0x10003788
cmp dword [eax], 0
jne 0x10003788
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x10003788
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
mov ecx, dword [esp + 0x78]
cmp ecx, 0xffffffff
je 0x1000379d
mov eax, dword [ebp + 8]
push ecx
push dword [eax + 0x10]
call sub.msjet40.dll_Ordinal_108
mov ecx, dword [esp + 0x18]
cmp ecx, 0xffffffff
je 0x100037b2
mov eax, dword [ebp + 8]
push ecx
push dword [eax + 0x10]
call sub.msjet40.dll_Ordinal_108
test edi, edi
jns 0x100037c5
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x100037c5
mov eax, dword [ecx]
push 1
call dword [eax + 4]
test esi, esi
je 0x100037d0
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 0x54]
mov dword [esp + 0x4a8], 0xffffffff
call fcn.10013690
mov eax, edi
mov ecx, dword [esp + 0x4a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x488]
xor ecx, esp
call fcn.1003dba2
add esp, 0x498
ret 0x2c