Function at 0x10164f60
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10195c89
mov eax, dword fs:[0]
push eax
sub esp, 0x554
mov eax, dword [0x101da820]
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 0x10164fac
mov eax, dword [ebp - 0x530]
add eax, 1
mov dword [ebp - 0x530], eax
cmp dword [ebp - 0x530], 0xf
jge 0x1016531e
mov ecx, dword [ebp - 0x530]
mov edx, dword [ebp - 0x534]
cmp dword [edx + ecx*4 + 0x318], 0
jne 0x10164fd1
jmp 0x10164f9d
lea ecx, [ebp - 0x52c]
call fcn.10087ac0
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.10087860
movzx ecx, al
test ecx, ecx
jne 0x10165077
push 0x10
push 0x101bf2f8
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 0x101650b5
push 0x10
push 0x101bf300
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 0x10165104
push 0x10
push 0x101bf308
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 0x10165153
push 0x10
push 0x101bf310
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.10087860
movzx eax, al
test eax, eax
jne 0x101651b4
push 0x10
push 0x101bf318
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 0x101651f2
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 0x101bf328
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 0x1016528e
cmp byte [ebp - 0x535], 0
je 0x10165282
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 0x1016528e
add dword [ebp - 0x53c], 2
add dword [ebp - 0x540], 2
cmp byte [ebp - 0x536], 0
jne 0x10165230
mov dword [ebp - 0x550], 0
jmp 0x10165299
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 0x101652e9
mov ecx, dword [ebp - 0x530]
mov edx, dword [ebp - 0x534]
cmp dword [edx + ecx*4 + 0x318], 0x40cad9af
jne 0x101652e9
push str.CEffect_1.7.5_Loaded
push 0x101def36
call fcn.10152fa0
add esp, 8
mov eax, dword [ebp - 0x544]
add eax, 0x77e0
mov dword [0x101e2584], eax
cmp dword [ebp - 0x544], 0
je 0x101652f8
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.10087ab0
jmp 0x10164f9d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006d4d0
mov esp, ebp
pop ebp
ret