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

Disassembly:
mov word [rsp + 0x20], r9w
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xd8
movzx eax, word [rsp + 0x140]
xor r11d, r11d
mov qword [rsp + 0x38], r11
mov rdi, rdx
mov r14, r8
mov rdx, rcx
mov r12d, r11d
mov esi, r11d
test ax, ax
je 0x1400b5dbe
mov rax, qword [rcx]
mov r9, qword [rax]
test byte [r9 + 0x60], 0x40
jne 0x1400b6766
movzx r9d, word [rsp + 0x138]
movzx eax, word [rsp + 0x140]
movzx ebp, word [rdi]
mov word [rsp + 0x6a], bp
cmp ebp, 0x3f
ja 0x1400b6766
mov r8d, r11d
mov qword [rsp + 0x70], rbp
mov ecx, 1
mov qword [rsp + 0x78], r11
shlx rbx, rcx, rbp
dec rbx
mov qword [rsp + 0x60], r11
mov ecx, 0x803
mov qword [rsp + 0x80], rbx
test cx, r9w
mov qword [rsp + 0x88], r11
mov r15b, 1
mov ecx, r11d
setne r8b
mov dword [rsp + 0x34], r15d
add r8w, 0x182
mov dword [rsp + 0x50], ecx
mov dword [rsp + 0x40], r8d
mov r13d, ebp
mov r10, r11
nop dword [rax + rax]
cmp rsi, rbx
jae 0x1400b671f
movzx eax, ax
cmp ecx, eax
jg 0x1400b6728
test ecx, ecx
jle 0x1400b5e52
or r10, qword [r12 + 8]
mov qword [rsp + 0x60], r10
cmp ecx, eax
jge 0x1400b5e71
bt r9w, 0xb
mov rax, qword [r14 + 0x18]
mov r12, qword [rax + r11*8]
mov qword [rsp + 0x58], r12
jb 0x1400b66d8
jmp 0x1400b5e7e
mov r12, qword [rsp + 0x148]
mov qword [rsp + 0x58], r12
test dword [r12 + 0x38], 0x400
jne 0x1400b6700
movzx eax, r9w
mov ecx, 0x80
and ax, cx
mov word [rsp + 0x68], ax
je 0x1400b5eab
xor r11d, r11d
mov word [r12 + 0x1e], r11w
jmp 0x1400b5eae
xor r11d, r11d
movzx eax, byte [r12 + 0x10]
mov ebp, r11d
imul rcx, rax, 0x68
mov rax, qword [rdx + 8]
mov edx, dword [rcx + rax + 0x4c]
mov dword [rsp + 0x44], edx
test r13d, r13d
je 0x1400b60db
mov r15, qword [rsp + 0x120]
nop dword [rax + rax]
mov eax, ebp
bt rsi, rax
jb 0x1400b60c2
mov esi, ebp
shl rsi, 5
add rsi, rdi
mov r14d, ebp
mov rbx, qword [rsi + 8]
test rbx, rbx
je 0x1400b60bd
mov eax, dword [rbx + 4]
test eax, 0x82000
je 0x1400b5f36
bt eax, 0x13
jae 0x1400b5f1f
mov rax, qword [rbx + 0x20]
mov rbx, qword [rax + 8]
jmp 0x1400b5f28
cmp byte [rbx], 0x71
jne 0x1400b5f2d
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400b5f05
test rbx, rbx
je 0x1400b60bd
movzx eax, byte [rbx]
add al, 0x59
test al, 0xfd
jne 0x1400b60bd
cmp dword [rbx + 0x2c], edx
jne 0x1400b60bd
movzx eax, r8w
lea rcx, [r15 + 0x70]
movsx r8d, word [rbx + 0x30]
mov r9, r10
mov qword [rsp + 0x28], r11
not r9
mov dword [rsp + 0x20], eax
call fcn.1400afdb0
mov rdi, rax
test rax, rax
je 0x1400b60a4
movzx r9d, word [rax + 0x14]
cmp r9w, 1
jne 0x1400b5fb7
movzx edx, word [r12 + 0x3c]
xor r11d, r11d
mov ecx, r11d
test edx, edx
je 0x1400b5faf
mov r8, qword [r12 + 0x48]
nop word [rax + rax]
movsxd rax, ecx
cmp rdi, qword [r8 + rax*8]
je 0x1400b5faf
inc ecx
cmp ecx, edx
jl 0x1400b5fa0
cmp ecx, edx
jge 0x1400b60a7
test r9b, 0x82
je 0x1400b6061
cmp word [rbx + 0x30], 0
jl 0x1400b6061
mov rbx, qword [r15]
mov rdx, qword [rsi + 8]
mov rcx, rbx
call fcn.14004e7b0
mov rsi, rax
test rax, rax
jne 0x1400b5fea
mov rax, qword [rbx]
mov rsi, qword [rax + 0x10]
mov rax, qword [rdi]
test dword [rax + 4], 0x400
je 0x1400b6000
mov rdi, qword [rax + 0x10]
mov rdx, qword [rax + 0x18]
jmp 0x1400b6008
mov rdi, qword [rax + 0x18]
mov rdx, qword [rax + 0x10]
test dword [rdx + 4], 0x200
jne 0x1400b602f
test rdi, rdi
je 0x1400b601f
test dword [rdi + 4], 0x200
jne 0x1400b602c
mov rcx, rbx
call fcn.14004e7b0
test rax, rax
jne 0x1400b603c
mov rdx, rdi
mov rcx, rbx
call fcn.14004e7b0
test rax, rax
je 0x1400b60a4
mov r8, qword [rsi]
mov r9, qword [rax]
sub r9, r8
nop word [rax + rax]
movzx ecx, byte [r8]
movzx eax, byte [r9 + r8]
cmp ecx, eax
jne 0x1400b608a
test ecx, ecx
jne 0x1400b609f
mov rsi, qword [rsp + 0x38]
mov edx, dword [rsp + 0x44]
bts rsi, r14
mov rdi, qword [rsp + 0x128]
xor r11d, r11d
mov r8d, dword [rsp + 0x40]
mov r10, qword [rsp + 0x60]
mov qword [rsp + 0x38], rsi
jmp 0x1400b60c2
lea r10, [0x1400de140]
movzx edx, byte [rax + r10]
movzx ecx, byte [rcx + r10]
cmp ecx, edx
jne 0x1400b60a4
inc r8
jmp 0x1400b6050
xor r11d, r11d
mov edx, dword [rsp + 0x44]
mov rdi, qword [rsp + 0x128]
mov r8d, dword [rsp + 0x40]
mov r10, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x38]
inc ebp
cmp ebp, r13d
jl 0x1400b5ee0
mov r15d, dword [rsp + 0x34]
movzx r9d, word [rsp + 0x138]
mov eax, dword [r12 + 0x38]
bt eax, 0xc
jb 0x1400b659f
bt eax, 8
jae 0x1400b610c
mov ebp, dword [rsp + 0x34]
mov r13, r11
mov qword [rsp + 0x90], r11
mov ecx, 1
mov word [rsp + 0x4c], r11w
jmp 0x1400b6155
mov r13, qword [r12 + 0x20]
mov qword [rsp + 0x90], r13
test r13, r13
je 0x1400b6766
test byte [r13 + 0x64], 4
jne 0x1400b6766
cmp byte [r13 + 0x62], 0
movzx ecx, word [r13 + 0x5e]
mov word [rsp + 0x4c], cx
movzx ecx, word [r13 + 0x60]
je 0x1400b614e
bt eax, 0xf
jb 0x1400b614e
mov bpl, 1
jmp 0x1400b6151
xor bpl, bpl
mov dword [rsp + 0x34], ebp
xor al, al
xor dl, dl
xor r11b, r11b
mov byte [rsp + 0x31], al
movzx eax, cx
mov byte [rsp + 0x30], dl
xor edx, edx
mov dword [rsp + 0x48], r11d
mov r15d, edx
mov dword [rsp + 0x6c], eax
test eax, eax
je 0x1400b6595
nop dword [rax]
movzx r10d, word [r12 + 0x18]
mov bl, 1
cmp r15d, r10d
jge 0x1400b61fd
movzx eax, word [r12 + 0x3e]
cmp r15d, eax
jl 0x1400b61fd
mov r9, qword [r12 + 0x48]
movsxd rax, r15d
mov rcx, qword [r9 + rax*8]
movzx eax, word [rcx + 0x14]
test ax, r8w
je 0x1400b61d4
movzx r9d, word [rsp + 0x138]
mov ecx, 0x180
test cx, ax
movzx eax, bpl
mov ecx, edx
cmove ecx, eax
movzx ebp, cl
mov dword [rsp + 0x34], ebp
jmp 0x1400b651f
test bl, al
je 0x1400b61fd
mov r8, qword [rcx]
lea edx, [r15 + 1]
cmp edx, r10d
jge 0x1400b61fb
movsxd rax, edx
mov rcx, qword [r9 + rax*8]
cmp qword [rcx], r8
je 0x1400b61f9
inc edx
cmp edx, r10d
jl 0x1400b61e4
jmp 0x1400b61fb
xor bl, bl
xor edx, edx
test r13, r13
je 0x1400b622a
mov rax, qword [r13 + 8]
movsxd rcx, r15d
movsx r14d, word [rax + rcx*2]
mov rax, qword [r13 + 0x38]
movzx r12d, byte [rcx + rax]
mov rax, qword [r13 + 0x18]
and r12b, 1
movsx ecx, word [rax + 0x34]
cmp r14d, ecx
jne 0x1400b6233
jmp 0x1400b622d
xor r12b, r12b
mov r14d, 0xffffffff
test bpl, bpl
je 0x1400b626e
test r14d, r14d
js 0x1400b625f
cmp r15d, r10d
jl 0x1400b626e
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 0x1400b626e
mov byte [rsp + 0x34], 0
jmp 0x1400b626e
cmp r14d, 0xfffffffe
movzx ebp, bpl
cmove ebp, edx
mov dword [rsp + 0x34], ebp
xor ecx, ecx
mov ebp, ecx
test bl, bl
je 0x1400b6534
nop word [rax + rax]
cmp ebp, dword [rsp + 0x70]
jge 0x1400b652f
mov eax, ebp
bt rsi, rax
jb 0x1400b63f8
movsxd rsi, ebp
mov rdx, rsi
shl rdx, 5
mov rdx, qword [rdx + rdi + 8]
test rdx, rdx
je 0x1400b63f3
nop
mov eax, dword [rdx + 4]
test eax, 0x82000
je 0x1400b62e1
bt eax, 0x13
jae 0x1400b62ca
mov rdx, qword [rdx + 0x20]
mov rdx, qword [rdx + 8]
jmp 0x1400b62d3
cmp byte [rdx], 0x71
jne 0x1400b62d8
mov rdx, qword [rdx + 0x10]
test rdx, rdx
jne 0x1400b62b0
test rdx, rdx
je 0x1400b63f3
test byte [rsp + 0x138], 0xc0
movzx eax, bl
cmovne ecx, eax
movzx ebx, cl
movzx edi, cl
cmp r14d, 0xffffffff
jl 0x1400b6320
movzx eax, byte [rdx]
cmp al, 0xa7
je 0x1400b630a
cmp al, 0xa9
jne 0x1400b63f1
mov eax, dword [rsp + 0x44]
cmp dword [rdx + 0x2c], eax
jne 0x1400b63f1
movsx eax, word [rdx + 0x30]
cmp eax, r14d
jmp 0x1400b6370
mov rax, qword [r13 + 0x50]
movsxd rcx, r15d
shl rcx, 5
mov r8, qword [rcx + rax + 8]
test r8, r8
je 0x1400b6350
test dword [r8 + 4], 0x2000
je 0x1400b6350
mov r8, qword [r8 + 0x10]
test r8, r8
jne 0x1400b6335
nop dword [rax + rax]
test dword [rdx + 4], 0x2000
je 0x1400b6362
mov rdx, qword [rdx + 0x10]
test rdx, rdx
jne 0x1400b6350
mov r9d, dword [rsp + 0x44]
xor ecx, ecx
call fcn.140058d20
test eax, eax
jne 0x1400b63f1
cmp r14d, 0xffffffff
je 0x1400b6422
mov rax, qword [rsp + 0x120]
shl rsi, 5
mov rbx, qword [rax]
mov rax, qword [rsp + 0x128]
mov rcx, rbx
mov rdx, qword [rsi + rax + 8]
call fcn.14004e7b0
test rax, rax
jne 0x1400b63ac
mov rax, qword [rbx]
mov rax, qword [rax + 0x10]
mov r8, qword [rax]
mov rax, qword [r13 + 0x40]
lea r13, [0x1400de140]
movsxd rcx, r15d
mov r9, qword [rax + rcx*8]
sub r9, r8
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [r8]
movzx eax, byte [r9 + r8]
cmp edx, eax
jne 0x1400b640f
test edx, edx
jne 0x1400b641d
mov r13, qword [rsp + 0x90]
movzx ebx, dil
test edx, edx
je 0x1400b6422
xor ecx, ecx
mov rsi, qword [rsp + 0x38]
inc ebp
test bl, bl
je 0x1400b652f
mov rdi, qword [rsp + 0x128]
jmp 0x1400b6280
movzx ecx, byte [rax + r13]
movzx edx, byte [rdx + r13]
sub edx, ecx
jne 0x1400b63e1
inc r8
jmp 0x1400b63d0
cmp word [rsp + 0x68], 0
je 0x1400b6437
mov rcx, qword [rsp + 0x58]
lea eax, [r15 + 1]
mov word [rcx + 0x1e], ax
movzx r9d, word [rsp + 0x138]
mov r10b, 1
mov rdi, qword [rsp + 0x128]
test r9b, 0x40
jne 0x1400b64bd
movzx r11d, byte [rsp + 0x31]
movsxd rax, ebp
shl rax, 5
movzx edx, byte [rax + rdi + 0x18]
and dl, r10b
test r11b, r11b
je 0x1400b6498
movzx r8d, byte [rsp + 0x30]
xor ecx, ecx
xor r12b, r8b
movzx eax, r10b
cmp r12b, dl
mov byte [rsp + 0x30], r8b
mov byte [rsp + 0x31], r11b
cmove ecx, eax
test cl, cl
jne 0x1400b64bd
mov r11d, dword [rsp + 0x48]
jmp 0x1400b653d
xor dl, r12b
mov byte [rsp + 0x30], dl
je 0x1400b64b8
mov rdx, qword [rsp + 0x150]
movsxd rax, dword [rsp + 0x50]
mov rcx, qword [rdx]
bts rcx, rax
mov qword [rdx], rcx
mov byte [rsp + 0x31], r10b
mov r12, qword [rsp + 0x58]
movsxd rcx, ebp
mov rax, rcx
shl rax, 5
test byte [rax + rdi + 0x18], 2
je 0x1400b64eb
movzx eax, word [r12 + 0x18]
cmp r15d, eax
jne 0x1400b6568
or dword [r12 + 0x38], 0x80000
mov r11d, dword [rsp + 0x48]
cmp r14d, 0xffffffff
mov rsi, qword [rsp + 0x38]
mov eax, 1
mov ebp, dword [rsp + 0x34]
mov r8d, dword [rsp + 0x40]
movzx r11d, r11b
cmove r11d, eax
bts rsi, rcx
mov qword [rsp + 0x38], rsi
xor edx, edx
mov dword [rsp + 0x48], r11d
inc r15d
cmp r15d, dword [rsp + 0x6c]
jl 0x1400b6180
jmp 0x1400b657c
mov r11d, dword [rsp + 0x48]
movzx r9d, word [rsp + 0x138]
mov r12, qword [rsp + 0x58]
test r15d, r15d
je 0x1400b6551
movzx eax, word [rsp + 0x4c]
cmp r15d, eax
jge 0x1400b656f
mov rsi, qword [rsp + 0x38]
xor r15b, r15b
mov rdi, qword [rsp + 0x128]
mov dword [rsp + 0x34], r15d
jmp 0x1400b6581
mov r11d, dword [rsp + 0x48]
jmp 0x1400b6542
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x128]
mov r15d, dword [rsp + 0x34]
mov r13, qword [rsp + 0x70]
test r11b, r11b
je 0x1400b659f
mov r15b, 1
mov dword [rsp + 0x34], r15d
jmp 0x1400b65a8
mov r15d, dword [rsp + 0x34]
mov r13, qword [rsp + 0x70]
test r15b, r15b
je 0x1400b66b2
mov rax, qword [rsp + 0x78]
xor ecx, ecx
or rax, qword [r12 + 8]
mov edi, ecx
mov qword [rsp + 0x78], rax
test r13d, r13d
je 0x1400b66aa
mov r14, qword [rsp + 0x128]
mov r12, rax
mov r15, qword [rsp + 0x120]
nop word [rax + rax]
mov eax, edi
bt rsi, rax
jb 0x1400b668c
mov eax, edi
shl rax, 5
mov ebp, edi
mov rbx, qword [rax + r14 + 8]
test rbx, rbx
je 0x1400b6614
lea rcx, [r15 + 0x258]
mov rdx, rbx
call fcn.1400aef80
mov rsi, rax
xor ecx, ecx
jmp 0x1400b6617
mov rsi, rcx
test rsi, rsi
jne 0x1400b666e
mov qword [rsp + 0x98], rcx
mov eax, 1
mov word [rsp + 0xbc], ax
lea rax, [fcn.140051fc0]
mov qword [rsp + 0xa0], rax
lea rax, [0x140051d40]
mov qword [rsp + 0xa8], rax
test rbx, rbx
je 0x1400b666e
mov rdx, rbx
lea rcx, [rsp + 0x98]
call fcn.14004a780
cmp word [rsp + 0xbc], si
je 0x1400b6685
andn rax, r12, rsi
mov rsi, qword [rsp + 0x38]
jne 0x1400b668a
bts rsi, rbp
mov qword [rsp + 0x38], rsi
jmp 0x1400b668a
mov rsi, qword [rsp + 0x38]
xor ecx, ecx
inc edi
cmp edi, r13d
jl 0x1400b65e0
mov r12, qword [rsp + 0x58]
mov r15d, dword [rsp + 0x34]
movzx r9d, word [rsp + 0x138]
mov rdi, qword [rsp + 0x128]
mov rdx, qword [rsp + 0x120]
mov ecx, dword [rsp + 0x50]
mov r8d, dword [rsp + 0x40]
mov r10, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x80]
mov r14, qword [rsp + 0x130]
inc qword [rsp + 0x88]
inc ecx
mov dword [rsp + 0x50], ecx
test r15b, r15b
je 0x1400b671c
mov r11, qword [rsp + 0x88]
movzx eax, word [rsp + 0x140]
jmp 0x1400b5e30
cmp byte [r12 + 0x20], 0
je 0x1400b6728
mov eax, 0x280
and r9w, ax
mov eax, 0x80
cmp r9w, ax
jne 0x1400b6721
cmp rsi, rbx
jne 0x1400b6728
movzx eax, byte [rsp + 0x6a]
jmp 0x1400b6768
test r15b, r15b
jne 0x1400b6781
lea edx, [r13 - 1]
test edx, edx
jle 0x1400b6766
mov r8d, 1
nop dword [rax + rax]
cmp edx, 0x40
jge 0x1400b6751
mov eax, edx
shlx rcx, r8, rax
dec rcx
jmp 0x1400b6755
xor eax, eax
mov ecx, eax
mov rax, rcx
and rax, rsi
cmp rax, rcx
je 0x1400b677c
dec edx
test edx, edx
jg 0x1400b6740
xor al, al
add rsp, 0xd8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
movzx eax, dl
jmp 0x1400b6768
mov al, 0xff
jmp 0x1400b6768