Function at 0x140009840
Capabilities:
Link many functions at runtime

Disassembly:
push rdi
sub rsp, 0x20
mov rax, qword [0x14003c180]
test rax, rax
je 0x140009867
inc rax
mov qword [0x14003c180], rax
mov eax, 1
add rsp, 0x20
pop rdi
ret
lea rcx, str.MediaInfo.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x14003c0a8], rax
test rax, rax
je 0x140009c80
lea rdx, str.MediaInfo_New
mov qword [rsp + 0x30], rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14003c0a8]
lea rdx, str.MediaInfoList_New
xor ebx, ebx
mov qword [0x14003c110], rax
test rax, rax
mov edi, 1
cmove ebx, edi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003c0b8], rax
test rax, rax
jne 0x1400098d0
inc rbx
mov rcx, qword [0x14003c0a8]
lea rdx, str.MediaInfo_Delete
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003c0c0], rax
test rax, rax
jne 0x1400098f3
inc rbx
mov rcx, qword [0x14003c0a8]
lea rdx, str.MediaInfoList_Delete
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003c170], rax
test rax, rax
jne 0x140009916
inc rbx
mov rcx, qword [0x14003c0a8]
lea rdx, str.MediaInfo_Open
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003c0f8], rax
test rax, rax
jne 0x140009939
inc rbx
mov rcx, qword [0x14003c0a8]
lea rdx, str.MediaInfoList_Open
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003c188], rax
test rax, rax
jne 0x14000995c
inc rbx
mov rcx, qword [0x14003c0a8]
lea rdx, str.MediaInfo_Open_Buffer_Init
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003c158], rax
test rax, rax
jne 0x14000997f
inc rbx
mov rcx, qword [0x14003c0a8]
lea rdx, str.MediaInfo_Open_Buffer_Continue
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003c0f0], rax
test rax, rax
jne 0x1400099a2
inc rbx
mov rcx, qword [0x14003c0a8]
lea rdx, str.MediaInfo_Open_Buffer_Continue_GoTo_Get
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003c118], rax
test rax, rax
jne 0x1400099c5
inc rbx
mov rcx, qword [0x14003c0a8]
lea rdx, str.MediaInfo_Open_Buffer_Finalize
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003c138], rax
test rax, rax
jne 0x1400099e8
inc rbx
mov rcx, qword [0x14003c0a8]
lea rdx, str.MediaInfo_Open_NextPacket
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003c150], rax
test rax, rax
jne 0x140009a0b
inc rbx
mov rcx, qword [0x14003c0a8]
lea rdx, str.MediaInfo_Close
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003c0c8], rax
test rax, rax
jne 0x140009a2e
inc rbx
mov rcx, qword [0x14003c0a8]
lea rdx, str.MediaInfoList_Close
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003c108], rax
test rax, rax
jne 0x140009a51
inc rbx
mov rcx, qword [0x14003c0a8]
lea rdx, str.MediaInfo_Inform
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003c178], rax
test rax, rax
jne 0x140009a74
inc rbx
mov rcx, qword [0x14003c0a8]
lea rdx, str.MediaInfoList_Inform
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003c0d8], rax
test rax, rax
jne 0x140009a97
inc rbx
mov rcx, qword [0x14003c0a8]
lea rdx, str.MediaInfo_GetI
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003c0e8], rax
test rax, rax
jne 0x140009aba
inc rbx
mov rcx, qword [0x14003c0a8]
lea rdx, str.MediaInfoList_GetI
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003c0d0], rax
test rax, rax
jne 0x140009add
inc rbx
mov rcx, qword [0x14003c0a8]
lea rdx, str.MediaInfo_Get
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003c120], rax
test rax, rax
jne 0x140009b00
inc rbx
mov rcx, qword [0x14003c0a8]
lea rdx, str.MediaInfoList_Get
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003c190], rax
test rax, rax
jne 0x140009b23
inc rbx
mov rcx, qword [0x14003c0a8]
lea rdx, str.MediaInfo_Output_Buffer_Get
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003c0e0], rax
test rax, rax
jne 0x140009b46
inc rbx
mov rcx, qword [0x14003c0a8]
lea rdx, str.MediaInfo_Output_Buffer_GetI
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003c128], rax
test rax, rax
jne 0x140009b69
inc rbx
mov rcx, qword [0x14003c0a8]
lea rdx, str.MediaInfo_Option
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003c168], rax
test rax, rax
jne 0x140009b8c
inc rbx
mov rcx, qword [0x14003c0a8]
lea rdx, str.MediaInfoList_Option
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003c148], rax
test rax, rax
jne 0x140009baf
inc rbx
mov rcx, qword [0x14003c0a8]
lea rdx, str.MediaInfo_State_Get
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003c160], rax
test rax, rax
jne 0x140009bd2
inc rbx
mov rcx, qword [0x14003c0a8]
lea rdx, str.MediaInfoList_State_Get
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003c100], rax
test rax, rax
jne 0x140009bf5
inc rbx
mov rcx, qword [0x14003c0a8]
lea rdx, str.MediaInfo_Count_Get
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003c0b0], rax
test rax, rax
jne 0x140009c18
inc rbx
mov rcx, qword [0x14003c0a8]
lea rdx, str.MediaInfoList_Count_Get
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003c130], rax
test rax, rax
jne 0x140009c3b
inc rbx
mov rcx, qword [0x14003c0a8]
lea rdx, str.MediaInfoList_Count_Get_Files
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003c140], rax
test rax, rax
jne 0x140009c5e
inc rbx
test rbx, rbx
mov rbx, qword [rsp + 0x30]
je 0x140009c8d
mov rcx, qword [0x14003c0a8]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [0x14003c0a8], 0
mov rax, 0xffffffffffffffff
add rsp, 0x20
pop rdi
ret
inc qword [0x14003c180]
mov rax, rdi
add rsp, 0x20
pop rdi
ret