Function at 0x180001f20
Capabilities:
Link many functions at runtime

Disassembly:
mov dword [rsp + 0x20], r9d
mov word [rsp + 0x18], r8w
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x118
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x88], 0
mov qword [rsp + 0xe0], 0
mov dword [rsp + 0x54], 0
mov qword [rsp + 0x98], 0
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0xb8], 0
mov qword [rsp + 0xc0], 0
mov qword [rsp + 0xc8], 0
mov qword [rsp + 0xd0], 0
mov qword [rsp + 0xd8], 0
mov qword [rsp + 0x100], 0
mov qword [rsp + 0x108], 0
mov qword [rsp + 0x80], 0
mov qword [rsp + 0xf0], 0
cmp qword [0x180026bc0], 0
jne 0x180002041
lea rcx, [0x180024218]
call fcn.180007d50
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x180026bc0], rax
mov rcx, qword [rsp + 0x98]
call fcn.180007e50
cmp qword [0x180026bc8], 0
jne 0x180002088
lea rcx, [0x180024238]
call fcn.180007c50
mov qword [rsp + 0xa0], rax
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [0x180026bc0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180026bc8], rax
mov rcx, qword [rsp + 0xa0]
call fcn.180007e50
cmp qword [0x180026bd0], 0
jne 0x1800020cf
lea rcx, [0x180024250]
call fcn.180007c50
mov qword [rsp + 0xa8], rax
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [0x180026bc0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180026bd0], rax
mov rcx, qword [rsp + 0xa8]
call fcn.180007e50
cmp qword [0x180026bd8], 0
jne 0x180002116
lea rcx, [0x180024270]
call fcn.180007c50
mov qword [rsp + 0xb0], rax
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [0x180026bc0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180026bd8], rax
mov rcx, qword [rsp + 0xb0]
call fcn.180007e50
cmp qword [0x180026be0], 0
jne 0x18000215d
lea rcx, [0x180024290]
call fcn.180007c50
mov qword [rsp + 0xb8], rax
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [0x180026bc0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180026be0], rax
mov rcx, qword [rsp + 0xb8]
call fcn.180007e50
cmp qword [0x180026be8], 0
jne 0x1800021a4
lea rcx, [0x1800242b0]
call fcn.180007c50
mov qword [rsp + 0xc0], rax
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [0x180026bc0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180026be8], rax
mov rcx, qword [rsp + 0xc0]
call fcn.180007e50
cmp qword [0x180026bf0], 0
jne 0x1800021eb
lea rcx, [0x1800242d0]
call fcn.180007c50
mov qword [rsp + 0xc8], rax
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [0x180026bc0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180026bf0], rax
mov rcx, qword [rsp + 0xc8]
call fcn.180007e50
cmp qword [0x180026bf8], 0
jne 0x180002232
lea rcx, [0x1800242f0]
call fcn.180007c50
mov qword [rsp + 0xd0], rax
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [0x180026bc0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180026bf8], rax
mov rcx, qword [rsp + 0xd0]
call fcn.180007e50
cmp qword [0x180026c00], 0
jne 0x180002279
lea rcx, [0x180024310]
call fcn.180007c50
mov qword [rsp + 0xd8], rax
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [0x180026bc0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180026c00], rax
mov rcx, qword [rsp + 0xd8]
call fcn.180007e50
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x120]
call qword [0x180026bc8]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x180002686
mov dword [rsp + 0x48], 0xea60
mov r9d, 4
lea r8, [rsp + 0x48]
mov edx, 2
mov rcx, qword [rsp + 0x68]
call qword [0x180026bd0]
mov r9d, 4
lea r8, [rsp + 0x48]
mov edx, 5
mov rcx, qword [rsp + 0x68]
call qword [0x180026bd0]
mov r9d, 4
lea r8, [rsp + 0x48]
mov edx, 6
mov rcx, qword [rsp + 0x68]
call qword [0x180026bd0]
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], 0
xor r9d, r9d
movzx r8d, word [rsp + 0x130]
mov rdx, qword [rsp + 0x128]
mov rcx, qword [rsp + 0x68]
call qword [0x180026be0]
mov qword [rsp + 0xe8], rax
cmp qword [rsp + 0xe8], 0
je 0x18000267b
mov dword [rsp + 0x4c], 0x80480000
cmp dword [rsp + 0x168], 0
je 0x180002377
mov eax, dword [rsp + 0x4c]
bts eax, 0x17
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x138]
mov dword [rsp + 0x90], eax
cmp dword [rsp + 0x90], 2
je 0x1800023a5
lea rcx, [0x180024330]
call fcn.180007d50
mov qword [rsp + 0x80], rax
jmp 0x1800023d4
lea rcx, [0x180024340]
call fcn.180007d50
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0xe0], rax
mov eax, dword [rsp + 0x158]
mov dword [rsp + 0x54], eax
mov qword [rsp + 0x38], 0
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x140]
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0xe8]
call qword [0x180026be8]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x80]
call fcn.180007e50
cmp qword [rsp + 0x58], 0
je 0x18000266d
cmp qword [rsp + 0x148], 0
je 0x1800024d4
lea rcx, [0x180024358]
call fcn.180007d50
mov qword [rsp + 0x88], rax
mov rcx, qword [rsp + 0x88]
call fcn.18000ced0
mov qword [rsp + 0xf8], rax
mov rcx, qword [rsp + 0x148]
call fcn.18000ced0
mov rcx, qword [rsp + 0xf8]
add rcx, rax
mov rax, rcx
lea rax, [rax + rax + 2]
mov rcx, rax
call fcn.180006950
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
je 0x1800024c7
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x78]
call fcn.18000ceb4
mov rdx, qword [rsp + 0x148]
mov rcx, qword [rsp + 0x78]
call fcn.18000ce88
mov rcx, qword [rsp + 0x88]
call fcn.180007e50
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0xe0]
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
call qword [0x180026bf0]
cmp dword [rsp + 0x168], 0
je 0x18000259b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 0x2f0d
je 0x18000252b
cmp dword [rsp + 0x70], 0x2f19
jne 0x18000259b
mov dword [rsp + 0x94], 4
lea r9, [rsp + 0x94]
lea r8, [rsp + 0x50]
mov edx, 0x1f
mov rcx, qword [rsp + 0x58]
call qword [0x180026bd8]
mov eax, dword [rsp + 0x50]
or eax, 0x3180
mov dword [rsp + 0x50], eax
mov r9d, 4
lea r8, [rsp + 0x50]
mov edx, 0x1f
mov rcx, qword [rsp + 0x58]
call qword [0x180026bd0]
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0xe0]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [0x180026bf0]
mov ecx, 0x1000
call fcn.180006950
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x180002662
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x44], 0
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
lea r9, [rsp + 0x74]
mov r8d, 0x1000
mov rdx, rax
mov rcx, qword [rsp + 0x58]
call qword [0x180026bf8]
test eax, eax
je 0x180002634
cmp dword [rsp + 0x74], 0
je 0x180002634
mov eax, dword [rsp + 0x74]
mov ecx, dword [rsp + 0x44]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x40]
add eax, 0x1000
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
add eax, 0x1000
mov eax, eax
mov edx, eax
mov rcx, qword [rsp + 0x60]
call fcn.1800069b0
mov qword [rsp + 0x60], rax
jmp 0x1800025c6
cmp dword [rsp + 0x44], 0
je 0x180002658
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x160]
mov ecx, dword [rsp + 0x44]
mov dword [rax], ecx
jmp 0x180002662
mov rcx, qword [rsp + 0x60]
call fcn.180006980
mov rcx, qword [rsp + 0x58]
call qword [0x180026c00]
mov rcx, qword [rsp + 0xe8]
call qword [0x180026c00]
mov rcx, qword [rsp + 0x68]
call qword [0x180026c00]
mov rax, qword [rsp + 0xf0]
add rsp, 0x118
ret