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

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], ecx
call fcn.1017d860
mov esi, eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
and ecx, 0xff7fff80
and edx, 0x7f
or ecx, edx
or ecx, 0x600000
mov dword [esi + 8], ecx
mov eax, dword [edi + 0x7c]
shl eax, 0x18
xor eax, ecx
and eax, 0xf000000
xor eax, ecx
mov dword [esi + 8], eax
mov ecx, dword [edi + 0x70]
shl ecx, 0x10
xor ecx, eax
and ecx, 0xf0000
xor ecx, eax
mov dword [esi + 8], ecx
movzx eax, byte [edi + 0x74]
shl eax, 0x14
xor eax, ecx
and eax, 0x100000
xor eax, ecx
mov dword [esi + 8], eax
mov eax, dword [edi + 0x78]
sub eax, 0
je 0x101cd141
sub eax, 1
jne 0x101cd145
or byte [esi + 0x13], 2
jmp 0x101cd145
and byte [esi + 0x13], 0xfd
mov eax, dword [edi + 0x80]
mov edx, dword [esi + 8]
mov ecx, eax
sar ecx, 1
and ecx, 1
shl ecx, 0x13
and eax, 1
or ecx, eax
shl ecx, 9
and edx, 0xeffffdff
or ecx, edx
mov dword [esi + 8], ecx
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
mov edx, dword [edi + 4]
push eax
mov eax, dword [edi]
push ecx
push edx
push eax
mov ecx, esi
call fcn.10142680
mov edx, dword [edi + 0x10]
mov eax, edx
shr eax, 3
and al, 1
mov ecx, edx
shr ecx, 2
and cl, 1
shr edx, 1
and dl, 1
and eax, 1
add eax, eax
and ecx, 1
or eax, ecx
mov cl, byte [edi + 0x10]
add eax, eax
and edx, 1
or eax, edx
mov edx, dword [esi + 0xc]
add eax, eax
and edx, 0xfff0ffff
and ecx, 1
or eax, ecx
shl eax, 0x10
or eax, edx
cmp byte [esp + 0x24], 0
mov dword [esi + 0xc], eax
je 0x101cd1e0
movzx eax, byte [edi + 0x14]
mov ecx, dword [esi + 8]
shl eax, 0x1f
and ecx, 0x7fffffff
or eax, ecx
mov dword [esi + 8], eax
mov ecx, dword [edi + 0x24]
mov edx, dword [edi + 0x20]
mov eax, dword [edi + 0x18]
mov ebx, dword [edi + 0x1c]
mov dword [esp + 0x24], edx
mov edx, ecx
and edx, 7
add edx, edx
lea ebp, [edi + 0x18]
add edx, edx
and eax, 3
or edx, eax
mov eax, dword [esi + 0xc]
shl edx, 5
and eax, 0xfffffc1f
or edx, eax
mov dword [esi + 0xc], edx
mov edx, dword [esp + 0x24]
push edx
push ecx
call fcn.100ea390
mov ecx, dword [esi + 0x10]
and ebx, 0xff
or ebx, 0x30000
and ecx, 0xfe7f600f
shl ebx, 5
or ebx, ecx
and eax, 0x10
or ebx, eax
add esp, 8
mov dword [esi + 0x10], ebx
mov edx, dword [edi + 0x28]
push edx
push 0
mov ecx, esi
call fcn.10142730
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x34]
mov edx, dword [edi + 0x30]
mov ebx, dword [edi + 0x2c]
and eax, 3
add eax, eax
add eax, eax
and ecx, 3
or eax, ecx
mov ecx, dword [esi + 0x10]
shl eax, 0xe
and edx, 3
or eax, edx
add eax, eax
add eax, eax
and ecx, 0xfff0fff0
or eax, ecx
and ebx, 3
or eax, ebx
cmp byte [esp + 0x28], 0
mov dword [esi + 0x10], eax
je 0x101cd2b4
movzx ecx, byte [edi + 0x3c]
shl ecx, 0xe
xor ecx, eax
and ecx, 0x4000
xor ecx, eax
mov dword [esi + 0x10], ecx
movzx edx, byte [edi + 0x3d]
shl edx, 0xd
xor edx, ecx
and edx, 0x2000
xor edx, ecx
mov dword [esi + 0x10], edx
mov ecx, dword [esi + 0xc]
mov eax, dword [edi + 0x40]
mov edx, dword [esp + 0x1c]
push 0x10
push esi
push 0x10216180
push ebp
push 0x10216180
and ch, 0x8f
push 0x10216180
or ch, 0xc
push 0x10216180
push edi
mov dword [esi + 0x14], eax
push edx
lea eax, [esp + 0x48]
push eax
mov dword [esi + 0xc], ecx
mov ecx, dword [esp + 0x38]
call fcn.101ca8d0
mov ecx, dword [eax]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov dword [eax], ecx
pop ebx
pop ecx
ret 0x14