Function at 0x140017aac
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 + 0x1008], rax
test rax, rax
jne 0x140017b16
lea rcx, [rdi + 8]
call fcn.1400a250c
mov ebx, eax
test eax, eax
je 0x140017dcd
cmp eax, 0x40
je 0x140017dcd
mov ecx, 0x5c8
call fcn.140076080
lea r9, [rdi + 8]
mov r8d, ebx
mov rcx, rax
mov edx, 0x40
call fcn.1400b189c
jmp 0x140017dcd
lea rdx, str.Prepare
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rdi + 0x1008]
lea rdx, str.Open
mov qword [rdi + 0x11e8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rdi + 0x1008]
lea rdx, [0x1400e122c]
mov qword [rdi + 0x11f0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rdi + 0x1008]
lea rdx, str.GetNextName
mov qword [rdi + 0x11f8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rdi + 0x1008]
lea rdx, str.GetListItem
mov qword [rdi + 0x1200], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rdi + 0x1008]
lea rdx, str.Extract
mov qword [rdi + 0x1208], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rdi + 0x1008]
lea rdx, str.GetComment
mov qword [rdi + 0x1210], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [rdi + 0x11e8], 0
mov qword [rdi + 0x1218], rax
je 0x140017dcd
cmp qword [rdi + 0x11f0], 0
je 0x140017dcd
mov ebx, 0x210
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8, rbx
call fcn.1400c7170
lea rax, [0x1400135dc]
mov dword [rsp + 0x20], ebx
mov qword [rsp + 0x24], rax
lea rax, [0x140013704]
mov qword [rsp + 0x2c], rax
lea rax, [0x140013758]
mov qword [rsp + 0x34], rax
lea rax, [0x140013760]
mov qword [rsp + 0x8c], rax
lea rax, [0x140013768]
mov qword [rsp + 0x44], rax
lea rax, [0x1400138c8]
mov qword [rsp + 0x5c], rax
lea rax, [0x1400138e8]
mov qword [rsp + 0x64], rax
lea rax, [0x1400138f0]
mov qword [rsp + 0x74], rax
lea rax, [0x140015450]
mov qword [rsp + 0x7c], rax
lea rax, [0x1400155ac]
mov qword [rsp + 0x6c], rax
lea rax, [0x1400139e0]
mov qword [rsp + 0x94], rax
lea rax, [0x1400139e8]
mov qword [rsp + 0x9c], rax
lea rax, [0x1400139f0]
mov qword [rsp + 0x4c], rax
lea rax, [0x140013abc]
mov qword [rsp + 0xac], rax
lea rax, [0x140013b30]
mov qword [rsp + 0x54], rax
lea rax, [0x140013c1c]
mov qword [rsp + 0x84], rax
lea rax, [0x140013c60]
mov qword [rsp + 0xb4], rax
lea rax, [0x140013c68]
mov qword [rsp + 0xbc], rax
lea rax, [0x140013c70]
mov qword [rsp + 0xc4], rax
lea rax, [0x140013c78]
mov qword [rsp + 0xcc], rax
lea rax, [0x1400178e0]
mov qword [rsp + 0x3c], rax
lea rax, [0x140013c80]
mov qword [rsp + 0xa4], rax
lea rax, [0x140013cfc]
mov qword [rsp + 0xd4], rax
call fcn.14004b0ac
lea r8d, [rbx - 0x38]
lea rcx, [rdi + 0x1010]
xor edx, edx
mov dword [rsp + 0x1b4], eax
call fcn.1400c7170
lea rdx, [rdi + 0x1010]
lea rcx, [rsp + 0x20]
mov dword [rdi + 0x1010], 0x1d8
mov dword [rdi + 0x1014], 2
mov dword [rdi + 0x1018], 0x50000
call qword [rdi + 0x11e8]
test al, al
je 0x140017d97
cmp dword [rdi + 0x1014], 2
jne 0x140017d97
mov al, 1
jmp 0x140017dcf
mov rcx, qword [rdi + 0x1008]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
and qword [rdi + 0x1008], 0
lea rcx, [rdi + 8]
call fcn.1400615e8
mov ecx, 0x42e
mov rbx, rax
call fcn.140076080
mov rdx, rbx
mov rcx, rax
call fcn.1400b189c
xor al, al
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret