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

Disassembly:
sub esp, 0xe4
mov eax, dword [0x1013567c]
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 0x100e5624
push 0xa
push dword [esp + 0x104]
lea eax, [esp + 0x5c]
push 0xa
push eax
call fcn.1001b090
lea eax, [esp + 0x54]
push eax
push 0xa
push dword [ebp + 0x84]
call fcn.10062b10
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 0x100e5668
cmp esi, 0xfffffae9
jne 0x100e57cf
push edi
push edi
push edi
push 0xffffe01e
push edi
push edi
push dword [ebp + 0x7c]
push ebx
call fcn.100377a0
jmp 0x100e57cf
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.1009c4a4
mov esi, eax
xor edi, edi
test esi, esi
js 0x100e57cf
push edi
push Ordinal_2
push dword [esp + 0x24]
push ebx
call fcn.1003c7f0
mov esi, eax
test esi, esi
js 0x100e57cf
mov edi, dword [esp + 0x20]
cmp dword [esp + 0x18], edi
jae 0x100e5956
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.1003cb80
mov esi, eax
test esi, esi
js 0x100e57cd
mov ecx, dword [esp + 0x24]
test ecx, ecx
jne 0x100e5742
push 0x1000dd98
push 0x41
lea eax, [esp + 0x74]
push eax
call fcn.10062b10
lea eax, [esp + 0x20]
xor esi, esi
push eax
push 0x41
lea eax, [esp + 0x74]
mov dword [esp + 0x28], esi
push eax
call fcn.10020120
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.1001b090
jmp 0x100e5762
mov edx, 0x82
cmp ecx, edx
mov eax, edx
cmovb eax, ecx
and eax, 0xfffffffe
cmp eax, edx
jae 0x100e5967
xor ecx, ecx
xor esi, esi
mov word [esp + eax + 0x6c], cx
cmp word [esp + 0x6c], 0
lea eax, [esp + 0x6c]
je 0x100e5782
cmp word [eax], 0x2e
jne 0x100e577a
push 0x5f
pop ecx
mov word [eax], cx
add eax, 2
cmp word [eax], si
jne 0x100e576e
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.1003cb80
mov esi, eax
test esi, esi
js 0x100e57cd
cmp dword [esp + 0x44], 0x10
jne 0x100e5825
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.1003cb80
mov esi, eax
test esi, esi
jns 0x100e583a
xor edi, edi
cmp dword [esp + 0x10], 0xffffffff
je 0x100e57e5
push dword [esp + 0x10]
push ebx
call fcn.1003bde0
or dword [esp + 0x10], 0xffffffff
cmp dword [esp + 0x14], 0xffffffff
je 0x100e5808
push dword [esp + 0x14]
push ebx
call fcn.1003bde0
or dword [esp + 0x14], 0xffffffff
push edi
push dword [ebp + 0x7c]
push dword [ebp + 0x78]
push ebx
call fcn.100d5a39
mov eax, esi
mov ecx, dword [esp + 0xf0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1011720d
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.1003bd80
mov esi, eax
test esi, esi
js 0x100e57cd
push 3
push 4
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x78]
push eax
push dword [esp + 0x24]
push ebx
call fcn.1003c4a0
mov esi, eax
test esi, esi
js 0x100e57cd
mov eax, dword [esp + 0x18]
sub eax, dword [ebp + 0x10]
sar eax, 4
mov dword [esp + 0x30], eax
test eax, eax
jne 0x100e58c1
push eax
push 0x18
lea eax, [esp + 0x5c]
push eax
push 0x1000273c
push dword [esp + 0x20]
push ebx
call fcn.1003c4a0
mov esi, eax
test esi, esi
js 0x100e57cd
mov eax, dword [esp + 0x58]
mov dword [esp + 0x2c], eax
push 2
push dword [esp + 0x14]
push ebx
call fcn.1003c9e0
mov esi, eax
test esi, esi
js 0x100e57cd
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.1003cda0
mov esi, eax
test esi, esi
js 0x100e57cd
xor eax, eax
push eax
push eax
push eax
push dword [esp + 0x1c]
push ebx
call fcn.1003cfb0
mov esi, eax
test esi, esi
js 0x100e57cd
push dword [esp + 0x10]
push ebx
call fcn.1003bde0
or dword [esp + 0x10], 0xffffffff
lea eax, [edi - 0x10]
cmp dword [esp + 0x18], eax
jae 0x100e5943
push 0
push 1
push dword [esp + 0x24]
push ebx
call fcn.1003c7f0
mov esi, eax
test esi, esi
js 0x100e57cd
mov eax, dword [esp + 0x18]
add eax, 0x10
mov dword [esp + 0x18], eax
cmp eax, edi
jb 0x100e56c2
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x14]
mov dword [ecx], eax
xor eax, eax
jmp 0x100e580a
call fcn.10116ea2
int3