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

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x34]
xor eax, eax
cmp dword [edi + 0xc], eax
push 0
setne al
push 0
push 0
mov esi, ecx
mov ecx, dword [esi + 0x84]
mov edx, dword [ecx]
mov dword [esp + 0x1c], esi
push eax
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x44]
push eax
call dword [edx + 4]
mov ecx, esi
mov dword [esp + 0x30], eax
call fcn.1017d860
mov esi, eax
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
mov ecx, dword [esi + 8]
and ecx, 0xff7fffb1
or ecx, 0x600031
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 0x101cd80b
sub eax, 1
jne 0x101cd80f
or byte [esi + 0x13], 2
jmp 0x101cd80f
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
mov eax, dword [esi]
shl ecx, 9
and edx, 0xeffffdff
or ecx, edx
mov dword [esi + 8], ecx
mov ecx, dword [edi + 0x6c]
push ecx
mov ecx, esi
call dword [eax + 0xc]
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 0x10]
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
shr edx, 1
and cl, 1
and dl, 1
lea ebp, [edi + 0x18]
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
mov ecx, dword [esi + 8]
shl eax, 0x10
or eax, edx
mov dword [esi + 0xc], eax
movzx eax, byte [edi + 0x14]
shl eax, 0x1f
and ecx, 0x7fffffff
or eax, ecx
mov dword [esi + 8], eax
mov edx, dword [edi + 0x20]
mov ecx, dword [edi + 0x24]
mov eax, dword [ebp]
mov ebx, dword [edi + 0x1c]
mov dword [esp + 0x34], edx
mov edx, ecx
and edx, 7
add edx, edx
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 + 0x34]
push edx
push ecx
call fcn.100ea390
and ebx, 0xff
or ebx, 0x30000
and eax, 0x10
shl ebx, 5
or ebx, eax
mov eax, dword [esi + 0x10]
and eax, 0xfe7f600f
or ebx, eax
add esp, 8
mov dword [esi + 0x10], ebx
mov ecx, dword [edi + 0x28]
push ecx
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
shl eax, 0xe
and edx, 3
or eax, edx
mov edx, dword [esi + 0x10]
add eax, eax
add eax, eax
and edx, 0xfff0fff0
and ebx, 3
or eax, ebx
or eax, edx
mov edx, dword [esi + 0xc]
mov dword [esi + 0x10], eax
movzx ecx, byte [edi + 0x3c]
shl ecx, 0xe
xor ecx, eax
and ecx, 0x4000
xor ecx, eax
mov dword [esi + 0x10], ecx
movzx eax, byte [edi + 0x3d]
push 0x10
shl eax, 0xd
and dh, 0x8f
push esi
xor eax, ecx
or dh, 0xc
push 0x10216180
and eax, 0x2000
xor eax, ecx
cmp dword [esp + 0x34], 0xb
mov ecx, dword [esp + 0x3c]
push ebp
push 0x10216180
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
mov dword [esi + 0xc], edx
push 0x10216180
je 0x101cd9b6
push 0x10216180
jmp 0x101cd9d4
mov ecx, edi
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x2c], edx
add eax, 1
lea edx, [esp + 0x2c]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], eax
push edx
mov ecx, dword [esp + 0x2c]
push edi
lea eax, [esp + 0x48]
push 0x31
push eax
call fcn.101ca8d0
mov eax, dword [eax]
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword [ecx], eax
mov eax, ecx
pop ebx
add esp, 0x10
ret 0x14