Function at 0x10165750
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10196619
mov eax, dword fs:[0]
push eax
sub esp, 0x554
mov eax, dword [0x101db820]
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 0x1016579c
mov eax, dword [ebp - 0x530]
add eax, 1
mov dword [ebp - 0x530], eax
cmp dword [ebp - 0x530], 0xf
jge 0x10165b0e
mov ecx, dword [ebp - 0x530]
mov edx, dword [ebp - 0x534]
cmp dword [edx + ecx*4 + 0x318], 0
jne 0x101657c1
jmp 0x1016578d
lea ecx, [ebp - 0x52c]
call fcn.10087b00
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.100878a0
movzx ecx, al
test ecx, ecx
jne 0x10165867
push 0x10
push 0x101c02f8
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 0x101658a5
push 0x10
push 0x101c0300
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 0x101658f4
push 0x10
push 0x101c0308
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 0x10165943
push 0x10
push 0x101c0310
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.100878a0
movzx eax, al
test eax, eax
jne 0x101659a4
push 0x10
push 0x101c0318
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 0x101659e2
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 0x101c0328
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 0x10165a7e
cmp byte [ebp - 0x535], 0
je 0x10165a72
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 0x10165a7e
add dword [ebp - 0x53c], 2
add dword [ebp - 0x540], 2
cmp byte [ebp - 0x536], 0
jne 0x10165a20
mov dword [ebp - 0x550], 0
jmp 0x10165a89
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 0x10165ad9
mov ecx, dword [ebp - 0x530]
mov edx, dword [ebp - 0x534]
cmp dword [edx + ecx*4 + 0x318], 0x40cad9af
jne 0x10165ad9
push str.CEffect_1.7.5_Loaded
push 0x101dff36
call fcn.10153780
add esp, 8
mov eax, dword [ebp - 0x544]
add eax, 0x77e0
mov dword [0x101e3584], eax
cmp dword [ebp - 0x544], 0
je 0x10165ae8
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.10087af0
jmp 0x1016578d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006d500
mov esp, ebp
pop ebp
ret