Function at 0x44de80
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x47c650
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4a5eb0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
push str._Test__LoadLibrary
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [esi + 0x20], 0
je 0x44ded1
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
call fcn.0044d510
cmp eax, 0xb
jne 0x44e05b
mov eax, dword [0x4a6260]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.0044dce0
push str.FsDeviceLib64.dll
push eax
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x34], 0
call fcn.00408a60
mov eax, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
add esp, 0x14
push eax
call edi
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
or ebx, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44df3a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x20], ebx
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44df5d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esi + 0x20], 0
jne 0x44dfd9
mov ecx, dword [0x4a6260]
push ecx
lea edx, [esp + 0x14]
push edx
call fcn.0044dce0
push str.FsDeviceLib64.dll
push eax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x34], 1
call fcn.00408a60
mov eax, dword [eax]
add esp, 0x14
push eax
call edi
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44dfb6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x20], ebx
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44dfd9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0x20]
test eax, eax
jne 0x44e1d4
mov edx, dword [0x4a643c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4a643c
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CFsUsbDeviceLib::LoadLibraryW
lea ecx, [esp + 0x18]
push str._s__ERROR:_d
push ecx
call fcn.00402e80
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 0x10
mov dword [esp + 0x20], ebx
lea edx, [eax + 0xc]
lock xadd dword [edx], ebx
dec ebx
test ebx, ebx
jg 0x44e2c7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
mov ecx, dword [0x4a6260]
push ecx
lea edx, [esp + 0x14]
push edx
call fcn.0044dce0
push str.FsUsbExDeviceLib.dll
push eax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x34], 3
call fcn.00408a60
mov eax, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
add esp, 0x14
push eax
call edi
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or ebx, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44e0b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x20], ebx
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44e0da
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esi + 0x20], 0
jne 0x44e156
mov ecx, dword [0x4a6260]
push ecx
lea edx, [esp + 0x14]
push edx
call fcn.0044dce0
push str.FsUsbExDeviceLib.dll
push eax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x34], 4
call fcn.00408a60
mov eax, dword [eax]
add esp, 0x14
push eax
call edi
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44e133
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x20], ebx
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44e156
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0x20]
test eax, eax
jne 0x44e1d4
mov edx, dword [0x4a643c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4a643c
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], 5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CFsUsbDeviceLib::LoadLibraryW
lea ecx, [esp + 0x18]
push str._s__ERROR:_d
push ecx
call fcn.00402e80
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 0x10
mov dword [esp + 0x20], ebx
lea edx, [eax + 0xc]
lock xadd dword [edx], ebx
dec ebx
test ebx, ebx
jg 0x44e2c7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.FSUSB_Initize
push eax
call edi
mov ecx, dword [esi + 0x20]
push str.FSUSB_Finalize
push ecx
mov dword [esi], eax
call edi
mov edx, dword [esi + 0x20]
push str.FSUSB_LoadDevice
push edx
mov dword [esi + 4], eax
call edi
mov dword [esi + 8], eax
mov eax, dword [esi + 0x20]
push str.FSUSB_UnloadDevice
push eax
call edi
mov ecx, dword [esi + 0x20]
push str.FSUSB_Drive
push ecx
mov dword [esi + 0xc], eax
call edi
mov edx, dword [esi + 0x20]
push str.FSUSB_Enable
push edx
mov dword [esi + 0x18], eax
call edi
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x20]
push str.FSUSB_Disable
push eax
call edi
mov ecx, dword [esi + 0x20]
push str.FSUSB_SetAgentPid
push ecx
mov dword [esi + 0x14], eax
call edi
mov ecx, dword [esi]
mov dword [esi + 0x1c], eax
test ecx, ecx
je 0x44e2b6
cmp dword [esi + 4], 0
je 0x44e2b6
cmp dword [esi + 8], 0
je 0x44e2b6
cmp dword [esi + 0xc], 0
je 0x44e2b6
cmp dword [esi + 0x18], 0
je 0x44e2b6
cmp dword [esi + 0x10], 0
je 0x44e2b6
cmp dword [esi + 0x14], 0
je 0x44e2b6
test eax, eax
je 0x44e2b6
cmp dword [esi + 0x20], 0
je 0x44e298
call ecx
xor edx, edx
test eax, eax
sete dl
mov eax, edx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
mov eax, ebx
xor edx, edx
test eax, eax
sete dl
mov eax, edx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 0x20], 0
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret