Function at 0x1400afea0
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 [0x1409b0280]
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 0x1400aff57
test r12, r12
je 0x1400aff4d
cmp dword [r12 + 0x14], 1
jne 0x1400aff1c
mov eax, dword [r12 + 0x10]
mov rdx, qword [r12]
test eax, eax
je 0x1400aff1c
nop word [rax + rax]
mov byte [rdx], 0
lea rdx, [rdx + 1]
add eax, 0xffffffff
jne 0x1400aff10
mov rax, qword [0x1409f4530]
xor ebx, ebx
mov qword [r12], rbx
mov rcx, r12
mov dword [r12 + 0x10], ebx
test rax, rax
je 0x1400aff45
call rax
mov eax, 0xffffff53
mov qword [rsi], rbx
jmp 0x1400b04d3
call fcn.14017007c
mov qword [rsi], rbx
mov eax, 0xffffff53
jmp 0x1400b04d3
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.1400cd970
mov r9, r13
lea rcx, [rsp + 0x30]
mov r8d, ebx
mov edx, 5
call fcn.1400d0e80
mov esi, dword [rsp + 0x50]
mov r14d, eax
mov ecx, dword [rsp + 0x38]
test eax, eax
jns 0x1400affaf
movzx r15d, byte [rbp + 0x2e8]
jmp 0x1400b0083
movsxd rbx, dword [rbp - 0x50]
test ebx, ebx
jle 0x1400b001b
lea eax, [rbx + 1]
movsxd rcx, eax
mov rax, qword [0x1409f4538]
test rax, rax
je 0x1400affcd
call rax
jmp 0x1400affd2
call fcn.140175580
mov rdi, rax
test rax, rax
jne 0x1400affeb
movzx r15d, byte [rbp + 0x2e8]
lea r14d, [rax - 0x7d]
jmp 0x1400b007b
mov rdx, qword [rbp - 0x58]
mov r8, rbx
mov rcx, rdi
call fcn.140195690
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 0x1400b0023
movzx r15d, byte [rbp + 0x2e8]
cmp esi, 0x285
jne 0x1400b007b
cmp qword [rsp + 0x30], 0
je 0x1400b007b
test ecx, ecx
je 0x1400b007b
mov rax, qword [0x1409f4538]
mov edi, ecx
mov ecx, edi
test rax, rax
je 0x1400b004b
call rax
jmp 0x1400b0050
call fcn.140175580
mov rbx, rax
test rax, rax
jne 0x1400b005e
lea r14d, [rax - 0x7d]
jmp 0x1400b007b
mov rdx, qword [rsp + 0x30]
mov r8, rdi
mov rcx, rbx
call fcn.140195690
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 0x1400b00d0
sub esi, 0x206
je 0x1400b00b4
cmp esi, 0x7f
jne 0x1400b00d0
movzx eax, word [r13 + 0xd8]
test ax, ax
js 0x1400b00a9
cmp ecx, eax
jae 0x1400b00d0
mov r14d, 0xfffffe67
jmp 0x1400b02ba
movzx eax, word [r13 + 0xda]
test ax, ax
js 0x1400b00c5
cmp ecx, eax
jae 0x1400b00d0
mov r14d, 0xfffffe66
jmp 0x1400b02ba
test r14d, r14d
jne 0x1400b02ba
movzx eax, r15b
shr al, 4
and al, 1
cmp edi, 1
je 0x1400b0113
test al, al
jne 0x1400b00f6
mov r14d, 0xfffffe9b
jmp 0x1400b02ba
test byte [rbp + 0x2e9], 0x40
jne 0x1400b0113
test byte [rbp + 0x256], 4
jne 0x1400b0113
mov r14d, 0xfffffe9b
jmp 0x1400b02ba
lea rdx, [rbp + 0x22c]
mov rcx, r13
call fcn.1400afce0
test eax, eax
jne 0x1400b02b2
mov rax, qword [0x1409f4538]
mov ecx, 0x68
test rax, rax
je 0x1400b013f
call rax
jmp 0x1400b0144
call fcn.140175580
mov rsi, rax
test rax, rax
je 0x1400b02ac
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 0x1400b017e
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 0x1400b019a
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 0x1400b0217
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 0x1400b02ba
mov r8d, dword [rsp + 0x20]
mov edx, dword [r12 + 0x10]
mov rcx, qword [r12]
call rax
jmp 0x1400b02ba
mov r14d, 0xfffffed1
movzx r15d, byte [rbp + 0x2e8]
test r15b, 1
je 0x1400b02e2
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x1400b02e2
mov rax, qword [0x1409f4530]
test rax, rax
je 0x1400b02d9
call rax
jmp 0x1400b02e2
mov rcx, qword [rbp - 0x58]
call fcn.14017007c
cmp dword [rsp + 0x3c], 1
jne 0x1400b030d
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400b030d
mov rax, qword [0x1409f4530]
test rax, rax
je 0x1400b0303
call rax
jmp 0x1400b030d
mov rcx, qword [rsp + 0x30]
call fcn.14017007c
test r15b, 0x40
mov r15, qword [rsp + 0x408]
je 0x1400b0371
mov rbx, qword [rsp + 0x58]
test rbx, rbx
je 0x1400b0371
nop word [rax + rax]
mov rcx, qword [rbx + 0x10]
mov rdi, qword [rbx]
test rcx, rcx
je 0x1400b0351
mov rax, qword [0x1409f4530]
test rax, rax
je 0x1400b034c
call rax
jmp 0x1400b0351
call fcn.14017007c
mov rax, qword [0x1409f4530]
mov rcx, rbx
test rax, rax
je 0x1400b0364
call rax
jmp 0x1400b0369
call fcn.14017007c
mov rbx, rdi
test rdi, rdi
jne 0x1400b0330
mov rbx, qword [rsp + 0x60]
test rbx, rbx
je 0x1400b03c1
nop dword [rax + rax]
mov rcx, qword [rbx + 0x10]
mov rdi, qword [rbx]
test rcx, rcx
je 0x1400b03a1
mov rax, qword [0x1409f4530]
test rax, rax
je 0x1400b039c
call rax
jmp 0x1400b03a1
call fcn.14017007c
mov rax, qword [0x1409f4530]
mov rcx, rbx
test rax, rax
je 0x1400b03b4
call rax
jmp 0x1400b03b9
call fcn.14017007c
mov rbx, rdi
test rdi, rdi
jne 0x1400b0380
mov rbx, qword [rsp + 0x68]
test rbx, rbx
je 0x1400b0411
nop dword [rax + rax]
mov rcx, qword [rbx + 8]
mov rdi, qword [rbx]
test rcx, rcx
je 0x1400b03f1
mov rax, qword [0x1409f4530]
test rax, rax
je 0x1400b03ec
call rax
jmp 0x1400b03f1
call fcn.14017007c
mov rax, qword [0x1409f4530]
mov rcx, rbx
test rax, rax
je 0x1400b0404
call rax
jmp 0x1400b0409
call fcn.14017007c
mov rbx, rdi
test rdi, rdi
jne 0x1400b03d0
mov rbx, qword [rsp + 0x70]
test rbx, rbx
je 0x1400b0461
nop dword [rax + rax]
mov rcx, qword [rbx + 8]
mov rdi, qword [rbx]
test rcx, rcx
je 0x1400b0441
mov rax, qword [0x1409f4530]
test rax, rax
je 0x1400b043c
call rax
jmp 0x1400b0441
call fcn.14017007c
mov rax, qword [0x1409f4530]
mov rcx, rbx
test rax, rax
je 0x1400b0454
call rax
jmp 0x1400b0459
call fcn.14017007c
mov rbx, rdi
test rdi, rdi
jne 0x1400b0420
lea rcx, [rbp + 0x298]
call fcn.1400cf3b0
mov rdi, qword [rsp + 0x28]
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400b04bc
cmp dword [rcx + 0x14], 1
jne 0x1400b049c
mov eax, dword [rcx + 0x10]
mov rdx, qword [rcx]
test eax, eax
je 0x1400b049c
nop word [rax + rax]
mov byte [rdx], 0
lea rdx, [rdx + 1]
add eax, 0xffffffff
jne 0x1400b0490
mov rax, qword [0x1409f4530]
xor ebx, ebx
mov qword [rcx], rbx
mov dword [rcx + 0x10], ebx
test rax, rax
je 0x1400b04b4
call rax
jmp 0x1400b04b9
call fcn.14017007c
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.14015a1f0
add rsp, 0x418
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret