Function at 0x14001a760
Capabilities:
Load assembly via iassembly

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x118
mov rax, qword [0x1400d2070]
xor rax, rsp
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x120]
add rax, 0x10
mov rcx, rax
call fcn.14001eb10
cmp qword [rsp + 0x128], rax
jbe 0x14001a7ab
jmp 0x14001ab7d
mov rax, qword [rsp + 0x120]
add rax, 0x10
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x128]
mov rcx, qword [rsp + 0x80]
call fcn.14001eaf0
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rcx, rax
call fcn.14000cf90
movzx eax, al
test eax, eax
je 0x14001a7f2
jmp 0x14001ab7d
cmp dword [rsp + 0x130], 4
jne 0x14001a811
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x80]
test eax, eax
jne 0x14001a811
jmp 0x14001ab7d
mov rax, qword [rsp + 0x30]
mov rcx, rax
call fcn.140003970
mov qword [rsp + 0x88], rax
mov rdx, qword [rsp + 0x128]
lea rcx, [0x1400d6ba0]
call fcn.14001e800
mov rcx, rax
call fcn.140003970
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 8]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x90]
mov r8d, 0x118
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0xe8]
call fcn.140044ac0
nop
mov rax, qword [rsp + 0x120]
mov rax, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0xe8]
call fcn.140003970
mov qword [rsp + 0xa0], rax
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x120]
call qword [rsp + 0xa8]
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov dword [rsp + 0x78], eax
mov rax, qword [rsp + 0x30]
add rax, 0x70
mov qword [rsp + 0x50], rax
mov edx, 8
lea rcx, [rsp + 0xc8]
call fcn.140001d80
lea rdx, [rsp + 0xc8]
mov rcx, qword [rsp + 0x50]
call fcn.14001ec10
mov edx, 8
lea rcx, [rsp + 0xe0]
call fcn.140001d80
lea rdx, [rsp + 0xe0]
mov rcx, qword [rsp + 0x50]
call fcn.14001ebe0
jmp 0x14001a943
lea rcx, [rsp + 0xc8]
call fcn.14001e760
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0xc8]
call fcn.140001ea0
movzx eax, al
test eax, eax
je 0x14001ab67
lea rcx, [rsp + 0xc8]
call fcn.14001e780
mov eax, dword [rax]
mov dword [rsp + 0x48], eax
mov edx, 0x10
lea rcx, [rsp + 0xd0]
call fcn.140001d80
mov edx, dword [rsp + 0x48]
lea rcx, [rsp + 0xd0]
call fcn.140019340
nop
lea rcx, [rsp + 0xd0]
call fcn.14001e7c0
movzx eax, al
test eax, eax
jne 0x14001a9c0
lea rcx, [rsp + 0xd0]
call fcn.14001e7a0
jmp 0x14001a936
lea rcx, [rsp + 0xd0]
call fcn.14001e5c0
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov rax, qword [rax + 8]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 8]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x30]
add rax, 0x60
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9, rcx
mov r8, qword [rsp + 0x120]
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x58]
call qword [rsp + 0xb8]
mov eax, dword [rsp + 0x130]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 1
je 0x14001aa4a
cmp dword [rsp + 0x38], 4
je 0x14001aaaa
jmp 0x14001ab53
lea rcx, [rsp + 0xd0]
call fcn.14001e5c0
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x60]
call qword [rax + 0x10]
movzx eax, al
test eax, eax
jne 0x14001aa8d
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x80]
test eax, eax
jne 0x14001aa8d
mov dword [rsp + 0x3c], 0
jmp 0x14001aa95
mov dword [rsp + 0x3c], 1
mov rax, qword [rsp + 0x30]
movzx ecx, byte [rsp + 0x3c]
mov byte [rax + 0x80], cl
jmp 0x14001ab53
lea rcx, [rsp + 0xd0]
call fcn.14001e5c0
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x68]
call qword [rax + 0x18]
movzx eax, al
test eax, eax
jne 0x14001aaed
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x81]
test eax, eax
jne 0x14001aaed
mov dword [rsp + 0x40], 0
jmp 0x14001aaf5
mov dword [rsp + 0x40], 1
mov rax, qword [rsp + 0x30]
movzx ecx, byte [rsp + 0x40]
mov byte [rax + 0x81], cl
lea rcx, [rsp + 0xd0]
call fcn.14001e5c0
mov rcx, rax
call fcn.140017a60
movzx eax, al
test eax, eax
jne 0x14001ab3b
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x82]
test eax, eax
jne 0x14001ab3b
mov dword [rsp + 0x44], 0
jmp 0x14001ab43
mov dword [rsp + 0x44], 1
mov rax, qword [rsp + 0x30]
movzx ecx, byte [rsp + 0x44]
mov byte [rax + 0x82], cl
jmp 0x14001ab55
lea rcx, [rsp + 0xd0]
call fcn.14001e7a0
jmp 0x14001a936
jmp 0x14001ab69
call qword [sym.imp.ole32.dll_CoUninitialize]
nop
lea rcx, [rsp + 0xe8]
call fcn.140003bf0
mov rcx, qword [rsp + 0x108]
xor rcx, rsp
call fcn.140069a00
add rsp, 0x118
ret