Function at 0x1400d6110
Capabilities:
Link many functions at runtime

Disassembly:
push rbp
push rsi
push rdi
push r12
mov rbp, rsp
sub rsp, 0x78
mov rax, qword [0x1401c6138]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov edx, 1
mov dword [rbp - 0x48], 0x10
mov r12d, 2
mov dword [rbp - 0x44], 1
mov ecx, r12d
mov rsi, r9
lea r8d, [rdx + 5]
call fcn.1400d6d70
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400d6161
jmp 0x1400d6637
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0xa8], r13
xor r13d, r13d
mov qword [rsp + 0xb0], r14
mov r14d, 0x7f000001
mov qword [rbp - 0x38], r13
mov qword [rsp + 0x70], r15
mov word [rbp - 0x40], r12w
call fcn.1400d66b0
mov r15, rax
test rax, rax
je 0x1400d61dc
lea ecx, [r13 + 6]
call fcn.14012a720
mov rdx, rax
mov rcx, r15
mov rbx, rax
mov dword [rax + 1], 0x6c6e6f74
mov byte [rax + 5], r13b
mov byte [rax], 0x68
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov r15, rax
call fcn.14012a718
test r15, r15
je 0x1400d61dc
mov ecx, r14d
call r15
mov r14d, eax
mov dword [rbp - 0x3c], r14d
mov word [rbp - 0x3e], r13w
mov qword [rsi + 8], 0xffffffffffffffff
mov qword [rsi], 0xffffffffffffffff
call fcn.1400d66b0
mov r14, rax
test rax, rax
je 0x1400d65fc
mov ecx, 0xb
call fcn.14012a720
mov rdx, rax
mov rcx, r14
mov rbx, rax
mov dword [rax + 7], 0x74706f
mov dword [rax + 2], 0x636f7374
mov word [rax], 0x6573
mov byte [rax + 6], 0x6b
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov r14, rax
call fcn.14012a718
test r14, r14
je 0x1400d65fc
lea r9, [rbp - 0x44]
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, 4
mov rcx, rdi
call r14
cmp eax, 0xffffffff
je 0x1400d65fc
call fcn.1400d66b0
mov r14, rax
test rax, rax
je 0x1400d65fc
mov ecx, 5
call fcn.14012a720
mov rdx, rax
mov rcx, r14
mov rbx, rax
mov word [rax], 0x6962
mov word [rax + 3], 0x64
mov byte [rax + 2], 0x6e
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov r14, rax
call fcn.14012a718
test r14, r14
je 0x1400d65fc
mov r8d, 0x10
lea rdx, [rbp - 0x40]
mov rcx, rdi
call r14
cmp eax, 0xffffffff
je 0x1400d65fc
call fcn.1400d66b0
mov r14, rax
test rax, rax
je 0x1400d65fc
mov ecx, 0xc
call fcn.14012a720
mov rdx, rax
mov rcx, r14
mov rbx, rax
mov dword [rax + 3], 0x6b636f73
mov dword [rax + 8], 0x656d61
mov word [rax], 0x6567
mov byte [rax + 2], 0x74
mov byte [rax + 7], 0x6e
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov r14, rax
call fcn.14012a718
test r14, r14
je 0x1400d65fc
lea r8, [rbp - 0x48]
mov rcx, rdi
lea rdx, [rbp - 0x40]
call r14
cmp eax, 0xffffffff
je 0x1400d65fc
cmp dword [rbp - 0x48], 0x10
jl 0x1400d65fc
call fcn.1400d66b0
mov r14, rax
test rax, rax
je 0x1400d65fc
mov ecx, 7
call fcn.14012a720
mov rdx, rax
mov rcx, r14
mov rbx, rax
mov dword [rax], 0x7473696c
mov word [rax + 4], 0x6e65
mov byte [rax + 6], r13b
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov r14, rax
call fcn.14012a718
test r14, r14
je 0x1400d65fc
mov edx, 1
mov rcx, rdi
call r14
cmp eax, 0xffffffff
je 0x1400d65fc
xor r8d, r8d
mov ecx, r12d
lea edx, [r8 + 1]
call fcn.1400d6d70
mov qword [rsi], rax
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x1400d65fc
call fcn.1400d66b0
mov r15, rax
test rax, rax
je 0x1400d65fc
mov ecx, 8
call fcn.14012a720
mov rdx, rax
mov rcx, r15
mov rbx, rax
mov dword [rax + 3], 0x7463656e
mov word [rax + 1], 0x6e6f
mov byte [rax + 7], r13b
mov byte [rax], 0x63
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov r15, rax
call fcn.14012a718
test r15, r15
je 0x1400d65fc
mov r8d, 0x10
lea rdx, [rbp - 0x40]
mov rcx, r14
call r15
cmp eax, 0xffffffff
je 0x1400d65fc
mov edx, 1
mov rcx, rdi
call fcn.1400ff4d0
test eax, eax
js 0x1400d65fc
mov edx, 1
mov qword [rbp - 0x20], rdi
mov r8d, 0x2710
mov dword [rbp - 0x18], 0x300
lea rcx, [rbp - 0x20]
call fcn.1400cf660
mov r14, 0xffffffffffffffff
call fcn.1400d66b0
mov r15, rax
test rax, rax
je 0x1400d64c9
lea ecx, [r14 + 8]
call fcn.14012a720
mov rdx, rax
mov rcx, r15
mov rbx, rax
mov dword [rax], 0x65636361
mov word [rax + 4], 0x7470
mov byte [rax + 6], r13b
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov r15, rax
call fcn.14012a718
test r15, r15
je 0x1400d64c9
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call r15
mov r14, rax
mov qword [rsi + 8], r14
cmp r14, 0xffffffffffffffff
je 0x1400d65fc
mov r15, qword [rsi]
mov dword [rbp - 0x48], 0x10
call fcn.1400d66b0
mov r14, rax
test rax, rax
je 0x1400d65fc
mov ecx, 0xc
call fcn.14012a720
mov rdx, rax
mov rcx, r14
mov rbx, rax
mov dword [rax + 3], 0x6b636f73
mov dword [rax + 8], 0x656d61
mov word [rax], 0x6567
mov byte [rax + 2], 0x74
mov byte [rax + 7], 0x6e
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov r14, rax
call fcn.14012a718
test r14, r14
je 0x1400d65fc
lea r8, [rbp - 0x48]
mov rcx, r15
lea rdx, [rbp - 0x40]
call r14
cmp eax, 0xffffffff
je 0x1400d65fc
cmp dword [rbp - 0x48], 0x10
jl 0x1400d65fc
mov r15, qword [rsi + 8]
mov dword [rbp - 0x48], 0x10
call fcn.1400d66b0
mov r14, rax
test rax, rax
je 0x1400d65fc
mov ecx, 0xc
call fcn.14012a720
mov rdx, rax
mov rcx, r14
mov rbx, rax
mov dword [rax + 5], 0x616e7265
mov dword [rax], 0x70746567
mov word [rax + 9], 0x656d
mov byte [rax + 0xb], r13b
mov byte [rax + 4], 0x65
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov r14, rax
call fcn.14012a718
test r14, r14
je 0x1400d65fc
lea r8, [rbp - 0x48]
mov rcx, r15
lea rdx, [rbp - 0x30]
call r14
cmp eax, 0xffffffff
je 0x1400d65fc
cmp dword [rbp - 0x48], 0x10
jl 0x1400d65fc
movzx eax, word [rbp - 0x30]
cmp word [rbp - 0x40], ax
jne 0x1400d65fc
mov eax, dword [rbp - 0x2c]
cmp dword [rbp - 0x3c], eax
jne 0x1400d65fc
movzx eax, word [rbp - 0x2e]
cmp word [rbp - 0x3e], ax
jne 0x1400d65fc
mov rcx, rdi
call fcn.1400d6910
xor eax, eax
jmp 0x1400d661a
mov rcx, rdi
call fcn.1400d6910
mov rcx, qword [rsi]
call fcn.1400d6910
mov rcx, qword [rsi + 8]
call fcn.1400d6910
mov eax, 0xffffffff
mov r14, qword [rsp + 0xb0]
mov r13, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
mov r15, qword [rsp + 0x70]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140118e10
add rsp, 0x78
pop r12
pop rdi
pop rsi
pop rbp
ret