Function at 0x140006ac8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x1b0
mov rax, qword [0x1400c2d40]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov r13, r9
mov r12d, r8d
mov dword [rsp + 0x70], r8d
mov r14d, edx
mov r15, rcx
mov qword [rsp + 0x90], r9
mov rbx, qword [rsp + 0x200]
mov qword [rsp + 0x78], rbx
and dword [rsp + 0x54], 0
and qword [rsp + 0x80], 0
mov rcx, qword [rcx + 0x18]
call fcn.140006d00
test eax, eax
je 0x140006cf4
cmp qword [r15 + 0x38], 0
je 0x140006cbe
mov rsi, qword [r15 + 0x38]
mov qword [rsp + 0x88], rsi
test rsi, rsi
je 0x140006cf4
sub r14d, 1
jne 0x140006ccf
mov r8, qword [rsi + 0x18]
lea r14, [r8 + 0x24]
mov qword [rsp + 0x60], r14
mov rax, qword [r8 + 0x50]
movzx eax, word [rax + 0x3c]
mov word [rsp + 0x50], ax
lea r9, [rsp + 0x58]
mov rdx, r14
mov ecx, r12d
call fcn.140006a18
mov r10, rax
mov qword [rsp + 0x68], rax
movzx r8d, word [r14 + 8]
imul r8d, dword [rsi + 0x28]
mov r12d, dword [rsp + 0x58]
mov edx, r12d
imul edx, dword [rsi + 0x24]
and dword [rsp + 0x20], 0
xor r9d, r9d
mov rcx, r15
call fcn.1400069cc
mov dword [rsp + 0x58], eax
lea r11, [rsi + 0x10]
mov qword [rsp + 0x98], r11
mov ecx, dword [r11]
test ecx, ecx
jne 0x140035850
mov dword [rsp + 0x54], eax
cmp dword [r11], 0
jne 0x14003589a
movsx r14d, word [rsp + 0x50]
test r13, r13
je 0x140006c22
mov rax, qword [rsp + 0x60]
movzx r9d, word [rax + 8]
mov qword [rsp + 0x38], r15
mov eax, dword [rsi + 0x28]
mov dword [rsp + 0x30], eax
mov eax, dword [rsi + 0x24]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r14d
mov r8d, r12d
mov rdx, r10
mov rcx, r13
call fcn.140006808
mov eax, dword [rsp + 0x70]
mov dword [r13 + 8], eax
test rbx, rbx
je 0x140006c7e
test r12d, r12d
je 0x1400358d7
test byte [rsi + 0x34], 1
jne 0x1400358f8
mov eax, dword [r15 + 0xc]
mov ecx, 0x6000
and eax, ecx
jne 0x1400359e5
mov rax, qword [rsp + 0x60]
movzx eax, word [rax + 8]
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], eax
mov r9d, r12d
mov r8, qword [rsp + 0x68]
mov rcx, rbx
call fcn.140006340
test r13, r13
je 0x140006c76
mov qword [r13], rbx
mov rcx, rbx
call fcn.1400063e0
mov r14, qword [rsp + 0x98]
cmp dword [r14], 0
jne 0x140035a73
mov eax, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.14002ddc0
mov rbx, qword [rsp + 0x1e8]
add rsp, 0x1b0
pop r15
pop r14
pop r13
pop r12
pop rsi
ret
mov rcx, r15
call fcn.14002cfa0
mov qword [r15 + 0x38], rax
jmp 0x140006b3f
sub r14d, 1
je 0x140006cf4
cmp r14d, 1
jne 0x140006cf4
test rbx, rbx
je 0x140006ced
mov rdx, rbx
mov rcx, rsi
call fcn.14002d734
jmp 0x140006c94
mov eax, 0x7c
jmp 0x140006c94
or eax, 0xffffffff
jmp 0x140006c94
cmp ecx, 0x384
je 0x140035870
cmp ecx, 0x708
je 0x140006bd1
cmp ecx, 0xa8c
jne 0x140006bd5
movzx r8d, word [r14 + 8]
imul r8d, dword [rsi + 0x28]
mov edx, r12d
imul edx, dword [rsi + 0x24]
mov dword [rsp + 0x20], ecx
mov rcx, r15
call fcn.1400069cc
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x58]
jmp 0x140006bd5
test rbx, rbx
je 0x140006bdf
mov qword [rsp + 0x80], rbx
movsxd rdx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
nop dword [rax + rax]
mov rbx, rax
mov qword [rsp + 0x78], rax
test rax, rax
je 0x140006cf4
mov r10, qword [rsp + 0x68]
jmp 0x140006bdf
and dword [rbx], 0
neg r14d
mov dword [rbx + 4], r14d
mov dword [rbx + 8], 1
mov dword [rbx + 0xc], 1
and dword [rbx + 0x10], 0
jmp 0x140006c6d
test byte [rsi + 0x34], 2
je 0x140035996
mov rcx, qword [0x1400c4248]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
nop
mov eax, dword [r15 + 0xc]
mov ecx, 0x6000
and eax, ecx
lea rcx, [rsi + 0x38]
mov rdx, qword [rsp + 0x60]
movzx r9d, word [rdx + 8]
mov dword [rsp + 0x40], eax
mov eax, dword [rsi + 0x28]
mov dword [rsp + 0x38], eax
mov eax, dword [rsi + 0x24]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r8d, r12d
mov rdx, qword [rsp + 0x68]
mov rcx, rbx
call fcn.140049528
jmp 0x14003597d
mov rcx, qword [0x1400c4248]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
nop
jmp 0x140006c6d
mov eax, dword [r15 + 0xc]
mov ecx, 0x6000
and eax, ecx
mov rdx, qword [rsp + 0x60]
movzx r9d, word [rdx + 8]
mov dword [rsp + 0x40], eax
mov eax, dword [rsi + 0x28]
mov dword [rsp + 0x38], eax
mov eax, dword [rsi + 0x24]
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r14d
mov r8d, r12d
mov rdx, qword [rsp + 0x68]
mov rcx, rbx
call fcn.140049528
nop
jmp 0x140006c6d
cmp eax, 0x2000
je 0x140035a4b
cmp eax, 0x4000
je 0x140035a23
cmp eax, ecx
jne 0x140006c6d
mov rax, qword [rsp + 0x60]
movzx eax, word [rax + 8]
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], eax
mov r9d, r12d
mov r8, qword [rsp + 0x68]
mov rcx, rbx
call fcn.1400491c4
nop
jmp 0x140006c6d
mov rax, qword [rsp + 0x60]
movzx eax, word [rax + 8]
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], eax
mov r9d, r12d
mov r8, qword [rsp + 0x68]
mov rcx, rbx
call fcn.140049354
nop
jmp 0x140006c6d
mov rax, qword [rsp + 0x60]
movzx eax, word [rax + 8]
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], eax
mov r9d, r12d
mov r8, qword [rsp + 0x68]
mov rcx, rbx
call fcn.1400490fc
nop
jmp 0x140006c6d
mov rsi, qword [rsp + 0x80]
test rsi, rsi
je 0x140035a92
mov r8d, dword [rsp + 0x208]
xor edx, edx
mov rcx, rsi
call fcn.14002eb6c
mov r9d, dword [r14]
mov r8, rsi
mov rdx, rbx
mov rcx, r13
call fcn.140048bb0
test rbx, rbx
je 0x140006c90
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop dword [rax + rax]
nop
jmp 0x140006c90