Function at 0x1018f250
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 ebp, dword [esi + 0x24]
mov eax, dword [esi + 0xc]
mov edx, ebp
mov ecx, 1
shr edx, 2
test cl, dl
push edi
mov edi, dword [ebx + 0x94]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0
je 0x1018f28f
mov dword [esp + 0x10], 2
mov eax, ebp
shr eax, 3
test al, 1
je 0x1018f29c
mov dword [esp + 0x10], ecx
mov edx, ebp
shr edx, 1
movzx eax, dl
mov edx, dword [esi + 0x1c]
and eax, ecx
test edx, edx
mov dword [esp + 0x1c], eax
je 0x1018f45b
mov eax, dword [esi + 0x44]
sub eax, edx
add eax, dword [esi + 0x40]
mov edx, dword [esi + 0x2c]
add eax, eax
add eax, eax
cmp dword [eax + edx], 0
je 0x1018f45b
mov edx, dword [esi + 0x5c]
mov ecx, dword [esi + 0x4c]
mov ecx, dword [edx + ecx*4]
mov ebp, dword [esi + 0x50]
mov edx, dword [esi + 0x68]
mov eax, dword [eax + ebp]
mov ebp, dword [esi + 0x34]
mov ecx, dword [edx + ecx*4]
cmp ecx, dword [ebp + eax*4]
je 0x1018f457
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 0x1018f31e
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 ecx, dword [eax]
jmp 0x1018f45b
mov ecx, dword [esp + 0x20]
cmp dword [esi + 0x74], 0
je 0x1018f700
test cl, 1
je 0x1018fa2b
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
mov eax, dword [edi + 8]
xor eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
lea ebp, [edi + 8]
and eax, 0x7f
xor dword [ebp], eax
push ecx
mov ecx, edi
mov dword [esp + 0x24], ebp
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 + 0x30]
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, eax
mov eax, dword [esp + 0x30]
and ecx, 0x4000
xor dword [edi + 0x10], ecx
mov cl, byte [esi + 0x9e]
mov edx, dword [edi + 0x10]
mov dword [esp + 0x18], edx
mov edx, dword [edi + 0xc]
and eax, 7
mov dword [esp + 0x2c], eax
shl eax, 7
and ecx, 1
or ch, 3
and ebp, 0xff
and edx, 0xfffffc3f
or edx, eax
mov eax, dword [esp + 0x18]
and eax, 0xfe7f401f
or edx, 0x20
shl ecx, 8
or ecx, ebp
shl ecx, 5
mov ebp, ecx
mov ecx, dword [esp + 0x30]
or ebp, eax
mov eax, dword [esp + 0x34]
push eax
push ecx
mov dword [esp + 0x24], edx
mov dword [edi + 0xc], edx
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
mov dword [esp + 0x38], ebp
and eax, 3
mov eax, dword [eax*4 + 0x10214474]
mov ebp, edx
add esp, 8
shr ebp, 2
and edx, 3
mov edx, dword [edx*4 + 0x10214474]
and eax, 3
add eax, eax
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x30]
add eax, eax
and edx, 3
or eax, edx
mov edx, dword [esp + 0x34]
and ebp, 3
mov ebp, dword [ebp*4 + 0x10214474]
shl eax, 0xe
and ebp, 3
or eax, ebp
add eax, eax
add eax, eax
and edx, 3
or eax, edx
and ecx, 0xfff0fff0
or eax, ecx
mov dword [edi + 0x10], eax
mov ecx, dword [esi + 0x3c]
cmp byte [ecx], 0
je 0x1018f6b1
and eax, 0xfe1fffff
mov dword [edi + 0x10], eax
mov edx, dword [esi + 0x28]
mov ecx, dword [esp + 0x1c]
mov eax, dword [edx]
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0x2c]
and ch, 0x8f
shl eax, 0xc
or eax, ecx
or ah, 0xc
mov dword [edi + 0xc], eax
cmp dword [ebx + 0x1c], 0
je 0x1018fa14
mov ecx, dword [esp + 0x20]
push 0x10
push ecx
lea edx, [esp + 0x38]
push edx
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 cl, 1
je 0x1018fa2b
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [edi + 8]
xor ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
lea ebp, [edi + 8]
and ecx, 0x7f
xor dword [ebp], ecx
push edx
mov ecx, edi
mov dword [esp + 0x24], ebp
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
add eax, eax
add eax, eax
add eax, eax
and ecx, 1
or eax, ecx
mov ecx, dword [ebp]
shl eax, 9
and ecx, 0xefffcdff
or eax, ecx
mov dword [ebp], eax
cmp byte [esi + 0x98], 0
je 0x1018f824
mov edx, dword [esi + 0x54]
mov ecx, dword [edx]
mov dword [esp + 0x34], ecx
movzx ecx, byte [esi + 0x99]
shl ecx, 0x14
xor ecx, eax
and ecx, 0x100000
xor ecx, eax
mov dword [esp + 0x2c], ecx
mov dword [ebp], ecx
lea ecx, [esp + 0x34]
call fcn.10056ca0
test al, al
je 0x1018f7f4
mov eax, dword [esp + 0x34]
and eax, 3
cmp eax, 3
ja case.default.0x1018f7ad
jmp dword [eax*4 + 0x1018fa3c]
mov eax, dword [esp + 0x2c]
and eax, 0xfff2ffff
or eax, 0x20000
jmp 0x1018f802
mov eax, dword [esp + 0x2c]
and eax, 0xfff3ffff
or eax, 0x30000
jmp 0x1018f802
mov eax, dword [esp + 0x2c]
and eax, 0xfff4ffff
or eax, 0x40000
jmp 0x1018f802
mov eax, dword [esp + 0x2c]
and eax, 0xfff5ffff
or eax, 0x50000
jmp 0x1018f802
mov eax, dword [esp + 0x2c]
and eax, 0xfff1ffff
or eax, 0x10000
mov dword [ebp], eax
mov edx, dword [esi + 0x50]
mov eax, dword [edx]
mov ecx, dword [esi + 0x34]
mov eax, dword [ecx + eax*4]
sub eax, 0
je 0x1018f820
sub eax, 1
jne 0x1018f824
or byte [edi + 0x13], 2
jmp 0x1018f824
and byte [edi + 0x13], 0xfd
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x5c]
mov ecx, dword [eax + edx*4]
mov edx, dword [esi + 0x68]
mov eax, dword [edx + ecx*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 + 0x30]
push edx
push ecx
push eax
push 1
mov ecx, edi
call fcn.10142680
mov ebp, dword [esi + 0x4c]
mov edx, dword [esi + 0x64]
mov eax, dword [edx + ebp*4]
mov edx, dword [edx + ebp*4]
mov ecx, dword [esi + 0x60]
and edx, dword [ecx + ebp*4]
and eax, dword [ecx + ebp*4]
mov ecx, dword [ecx + ebp*4]
mov dword [esp + 0x2c], edx
mov edx, dword [esi + 0x64]
and ecx, dword [edx + ebp*4]
shr eax, 3
mov dword [esp + 0x34], ecx
mov ecx, dword [esi + 0x60]
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]
mov ebp, eax
movzx eax, byte [esi + 0x9a]
shl eax, 0xe
xor eax, dword [edi + 0x10]
mov edx, dword [edi + 0xc]
and eax, 0x4000
xor dword [edi + 0x10], eax
mov ecx, dword [edi + 0x10]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x18], ecx
mov cl, byte [esi + 0x9e]
and eax, 7
mov dword [esp + 0x2c], eax
shl eax, 7
and edx, 0xfffffc3f
or edx, eax
mov eax, dword [esp + 0x18]
and ecx, 1
or ch, 3
and ebp, 0xff
or edx, 0x20
and eax, 0xfe7f401f
mov dword [esp + 0x1c], edx
mov dword [edi + 0xc], edx
mov edx, dword [esp + 0x34]
shl ecx, 8
or ecx, ebp
shl ecx, 5
mov ebp, ecx
or ebp, eax
mov eax, dword [esp + 0x30]
push edx
push eax
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
mov ebp, edx
and eax, 3
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]
add esp, 8
and ecx, 3
jmp 0x1018f69c
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], ecx
pop ebx
add esp, 0x14
ret 0x10