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

Disassembly:
sub esp, 0x18
push ebx
mov ebx, dword [esp + 0x28]
push ebp
push esi
mov esi, dword [ebx + 0x94]
push edi
mov edi, ecx
mov ebp, dword [edi + 0x24]
mov ecx, dword [edi + 0xc]
mov edx, ebp
mov eax, 1
shr edx, 2
test al, dl
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], 0
je 0x10191acf
mov dword [esp + 0x18], 2
mov ecx, ebp
shr ecx, 3
test cl, 1
je 0x10191add
mov dword [esp + 0x18], eax
mov edx, ebp
shr edx, 1
movzx ecx, dl
mov edx, dword [edi + 0x1c]
and ecx, eax
test edx, edx
mov dword [esp + 0x20], ecx
je 0x10191c9e
mov ecx, dword [edi + 0x44]
sub ecx, edx
add ecx, dword [edi + 0x40]
mov edx, dword [edi + 0x2c]
add ecx, ecx
add ecx, ecx
cmp dword [ecx + edx], 0
je 0x10191c9e
mov edx, dword [edi + 0x5c]
mov eax, dword [edi + 0x4c]
mov eax, dword [edx + eax*4]
mov ebp, dword [edi + 0x50]
mov edx, dword [edi + 0x68]
mov ecx, dword [ecx + ebp]
mov ebp, dword [edi + 0x34]
mov edx, dword [edx + eax*4]
cmp edx, dword [ebp + ecx*4]
je 0x10191c9a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [esi + 8]
lea ebp, [esi + 8]
and ecx, 0xffffff81
or ecx, 1
mov dword [ebp], ecx
mov edx, dword [edi + 0x44]
sub edx, dword [edi + 0x1c]
mov eax, dword [edi + 0x2c]
add edx, dword [edi + 0x40]
cmp dword [eax + edx*4], 2
mov eax, 8
je 0x10191b61
mov eax, dword [esp + 0x1c]
push eax
mov ecx, esi
call fcn.100ea3e0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov ecx, eax
sar ecx, 1
and ecx, 1
shl ecx, 0x10
and edx, 3
or ecx, edx
add ecx, ecx
add ecx, ecx
add ecx, ecx
and eax, 1
or ecx, eax
mov eax, dword [ebp]
shl ecx, 9
and eax, 0xefffcdff
or ecx, eax
mov dword [ebp], ecx
mov ecx, dword [edi + 0x4c]
mov edx, dword [edi + 0x5c]
mov eax, dword [edx + ecx*4]
mov ecx, dword [edi + 0x68]
mov eax, dword [ecx + eax*4]
mov edx, dword [ebx]
push eax
mov ecx, ebx
mov dword [esp + 0x38], eax
call dword [edx + 0x1c]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x10], eax
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0xc]
and eax, 0xff
add ecx, ecx
shl eax, 5
add ecx, ecx
and ecx, 0x10
or eax, ecx
shl eax, 0x10
and edx, 0x600fffe0
or eax, edx
or al, 0x1d
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x48]
add eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x60]
add eax, dword [edi + 0x4c]
mov eax, dword [ecx + eax*4]
mov edx, eax
shr edx, 3
and dl, 1
mov ecx, eax
shr ecx, 2
and cl, 1
push edx
mov edx, eax
shr edx, 1
and dl, 1
and al, 1
push ecx
mov ecx, esi
push edx
push eax
call fcn.101899a0
mov eax, dword [edi + 0x44]
sub eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x50]
add eax, dword [edi + 0x40]
mov edx, dword [ecx + eax*4]
mov eax, dword [edi + 0x34]
mov eax, dword [eax + edx*4]
mov edx, dword [ebx]
mov dword [esp + 0x34], eax
push eax
mov ecx, ebx
call dword [edx + 0x1c]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x10], eax
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x18]
mov edx, dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
and edx, 0xffffffbf
and eax, 0xff
or edx, 0x3a0
or eax, 0x30000
mov dword [esi + 0xc], edx
mov edx, dword [esi + 0x10]
add ecx, ecx
shl eax, 5
add ecx, ecx
and edx, 0xfe7f600f
or eax, edx
and ecx, 0x10
or eax, ecx
mov dword [esi + 0x10], eax
push ebp
lea eax, [esp + 0x38]
push eax
mov ecx, ebx
call fcn.10142640
mov eax, dword [eax]
jmp 0x10191c9e
mov eax, dword [esp + 0x14]
test al, 1
mov ebp, dword [esp + 0x30]
je 0x10191fd0
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x1c]
and al, 0xc1
or al, 0x41
push ecx
mov ecx, esi
mov dword [esi + 8], eax
call fcn.100ea3e0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov edx, eax
sar edx, 1
and edx, 1
shl edx, 0x10
and ecx, 3
or edx, ecx
add edx, edx
add edx, edx
add edx, edx
and eax, 1
or edx, eax
mov eax, dword [esi + 8]
push ebp
push 0
shl edx, 9
and eax, 0xefffcdff
push 0x20
or edx, eax
push 0
mov ecx, esi
mov dword [esi + 8], edx
call fcn.10142680
mov ecx, dword [edi + 0x44]
mov edx, dword [edi + 0x50]
mov eax, dword [edx + ecx*4]
mov ecx, dword [edi + 0x34]
mov eax, dword [ecx + eax*4]
mov edx, dword [edi + 0x30]
mov ecx, dword [edx]
mov edx, dword [ebx]
mov dword [esp + 0x14], ecx
push eax
mov ecx, ebx
mov dword [esp + 0x38], eax
call dword [edx + 0x1c]
add eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x10], eax
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x18]
movzx edx, byte [edi + 0x9a]
shl edx, 0xe
xor edx, dword [esi + 0x10]
mov dword [esp + 0x34], eax
and edx, 0x4000
xor dword [esi + 0x10], edx
mov cl, byte [edi + 0x9e]
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x24], eax
mov eax, ebp
and eax, 7
mov dword [esp + 0x14], eax
and ecx, 1
or ch, 3
shl eax, 7
and edx, 0xfffffc3f
or edx, eax
mov eax, dword [esp + 0x34]
and eax, 0xff
or edx, 0x20
shl ecx, 8
or ecx, eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0xc], edx
shl ecx, 5
and eax, 0xfe7f401f
or ecx, eax
mov eax, dword [esp + 0x10]
push eax
push ebp
mov dword [esp + 0x3c], ecx
mov dword [esi + 0x10], ecx
call fcn.100ea390
mov ecx, dword [esp + 0x3c]
xor eax, ecx
and eax, 0x10
xor eax, ecx
mov dword [esi + 0x10], eax
mov edx, dword [edi + 0x54]
mov ecx, dword [edi + 0x44]
mov ecx, dword [edx + ecx*4]
mov dword [esp + 0x18], eax
mov edx, ecx
shr edx, 4
mov eax, ecx
shr eax, 6
and edx, 3
mov edx, dword [edx*4 + 0x10214474]
and eax, 3
mov eax, dword [eax*4 + 0x10214474]
mov dword [esp + 0x3c], edx
mov edx, ecx
and ecx, 3
mov ecx, dword [ecx*4 + 0x10214474]
and eax, 3
add eax, eax
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x3c]
add eax, eax
shr edx, 2
and ecx, 3
or eax, ecx
mov ecx, dword [esp + 0x2c]
and edx, 3
mov edx, dword [edx*4 + 0x10214474]
shl eax, 0xe
and edx, 3
or eax, edx
add eax, eax
and ecx, 3
add eax, eax
or eax, ecx
mov ecx, dword [esp + 0x18]
and ecx, 0xfff0fff0
or eax, ecx
mov dword [esi + 0x10], eax
mov edx, dword [edi + 0x3c]
add esp, 8
cmp byte [edx], 0
je 0x10191e58
and eax, 0xfe1fffff
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x44]
mov ecx, dword [edi + 0x50]
mov edx, dword [ecx + eax*4 + 4]
mov eax, dword [edi + 0x34]
mov eax, dword [eax + edx*4]
mov ecx, dword [edi + 0x30]
mov edx, dword [ecx + 4]
mov dword [esp + 0x24], edx
mov edx, dword [ebx]
push eax
mov ecx, ebx
mov dword [esp + 0x38], eax
call dword [edx + 0x1c]
add eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x10], eax
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x18]
movzx edx, byte [edi + 0x9b]
shl edx, 0xe
xor edx, dword [esi + 0x14]
mov dword [esp + 0x34], eax
and edx, 0x4000
xor dword [esi + 0x14], edx
mov cl, byte [edi + 0x9f]
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
and dh, 0x87
shl eax, 0xc
and ecx, 1
or ch, 3
or edx, eax
mov eax, dword [esp + 0x34]
and eax, 0xff
shl ecx, 8
or ecx, eax
mov eax, dword [esp + 0x24]
and eax, 0xfe7fc01f
or dh, 4
shl ecx, 5
or ecx, eax
mov eax, dword [esp + 0x10]
push eax
push ebp
mov dword [esp + 0x3c], ecx
mov dword [esi + 0xc], edx
mov dword [esi + 0x14], ecx
call fcn.100ea390
mov edx, dword [esp + 0x3c]
mov ecx, edx
xor ecx, eax
and ecx, 0x10
xor ecx, edx
mov dword [esi + 0x14], ecx
mov eax, dword [edi + 0x54]
mov edx, dword [edi + 0x44]
mov edx, dword [eax + edx*4 + 4]
mov dword [esp + 0x3c], edx
mov eax, edx
shr edx, 4
and edx, 3
mov edx, dword [edx*4 + 0x10214474]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x3c]
shr edx, 2
and edx, 3
mov edx, dword [edx*4 + 0x10214474]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x3c]
shr eax, 6
and eax, 3
mov eax, dword [eax*4 + 0x10214474]
and edx, 3
mov edx, dword [edx*4 + 0x10214474]
add esp, 8
mov dword [esp + 0x34], edx
and eax, 3
mov edx, dword [esp + 0x24]
add eax, eax
add eax, eax
and edx, 3
or eax, edx
mov edx, dword [esp + 0x14]
shl eax, 0xe
and edx, 3
or eax, edx
add eax, eax
and ecx, 0xfff0fff0
add eax, eax
or eax, ecx
mov ecx, dword [esp + 0x34]
and ecx, 3
or eax, ecx
mov dword [esi + 0x14], eax
mov ecx, dword [edi + 0x3c]
cmp byte [ecx + 1], 0
je 0x10191faf
and eax, 0xfe1fffff
mov dword [esi + 0x14], eax
cmp dword [ebx + 0x1c], 0
je 0x10191fcb
push 0x10
lea eax, [esi + 8]
push eax
lea edx, [esp + 0x3c]
push edx
mov ecx, ebx
call fcn.100fd200
mov eax, dword [eax]
jmp 0x10191fd0
mov eax, 2
cmp ebp, 1
je 0x10191fdd
test ebp, ebp
jne 0x1019230d
test al, 1
je 0x101926d5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x1c]
and ecx, 0xffffffc9
or ecx, 0x49
mov dword [esi + 8], ecx
push edx
mov ecx, esi
call fcn.100ea3e0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov ecx, eax
sar ecx, 1
and ecx, 1
shl ecx, 0x10
and edx, 3
or ecx, edx
add ecx, ecx
add ecx, ecx
add ecx, ecx
and eax, 1
or ecx, eax
mov eax, dword [esi + 8]
push ebp
shl ecx, 9
and eax, 0xefffcdff
push 0
or ecx, eax
push 0
mov dword [esi + 8], ecx
push 0
mov ecx, esi
call fcn.10142680
mov ecx, dword [edi + 0x44]
mov edx, dword [edi + 0x50]
mov eax, dword [edx + ecx*4]
mov ecx, dword [edi + 0x34]
mov eax, dword [ecx + eax*4]
mov edx, dword [edi + 0x30]
mov ecx, dword [edx]
mov edx, dword [ebx]
mov dword [esp + 0x24], ecx
push eax
mov ecx, ebx
mov dword [esp + 0x38], eax
call dword [edx + 0x1c]
add eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x10], eax
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x18]
movzx edx, byte [edi + 0x9a]
shl edx, 0xe
xor edx, dword [esi + 0x10]
mov dword [esp + 0x34], eax
and edx, 0x4000
xor dword [esi + 0x10], edx
mov cl, byte [edi + 0x9e]
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x24], eax
mov eax, ebp
and eax, 7
mov dword [esp + 0x14], eax
and ecx, 1
or ch, 3
shl eax, 7
and edx, 0xfffffc3f
or edx, eax
mov eax, dword [esp + 0x34]
and eax, 0xff
or edx, 0x20
shl ecx, 8
or ecx, eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0xc], edx
shl ecx, 5
and eax, 0xfe7f401f
or ecx, eax
mov eax, dword [esp + 0x10]
push eax
push ebp
mov dword [esp + 0x3c], ecx
mov dword [esi + 0x10], ecx
call fcn.100ea390
mov ecx, dword [esp + 0x3c]
xor eax, ecx
and eax, 0x10
xor eax, ecx
mov dword [esi + 0x10], eax
mov edx, dword [edi + 0x54]
mov ecx, dword [edi + 0x44]
mov ecx, dword [edx + ecx*4]
mov dword [esp + 0x2c], eax
mov edx, ecx
shr edx, 4
mov eax, ecx
shr eax, 6
and edx, 3
mov edx, dword [edx*4 + 0x10214474]
and eax, 3
mov eax, dword [eax*4 + 0x10214474]
mov dword [esp + 0x3c], edx
mov edx, ecx
and ecx, 3
mov ecx, dword [ecx*4 + 0x10214474]
and eax, 3
add eax, eax
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x3c]
add eax, eax
shr edx, 2
and ecx, 3
or eax, ecx
mov ecx, dword [esp + 0x2c]
and edx, 3
mov edx, dword [edx*4 + 0x10214474]
shl eax, 0xe
and edx, 3
or eax, edx
add eax, eax
and ecx, 0xfff0fff0
add eax, eax
or eax, ecx
mov ecx, dword [esp + 0x18]
and ecx, 3
or eax, ecx
mov dword [esi + 0x10], eax
mov edx, dword [edi + 0x3c]
add esp, 8
cmp byte [edx], 0
je 0x10192195
and eax, 0xfe1fffff
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x44]
mov ecx, dword [edi + 0x50]
mov edx, dword [ecx + eax*4 + 4]
mov eax, dword [edi + 0x34]
mov eax, dword [eax + edx*4]
mov ecx, dword [edi + 0x30]
mov edx, dword [ecx + 4]
mov dword [esp + 0x24], edx
mov edx, dword [ebx]
push eax
mov ecx, ebx
mov dword [esp + 0x38], eax
call dword [edx + 0x1c]
add eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x10], eax
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x18]
movzx edx, byte [edi + 0x9b]
shl edx, 0xe
xor edx, dword [esi + 0x14]
mov dword [esp + 0x34], eax
and edx, 0x4000
xor dword [esi + 0x14], edx
mov cl, byte [edi + 0x9f]
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
and dh, 0x87
shl eax, 0xc
and ecx, 1
or ch, 3
or edx, eax
mov eax, dword [esp + 0x34]
and eax, 0xff
shl ecx, 8
or ecx, eax
mov eax, dword [esp + 0x24]
and eax, 0xfe7fc01f
or dh, 4
shl ecx, 5
or ecx, eax
mov eax, dword [esp + 0x10]
push eax
push ebp
mov dword [esp + 0x3c], ecx
mov dword [esi + 0xc], edx
mov dword [esi + 0x14], ecx
call fcn.100ea390
mov edx, dword [esp + 0x3c]
mov ecx, edx
xor ecx, eax
and ecx, 0x10
xor ecx, edx
mov dword [esi + 0x14], ecx
mov eax, dword [edi + 0x54]
mov edx, dword [edi + 0x44]
mov edx, dword [eax + edx*4 + 4]
mov dword [esp + 0x3c], edx
mov eax, edx
shr edx, 4
and edx, 3
mov edx, dword [edx*4 + 0x10214474]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x3c]
shr edx, 2
and edx, 3
mov edx, dword [edx*4 + 0x10214474]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x3c]
shr eax, 6
and eax, 3
mov eax, dword [eax*4 + 0x10214474]
and edx, 3
mov edx, dword [edx*4 + 0x10214474]
add esp, 8
mov dword [esp + 0x34], edx
and eax, 3
mov edx, dword [esp + 0x24]
add eax, eax
add eax, eax
and edx, 3
or eax, edx
mov edx, dword [esp + 0x14]
shl eax, 0xe
and edx, 3
or eax, edx
mov edx, dword [esp + 0x34]
add eax, eax
add eax, eax
and edx, 3
and ecx, 0xfff0fff0
or eax, edx
or eax, ecx
mov dword [esi + 0x14], eax
mov ecx, dword [edi + 0x3c]
cmp byte [ecx + 1], 0
je 0x101922ec
and eax, 0xfe1fffff
mov dword [esi + 0x14], eax
cmp dword [ebx + 0x1c], 0
je 0x10192308
push 0x10
lea eax, [esi + 8]
push eax
lea edx, [esp + 0x3c]
push edx
mov ecx, ebx
call fcn.100fd200
mov eax, dword [eax]
jmp 0x1019230d
mov eax, 2
test al, 1
je 0x101926d5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x1c]
lea eax, [esi + 8]
and ecx, 0xffffffc0
or ecx, 0x40
mov dword [eax], ecx
push edx
mov ecx, esi
mov dword [esp + 0x18], eax
call fcn.100ea3e0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov eax, ecx
sar eax, 1
and eax, 1
shl eax, 0x10
and edx, 3
or eax, edx
mov edx, dword [esp + 0x14]
add eax, eax
add eax, eax
add eax, eax
and ecx, 1
or eax, ecx
mov ecx, dword [edx]
shl eax, 9
and ecx, 0xefffcdff
or eax, ecx
mov dword [edx], eax
cmp byte [edi + 0x98], 0
je 0x1019244b
mov ecx, dword [edi + 0x54]
mov ecx, dword [ecx]
mov dword [esp + 0x34], ecx
movzx ecx, byte [edi + 0x99]
shl ecx, 0x14
xor ecx, eax
and ecx, 0x100000
xor ecx, eax
mov dword [edx], ecx
mov edx, dword [esp + 0x34]
mov eax, edx
shr edx, 2
and eax, 3
and edx, 3
cmp eax, edx
jne 0x1019241a
mov edx, dword [esp + 0x34]
shr edx, 4
and edx, 3
cmp eax, edx
jne 0x1019241a
mov edx, dword [esp + 0x34]
shr edx, 6
and edx, 3
cmp eax, edx
jne 0x1019241a
cmp eax, 3
ja case.default.0x101923cf
jmp dword [eax*4 + 0x101926e8]
and ecx, 0xfff2ffff
or ecx, 0x20000
jmp 0x10192426
mov edx, dword [esp + 0x14]
and ecx, 0xfff3ffff
or ecx, 0x30000
mov dword [edx], ecx
jmp case.default.0x101923cf
and ecx, 0xfff4ffff
or ecx, 0x40000
jmp 0x10192426
mov edx, dword [esp + 0x14]
and ecx, 0xfff5ffff
or ecx, 0x50000
mov dword [edx], ecx
jmp case.default.0x101923cf
and ecx, 0xfff1ffff
or ecx, 0x10000
mov eax, dword [esp + 0x14]
mov dword [eax], ecx
mov ecx, dword [edi + 0x50]
mov edx, dword [ecx]
mov eax, dword [edi + 0x34]
mov eax, dword [eax + edx*4]
sub eax, 0
je 0x10192447
sub eax, 1
jne 0x1019244b
or byte [esi + 0x13], 2
jmp 0x1019244b
and byte [esi + 0x13], 0xfd
cmp dword [edi + 0x74], 0
je 0x1019247b
mov eax, dword [edi + 0x78]
mov edx, dword [ebx]
push eax
mov ecx, ebx
mov dword [esp + 0x38], eax
call dword [edx + 0x1c]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x10], eax
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x18]
mov edx, dword [esp + 0x10]
push ebp
push edx
push eax
push 2
jmp 0x101924af
mov eax, dword [edi + 0x4c]
mov ecx, dword [edi + 0x5c]
mov edx, dword [ecx + eax*4]
mov eax, dword [edi + 0x68]
mov eax, dword [eax + edx*4]
mov edx, dword [ebx]
push eax
mov ecx, ebx
mov dword [esp + 0x38], eax
call dword [edx + 0x1c]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x10], eax
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x18]
mov edx, dword [esp + 0x10]
push ebp
push edx
push eax
push 1
mov ecx, esi
call fcn.10142680
movzx ecx, byte [edi + 0xa2]
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
shl ecx, 0x1f
and edx, 0x7fffffff
or ecx, edx
mov dword [eax], ecx
mov ebp, dword [edi + 0x4c]
mov edx, dword [edi + 0x64]
mov ecx, dword [edi + 0x60]
mov eax, dword [ecx + ebp*4]
mov ecx, dword [ecx + ebp*4]
and ecx, dword [edx + ebp*4]
and eax, dword [edx + ebp*4]
mov dword [esp + 0x34], ecx
mov ecx, dword [edi + 0x60]
mov ecx, dword [ecx + ebp*4]
and ecx, dword [edx + ebp*4]
shr eax, 3
mov dword [esp + 0x24], ecx
mov ecx, dword [edi + 0x60]
mov ecx, dword [ecx + ebp*4]
and ecx, dword [edx + ebp*4]
mov edx, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
and eax, 1
add eax, eax
shr edx, 2
and edx, 1
or eax, edx
mov edx, dword [esp + 0x24]
add eax, eax
shr edx, 1
and edx, 1
or eax, edx
mov edx, dword [esp + 0x30]
add eax, eax
and ecx, 1
or eax, ecx
mov ecx, dword [esi + 0xc]
shl eax, 9
and ebp, 7
or eax, ebp
shl eax, 7
and ecx, 0xfff0fc1f
or eax, ecx
push 0
push edx
mov dword [esi + 0xc], eax
call fcn.100ea390
mov ecx, dword [esi + 0x10]
and ecx, 0xfe7f640f
and eax, 0x10
or ecx, eax
or ecx, 0x600400
mov dword [esi + 0x10], ecx
mov edx, dword [edi + 0x44]
mov eax, dword [edi + 0x50]
mov ecx, dword [eax + edx*4 + 8]
mov edx, dword [edi + 0x34]
mov eax, dword [edx + ecx*4]
mov ecx, dword [edi + 0x30]
mov edx, dword [ecx + 8]
add esp, 8
mov dword [esp + 0x24], edx
mov edx, dword [ebx]
push eax
mov ecx, ebx
mov dword [esp + 0x38], eax
call dword [edx + 0x1c]
add eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x10], eax
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x18]
movzx edx, byte [edi + 0x9c]
shl edx, 0xe
xor edx, dword [esi + 0x14]
and eax, 0xff
and edx, 0x4000
xor dword [esi + 0x14], edx
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x34], ecx
mov cl, byte [edi + 0xa0]
and dh, 0x87
shl ebp, 0xc
and ecx, 1
or ch, 3
or edx, ebp
or dh, 4
shl ecx, 8
or ecx, eax
mov eax, dword [esp + 0x34]
shl ecx, 5
and eax, 0xfe7fc01f
mov ebp, ecx
mov ecx, dword [esp + 0x30]
or ebp, eax
mov eax, dword [esp + 0x10]
push eax
push ecx
mov dword [esi + 0xc], edx
mov dword [esi + 0x14], ebp
call fcn.100ea390
mov ecx, ebp
xor ecx, eax
and ecx, 0x10
xor ecx, ebp
mov dword [esi + 0x14], ecx
mov eax, dword [edi + 0x54]
mov edx, dword [edi + 0x44]
mov edx, dword [eax + edx*4 + 8]
mov ebp, edx
shr ebp, 4
and ebp, 3
mov ebp, dword [ebp*4 + 0x10214474]
mov eax, edx
shr eax, 6
and eax, 3
mov eax, dword [eax*4 + 0x10214474]
mov dword [esp + 0x38], ebp
and eax, 3
mov ebp, edx
and edx, 3
mov edx, dword [edx*4 + 0x10214474]
add eax, eax
add eax, eax
shr ebp, 2
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x38]
and ebp, 3
mov ebp, dword [ebp*4 + 0x10214474]
and edx, 3
or eax, edx
shl eax, 0xe
and ebp, 3
or eax, ebp
add eax, eax
and ecx, 0xfff0fff0
add eax, eax
or eax, ecx
mov ecx, dword [esp + 0x3c]
and ecx, 3
or eax, ecx
mov dword [esi + 0x14], eax
mov ecx, dword [edi + 0x3c]
add esp, 8
cmp byte [ecx + 2], 0
je 0x101926a3
and eax, 0xfe1fffff
mov dword [esi + 0x14], eax
cmp dword [ebx + 0x1c], 0
je 0x101926d0
mov edx, dword [esp + 0x14]
push 0x10
push edx
lea eax, [esp + 0x38]
push eax
mov ecx, ebx
call fcn.100fd200
mov eax, dword [eax]
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
mov dword [ecx], eax
mov eax, ecx
pop ebx
add esp, 0x18
ret 0xc
mov eax, 2
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
mov dword [ecx], eax
mov eax, ecx
pop ebx
add esp, 0x18
ret 0xc