Function at 0x10163260
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10193c89
mov eax, dword fs:[0]
push eax
sub esp, 0x554
mov eax, dword [0x101d8820]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x534], ecx
mov dword [ebp - 0x530], 0
jmp 0x101632ac
mov eax, dword [ebp - 0x530]
add eax, 1
mov dword [ebp - 0x530], eax
cmp dword [ebp - 0x530], 0xf
jge 0x1016361e
mov ecx, dword [ebp - 0x530]
mov edx, dword [ebp - 0x534]
cmp dword [edx + ecx*4 + 0x318], 0
jne 0x101632d1
jmp 0x1016329d
lea ecx, [ebp - 0x52c]
call fcn.10086b30
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x530]
add eax, 1
mov dword [ebp - 0x55c], eax
lea ecx, [ebp - 0x55c]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x560], esp
push str.Plugin__CRC_error_
call fcn.10001fe0
lea edx, [ebp - 0x12c]
push edx
call fcn.10001f20
add esp, 0xc
mov byte [ebp - 4], 1
push 0x400
lea eax, [ebp - 0x54c]
push eax
mov ecx, dword [ebp - 0x530]
shl ecx, 5
mov edx, dword [ebp - 0x534]
lea eax, [edx + ecx + 0x138]
push eax
lea ecx, [ebp - 0x52c]
call fcn.100868d0
movzx ecx, al
test ecx, ecx
jne 0x10163377
push 0x10
push 0x101bd2f8
lea ecx, [ebp - 0x12c]
call fcn.10009b30
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, dword [ebp - 0x530]
mov eax, dword [ebp - 0x534]
mov ecx, dword [eax + edx*4 + 0x318]
cmp ecx, dword [ebp - 0x54c]
je 0x101633b5
push 0x10
push 0x101bd300
lea ecx, [ebp - 0x12c]
call fcn.10009b30
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, dword [ebp - 0x530]
shl edx, 5
mov eax, dword [ebp - 0x534]
lea ecx, [eax + edx + 0x138]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x558], eax
cmp dword [ebp - 0x558], 0
je 0x10163404
push 0x10
push 0x101bd308
lea ecx, [ebp - 0x12c]
call fcn.10009b30
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, dword [ebp - 0x530]
shl edx, 5
mov eax, dword [ebp - 0x534]
lea ecx, [eax + edx + 0x138]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x548], eax
cmp dword [ebp - 0x548], 0
jne 0x10163453
push 0x10
push 0x101bd310
lea ecx, [ebp - 0x12c]
call fcn.10009b30
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x104
lea edx, [ebp - 0x114]
push edx
mov eax, dword [ebp - 0x548]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x400
lea ecx, [ebp - 0x54c]
push ecx
lea edx, [ebp - 0x114]
push edx
lea ecx, [ebp - 0x52c]
call fcn.100868d0
movzx eax, al
test eax, eax
jne 0x101634b4
push 0x10
push 0x101bd318
lea ecx, [ebp - 0x12c]
call fcn.10009b30
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 0x530]
mov edx, dword [ebp - 0x534]
mov eax, dword [edx + ecx*4 + 0x318]
cmp eax, dword [ebp - 0x54c]
je 0x101634f2
push 0x10
push str.Error
lea ecx, [ebp - 0x12c]
call fcn.10009b30
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x101bd328
mov ecx, dword [ebp - 0x548]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x544], eax
mov dword [ebp - 0x540], str.CEffect.dll
mov edx, dword [ebp - 0x530]
shl edx, 5
mov eax, dword [ebp - 0x534]
lea ecx, [eax + edx + 0x138]
mov dword [ebp - 0x53c], ecx
mov edx, dword [ebp - 0x53c]
mov al, byte [edx]
mov byte [ebp - 0x535], al
mov ecx, dword [ebp - 0x540]
cmp al, byte [ecx]
jne 0x1016358e
cmp byte [ebp - 0x535], 0
je 0x10163582
mov edx, dword [ebp - 0x53c]
mov al, byte [edx + 1]
mov byte [ebp - 0x536], al
mov ecx, dword [ebp - 0x540]
cmp al, byte [ecx + 1]
jne 0x1016358e
add dword [ebp - 0x53c], 2
add dword [ebp - 0x540], 2
cmp byte [ebp - 0x536], 0
jne 0x10163530
mov dword [ebp - 0x550], 0
jmp 0x10163599
sbb edx, edx
or edx, 1
mov dword [ebp - 0x550], edx
mov eax, dword [ebp - 0x550]
mov dword [ebp - 0x554], eax
cmp dword [ebp - 0x554], 0
jne 0x101635e9
mov ecx, dword [ebp - 0x530]
mov edx, dword [ebp - 0x534]
cmp dword [edx + ecx*4 + 0x318], 0x40cad9af
jne 0x101635e9
push str.CEffect_1.7.5_Loaded
push 0x101dcf36
call fcn.101512b0
add esp, 8
mov eax, dword [ebp - 0x544]
add eax, 0x77e0
mov dword [0x101e0584], eax
cmp dword [ebp - 0x544], 0
je 0x101635f8
call dword [ebp - 0x544]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x12c]
call fcn.1000a4d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x52c]
call fcn.10086b20
jmp 0x1016329d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006c530
mov esp, ebp
pop ebp
ret