Function at 0x101631e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10193bb9
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 0x1016322c
mov eax, dword [ebp - 0x530]
add eax, 1
mov dword [ebp - 0x530], eax
cmp dword [ebp - 0x530], 0xf
jge 0x1016359e
mov ecx, dword [ebp - 0x530]
mov edx, dword [ebp - 0x534]
cmp dword [edx + ecx*4 + 0x318], 0
jne 0x10163251
jmp 0x1016321d
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 0x101632f7
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 0x10163335
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 0x10163384
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 0x101633d3
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 0x10163434
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 0x10163472
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 0x1016350e
cmp byte [ebp - 0x535], 0
je 0x10163502
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 0x1016350e
add dword [ebp - 0x53c], 2
add dword [ebp - 0x540], 2
cmp byte [ebp - 0x536], 0
jne 0x101634b0
mov dword [ebp - 0x550], 0
jmp 0x10163519
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 0x10163569
mov ecx, dword [ebp - 0x530]
mov edx, dword [ebp - 0x534]
cmp dword [edx + ecx*4 + 0x318], 0x40cad9af
jne 0x10163569
push str.CEffect_1.7.5_Loaded
push 0x101dcf36
call fcn.10151230
add esp, 8
mov eax, dword [ebp - 0x544]
add eax, 0x77e0
mov dword [0x101e0584], eax
cmp dword [ebp - 0x544], 0
je 0x10163578
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 0x1016321d
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