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

Disassembly:
mov rax, rsp
mov word [rax + 0x20], r9w
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x98
xor r14d, r14d
mov rdi, r8
mov r13, rdx
mov r10, rcx
mov r15d, r14d
mov r11d, r14d
mov qword [rsp + 0x40], r14
cmp word [rsp + 0x100], r14w
je 0x1400afca2
mov rax, qword [rcx]
mov r8, qword [rax]
test byte [r8 + 0x60], 0x40
jne 0x1400b0489
movzx edx, word [rdx]
mov word [rsp + 0x4e], dx
cmp edx, 0x3f
ja 0x1400b0489
mov ecx, edx
mov dword [rsp + 0x50], edx
mov ebp, 1
mov qword [rsp + 0x70], r14
mov edx, ebp
mov qword [rsp + 0x58], r14
shl rdx, cl
movzx eax, r9w
sub rdx, rbp
mov ecx, 0x803
and ax, cx
mov qword [rsp + 0x78], rdx
neg ax
mov r12b, bpl
mov ecx, r14d
mov dword [rsp + 0x34], r12d
sbb r8w, r8w
mov dword [rsp + 0x54], ecx
neg r8w
mov rbx, r14
add r8w, 0x182
mov qword [rsp + 0x80], rbx
mov word [rsp + 0x32], r8w
mov rsi, r14
cmp r11, rdx
jae 0x1400b045b
movzx eax, word [rsp + 0x100]
cmp ecx, eax
jg 0x1400b044a
test ecx, ecx
jle 0x1400afd3b
or rsi, qword [r15 + 8]
mov qword [rsp + 0x58], rsi
cmp ecx, eax
jge 0x1400afd5d
bt r9w, 0xb
mov rax, qword [rdi + 0x18]
mov r15, qword [rax + rbx*8]
mov qword [rsp + 0x88], r15
jb 0x1400b0410
jmp 0x1400afd6d
mov r15, qword [rsp + 0x108]
mov qword [rsp + 0x88], r15
test dword [r15 + 0x38], 0x400
jne 0x1400b0430
movzx eax, r9w
mov ecx, 0x80
and ax, cx
mov word [rsp + 0x60], ax
je 0x1400afd93
mov word [r15 + 0x1e], r14w
movzx eax, byte [r15 + 0x10]
mov ebp, r14d
imul rcx, rax, 0x68
mov rax, qword [r10 + 8]
mov eax, dword [rcx + rax + 0x4c]
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x50], r14d
jbe 0x1400aff10
mov r12d, eax
mov eax, ebp
bt r11, rax
jb 0x1400afef3
mov edi, ebp
shl rdi, 5
mov r14d, ebp
mov rcx, qword [rdi + r13 + 8]
call fcn.14006e314
xor edx, edx
mov rbx, rax
test rax, rax
je 0x1400afef3
mov al, byte [rax]
add al, 0x59
test al, 0xfd
jne 0x1400afef3
cmp dword [rbx + 0x2c], r12d
jne 0x1400afef3
movzx eax, r8w
lea rcx, [r10 + 0x70]
movsx r8d, word [rbx + 0x30]
mov r9, rsi
mov qword [rsp + 0x28], rdx
not r9
mov edx, r12d
mov dword [rsp + 0x20], eax
call fcn.1400ab8b8
mov rsi, rax
xor eax, eax
test rsi, rsi
je 0x1400afedb
lea r9d, [rax + 1]
cmp word [rsi + 0x14], r9w
jne 0x1400afe5e
movzx edx, word [r15 + 0x3c]
mov ecx, eax
test edx, edx
je 0x1400afe5a
mov r8, qword [r15 + 0x48]
movsxd rax, ecx
cmp rsi, qword [r8 + rax*8]
je 0x1400afe58
add ecx, r9d
cmp ecx, edx
jl 0x1400afe48
xor eax, eax
cmp ecx, edx
jge 0x1400afedb
test byte [rsi + 0x14], 0x82
je 0x1400afecb
cmp word [rbx + 0x30], ax
jl 0x1400afecb
mov rbx, qword [rsp + 0xe0]
mov rdx, qword [rdi + r13 + 8]
mov rbx, qword [rbx]
mov rcx, rbx
call fcn.14006e344
mov rdi, rax
test rax, rax
jne 0x1400afe91
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rax, qword [rsi]
test dword [rax + 4], 0x400
je 0x1400afea7
mov rdx, qword [rax + 0x18]
mov r8, qword [rax + 0x10]
jmp 0x1400afeaf
mov rdx, qword [rax + 0x10]
mov r8, qword [rax + 0x18]
mov rcx, rbx
call fcn.14006e5c8
test rax, rax
je 0x1400afedb
mov rdx, qword [rax]
mov rcx, qword [rdi]
call fcn.140040b54
test eax, eax
jne 0x1400afedb
mov r11, qword [rsp + 0x40]
bts r11, r14
mov qword [rsp + 0x40], r11
jmp 0x1400afee0
mov r11, qword [rsp + 0x40]
mov r10, qword [rsp + 0xe0]
movzx r8d, word [rsp + 0x32]
mov rsi, qword [rsp + 0x58]
inc ebp
cmp ebp, dword [rsp + 0x50]
jl 0x1400afdb9
mov r12d, dword [rsp + 0x34]
xor r14d, r14d
movzx r9d, word [rsp + 0xf8]
test dword [r15 + 0x38], 0x1000
jne 0x1400b0313
test dword [r15 + 0x38], 0x100
je 0x1400aff3f
mov ebx, dword [rsp + 0x34]
mov ebp, 1
movzx eax, bp
mov word [rsp + 0x4c], r14w
mov r13, r14
jmp 0x1400aff8c
mov r13, qword [r15 + 0x20]
test r13, r13
je 0x1400b0489
test byte [r13 + 0x64], 4
jne 0x1400b0489
movzx eax, word [r13 + 0x5e]
mov word [rsp + 0x4c], ax
movzx eax, word [r13 + 0x60]
cmp byte [r13 + 0x62], r14b
je 0x1400aff80
test dword [r15 + 0x38], 0x8000
jne 0x1400aff80
mov ebp, 1
mov bl, bpl
jmp 0x1400aff88
mov bl, r14b
mov ebp, 1
mov dword [rsp + 0x34], ebx
movzx eax, ax
mov sil, r14b
mov byte [rsp + 0x39], r14b
mov edi, r14d
mov byte [rsp + 0x38], r14b
mov dword [rsp + 0x48], esi
mov dword [rsp + 0x68], eax
test eax, eax
je 0x1400b0306
movzx r10d, word [r15 + 0x18]
cmp edi, r10d
jge 0x1400b0012
movzx eax, word [r15 + 0x3e]
cmp edi, eax
jl 0x1400b0012
mov r8, qword [r15 + 0x48]
movsxd rax, edi
mov rcx, qword [r8 + rax*8]
movzx eax, word [rcx + 0x14]
test word [rsp + 0x32], ax
je 0x1400afff2
mov ecx, 0x180
test cx, ax
je 0x1400b02da
mov bl, r14b
mov dword [rsp + 0x34], ebx
jmp 0x1400b02da
test bpl, al
je 0x1400b0012
mov r9, qword [rcx]
lea edx, [rdi + 1]
jmp 0x1400b000d
movsxd rax, edx
mov rcx, qword [r8 + rax*8]
cmp qword [rcx], r9
je 0x1400b004a
add edx, ebp
cmp edx, r10d
jl 0x1400affff
mov r8b, bpl
test r13, r13
je 0x1400b004f
mov rax, qword [r13 + 8]
movsxd rcx, edi
movsx r14d, word [rax + rcx*2]
mov rax, qword [r13 + 0x38]
mov r12b, byte [rcx + rax]
mov rax, qword [r13 + 0x18]
and r12b, bpl
movsx ecx, word [rax + 0x34]
mov eax, 0xffffffff
cmp r14d, ecx
cmove r14d, eax
xor r9d, r9d
jmp 0x1400b0059
mov r8b, r14b
jmp 0x1400b0015
or r14d, 0xffffffff
xor r9d, r9d
mov r12b, r9b
test bl, bl
je 0x1400b0093
test r14d, r14d
js 0x1400b0084
cmp edi, r10d
jl 0x1400b0093
movsxd rax, r14d
lea rdx, [rax + rax*2]
mov rax, qword [r13 + 0x18]
mov rcx, qword [rax + 8]
test byte [rcx + rdx*8 + 8], 0xf
jne 0x1400b0093
mov byte [rsp + 0x34], r9b
jmp 0x1400b0093
cmp r14d, 0xfffffffe
movzx ebx, bl
cmove ebx, r9d
mov dword [rsp + 0x34], ebx
mov ebp, r9d
test r8b, r8b
je 0x1400b01d8
cmp ebp, dword [rsp + 0x50]
jge 0x1400b01d4
mov eax, ebp
bt r11, rax
jb 0x1400b01c9
mov rbx, qword [rsp + 0xe8]
movsxd rsi, ebp
shl rsi, 5
mov rcx, qword [rsi + rbx + 8]
call fcn.14006e314
mov rdx, rax
test rax, rax
je 0x1400b01c9
mov al, byte [rsp + 0xf8]
and al, 0xc0
neg al
sbb al, al
or r10d, 0xffffffff
and al, r8b
mov byte [rsp + 0x30], al
cmp r14d, r10d
jl 0x1400b011f
mov al, byte [rdx]
add al, 0x59
test al, 0xfd
jne 0x1400b01c4
mov eax, dword [rsp + 0x64]
cmp dword [rdx + 0x2c], eax
jne 0x1400b01c4
movsx eax, word [rdx + 0x30]
cmp eax, r14d
jne 0x1400b01c4
jmp 0x1400b016d
mov rax, qword [r13 + 0x50]
movsxd rcx, edi
shl rcx, 5
mov r8, qword [rcx + rax + 8]
jmp 0x1400b013f
test dword [r8 + 4], 0x2000
je 0x1400b0144
mov r8, qword [r8 + 0x10]
test r8, r8
jne 0x1400b0131
test dword [rdx + 4], 0x2000
je 0x1400b0156
mov rdx, qword [rdx + 0x10]
test rdx, rdx
jne 0x1400b0144
mov r9d, dword [rsp + 0x64]
xor ecx, ecx
call fcn.140074dc8
xor r9d, r9d
test eax, eax
jne 0x1400b01bf
or r10d, 0xffffffff
cmp r14d, r10d
je 0x1400b0218
mov rax, qword [rsp + 0xe0]
mov rdx, qword [rsp + 0xe8]
mov rbx, qword [rax]
mov rdx, qword [rsi + rdx + 8]
mov rcx, rbx
call fcn.14006e344
mov rcx, rax
test rax, rax
jne 0x1400b01a5
mov rax, qword [rbx]
mov rcx, qword [rax + 0x10]
mov rdx, qword [r13 + 0x40]
mov rcx, qword [rcx]
movsxd rax, edi
mov rdx, qword [rdx + rax*8]
call fcn.140040b54
xor r9d, r9d
test eax, eax
je 0x1400b020c
mov r11, qword [rsp + 0x40]
mov r8b, byte [rsp + 0x30]
inc ebp
test r8b, r8b
jne 0x1400b009f
mov esi, dword [rsp + 0x48]
movzx r9d, word [rsp + 0xf8]
xor r14d, r14d
test edi, edi
je 0x1400b01f5
movzx eax, word [rsp + 0x4c]
cmp edi, eax
jge 0x1400b02e8
mov r11, qword [rsp + 0x40]
mov r12b, r14b
mov dword [rsp + 0x34], r12d
mov ebp, 1
jmp 0x1400b02f7
mov rbx, qword [rsp + 0xe8]
or r10d, 0xffffffff
mov r8d, 1
cmp word [rsp + 0x60], r9w
je 0x1400b022f
lea eax, [r8 + rdi]
mov word [r15 + 0x1e], ax
movzx r9d, word [rsp + 0xf8]
test r9b, 0x40
jne 0x1400b028e
movsxd rax, ebp
xor edx, edx
shl rax, 5
mov cl, byte [rax + rbx + 0x18]
and cl, r8b
cmp byte [rsp + 0x39], dl
je 0x1400b0267
xor r12b, byte [rsp + 0x38]
cmp r12b, cl
je 0x1400b028e
mov esi, dword [rsp + 0x48]
jmp 0x1400b01e1
mov dl, cl
xor dl, r12b
mov byte [rsp + 0x38], dl
je 0x1400b0289
mov rdx, qword [rsp + 0x110]
movsxd rax, dword [rsp + 0x54]
mov rcx, qword [rdx]
bts rcx, rax
mov qword [rdx], rcx
mov byte [rsp + 0x39], r8b
movsxd rax, ebp
shl rax, 5
test byte [rax + rbx + 0x18], 2
je 0x1400b02ab
movzx eax, word [r15 + 0x18]
cmp edi, eax
jne 0x1400b025e
bts dword [r15 + 0x38], 0x13
mov esi, dword [rsp + 0x48]
cmp r14d, r10d
mov r11, qword [rsp + 0x40]
mov ebx, dword [rsp + 0x34]
movsxd rax, ebp
movzx esi, sil
cmove esi, r8d
bts r11, rax
xor r14d, r14d
mov dword [rsp + 0x48], esi
mov qword [rsp + 0x40], r11
lea ebp, [r14 + 1]
add edi, ebp
cmp edi, dword [rsp + 0x68]
jl 0x1400affaf
jmp 0x1400b02f2
mov r11, qword [rsp + 0x40]
mov ebp, 1
mov r12d, dword [rsp + 0x34]
test sil, sil
je 0x1400b030b
mov r12b, bpl
mov dword [rsp + 0x34], r12d
jmp 0x1400b0321
mov r12d, dword [rsp + 0x34]
mov r13, qword [rsp + 0xe8]
mov ebp, 1
test r12b, r12b
je 0x1400b03ec
mov rdi, qword [rsp + 0x70]
mov ebx, r14d
or rdi, qword [r15 + 8]
mov qword [rsp + 0x70], rdi
cmp dword [rsp + 0x50], r14d
jbe 0x1400b03e4
mov rsi, qword [rsp + 0xe8]
mov rdi, r14
mov r12, qword [rsp + 0xe0]
add rsi, 8
mov r13d, dword [rsp + 0x50]
mov r15, qword [rsp + 0x70]
mov eax, ebx
bt r11, rax
jb 0x1400b03bd
mov rbp, qword [rsi]
lea rcx, [r12 + 0x258]
mov rdx, rbp
call fcn.1400ab324
mov r14, rax
test rax, rax
jne 0x1400b0393
lea r8d, [rax + 1]
mov rdx, rbp
xor ecx, ecx
call fcn.140070844
test eax, eax
je 0x1400b03b3
mov r11, qword [rsp + 0x40]
mov rax, r15
not rax
mov ebp, 1
test r14, rax
jne 0x1400b03bd
bts r11, rdi
mov qword [rsp + 0x40], r11
jmp 0x1400b03bd
mov r11, qword [rsp + 0x40]
mov ebp, 1
add ebx, ebp
add rdi, rbp
add rsi, 0x20
cmp ebx, r13d
jl 0x1400b035e
mov r15, qword [rsp + 0x88]
xor r14d, r14d
mov r12d, dword [rsp + 0x34]
movzx r9d, word [rsp + 0xf8]
mov r13, qword [rsp + 0xe8]
mov ecx, dword [rsp + 0x54]
mov rdx, qword [rsp + 0x78]
mov r10, qword [rsp + 0xe0]
movzx r8d, word [rsp + 0x32]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0xf0]
add qword [rsp + 0x80], rbp
add ecx, ebp
mov dword [rsp + 0x54], ecx
test r12b, r12b
je 0x1400b0458
mov rbx, qword [rsp + 0x80]
jmp 0x1400afd15
cmp byte [r15 + 0x20], r14b
je 0x1400b044a
mov eax, 0x280
and r9w, ax
mov eax, 0x80
cmp r9w, ax
jne 0x1400b045d
test r12b, r12b
jne 0x1400b04a3
movzx edx, word [rsp + 0x4e]
dec edx
jmp 0x1400b0485
cmp r11, rdx
jne 0x1400b044a
mov al, byte [rsp + 0x4e]
jmp 0x1400b048b
mov ecx, edx
mov rax, rbp
shl rax, cl
mov rcx, r14
sub rax, rbp
cmp edx, 0x40
cmovl rcx, rax
mov rax, rcx
and rax, r11
cmp rax, rcx
je 0x1400b049f
sub edx, ebp
test edx, edx
jg 0x1400b0463
xor al, al
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov al, dl
jmp 0x1400b048b
or eax, 0xffffffff
jmp 0x1400b048b