Function at 0x140008ef0
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 [0x1403687c8]
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 0x140008fa7
test r12, r12
je 0x140008f9d
cmp dword [r12 + 0x14], 1
jne 0x140008f6c
mov eax, dword [r12 + 0x10]
mov rdx, qword [r12]
test eax, eax
je 0x140008f6c
nop word [rax + rax]
mov byte [rdx], 0
lea rdx, [rdx + 1]
add eax, 0xffffffff
jne 0x140008f60
mov rax, qword [0x14036e090]
xor ebx, ebx
mov qword [r12], rbx
mov rcx, r12
mov dword [r12 + 0x10], ebx
test rax, rax
je 0x140008f95
call rax
mov eax, 0xffffff53
mov qword [rsi], rbx
jmp 0x140009513
call fcn.14009bf04
mov qword [rsi], rbx
mov eax, 0xffffff53
jmp 0x140009513
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.14002a940
mov r9, r13
lea rcx, [rsp + 0x30]
mov r8d, ebx
mov edx, 5
call fcn.14002de60
mov esi, dword [rsp + 0x50]
mov r14d, eax
mov ecx, dword [rsp + 0x38]
test eax, eax
jns 0x140008fff
movzx r15d, byte [rbp + 0x2e8]
jmp 0x1400090d3
movsxd rbx, dword [rbp - 0x50]
test ebx, ebx
jle 0x14000906b
lea eax, [rbx + 1]
movsxd rcx, eax
mov rax, qword [0x14036e0a0]
test rax, rax
je 0x14000901d
call rax
jmp 0x140009022
call fcn.14009bf18
mov rdi, rax
test rax, rax
jne 0x14000903b
movzx r15d, byte [rbp + 0x2e8]
lea r14d, [rax - 0x7d]
jmp 0x1400090cb
mov rdx, qword [rbp - 0x58]
mov r8, rbx
mov rcx, rdi
call fcn.140097850
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 0x140009073
movzx r15d, byte [rbp + 0x2e8]
cmp esi, 0x285
jne 0x1400090cb
cmp qword [rsp + 0x30], 0
je 0x1400090cb
test ecx, ecx
je 0x1400090cb
mov rax, qword [0x14036e0a0]
mov edi, ecx
mov ecx, edi
test rax, rax
je 0x14000909b
call rax
jmp 0x1400090a0
call fcn.14009bf18
mov rbx, rax
test rax, rax
jne 0x1400090ae
lea r14d, [rax - 0x7d]
jmp 0x1400090cb
mov rdx, qword [rsp + 0x30]
mov r8, rdi
mov rcx, rbx
call fcn.140097850
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 0x140009120
sub esi, 0x206
je 0x140009104
cmp esi, 0x7f
jne 0x140009120
movzx eax, word [r13 + 0xd8]
test ax, ax
js 0x1400090f9
cmp ecx, eax
jae 0x140009120
mov r14d, 0xfffffe67
jmp 0x140009307
movzx eax, word [r13 + 0xda]
test ax, ax
js 0x140009115
cmp ecx, eax
jae 0x140009120
mov r14d, 0xfffffe66
jmp 0x140009307
test r14d, r14d
jne 0x140009307
movzx eax, r15b
shr al, 4
and al, 1
cmp edi, 1
je 0x140009163
test al, al
jne 0x140009146
mov r14d, 0xfffffe9b
jmp 0x140009307
test byte [rbp + 0x2e9], 0x40
jne 0x140009163
test byte [rbp + 0x256], 4
jne 0x140009163
mov r14d, 0xfffffe9b
jmp 0x140009307
lea rdx, [rbp + 0x22c]
mov rcx, r13
call fcn.140008d30
test eax, eax
jne 0x1400092ff
mov rax, qword [0x14036e0a0]
mov ecx, 0x68
test rax, rax
je 0x14000918f
call rax
jmp 0x140009194
call fcn.14009bf18
mov rsi, rax
test rax, rax
je 0x1400092f9
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 0x1400091ce
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 0x1400091ea
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]
movups xmm0, xmmword [rbp + 0x22c]
movzx ecx, byte [rbp + 0x2e9]
mov byte [rsi + 0xb], al
and cl, 0x40
movzx eax, byte [rbp + 0x255]
mov byte [rsi + 0xa], al
movzx eax, r15b
and al, 0x20
or cl, al
movzx eax, byte [rsi + 0xc]
and al, 0xfc
shr cl, 5
or cl, 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]
mov byte [rsi + 0xc], cl
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 0x140009264
mov eax, 0xffff
mov word [rsi + 8], ax
lea rcx, [r13 + 0xa8]
mov qword [rsi + 0x60], rbx
movzx eax, byte [rsi + 0x4d]
movzx edi, byte [rsi + 0x4c]
shl edi, 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 0x140009307
mov r8d, dword [rsp + 0x20]
mov edx, dword [r12 + 0x10]
mov rcx, qword [r12]
call rax
jmp 0x140009307
mov r14d, 0xfffffed1
movzx r15d, byte [rbp + 0x2e8]
test r15b, 1
je 0x14000932f
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x14000932f
mov rax, qword [0x14036e090]
test rax, rax
je 0x140009326
call rax
jmp 0x14000932f
mov rcx, qword [rbp - 0x58]
call fcn.14009bf04
cmp dword [rsp + 0x3c], 1
jne 0x14000935a
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14000935a
mov rax, qword [0x14036e090]
test rax, rax
je 0x140009350
call rax
jmp 0x14000935a
mov rcx, qword [rsp + 0x30]
call fcn.14009bf04
test r15b, 0x40
mov r15, qword [rsp + 0x408]
je 0x1400093b3
mov rbx, qword [rsp + 0x58]
test rbx, rbx
je 0x1400093b3
mov rcx, qword [rbx + 0x10]
mov rdi, qword [rbx]
test rcx, rcx
je 0x140009393
mov rax, qword [0x14036e090]
test rax, rax
je 0x14000938e
call rax
jmp 0x140009393
call fcn.14009bf04
mov rax, qword [0x14036e090]
mov rcx, rbx
test rax, rax
je 0x1400093a6
call rax
jmp 0x1400093ab
call fcn.14009bf04
mov rbx, rdi
test rdi, rdi
jne 0x140009372
mov rbx, qword [rsp + 0x60]
test rbx, rbx
je 0x140009401
nop dword [rax]
mov rcx, qword [rbx + 0x10]
mov rdi, qword [rbx]
test rcx, rcx
je 0x1400093e1
mov rax, qword [0x14036e090]
test rax, rax
je 0x1400093dc
call rax
jmp 0x1400093e1
call fcn.14009bf04
mov rax, qword [0x14036e090]
mov rcx, rbx
test rax, rax
je 0x1400093f4
call rax
jmp 0x1400093f9
call fcn.14009bf04
mov rbx, rdi
test rdi, rdi
jne 0x1400093c0
mov rbx, qword [rsp + 0x68]
test rbx, rbx
je 0x140009451
nop dword [rax + rax]
mov rcx, qword [rbx + 8]
mov rdi, qword [rbx]
test rcx, rcx
je 0x140009431
mov rax, qword [0x14036e090]
test rax, rax
je 0x14000942c
call rax
jmp 0x140009431
call fcn.14009bf04
mov rax, qword [0x14036e090]
mov rcx, rbx
test rax, rax
je 0x140009444
call rax
jmp 0x140009449
call fcn.14009bf04
mov rbx, rdi
test rdi, rdi
jne 0x140009410
mov rbx, qword [rsp + 0x70]
test rbx, rbx
je 0x1400094a1
nop dword [rax + rax]
mov rcx, qword [rbx + 8]
mov rdi, qword [rbx]
test rcx, rcx
je 0x140009481
mov rax, qword [0x14036e090]
test rax, rax
je 0x14000947c
call rax
jmp 0x140009481
call fcn.14009bf04
mov rax, qword [0x14036e090]
mov rcx, rbx
test rax, rax
je 0x140009494
call rax
jmp 0x140009499
call fcn.14009bf04
mov rbx, rdi
test rdi, rdi
jne 0x140009460
lea rcx, [rbp + 0x298]
call fcn.14002c390
mov rdi, qword [rsp + 0x28]
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400094fc
cmp dword [rcx + 0x14], 1
jne 0x1400094dc
mov eax, dword [rcx + 0x10]
mov rdx, qword [rcx]
test eax, eax
je 0x1400094dc
nop word [rax + rax]
mov byte [rdx], 0
lea rdx, [rdx + 1]
add eax, 0xffffffff
jne 0x1400094d0
mov rax, qword [0x14036e090]
xor ebx, ebx
mov qword [rcx], rbx
mov dword [rcx + 0x10], ebx
test rax, rax
je 0x1400094f4
call rax
jmp 0x1400094f9
call fcn.14009bf04
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.140095720
add rsp, 0x418
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret