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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
lea rbp, [rsp - 0x318]
sub rsp, 0x418
mov rax, qword [0x1408f0280]
xor rax, rsp
mov qword [rbp + 0x2f0], rax
mov r12, qword [rdx]
mov ebx, r9d
mov dword [rsp + 0x24], ebx
mov edi, r8d
mov dword [rsp + 0x20], r8d
mov rsi, rdx
mov qword [rsp + 0x28], rdx
mov r13, rcx
test rcx, rcx
jne 0x14006d217
test r12, r12
je 0x14006d20d
cmp dword [r12 + 0x14], 1
jne 0x14006d1dc
mov eax, dword [r12 + 0x10]
mov rdx, qword [r12]
test eax, eax
je 0x14006d1dc
nop word [rax + rax]
mov byte [rdx], 0
lea rdx, [rdx + 1]
add eax, 0xffffffff
jne 0x14006d1d0
mov rax, qword [0x140917d20]
xor ebx, ebx
mov qword [r12], rbx
mov rcx, r12
mov dword [r12 + 0x10], ebx
test rax, rax
je 0x14006d205
call rax
mov eax, 0xffffff53
mov qword [rsi], rbx
jmp 0x14006d793
call fcn.14012d8fc
mov qword [rsi], rbx
mov eax, 0xffffff53
jmp 0x14006d793
mov r9, qword [rcx + 0x58]
lea rcx, [rsp + 0x30]
mov r8d, dword [r12 + 0x10]
mov rdx, qword [r12]
mov qword [rsp + 0x410], r14
mov qword [rsp + 0x408], r15
call fcn.14008ad00
mov r9, r13
lea rcx, [rsp + 0x30]
mov r8d, ebx
mov edx, 5
call fcn.14008e200
mov esi, dword [rsp + 0x50]
mov r14d, eax
mov ecx, dword [rsp + 0x38]
test eax, eax
jns 0x14006d26f
movzx r15d, byte [rbp + 0x2e8]
jmp 0x14006d343
movsxd rbx, dword [rbp - 0x50]
test ebx, ebx
jle 0x14006d2db
lea eax, [rbx + 1]
movsxd rcx, eax
mov rax, qword [0x140917d28]
test rax, rax
je 0x14006d28d
call rax
jmp 0x14006d292
call fcn.140132e00
mov rdi, rax
test rax, rax
jne 0x14006d2ab
movzx r15d, byte [rbp + 0x2e8]
lea r14d, [rax - 0x7d]
jmp 0x14006d33b
mov rdx, qword [rbp - 0x58]
mov r8, rbx
mov rcx, rdi
call fcn.140152da0
movzx r15d, byte [rbp + 0x2e8]
mov ecx, dword [rsp + 0x38]
or r15b, 1
mov byte [rbp + 0x2e8], r15b
mov byte [rbx + rdi], 0
mov qword [rbp - 0x58], rdi
jmp 0x14006d2e3
movzx r15d, byte [rbp + 0x2e8]
cmp esi, 0x285
jne 0x14006d33b
cmp qword [rsp + 0x30], 0
je 0x14006d33b
test ecx, ecx
je 0x14006d33b
mov rax, qword [0x140917d28]
mov edi, ecx
mov ecx, edi
test rax, rax
je 0x14006d30b
call rax
jmp 0x14006d310
call fcn.140132e00
mov rbx, rax
test rax, rax
jne 0x14006d31e
lea r14d, [rax - 0x7d]
jmp 0x14006d33b
mov rdx, qword [rsp + 0x30]
mov r8, rdi
mov rcx, rbx
call fcn.140152da0
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x3c], 1
mov ecx, dword [rsp + 0x38]
mov edi, dword [rsp + 0x20]
xor ebx, ebx
cmp dword [rsp + 0x24], ebx
je 0x14006d390
sub esi, 0x206
je 0x14006d374
cmp esi, 0x7f
jne 0x14006d390
movzx eax, word [r13 + 0xd8]
test ax, ax
js 0x14006d369
cmp ecx, eax
jae 0x14006d390
mov r14d, 0xfffffe67
jmp 0x14006d57a
movzx eax, word [r13 + 0xda]
test ax, ax
js 0x14006d385
cmp ecx, eax
jae 0x14006d390
mov r14d, 0xfffffe66
jmp 0x14006d57a
test r14d, r14d
jne 0x14006d57a
movzx eax, r15b
shr al, 4
and al, 1
cmp edi, 1
je 0x14006d3d3
test al, al
jne 0x14006d3b6
mov r14d, 0xfffffe9b
jmp 0x14006d57a
test byte [rbp + 0x2e9], 0x40
jne 0x14006d3d3
test byte [rbp + 0x256], 4
jne 0x14006d3d3
mov r14d, 0xfffffe9b
jmp 0x14006d57a
lea rdx, [rbp + 0x22c]
mov rcx, r13
call fcn.14006cfa0
test eax, eax
jne 0x14006d572
mov rax, qword [0x140917d28]
mov ecx, 0x68
test rax, rax
je 0x14006d3ff
call rax
jmp 0x14006d404
call fcn.140132e00
mov rsi, rax
test rax, rax
je 0x14006d56c
xor eax, eax
xorps xmm0, xmm0
mov dword [rsi], eax
movups xmmword [rsi + 0xc], xmm0
mov qword [rsi + 0x1c], rax
mov dword [rsi + 0x24], eax
mov eax, dword [rsp + 0x50]
mov dword [rsi + 4], eax
cmp dword [rsp + 0x3c], ebx
je 0x14006d43e
mov rax, qword [rsp + 0x30]
mov qword [rsi + 0x10], rax
mov eax, dword [rsp + 0x38]
mov dword [rsi], eax
movzx r15d, byte [rbp + 0x2e8]
test r15b, 1
je 0x14006d45a
mov eax, dword [rbp - 0x50]
mov dword [rsi + 0x18], eax
mov rax, qword [rbp - 0x58]
mov qword [rsi + 0x20], rax
movzx eax, byte [rbp + 0x254]
movzx ecx, r15b
movups xmm0, xmmword [rbp + 0x22c]
mov byte [rsi + 0xb], al
movzx eax, byte [rbp + 0x255]
mov byte [rsi + 0xa], al
movzx eax, byte [rbp + 0x2e9]
shr al, 5
shr cl, 5
xor cl, byte [rsi + 0xc]
and cl, 1
xor cl, byte [rsi + 0xc]
xor al, cl
and al, 2
xor al, cl
mov byte [rsi + 0xc], al
mov rax, qword [rsp + 0x68]
mov qword [rsi + 0x28], rax
mov rax, qword [rsp + 0x70]
mov qword [rsi + 0x30], rax
mov eax, dword [rbp + 0x23c]
movups xmmword [rsi + 0x4c], xmm0
mov dword [rsi + 0x5c], eax
mov eax, dword [rbp - 0x78]
movups xmm0, xmmword [rsp + 0x78]
movups xmmword [rsi + 0x38], xmm0
mov dword [rsi + 0x48], eax
movzx eax, word [rbp + 0x256]
test r15b, r15b
js 0x14006d4d7
mov eax, 0xffff
mov word [rsi + 8], ax
lea rcx, [r13 + 0xa8]
mov qword [rsi + 0x60], rbx
movzx eax, byte [rsi + 0x4c]
movzx edi, byte [rsi + 0x4d]
shl eax, 8
or edi, eax
mov qword [rsp + 0x30], rbx
movzx eax, byte [rsi + 0x4e]
shl eax, 8
shl edi, 0x10
or edi, eax
mov qword [rbp - 0x58], rbx
movzx eax, byte [rsi + 0x4f]
or edi, eax
mov qword [rsp + 0x68], rbx
mov eax, 0xba2e8ba3
mov qword [rsp + 0x70], rbx
mul edi
shr edx, 3
imul eax, edx, 0xb
sub edi, eax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rdi*8]
mov rax, qword [rdx + r13]
lea rcx, [r13 + 0xa8]
mov qword [rsi + 0x60], rax
mov qword [rdx + r13], rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, qword [r13 + 0x88]
test rax, rax
je 0x14006d57a
mov r8d, dword [rsp + 0x20]
mov edx, dword [r12 + 0x10]
mov rcx, qword [r12]
call rax
jmp 0x14006d57a
mov r14d, 0xfffffed1
movzx r15d, byte [rbp + 0x2e8]
test r15b, 1
je 0x14006d5a2
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x14006d5a2
mov rax, qword [0x140917d20]
test rax, rax
je 0x14006d599
call rax
jmp 0x14006d5a2
mov rcx, qword [rbp - 0x58]
call fcn.14012d8fc
cmp dword [rsp + 0x3c], 1
jne 0x14006d5cd
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14006d5cd
mov rax, qword [0x140917d20]
test rax, rax
je 0x14006d5c3
call rax
jmp 0x14006d5cd
mov rcx, qword [rsp + 0x30]
call fcn.14012d8fc
test r15b, 0x40
mov r15, qword [rsp + 0x408]
je 0x14006d631
mov rbx, qword [rsp + 0x58]
test rbx, rbx
je 0x14006d631
nop word [rax + rax]
mov rcx, qword [rbx + 0x10]
mov rdi, qword [rbx]
test rcx, rcx
je 0x14006d611
mov rax, qword [0x140917d20]
test rax, rax
je 0x14006d60c
call rax
jmp 0x14006d611
call fcn.14012d8fc
mov rax, qword [0x140917d20]
mov rcx, rbx
test rax, rax
je 0x14006d624
call rax
jmp 0x14006d629
call fcn.14012d8fc
mov rbx, rdi
test rdi, rdi
jne 0x14006d5f0
mov rbx, qword [rsp + 0x60]
test rbx, rbx
je 0x14006d681
nop dword [rax + rax]
mov rcx, qword [rbx + 0x10]
mov rdi, qword [rbx]
test rcx, rcx
je 0x14006d661
mov rax, qword [0x140917d20]
test rax, rax
je 0x14006d65c
call rax
jmp 0x14006d661
call fcn.14012d8fc
mov rax, qword [0x140917d20]
mov rcx, rbx
test rax, rax
je 0x14006d674
call rax
jmp 0x14006d679
call fcn.14012d8fc
mov rbx, rdi
test rdi, rdi
jne 0x14006d640
mov rbx, qword [rsp + 0x68]
test rbx, rbx
je 0x14006d6d1
nop dword [rax + rax]
mov rcx, qword [rbx + 8]
mov rdi, qword [rbx]
test rcx, rcx
je 0x14006d6b1
mov rax, qword [0x140917d20]
test rax, rax
je 0x14006d6ac
call rax
jmp 0x14006d6b1
call fcn.14012d8fc
mov rax, qword [0x140917d20]
mov rcx, rbx
test rax, rax
je 0x14006d6c4
call rax
jmp 0x14006d6c9
call fcn.14012d8fc
mov rbx, rdi
test rdi, rdi
jne 0x14006d690
mov rbx, qword [rsp + 0x70]
test rbx, rbx
je 0x14006d721
nop dword [rax + rax]
mov rcx, qword [rbx + 8]
mov rdi, qword [rbx]
test rcx, rcx
je 0x14006d701
mov rax, qword [0x140917d20]
test rax, rax
je 0x14006d6fc
call rax
jmp 0x14006d701
call fcn.14012d8fc
mov rax, qword [0x140917d20]
mov rcx, rbx
test rax, rax
je 0x14006d714
call rax
jmp 0x14006d719
call fcn.14012d8fc
mov rbx, rdi
test rdi, rdi
jne 0x14006d6e0
lea rcx, [rbp + 0x298]
call fcn.14008c730
mov rdi, qword [rsp + 0x28]
mov rcx, qword [rdi]
test rcx, rcx
je 0x14006d77c
cmp dword [rcx + 0x14], 1
jne 0x14006d75c
mov eax, dword [rcx + 0x10]
mov rdx, qword [rcx]
test eax, eax
je 0x14006d75c
nop word [rax + rax]
mov byte [rdx], 0
lea rdx, [rdx + 1]
add eax, 0xffffffff
jne 0x14006d750
mov rax, qword [0x140917d20]
xor ebx, ebx
mov qword [rcx], rbx
mov dword [rcx + 0x10], ebx
test rax, rax
je 0x14006d774
call rax
jmp 0x14006d779
call fcn.14012d8fc
mov qword [rdi], rbx
test r14d, r14d
mov eax, 1
cmove r14d, eax
mov eax, r14d
mov r14, qword [rsp + 0x410]
mov rcx, qword [rbp + 0x2f0]
xor rcx, rsp
call fcn.140117aa0
add rsp, 0x418
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret