Function at 0x180002110
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 [0x1800227c8], 0
jne 0x180002231
lea rcx, [0x180021278]
call fcn.180007160
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x1800227c8], rax
mov rcx, qword [rsp + 0x98]
call fcn.180007260
cmp qword [0x1800227d0], 0
jne 0x180002278
lea rcx, [0x180021298]
call fcn.180007060
mov qword [rsp + 0xa0], rax
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [0x1800227c8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800227d0], rax
mov rcx, qword [rsp + 0xa0]
call fcn.180007260
cmp qword [0x1800227d8], 0
jne 0x1800022bf
lea rcx, [0x1800212b0]
call fcn.180007060
mov qword [rsp + 0xa8], rax
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [0x1800227c8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800227d8], rax
mov rcx, qword [rsp + 0xa8]
call fcn.180007260
cmp qword [0x1800227e0], 0
jne 0x180002306
lea rcx, [0x1800212d0]
call fcn.180007060
mov qword [rsp + 0xb0], rax
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [0x1800227c8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800227e0], rax
mov rcx, qword [rsp + 0xb0]
call fcn.180007260
cmp qword [0x1800227e8], 0
jne 0x18000234d
lea rcx, [0x1800212f0]
call fcn.180007060
mov qword [rsp + 0xb8], rax
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [0x1800227c8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800227e8], rax
mov rcx, qword [rsp + 0xb8]
call fcn.180007260
cmp qword [0x1800227f0], 0
jne 0x180002394
lea rcx, [0x180021310]
call fcn.180007060
mov qword [rsp + 0xc0], rax
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [0x1800227c8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800227f0], rax
mov rcx, qword [rsp + 0xc0]
call fcn.180007260
cmp qword [0x1800227f8], 0
jne 0x1800023db
lea rcx, [0x180021330]
call fcn.180007060
mov qword [rsp + 0xc8], rax
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [0x1800227c8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800227f8], rax
mov rcx, qword [rsp + 0xc8]
call fcn.180007260
cmp qword [0x180022800], 0
jne 0x180002422
lea rcx, [0x180021350]
call fcn.180007060
mov qword [rsp + 0xd0], rax
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [0x1800227c8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180022800], rax
mov rcx, qword [rsp + 0xd0]
call fcn.180007260
cmp qword [0x180022808], 0
jne 0x180002469
lea rcx, [0x180021370]
call fcn.180007060
mov qword [rsp + 0xd8], rax
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [0x1800227c8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180022808], rax
mov rcx, qword [rsp + 0xd8]
call fcn.180007260
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x120]
call qword [0x1800227d0]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x180002876
mov dword [rsp + 0x48], 0xea60
mov r9d, 4
lea r8, [rsp + 0x48]
mov edx, 2
mov rcx, qword [rsp + 0x68]
call qword [0x1800227d8]
mov r9d, 4
lea r8, [rsp + 0x48]
mov edx, 5
mov rcx, qword [rsp + 0x68]
call qword [0x1800227d8]
mov r9d, 4
lea r8, [rsp + 0x48]
mov edx, 6
mov rcx, qword [rsp + 0x68]
call qword [0x1800227d8]
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 [0x1800227e8]
mov qword [rsp + 0xe8], rax
cmp qword [rsp + 0xe8], 0
je 0x18000286b
mov dword [rsp + 0x4c], 0x80480000
cmp dword [rsp + 0x168], 0
je 0x180002567
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 0x180002595
lea rcx, [0x180021390]
call fcn.180007160
mov qword [rsp + 0x80], rax
jmp 0x1800025c4
lea rcx, [0x1800213a0]
call fcn.180007160
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 [0x1800227f0]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x80]
call fcn.180007260
cmp qword [rsp + 0x58], 0
je 0x18000285d
cmp qword [rsp + 0x148], 0
je 0x1800026c4
lea rcx, [0x1800213b8]
call fcn.180007160
mov qword [rsp + 0x88], rax
mov rcx, qword [rsp + 0x88]
call fcn.18000b400
mov qword [rsp + 0xf8], rax
mov rcx, qword [rsp + 0x148]
call fcn.18000b400
mov rcx, qword [rsp + 0xf8]
add rcx, rax
mov rax, rcx
lea rax, [rax + rax + 2]
mov rcx, rax
call fcn.180005d60
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
je 0x1800026b7
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x78]
call fcn.18000b3e4
mov rdx, qword [rsp + 0x148]
mov rcx, qword [rsp + 0x78]
call fcn.18000b3b8
mov rcx, qword [rsp + 0x88]
call fcn.180007260
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 [0x1800227f8]
cmp dword [rsp + 0x168], 0
je 0x18000278b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 0x2f0d
je 0x18000271b
cmp dword [rsp + 0x70], 0x2f19
jne 0x18000278b
mov dword [rsp + 0x94], 4
lea r9, [rsp + 0x94]
lea r8, [rsp + 0x50]
mov edx, 0x1f
mov rcx, qword [rsp + 0x58]
call qword [0x1800227e0]
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 [0x1800227d8]
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 [0x1800227f8]
mov ecx, 0x1000
call fcn.180005d60
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x180002852
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 [0x180022800]
test eax, eax
je 0x180002824
cmp dword [rsp + 0x74], 0
je 0x180002824
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.180005dc0
mov qword [rsp + 0x60], rax
jmp 0x1800027b6
cmp dword [rsp + 0x44], 0
je 0x180002848
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 0x180002852
mov rcx, qword [rsp + 0x60]
call fcn.180005d90
mov rcx, qword [rsp + 0x58]
call qword [0x180022808]
mov rcx, qword [rsp + 0xe8]
call qword [0x180022808]
mov rcx, qword [rsp + 0x68]
call qword [0x180022808]
mov rax, qword [rsp + 0xf0]
add rsp, 0x118
ret