Function at 0x660c4ed0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
call fcn.660c2380
call fcn.66102980
test eax, eax
je 0x660c4f10
mov dword [esp + 4], str.Couldnt_initialize_MinHook
mov edi, 1
mov dword [esp], 0x661de17d
call dword [0x661dc038]
add esp, 0x2c
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
call fcn.660ca390
test al, al
je 0x660c51b0
mov esi, dword [0x66238044]
mov eax, dword [0x661dc030]
test esi, esi
je 0x660c5180
mov dword [esp + 4], str.IFS_layeredFS_v3.3_init
mov dword [esp], 0x661de17d
call eax
mov eax, dword [0x66238110]
mov dword [esp], 0x661de17d
mov dword [esp + 4], str.AVS_DLL_detected:__s
mov dword [esp + 8], eax
call dword [0x661dc030]
call fcn.660c1fb0
call fcn.660d8810
call fcn.660da050
mov dword [esp + 0xc], 0x66238090
mov dword [esp + 8], 0x660c9bf0
mov dword [esp + 4], str._pkfs_fs_open__YAIPBD_Z
mov dword [esp], 0x661de2bc
call fcn.66103490
sub esp, 0x10
test eax, eax
je 0x660c50f0
mov dword [esp + 0xc], 0x66238090
mov dword [esp + 8], 0x660c9bf0
mov dword [esp + 4], str.pkfs_fs_open
mov dword [esp], 0x661de350
call fcn.66103490
sub esp, 0x10
test eax, eax
je 0x660c5200
mov ebx, dword [0x66238090]
test ebx, ebx
je 0x660c5014
mov ecx, dword [0x6623808c]
test ecx, ecx
je 0x660c5160
mov edx, dword [0x66238088]
test edx, edx
je 0x660c5160
mov eax, dword [0x66238084]
test eax, eax
je 0x660c5160
mov dword [esp + 4], str.pkfs_hooks_activated
mov dword [esp], 0x661de17d
call dword [0x661dc030]
mov dword [esp], 0
call fcn.66103030
sub esp, 4
mov edi, eax
test eax, eax
jne 0x660c51d8
lea ebp, [esp + 0x14]
mov dword [esp + 4], str.Hook_DLL_init_success
mov dword [esp], 0x661de17d
call dword [0x661dc030]
mov dword [esp + 4], str.Detected_mod_folders:
mov dword [esp], 0x661de17d
call dword [0x661dc030]
mov dword [esp], ebp
call fcn.660d7a20
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
cmp esi, ebx
je 0x660c50ca
nop
mov eax, dword [esi]
mov dword [esp + 4], 0x661de431
mov dword [esp], 0x661de17d
mov dword [esp + 8], eax
call dword [0x661dc030]
add esi, 0x18
cmp ebx, esi
jne 0x660c5070
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
cmp esi, ebx
je 0x660c50ca
nop
mov eax, dword [ebx]
lea edx, [ebx + 8]
cmp eax, edx
je 0x660c5150
mov ecx, dword [ebx + 8]
mov dword [esp], eax
add ebx, 0x18
lea edx, [ecx + 1]
mov dword [esp + 4], edx
call fcn.661cddb0
cmp esi, ebx
jne 0x660c50a0
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x660c4eff
mov eax, dword [esp + 0x1c]
mov dword [esp], ebx
sub eax, ebx
mov dword [esp + 4], eax
call fcn.661cddb0
add esp, 0x2c
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], str.libpackfs.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
sub esp, 4
mov ebx, eax
mov dword [esp + 4], str._pkfs_fs_fstat__YAEIPAUT_AVS_FS_STAT___Z
mov dword [esp], eax
call esi
sub esp, 8
mov dword [0x6623808c], eax
mov dword [esp + 4], str._pkfs_fs_read__YAHIPAXH_Z
mov dword [esp], ebx
call esi
sub esp, 8
mov dword [0x66238088], eax
mov dword [esp + 4], str._pkfs_fs_close__YAHI_Z
mov dword [esp], ebx
call esi
mov dword [0x66238084], eax
sub esp, 8
jmp 0x660c4fcc
add ebx, 0x18
cmp esi, ebx
jne 0x660c50a0
jmp 0x660c50c6
mov dword [esp + 4], str.Couldnt_fully_init_pkfs_hook___open_an_issue_
mov dword [esp], 0x661de17d
call dword [0x661dc038]
jmp 0x660c5014
mov eax, dword [0x66238108]
mov edx, dword [0x662380fc]
mov dword [0x661dc038], eax
mov eax, dword [0x66238104]
mov dword [0x661dc02c], edx
mov dword [0x661dc034], eax
mov eax, dword [0x66238100]
mov dword [0x661dc030], eax
jmp 0x660c4f30
mov dword [esp + 4], str.Couldnt_find_ifs_operations_in_dll._Send_avs_dll__libavs_winxx.dll_or_avs2_core.dll__to_mon.
mov edi, 2
mov dword [esp], 0x661de17d
call dword [0x661dc038]
add esp, 0x2c
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], str.Couldnt_enable_hooks
mov edi, 2
mov dword [esp], 0x661de17d
call dword [0x661dc034]
jmp 0x660c4eff
mov dword [esp], str.pkfs.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
sub esp, 4
mov ebx, eax
mov dword [esp + 4], str.pkfs_fs_fstat
mov dword [esp], eax
call esi
sub esp, 8
mov dword [0x6623808c], eax
mov dword [esp + 4], str.pkfs_fs_read
mov dword [esp], ebx
call esi
sub esp, 8
mov dword [0x66238088], eax
mov dword [esp + 4], str.pkfs_fs_close
mov dword [esp], ebx
call esi
sub esp, 8
mov dword [0x66238084], eax
mov dword [esp + 4], str.pkfs_clear_hdd_error
mov dword [esp], ebx
call esi
mov dword [0x66238080], eax
sub esp, 8
jmp 0x660c4fcc