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

Disassembly:
push 0xffffffffffffffff
push 0x1004c568
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x10077990]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10077990]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov eax, dword [esp + 0x74]
xor ebp, ebp
mov edi, dword [esp + 0x64]
xor ebx, ebx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x34], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x28], eax
push ebp
push ebp
mov eax, dword [eax + 0x38]
mov dword [esp + 0x2c], edi
mov eax, dword [eax + 0x10]
mov dword [esp + 0x44], eax
call dword [sym.imp.OLEAUT32.dll_CreateErrorInfo]
xor esi, esi
mov dword [esp + 0x38], esi
mov eax, dword [edi + 8]
mov dword [esp + 0x5c], esi
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x100247b7
call fcn.10039c70
cmp eax, 1
je 0x100247c9
mov eax, dword [edi + 8]
cmp dword [eax + 0x74], 0
jne 0x100247d3
cmp dword [eax + 0xec], 0
jne 0x100247d3
mov ebx, 0x8000ffff
jmp 0x10024a0a
test dword [eax + 0x60], 0x400
je 0x100247e6
mov ebx, 0x80040e20
jmp 0x10024a0a
lea esi, [eax + 0x48]
push esi
mov dword [esp + 0x3c], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x20], 0
je 0x10024a05
mov edx, dword [esp + 0x70]
test edx, edx
je 0x10024a05
cmp dword [esp + 0x2c], 0
je 0x10024a05
mov eax, dword [esp + 0x6c]
test eax, eax
jne 0x10024825
xor ebx, ebx
jmp 0x10024a24
mov dword [esp + 0x30], 0
test eax, eax
je 0x10024a24
mov eax, dword [esp + 0x20]
sub edx, eax
mov ecx, dword [esp + 0x1c]
mov edi, ecx
mov dword [esp + 0x70], edx
sub eax, ecx
mov edx, dword [esp + 0x2c]
sub edx, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], edx
test ebp, ebp
je 0x10024876
mov eax, dword [esp + 0x28]
push 0x10068c58
push ebp
push 0x80040e21
push dword [eax + 0x38]
call fcn.10010bd0
mov ecx, dword [esp + 0x1c]
xor ebp, ebp
test ecx, ecx
je 0x10024880
mov dword [edi], 0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x70]
add eax, edi
cmp dword [eax + edx], 4
mov edx, dword [esp + 0x14]
jne 0x1002497c
mov eax, dword [eax]
test eax, eax
je 0x1002497c
push 0xffffffffffffffff
push eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 8]
call fcn.1001c660
mov ebp, eax
cmp ebp, 0xfffffbeb
je 0x100248c7
cmp ebp, 0xfffffc07
je 0x100248c7
test ebp, ebp
je 0x100248e6
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x100248d5
mov dword [edi], 0xc
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], 1
jmp 0x1002498e
lea eax, [esp + 0x40]
mov dword [esp + 0x48], 0
push eax
push 4
lea eax, [esp + 0x4c]
mov dword [esp + 0x4c], 0xffffffff
push eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x58], 0
mov eax, dword [eax + 8]
push dword [eax + 0x6c]
push dword [esp + 0x4c]
call sub.msjet40.dll_Ordinal_132
mov ebp, eax
test ebp, ebp
je 0x1002493f
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], 1
test ecx, ecx
je 0x10024939
mov dword [edi], 0xc
mov edx, dword [esp + 0x14]
jmp 0x1002498e
mov eax, dword [esp + 0x14]
inc dword [esp + 0x4c]
add eax, edi
push eax
lea eax, [esp + 0x48]
push eax
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 8]
push dword [eax + 0x68]
call fcn.10010c80
mov ebx, eax
test ebx, ebx
jns 0x1002496e
cmp ebx, 0x8007000e
je 0x100249c4
jmp 0x10024923
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x34], 1
jmp 0x10024995
mov dword [esp + 0x18], 1
test ecx, ecx
je 0x1002498e
mov dword [edi], 0xc
mov dword [edx + edi], 0
mov eax, dword [esp + 0x30]
add edi, 4
inc eax
mov dword [esp + 0x30], eax
cmp eax, dword [esp + 0x6c]
jb 0x10024855
test eax, eax
je 0x100249c4
push 4
push 4
push dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push dword [eax + 8]
call fcn.1001e980
cmp dword [esp + 0x34], 1
jne 0x100249d9
cmp dword [esp + 0x18], 1
jne 0x100249e6
mov ebx, 0x40eda
jmp 0x100249e6
cmp dword [esp + 0x18], 1
mov ecx, 0x80040e21
cmove ebx, ecx
test ebp, ebp
je 0x100249ff
mov eax, dword [esp + 0x28]
push 0x10068c58
push ebp
push ebx
push dword [eax + 0x38]
call fcn.10010bd0
jmp 0x10024a24
test ebx, ebx
jns 0x10024a24
jmp 0x10024a0a
mov ebx, 0x80070057
mov eax, dword [esp + 0x28]
push 0
push 0x10068c58
push ebx
mov eax, dword [eax + 0x38]
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.100105d0
test esi, esi
je 0x10024a2f
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, ebx
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.1003dba2
add esp, 0x4c
ret 0x1c