Function at 0x411b20
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x411b34
push eax
call ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x411510
push 5
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
push str.HSPIO.dll
mov dword [0x427cac], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esi + 4], eax
mov eax, dword [0x427cac]
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov eax, dword [esi + 4]
test eax, eax
jne 0x411b76
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 4]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.HSPEFS_Init
push ecx
call edi
mov edx, dword [esi + 4]
push str.HSPEFS_IsOpen
push edx
mov dword [esi + 0x18], eax
call edi
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 4]
push str.HSPEFS_Close
push eax
call edi
mov ecx, dword [esi + 4]
push str.HSPEFS_SetDefaultMode
push ecx
mov dword [esi + 0x20], eax
call edi
mov edx, dword [esi + 4]
push str.HSPEFS_ReadFileStop
push edx
mov dword [esi + 0x24], eax
call edi
mov dword [esi + 0x28], eax
mov eax, dword [esi + 4]
push str.HSPEFS_WriteFileStop
push eax
call edi
mov ecx, dword [esi + 4]
push str.HSPEFS_Reset
push ecx
mov dword [esi + 0x2c], eax
call edi
mov edx, dword [esi + 4]
push str.ChangePacketMode
push edx
mov dword [esi + 0x30], eax
call edi
mov dword [esi + 0x34], eax
mov eax, dword [esi + 4]
push str.HSPEFS_Open
push eax
call edi
mov ecx, dword [esi + 4]
push str.HSPEFS_ReadFile
push ecx
mov dword [esi + 0x38], eax
call edi
mov edx, dword [esi + 4]
push str.HSPEFS_RemoveFile
push edx
mov dword [esi + 0x3c], eax
call edi
mov dword [esi + 0x40], eax
mov eax, dword [esi + 4]
push str.MakeDirectory
push eax
call edi
mov ecx, dword [esi + 4]
push str.DeleteDirectory
push ecx
mov dword [esi + 0x44], eax
call edi
mov edx, dword [esi + 4]
push str.WriteStream
push edx
mov dword [esi + 0x48], eax
call edi
mov dword [esi + 0x4c], eax
mov eax, dword [esi + 4]
push str.HSPEFS_WriteFile
push eax
call edi
mov ecx, dword [esi + 4]
push str.HSPEFS_GetAppInfo
push ecx
mov dword [esi + 0x50], eax
call edi
mov edx, dword [esi + 4]
push str.HSPEFS_GetLastError
push edx
mov dword [esi + 0x54], eax
call edi
mov dword [esi + 0x58], eax
mov eax, dword [esi + 4]
push str.HSPEFS_GetFreeMemSize
push eax
call edi
mov ecx, dword [esi + 4]
push str.HSPEFS_GetConnectionString
push ecx
mov dword [esi + 0x5c], eax
call edi
mov edx, dword [esi + 4]
push str.HSPEFS_GetHSPConfig
push edx
mov dword [esi + 0x60], eax
call edi
mov dword [esi + 0x64], eax
mov eax, dword [esi + 4]
push str.HSPEFS_GetFileList
push eax
call edi
mov ecx, dword [esi + 4]
push str.HSPEFS_GetUIFileList
push ecx
mov dword [esi + 0x68], eax
call edi
mov edx, dword [esi + 4]
push str.HSPEFS_SetReadFileEvent
push edx
mov dword [esi + 0x6c], eax
call edi
mov dword [esi + 0x70], eax
mov eax, dword [esi + 4]
push str.HSPEFS_SetWriteFileEvent
push eax
call edi
mov ecx, dword [esi + 4]
push str.HSPEFS_SetGetFileListEvent
push ecx
mov dword [esi + 0x74], eax
call edi
mov edx, dword [esi + 4]
push str.HSPEFS_SetRcvCallBack
push edx
mov dword [esi + 0x78], eax
call edi
mov dword [esi + 0x7c], eax
mov eax, dword [esi + 4]
push str.SendUserCmd
push eax
call edi
mov ecx, dword [esi + 4]
push str.GetBatteryLevel
push ecx
mov dword [esi + 0x80], eax
call edi
mov edx, dword [esi + 4]
push str.HSPEFS_GetFreeMemSizeEx
push edx
mov dword [esi + 0x84], eax
call edi
mov dword [esi + 0x88], eax
mov eax, dword [esi + 4]
push str.HSPEFS_RenameFile
push eax
call edi
mov ecx, dword [esi + 4]
push str.HSPEFS_SetEventCallBack
push ecx
mov dword [esi + 0x8c], eax
call edi
mov dword [esi + 0x90], eax
mov eax, dword [esi + 0x18]
test eax, eax
pop edi
je 0x411e38
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x411e38
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x411e38
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x411e38
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x411e38
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x411e38
mov ecx, dword [esi + 0x30]
test ecx, ecx
je 0x411e38
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x411e38
mov ecx, dword [esi + 0x3c]
test ecx, ecx
je 0x411e38
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x411e38
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x411e38
mov ecx, dword [esi + 0x4c]
test ecx, ecx
je 0x411e38
mov ecx, dword [esi + 0x54]
test ecx, ecx
je 0x411e38
mov ecx, dword [esi + 0x58]
test ecx, ecx
je 0x411e38
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x411e38
mov ecx, dword [esi + 0x60]
test ecx, ecx
je 0x411e38
mov ecx, dword [esi + 0x64]
test ecx, ecx
je 0x411e38
mov ecx, dword [esi + 0x68]
test ecx, ecx
je 0x411e38
mov ecx, dword [esi + 0x70]
test ecx, ecx
je 0x411e38
mov ecx, dword [esi + 0x74]
test ecx, ecx
je 0x411e38
mov ecx, dword [esi + 0x7c]
test ecx, ecx
je 0x411e38
mov ecx, dword [esi + 0x78]
test ecx, ecx
je 0x411e38
mov ecx, dword [esi + 0x80]
test ecx, ecx
je 0x411e38
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x411e38
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x411e38
mov ecx, dword [esi + 0x48]
test ecx, ecx
je 0x411e38
mov ecx, dword [esi + 0x84]
test ecx, ecx
je 0x411e38
call eax
test al, al
pop esi
setne al
pop ebx
ret
push 0x41e070
call fcn.00401a00
mov edx, dword [esi + 4]
add esp, 4
push edx
call ebx
mov dword [esi + 4], 0
pop esi
xor al, al
pop ebx
ret