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

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x14], ecx
lea eax, [esp + 0x10]
push eax
add ecx, 0xc
mov eax, dword [ecx]
sub esp, 0xc
mov edx, esp
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [edx + 4], eax
mov dword [esp + 0x20], 0
mov dword [edx + 8], ecx
call fcn.10148d90
mov ebx, eax
add esp, 0x10
test bl, 1
je 0x101ca6d9
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 8]
mov esi, dword [esp + 0x24]
and ecx, 0xff7fffff
or ecx, 0x600000
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 8]
xor edx, dword [esp + 0x20]
and edx, 0x7f
xor dword [eax + 8], edx
mov ecx, dword [esi + 0x7c]
mov eax, dword [esp + 0x10]
shl ecx, 0x18
xor ecx, dword [eax + 8]
and ecx, 0xf000000
xor dword [eax + 8], ecx
mov edx, dword [esi + 0x70]
mov eax, dword [esp + 0x10]
shl edx, 0x10
xor edx, dword [eax + 8]
and edx, 0xf0000
xor dword [eax + 8], edx
movzx ecx, byte [esi + 0x74]
mov eax, dword [esp + 0x10]
shl ecx, 0x14
xor ecx, dword [eax + 8]
and ecx, 0x100000
xor dword [eax + 8], ecx
mov eax, dword [esi + 0x78]
sub eax, 0
je 0x101ca501
sub eax, 1
jne 0x101ca509
mov eax, dword [esp + 0x10]
or byte [eax + 0x13], 2
jmp 0x101ca509
mov eax, dword [esp + 0x10]
and byte [eax + 0x13], 0xfd
mov eax, dword [esi + 0x80]
mov ecx, dword [esp + 0x10]
mov edx, eax
add ecx, 8
shl edx, 9
xor edx, dword [ecx]
sar eax, 1
shl eax, 0x1c
and edx, 0x200
xor dword [ecx], edx
xor eax, dword [ecx]
and eax, 0x10000000
xor dword [ecx], eax
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
push eax
mov eax, dword [esi]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
call fcn.10142680
mov edx, dword [esi + 0x10]
movzx ebx, byte [esi + 0x10]
mov edi, dword [esp + 0x10]
mov eax, edx
shr eax, 3
and al, 1
mov ecx, edx
shr ecx, 2
and cl, 1
shr edx, 1
add edi, 0xc
and dl, 1
and eax, 1
add eax, eax
shl ebx, 0x10
xor ebx, dword [edi]
and ecx, 1
or eax, ecx
add eax, eax
and ebx, 0x10000
xor dword [edi], ebx
mov ecx, dword [edi]
and edx, 1
or eax, edx
shl eax, 0x11
and ecx, 0xfff1ffff
or eax, ecx
cmp byte [esp + 0x28], 0
mov dword [edi], eax
je 0x101ca5ba
mov eax, dword [esp + 0x10]
movzx edx, byte [esi + 0x14]
mov ecx, dword [eax + 8]
shl edx, 0x1f
and ecx, 0x7fffffff
or edx, ecx
mov dword [eax + 8], edx
mov eax, dword [esi + 0x20]
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0x24]
mov edi, dword [esi + 0x1c]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x18]
shl eax, 5
xor eax, dword [ecx + 0xc]
lea ebx, [esi + 0x18]
mov ebp, ecx
add ecx, 0xc
and eax, 0x60
xor dword [ecx], eax
mov eax, edx
shl eax, 7
xor eax, dword [ecx]
and eax, 0x380
xor dword [ecx], eax
mov ecx, dword [esp + 0x28]
push ecx
push edx
call fcn.100ea390
mov edx, dword [ebp + 0x10]
and edi, 0xff
or edi, 0x30000
and eax, 0x10
shl edi, 5
or edi, eax
and edx, 0xfe7f600f
or edi, edx
mov dword [ebp + 0x10], edi
mov eax, dword [esi + 0x28]
mov ecx, dword [esp + 0x18]
add esp, 8
push eax
push 0
call fcn.10142730
mov ecx, dword [esi + 0x2c]
mov eax, dword [esi + 0x38]
mov edx, dword [esi + 0x34]
mov edi, dword [esi + 0x30]
and eax, 3
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x10]
mov ebp, dword [ecx + 0x10]
xor ebp, dword [esp + 0x28]
add ecx, 0x10
add eax, eax
add eax, eax
and edx, 3
or eax, edx
shl eax, 0xe
and edi, 3
or eax, edi
add eax, eax
and ebp, 3
xor dword [ecx], ebp
mov edx, dword [ecx]
and edx, 0xfff0fff3
add eax, eax
or eax, edx
mov dword [ecx], eax
mov cl, byte [esi + 0x3c]
mov eax, dword [esp + 0x10]
movzx ecx, cl
shl ecx, 0xe
xor ecx, dword [eax + 0x10]
push 0x10
and ecx, 0x4000
xor dword [eax + 0x10], ecx
mov cl, byte [esi + 0x3d]
mov eax, dword [esp + 0x14]
movzx edx, cl
shl edx, 0xd
xor edx, dword [eax + 0x10]
and edx, 0x2000
xor dword [eax + 0x10], edx
mov eax, dword [esp + 0x14]
push eax
push 0x10216180
push ebx
mov ecx, dword [esp + 0x30]
push 0x10216180
push 0x10216180
push 0x10216180
push esi
push ecx
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x4c]
push edx
call fcn.101ca8d0
mov ebx, dword [eax]
lea eax, [esp + 0x10]
push eax
call fcn.10148c40
mov eax, dword [esp + 0x20]
add esp, 4
pop edi
pop esi
pop ebp
mov dword [eax], ebx
pop ebx
add esp, 8
ret 0x10