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

Disassembly:
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x28]
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x14], eax
mov eax, ecx
mov edx, 1
shr eax, 2
test dl, al
push edi
mov edi, dword [ebx + 0x94]
mov dword [esp + 0x20], edx
mov dword [esp + 0x10], 0
je 0x1018dfef
mov dword [esp + 0x10], 2
mov eax, ecx
shr eax, 3
test al, 1
je 0x1018e000
mov dword [esp + 0x10], 1
shr ecx, 1
movzx eax, cl
mov ecx, dword [esi + 0x1c]
and eax, 1
test ecx, ecx
mov dword [esp + 0x1c], eax
je 0x1018e1be
mov eax, dword [esi + 0x44]
sub eax, ecx
add eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x2c]
add eax, eax
add eax, eax
cmp dword [eax + ecx], 0
je 0x1018e1be
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x4c]
mov edx, dword [ecx + edx*4]
mov ebp, dword [esi + 0x50]
mov ecx, dword [esi + 0x68]
mov eax, dword [eax + ebp]
mov ebp, dword [esi + 0x34]
mov ecx, dword [ecx + edx*4]
cmp ecx, dword [ebp + eax*4]
je 0x1018e1ba
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
mov eax, dword [edi + 8]
lea ebp, [edi + 8]
and al, 0x81
or al, 1
mov dword [ebp], eax
mov ecx, dword [esi + 0x44]
sub ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x2c]
add ecx, dword [esi + 0x40]
mov eax, 8
cmp dword [edx + ecx*4], 2
je 0x1018e081
mov eax, dword [esp + 0x18]
push eax
mov ecx, edi
call fcn.100ea3e0
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
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 [esi + 0x4c]
mov edx, dword [esi + 0x5c]
mov eax, dword [edx + ecx*4]
mov ecx, dword [esi + 0x68]
mov eax, dword [ecx + eax*4]
mov edx, dword [ebx]
push eax
mov ecx, ebx
mov dword [esp + 0x18], eax
call dword [edx + 0x1c]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x34], eax
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x18]
mov ecx, dword [esp + 0x34]
mov edx, dword [edi + 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 [edi + 0xc], eax
mov eax, dword [esi + 0x48]
add eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x60]
add eax, dword [esi + 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, edi
push edx
push eax
call fcn.101899a0
mov eax, dword [esi + 0x44]
sub eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x50]
add eax, dword [esi + 0x40]
mov edx, dword [ecx + eax*4]
mov eax, dword [esi + 0x34]
mov eax, dword [eax + edx*4]
mov edx, dword [ebx]
mov dword [esp + 0x14], eax
push eax
mov ecx, ebx
call dword [edx + 0x1c]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x34], eax
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x18]
mov edx, dword [edi + 0xc]
mov ecx, dword [esp + 0x34]
and edx, 0xffffffbf
and eax, 0xff
or edx, 0x3a0
or eax, 0x30000
mov dword [edi + 0xc], edx
mov edx, dword [edi + 0x10]
add ecx, ecx
shl eax, 5
add ecx, ecx
and edx, 0xfe7f600f
or eax, edx
and ecx, 0x10
or eax, ecx
mov dword [edi + 0x10], eax
push ebp
lea eax, [esp + 0x38]
push eax
mov ecx, ebx
call fcn.10142640
mov edx, dword [eax]
jmp 0x1018e1be
mov edx, dword [esp + 0x20]
cmp dword [esi + 0x74], 0
je 0x1018e437
test dl, 1
je 0x1018e792
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
mov eax, dword [edi + 8]
mov ecx, dword [esp + 0x18]
lea ebp, [edi + 8]
and al, 0x81
or al, 1
push ecx
mov ecx, edi
mov dword [esp + 0x24], ebp
mov dword [ebp], eax
call fcn.100ea3e0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
mov eax, ecx
sar eax, 1
and eax, 1
shl eax, 0x10
and edx, 3
or eax, edx
mov edx, dword [ebp]
add eax, eax
add eax, eax
and ecx, 1
add eax, eax
or eax, ecx
shl eax, 9
and edx, 0xefffcdff
or eax, edx
mov dword [ebp], eax
movzx ecx, byte [esi + 0xa2]
shl ecx, 0x1f
and eax, 0x7fffffff
or ecx, eax
mov dword [ebp], ecx
mov ebp, dword [esi + 0x78]
mov edx, dword [ebx]
push ebp
mov ecx, ebx
call dword [edx + 0x1c]
mov dword [esp + 0x34], eax
mov eax, dword [ebx]
push ebp
mov ecx, ebx
call dword [eax + 0x18]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
push ecx
push edx
push eax
push 2
mov ecx, edi
call fcn.10142680
mov ebp, dword [esi + 0x4c]
mov ecx, dword [esi + 0x64]
mov eax, dword [ecx + ebp*4]
mov ecx, dword [ecx + ebp*4]
mov edx, dword [esi + 0x60]
and ecx, dword [edx + ebp*4]
and eax, dword [edx + ebp*4]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi + 0x64]
mov ecx, dword [ecx + ebp*4]
and ecx, dword [edx + ebp*4]
shr eax, 3
mov dword [esp + 0x34], ecx
mov ecx, dword [esi + 0x64]
mov ecx, dword [ecx + ebp*4]
and ecx, dword [edx + ebp*4]
mov edx, dword [esp + 0x2c]
shr edx, 2
and eax, 1
and edx, 1
add eax, eax
or eax, edx
mov edx, dword [esp + 0x34]
shr edx, 1
add eax, eax
and edx, 1
or eax, edx
and ecx, 1
add eax, eax
or eax, ecx
mov ecx, dword [edi + 0xc]
and ecx, 0xfff0ffff
shl eax, 0x10
or eax, ecx
mov dword [edi + 0xc], eax
mov edx, dword [esi + 0x44]
mov eax, dword [esi + 0x50]
mov ecx, dword [eax + edx*4]
mov edx, dword [esi + 0x34]
mov ebp, dword [edx + ecx*4]
mov eax, dword [esi + 0x30]
mov ecx, dword [eax]
mov edx, dword [ebx]
mov dword [esp + 0x2c], ecx
push ebp
mov ecx, ebx
call dword [edx + 0x1c]
add eax, dword [esp + 0x2c]
push ebp
mov dword [esp + 0x38], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x18]
movzx ecx, byte [esi + 0x9a]
shl ecx, 0xe
xor ecx, dword [edi + 0x10]
mov ebp, dword [edi + 0xc]
and ecx, 0x4000
xor dword [edi + 0x10], ecx
mov cl, byte [esi + 0x9e]
mov edx, dword [edi + 0x10]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x30]
and eax, 0xff
and edx, 7
shl edx, 7
and ecx, 1
or ch, 3
and ebp, 0xfffffc3f
or edx, ebp
or edx, 0x20
mov dword [edi + 0xc], edx
shl ecx, 8
or ecx, eax
mov eax, dword [esp + 0x2c]
shl ecx, 5
and eax, 0xfe7f401f
mov ebp, ecx
mov ecx, dword [esp + 0x30]
or ebp, eax
mov eax, dword [esp + 0x34]
push eax
push ecx
mov dword [edi + 0x10], ebp
call fcn.100ea390
xor eax, ebp
and eax, 0x10
mov edx, eax
xor edx, ebp
mov dword [edi + 0x10], edx
mov eax, dword [esi + 0x44]
mov ecx, dword [esi + 0x54]
mov ecx, dword [ecx + eax*4]
mov ebp, ecx
shr ebp, 4
and ebp, 3
mov ebp, dword [ebp*4 + 0x10214474]
mov dword [esp + 0x38], ebp
mov eax, ecx
mov ebp, ecx
shr eax, 6
shr ebp, 2
and eax, 3
mov eax, dword [eax*4 + 0x10214474]
and ebp, 3
mov ebp, dword [ebp*4 + 0x10214474]
add esp, 8
and ecx, 3
mov ecx, dword [ecx*4 + 0x10214474]
and eax, 3
add eax, eax
add eax, eax
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x30]
and ecx, 3
or eax, ecx
mov ecx, dword [esp + 0x2c]
shl eax, 0xe
and ebp, 3
or eax, ebp
add eax, eax
add eax, eax
and ecx, 3
and edx, 0xfff0fff0
or eax, ecx
or eax, edx
mov dword [edi + 0x10], eax
mov edx, dword [esi + 0x3c]
cmp byte [edx], 0
je 0x1018e406
and eax, 0xfe1fffff
mov dword [edi + 0x10], eax
cmp dword [ebx + 0x1c], 0
je 0x1018e77b
mov eax, dword [esp + 0x20]
push 0x10
push eax
lea ecx, [esp + 0x38]
push ecx
mov ecx, ebx
call fcn.100fd200
mov eax, dword [eax]
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov dword [ecx], eax
mov eax, ecx
pop ebx
add esp, 0x14
ret 0x10
test dl, 1
je 0x1018e792
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
mov eax, dword [edi + 8]
mov ecx, dword [esp + 0x18]
lea ebp, [edi + 8]
and al, 0x81
or al, 1
push ecx
mov ecx, edi
mov dword [esp + 0x24], ebp
mov dword [ebp], eax
call fcn.100ea3e0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
mov eax, ecx
sar eax, 1
and eax, 1
shl eax, 0x10
and edx, 3
or eax, edx
mov edx, dword [ebp]
add eax, eax
add eax, eax
add eax, eax
and ecx, 1
or eax, ecx
shl eax, 9
and edx, 0xefffcdff
or eax, edx
mov dword [ebp], eax
cmp byte [esi + 0x98], 0
je 0x1018e558
mov ecx, dword [esi + 0x54]
mov edx, dword [ecx]
movzx ecx, byte [esi + 0x99]
shl ecx, 0x14
xor ecx, eax
and ecx, 0x100000
xor ecx, eax
mov dword [esp + 0x34], ecx
mov dword [ebp], ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], edx
call fcn.10056ca0
test al, al
je 0x1018e528
mov eax, dword [esp + 0x1c]
and eax, 3
cmp eax, 3
ja case.default.0x1018e4e1
jmp dword [eax*4 + 0x1018e7a4]
mov eax, dword [esp + 0x34]
and eax, 0xfff2ffff
or eax, 0x20000
jmp 0x1018e536
mov eax, dword [esp + 0x34]
and eax, 0xfff3ffff
or eax, 0x30000
jmp 0x1018e536
mov eax, dword [esp + 0x34]
and eax, 0xfff4ffff
or eax, 0x40000
jmp 0x1018e536
mov eax, dword [esp + 0x34]
and eax, 0xfff5ffff
or eax, 0x50000
jmp 0x1018e536
mov eax, dword [esp + 0x34]
and eax, 0xfff1ffff
or eax, 0x10000
mov dword [ebp], eax
mov eax, dword [esi + 0x50]
mov ecx, dword [eax]
mov edx, dword [esi + 0x34]
mov eax, dword [edx + ecx*4]
sub eax, 0
je 0x1018e554
sub eax, 1
jne 0x1018e558
or byte [edi + 0x13], 2
jmp 0x1018e558
and byte [edi + 0x13], 0xfd
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x5c]
mov edx, dword [ecx + eax*4]
mov eax, dword [esi + 0x68]
mov eax, dword [eax + edx*4]
mov edx, dword [ebx]
push eax
mov ecx, ebx
mov dword [esp + 0x18], eax
call dword [edx + 0x1c]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x34], eax
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x18]
movzx edx, byte [esi + 0xa2]
mov ecx, dword [ebp]
and ecx, 0x7fffffff
shl edx, 0x1f
or edx, ecx
mov ecx, dword [esp + 0x34]
mov dword [ebp], edx
mov edx, dword [esp + 0x2c]
push edx
push ecx
push eax
push 1
mov ecx, edi
call fcn.10142680
mov ebp, dword [esi + 0x4c]
mov ecx, dword [esi + 0x64]
mov eax, dword [ecx + ebp*4]
mov ecx, dword [ecx + ebp*4]
mov edx, dword [esi + 0x60]
and ecx, dword [edx + ebp*4]
and eax, dword [edx + ebp*4]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi + 0x64]
mov ecx, dword [ecx + ebp*4]
and ecx, dword [edx + ebp*4]
shr eax, 3
mov dword [esp + 0x34], ecx
mov ecx, dword [esi + 0x64]
mov ecx, dword [ecx + ebp*4]
and ecx, dword [edx + ebp*4]
mov edx, dword [esp + 0x2c]
and eax, 1
add eax, eax
shr edx, 2
and edx, 1
or eax, edx
mov edx, dword [esp + 0x34]
add eax, eax
shr edx, 1
and edx, 1
or eax, edx
mov edx, dword [edi + 0xc]
add eax, eax
and ecx, 1
or eax, ecx
shl eax, 0x10
and edx, 0xfff0ffff
or eax, edx
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x44]
mov ecx, dword [esi + 0x50]
mov edx, dword [ecx + eax*4]
mov eax, dword [esi + 0x34]
mov ebp, dword [eax + edx*4]
mov ecx, dword [esi + 0x30]
mov edx, dword [ecx]
mov eax, dword [ebx]
push ebp
mov ecx, ebx
mov dword [esp + 0x30], edx
call dword [eax + 0x1c]
add eax, dword [esp + 0x2c]
mov edx, dword [ebx]
mov dword [esp + 0x34], eax
push ebp
mov ecx, ebx
call dword [edx + 0x18]
movzx ecx, byte [esi + 0x9a]
shl ecx, 0xe
xor ecx, dword [edi + 0x10]
mov ebp, dword [edi + 0xc]
and ecx, 0x4000
xor dword [edi + 0x10], ecx
mov cl, byte [esi + 0x9e]
mov edx, dword [edi + 0x10]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x30]
and eax, 0xff
and edx, 7
shl edx, 7
and ecx, 1
or ch, 3
and ebp, 0xfffffc3f
or edx, ebp
or edx, 0x20
mov dword [edi + 0xc], edx
shl ecx, 8
or ecx, eax
mov eax, dword [esp + 0x2c]
shl ecx, 5
and eax, 0xfe7f401f
mov ebp, ecx
mov ecx, dword [esp + 0x30]
or ebp, eax
mov eax, dword [esp + 0x34]
push eax
push ecx
mov dword [edi + 0x10], ebp
call fcn.100ea390
mov ecx, ebp
xor ecx, eax
and ecx, 0x10
xor ecx, ebp
mov dword [edi + 0x10], ecx
mov eax, dword [esi + 0x54]
mov edx, dword [esi + 0x44]
mov edx, dword [eax + edx*4]
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 + 0x34], 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 + 0x34]
and ecx, 3
or eax, ecx
mov dword [edi + 0x10], eax
mov ecx, dword [esi + 0x3c]
add esp, 8
cmp byte [ecx], 0
je 0x1018e74e
and eax, 0xfe1fffff
mov dword [edi + 0x10], eax
cmp dword [ebx + 0x1c], 0
je 0x1018e77b
mov edx, dword [esp + 0x20]
push 0x10
push edx
lea eax, [esp + 0x38]
push eax
mov ecx, ebx
call fcn.100fd200
mov eax, dword [eax]
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov dword [ecx], eax
mov eax, ecx
pop ebx
add esp, 0x14
ret 0x10
mov ecx, dword [esp + 0x28]
pop edi
pop esi
mov eax, 2
pop ebp
mov dword [ecx], eax
mov eax, ecx
pop ebx
add esp, 0x14
ret 0x10
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov dword [eax], edx
pop ebx
add esp, 0x14
ret 0x10