Function at 0x140015240
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x230
mov rdi, rcx
add rcx, 8
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rdi + 0x808], rax
test rax, rax
jne 0x1400152aa
lea rcx, [rdi + 8]
call fcn.140086a64
mov ebx, eax
test eax, eax
je 0x140015534
cmp eax, 0x40
je 0x140015534
mov ecx, 0x5c8
call fcn.140061d94
lea r9, [rdi + 8]
mov r8d, ebx
mov rcx, rax
mov edx, 0x40
call fcn.140096028
jmp 0x140015534
lea rdx, str.Prepare
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rdi + 0x808]
lea rdx, str.Open
mov qword [rdi + 0x9e8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rdi + 0x808]
lea rdx, [0x1400c3f14]
mov qword [rdi + 0x9f0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rdi + 0x808]
lea rdx, str.GetNextName
mov qword [rdi + 0x9f8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rdi + 0x808]
lea rdx, str.GetListItem
mov qword [rdi + 0xa00], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rdi + 0x808]
lea rdx, str.Extract
mov qword [rdi + 0xa08], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rdi + 0x808]
lea rdx, str.GetComment
mov qword [rdi + 0xa10], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [rdi + 0x9e8], 0
mov qword [rdi + 0xa18], rax
je 0x140015534
cmp qword [rdi + 0x9f0], 0
je 0x140015534
mov ebx, 0x210
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8, rbx
call fcn.1400a9314
lea rax, [0x14001085c]
mov dword [rsp + 0x20], ebx
mov qword [rsp + 0x24], rax
lea rax, [0x1400109e0]
mov qword [rsp + 0x2c], rax
lea rax, [0x1400109e8]
mov qword [rsp + 0x34], rax
lea rax, [0x1400109f0]
mov qword [rsp + 0x8c], rax
lea rax, [0x1400109f8]
mov qword [rsp + 0x44], rax
lea rax, [0x140010b80]
mov qword [rsp + 0x5c], rax
lea rax, [0x140010ba0]
mov qword [rsp + 0x64], rax
lea rax, [0x140010ba8]
mov qword [rsp + 0x74], rax
lea rax, [0x140012f80]
mov qword [rsp + 0x7c], rax
lea rax, [0x1400131f8]
mov qword [rsp + 0x6c], rax
lea rax, [0x140010ca0]
mov qword [rsp + 0x94], rax
lea rax, [0x140010ca8]
mov qword [rsp + 0x9c], rax
lea rax, [0x140010cb0]
mov qword [rsp + 0x4c], rax
lea rax, [0x140010d20]
mov qword [rsp + 0xac], rax
lea rax, [0x140010d94]
mov qword [rsp + 0x54], rax
lea rax, [0x140010e38]
mov qword [rsp + 0x84], rax
lea rax, [0x140010e88]
mov qword [rsp + 0xb4], rax
lea rax, [0x140010e90]
mov qword [rsp + 0xbc], rax
lea rax, [0x140014c80]
mov qword [rsp + 0x3c], rax
lea rax, [0x140010e98]
mov qword [rsp + 0xa4], rax
call fcn.14003ed2c
lea r8d, [rbx - 0x38]
lea rcx, [rdi + 0x810]
xor edx, edx
mov dword [rsp + 0x1b4], eax
call fcn.1400a9314
lea rdx, [rdi + 0x810]
lea rcx, [rsp + 0x20]
mov dword [rdi + 0x810], 0x1d8
mov dword [rdi + 0x814], 1
mov dword [rdi + 0x818], 0x40100
call qword [rdi + 0x9e8]
test al, al
je 0x1400154fe
cmp dword [rdi + 0x814], 1
jne 0x1400154fe
mov al, 1
jmp 0x140015536
mov rcx, qword [rdi + 0x808]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
and qword [rdi + 0x808], 0
lea rcx, [rdi + 8]
call fcn.140052af8
mov ecx, 0x42e
mov rbx, rax
call fcn.140061d94
mov rdx, rbx
mov rcx, rax
call fcn.140096028
xor al, al
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret