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

Disassembly:
sub esp, 0xe4
mov eax, dword [0x101366b4]
xor eax, esp
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0xf4]
or dword [esp + 4], 0xffffffff
or dword [esp], 0xffffffff
push ebx
push ebp
mov ebp, dword [esp + 0xf4]
mov dword [esp + 0x2c], eax
push esi
push edi
movsx eax, word [ebp + 0x14]
xor edi, edi
mov ecx, dword [ebp + 0x10]
shl eax, 4
add eax, ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x30]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edi
cmp dword [esp + 0x100], edi
jle 0x100e6112
push 0xa
push dword [esp + 0x104]
lea eax, [esp + 0x5c]
push 0xa
push eax
call fcn.1001b110
lea eax, [esp + 0x54]
push eax
push 0xa
push dword [ebp + 0x84]
call fcn.100631e0
mov ebx, dword [esp + 0xf8]
lea eax, [esp + 0x14]
push eax
push edi
push edi
push dword [ebp + 0x7c]
push dword [ebp + 0x78]
push ebx
call sym.msjet40.dll_Ordinal_118
mov esi, eax
test esi, esi
jns 0x100e6156
cmp esi, 0xfffffae9
jne 0x100e62bd
push edi
push edi
push edi
push 0xffffe01e
push edi
push edi
push dword [ebp + 0x7c]
push ebx
call fcn.100378e0
jmp 0x100e62bd
push 6
pop ecx
xor eax, eax
lea edi, [esp + 0x3c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x38]
mov dword [esp + 0x3c], 0x18
push eax
lea eax, [esp + 0x40]
push eax
push dword [ebp + 0x78]
push ebx
call fcn.1009cec5
mov esi, eax
xor edi, edi
test esi, esi
js 0x100e62bd
push edi
push Ordinal_2
push dword [esp + 0x24]
push ebx
call fcn.1003cb30
mov esi, eax
test esi, esi
js 0x100e62bd
mov edi, dword [esp + 0x20]
cmp dword [esp + 0x18], edi
jae 0x100e6444
xor eax, eax
push eax
push eax
lea eax, [esp + 0x2c]
push eax
push 0x82
lea eax, [esp + 0x7c]
push eax
push dword [esp + 0x3c]
push dword [esp + 0x34]
push ebx
call fcn.1003cec0
mov esi, eax
test esi, esi
js 0x100e62bb
mov ecx, dword [esp + 0x24]
test ecx, ecx
jne 0x100e6230
push 0x1000de08
push 0x41
lea eax, [esp + 0x74]
push eax
call fcn.100631e0
lea eax, [esp + 0x20]
xor esi, esi
push eax
push 0x41
lea eax, [esp + 0x74]
mov dword [esp + 0x28], esi
push eax
call fcn.100201a0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
add eax, 0x3e8
push 0xa
push eax
push 0x41
pop eax
sub eax, ecx
push eax
lea eax, [esp + 0x78]
lea eax, [eax + ecx*2]
push eax
call fcn.1001b110
jmp 0x100e6250
mov edx, 0x82
cmp ecx, edx
mov eax, edx
cmovb eax, ecx
and eax, 0xfffffffe
cmp eax, edx
jae 0x100e6455
xor ecx, ecx
xor esi, esi
mov word [esp + eax + 0x6c], cx
cmp word [esp + 0x6c], 0
lea eax, [esp + 0x6c]
je 0x100e6270
cmp word [eax], 0x2e
jne 0x100e6268
push 0x5f
pop ecx
mov word [eax], cx
add eax, 2
cmp word [eax], si
jne 0x100e625c
push esi
push esi
lea eax, [esp + 0x2c]
push eax
push 4
lea eax, [esp + 0x54]
push eax
push dword [ebp + 0x38]
push dword [esp + 0x34]
push ebx
call fcn.1003cec0
mov esi, eax
test esi, esi
js 0x100e62bb
cmp dword [esp + 0x44], 0x10
jne 0x100e6313
xor eax, eax
push eax
push eax
lea eax, [esp + 0x2c]
push eax
push 4
lea eax, [esp + 0x58]
push eax
push dword [ebp + 0x3c]
push dword [esp + 0x34]
push ebx
call fcn.1003cec0
mov esi, eax
test esi, esi
jns 0x100e6328
xor edi, edi
cmp dword [esp + 0x10], 0xffffffff
je 0x100e62d3
push dword [esp + 0x10]
push ebx
call fcn.1003c120
or dword [esp + 0x10], 0xffffffff
cmp dword [esp + 0x14], 0xffffffff
je 0x100e62f6
push dword [esp + 0x14]
push ebx
call fcn.1003c120
or dword [esp + 0x14], 0xffffffff
push edi
push dword [ebp + 0x7c]
push dword [ebp + 0x78]
push ebx
call fcn.100d6527
mov eax, esi
mov ecx, dword [esp + 0xf0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10117cfd
add esp, 0xe4
ret 0x10
mov eax, dword [esp + 0x48]
mov ecx, 0x409
cmp dword [esp + 0x38], 0
cmovne eax, ecx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x18]
add eax, 0xc
push eax
xor eax, eax
push eax
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x7c]
push eax
push dword [esp + 0x28]
push ebx
call fcn.1003c0c0
mov esi, eax
test esi, esi
js 0x100e62bb
push 3
push 4
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x78]
push eax
push dword [esp + 0x24]
push ebx
call fcn.1003c7e0
mov esi, eax
test esi, esi
js 0x100e62bb
mov eax, dword [esp + 0x18]
sub eax, dword [ebp + 0x10]
sar eax, 4
mov dword [esp + 0x30], eax
test eax, eax
jne 0x100e63af
push eax
push 0x18
lea eax, [esp + 0x5c]
push eax
push 0x1000277c
push dword [esp + 0x20]
push ebx
call fcn.1003c7e0
mov esi, eax
test esi, esi
js 0x100e62bb
mov eax, dword [esp + 0x58]
mov dword [esp + 0x2c], eax
push 2
push dword [esp + 0x14]
push ebx
call fcn.1003cd20
mov esi, eax
test esi, esi
js 0x100e62bb
xor eax, eax
push eax
push eax
push 4
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x3c]
push dword [esp + 0x24]
push ebx
call fcn.1003d0e0
mov esi, eax
test esi, esi
js 0x100e62bb
xor eax, eax
push eax
push eax
push eax
push dword [esp + 0x1c]
push ebx
call fcn.1003d2f0
mov esi, eax
test esi, esi
js 0x100e62bb
push dword [esp + 0x10]
push ebx
call fcn.1003c120
or dword [esp + 0x10], 0xffffffff
lea eax, [edi - 0x10]
cmp dword [esp + 0x18], eax
jae 0x100e6431
push 0
push 1
push dword [esp + 0x24]
push ebx
call fcn.1003cb30
mov esi, eax
test esi, esi
js 0x100e62bb
mov eax, dword [esp + 0x18]
add eax, 0x10
mov dword [esp + 0x18], eax
cmp eax, edi
jb 0x100e61b0
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x14]
mov dword [ecx], eax
xor eax, eax
jmp 0x100e62f8
call fcn.10117992
int3