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

Disassembly:
sub esp, 0x260
mov eax, dword [0x101366b4]
xor eax, esp
mov dword [esp + 0x25c], eax
mov eax, dword [esp + 0x278]
mov ecx, dword [esp + 0x26c]
push ebx
mov edx, dword [esp + 0x278]
push ebp
push esi
and dword [esp + 0x18], 0
xor ebp, ebp
push edi
mov edi, dword [esp + 0x274]
push ebp
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x38], ecx
mov ebx, dword [edi + 0x48]
or dword [edx], 0xffffffff
push eax
push 0x38
lea eax, [esp + 0x44]
mov dword [esp + 0x38], edx
push eax
push 0xffffffffffffffff
push ecx
push dword [esp + 0x294]
mov dword [esp + 0x40], ebx
push ebx
call fcn.100c6588
mov esi, eax
test esi, esi
js 0x100ca987
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x100ca91d
test byte [edi + 0x80], 0x40
jne 0x100ca8ff
push dword [edi + 0x78]
lea eax, [esp + 0x20]
push eax
push edi
call fcn.100c77bb
mov esi, eax
test esi, esi
js 0x100ca987
mov ebp, dword [esp + 0x1c]
jmp 0x100ca8fb
push 0
dec eax
push 0
mov dword [esp + 0x44], eax
lea eax, [esp + 0x20]
push eax
push 0x200
lea eax, [esp + 0x7c]
push eax
push dword [esp + 0x58]
push dword [esp + 0x50]
push ebx
call fcn.1003cec0
mov esi, eax
test esi, esi
js 0x100ca91d
mov eax, dword [esp + 0x18]
and eax, 0xfffffffe
cmp eax, 0x200
jae 0x100ca98e
xor ecx, ecx
push ecx
push ecx
mov word [esp + eax + 0x74], cx
lea eax, [esp + 0x20]
push eax
push 4
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x60]
push dword [esp + 0x50]
push ebx
call fcn.1003cec0
mov esi, eax
test esi, esi
js 0x100ca91d
lea eax, [esp + 0x10]
push eax
push 0
push 3
push 0
push dword [esp + 0x34]
lea eax, [esp + 0x80]
push eax
push edi
call fcn.100d1513
mov esi, eax
test esi, esi
js 0x100ca91d
test byte [edi + 0x80], 0x40
jne 0x100ca8eb
mov ebx, dword [edi + 0x74]
mov ecx, ebx
mov edx, dword [edi + 0x78]
mov eax, dword [esp + 0x10]
add edx, ebx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x14], ecx
test eax, eax
js 0x100ca8cd
push 0
dec eax
mov ebx, ecx
push edi
mov dword [esp + 0x18], eax
lea eax, [esp + 0x1c]
push edx
push eax
call fcn.1009735d
mov esi, eax
test esi, esi
js 0x100ca919
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test eax, eax
js 0x100ca8cd
mov edx, dword [esp + 0x2c]
jmp 0x100ca8a0
sub ecx, ebx
dec eax
push ecx
push ebx
push ebp
mov dword [esp + 0x1c], eax
call fcn.101180b0
mov eax, dword [esp + 0x20]
add esp, 0xc
sub eax, ebx
mov ebx, dword [esp + 0x20]
add ebp, eax
push 0
push 1
push dword [esp + 0x40]
push ebx
call fcn.1003cb30
mov esi, eax
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x100ca7e7
dec eax
mov dword [esp + 0x3c], eax
xor eax, eax
cmp esi, 0xfffff9bd
cmove esi, eax
jmp 0x100ca91d
mov ebx, dword [esp + 0x20]
push dword [esp + 0x38]
push ebx
call fcn.1003c120
or dword [esp + 0x38], 0xffffffff
test esi, esi
js 0x100ca987
test byte [edi + 0x80], 0x40
jne 0x100ca96c
mov eax, dword [esp + 0x280]
push 0
push 0
or eax, 0x20
push eax
mov eax, dword [esp + 0x28]
sub ebp, eax
push ebp
push eax
push dword [esp + 0x44]
push dword [esp + 0x40]
push dword [esp + 0x294]
push ebx
call fcn.100c56fb
test eax, eax
jns 0x100ca96c
push eax
jmp 0x100ca988
mov ecx, dword [esp + 0x26c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10117cfd
add esp, 0x260
ret 0x18
push esi
push edi
call fcn.100c55ec
call fcn.10117992
int3