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

Disassembly:
mov qword [rsp + 0x10], rdx
push rdi
sub rsp, 0xa0
mov rdi, rcx
mov rcx, qword [rcx + 0x1658]
test rcx, rcx
jne 0x1400ba9b7
xor eax, eax
add rsp, 0xa0
pop rdi
ret
mov qword [rsp + 0x90], rbp
mov ebp, dword [rsp + 0xb8]
cmp ebp, dword [rdi + 0x14]
jb 0x1400ba9de
xor eax, eax
mov rbp, qword [rsp + 0x90]
add rsp, 0xa0
pop rdi
ret
mov qword [rsp + 0x98], rbx
xor ebx, ebx
test byte [rcx + 0x3c], 0x40
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x80], r12
mov qword [rsp + 0x78], r13
lea r13d, [rbx + 1]
je 0x1400baa50
mov rax, rdx
shr rax, 0x20
cmp eax, 0x101
je 0x1400baa1a
cmp eax, r13d
jne 0x1400baa50
mov r12d, dword [rsp + 0xbc]
cmp eax, 0x101
mov edx, ebx
sete dl
test edx, edx
cmovne r12d, r13d
add rcx, 0x558
mov dword [rsp + 0xbc], r12d
call fcn.1400bba80
mov rdx, qword [rsp + 0xb8]
jmp 0x1400baa58
mov r12d, dword [rsp + 0xbc]
mov rcx, qword [rdi + 0x1658]
bt dword [rcx + 0x1a8], 0xe
jae 0x1400baa86
mov eax, 0x106
cmp r12d, 6
cmove r12d, eax
mov dword [rsp + 0xbc], r12d
mov rdx, qword [rsp + 0xb8]
mov rsi, rbp
imul rsi, rsi, 0xac
cmp dword [rsi + rdi + 0x15c], 0xffffffff
jne 0x1400baf0b
mov esi, dword [rsi + rdi + 0x164]
test esi, esi
je 0x1400baba2
mov rcx, qword [0x14022e830]
mov eax, ebp
mov qword [rsp + 0x48], rdx
sub eax, dword [rdi + 0x1c]
test rcx, rcx
mov dword [rsp + 0x48], eax
je 0x1400bab30
mov rax, qword [0x1401ac380]
lea rdx, [rsp + 0x50]
mov r9d, r13d
mov qword [rdx], rax
mov rax, qword [0x1401ac388]
mov r8d, 0x4e
mov qword [rdx + 8], rax
lea rax, [rsp + 0xc0]
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
mov dword [rsp + 0x28], 8
mov qword [rsp + 0x20], rax
mov dword [rsp + 0xc0], ebx
call fcn.14008b770
test eax, eax
mov dword [rsp + 0xb0], eax
jne 0x1400bac31
mov rcx, qword [0x14022e830]
test rcx, rcx
mov dword [rsp + 0xc8], ebx
jne 0x1400bab4a
mov eax, ebx
mov dword [rsp + 0xb0], ebx
jmp 0x1400bac31
mov rax, qword [0x1401ac380]
lea rdx, [rsp + 0x50]
mov r9d, r13d
mov qword [rdx], rax
mov rax, qword [0x1401ac388]
mov r8d, 0x12
mov qword [rdx + 8], rax
lea rax, [rsp + 0xc8]
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
mov dword [rsp + 0x28], 8
mov qword [rsp + 0x20], rax
call fcn.14008b3c0
mov dword [rsp + 0xb0], eax
jmp 0x1400bac31
mov rcx, qword [0x14021cc50]
test ecx, ecx
jg 0x1400babb8
mov eax, ebx
mov dword [rsp + 0xb0], ebx
jmp 0x1400bac31
test rcx, rcx
mov rax, qword [0x1401ac380]
lea rdx, [rsp + 0x50]
mov qword [rdx], rax
mov rax, qword [0x1401ac388]
mov dword [rsp + 0x40], ebx
mov qword [rdx + 8], rax
jle 0x1400baf05
mov rcx, qword [0x14021cc48]
lea rax, [rsp + 0x40]
lea rdx, [rsp + 0x50]
mov rcx, qword [rcx]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xb8]
mov r9d, r13d
mov r8d, 0x4e
mov dword [rsp + 0x28], 8
mov qword [rsp + 0x20], rax
call fcn.14008b770
mov r12d, dword [rsp + 0xbc]
mov ebp, dword [rsp + 0xb8]
mov dword [rsp + 0xb0], eax
mov qword [rsp + 0x68], r15
mov r15d, ebp
lea rcx, str._d__CJackInfo::SetRtskDevice_:_Widget_0x_X_as__d
mov r9d, r12d
mov edx, eax
imul r15, r15, 0xac
mov r8d, dword [r15 + rdi + 0x14c]
call fcn.140001600
cmp dword [rsp + 0xb0], ebx
je 0x1400bae92
test esi, esi
mov qword [rsp + 0x70], r14
je 0x1400bac85
mov eax, dword [rdi + 0x1648]
mov r13d, dword [rdi + 0x164c]
mov r14d, dword [rdi + 0x1650]
jmp 0x1400bac99
mov eax, dword [rdi + 0x163c]
mov r13d, dword [rdi + 0x1640]
mov r14d, dword [rdi + 0x1644]
cmp dword [r15 + rdi + 0x14c], eax
jne 0x1400bacd7
cmp dword [rdi + 0x14], ebx
mov esi, ebx
jbe 0x1400bacd7
lea rbp, [rdi + 0x14c]
mov eax, dword [rbp]
cmp eax, r13d
je 0x1400bacbe
cmp eax, r14d
jne 0x1400bacc8
mov edx, esi
mov rcx, rdi
call fcn.1400ba090
add esi, 1
add rbp, 0xac
cmp esi, dword [rdi + 0x14]
jb 0x1400bacb1
mov rax, qword [rdi + 0x1658]
mov r14, qword [rsp + 0x70]
test byte [rax + 0x3c], 0x80
je 0x1400bae42
cmp dword [r15 + rdi + 0x14c], 0x18
jne 0x1400bae42
mov rax, qword [rax + 0x1bd8]
mov r13, rbx
test rax, rax
je 0x1400bad46
nop
nop
test rax, rax
mov rcx, rax
je 0x1400baef9
mov rcx, qword [rcx + 0x10]
mov rax, qword [rax]
test rcx, rcx
je 0x1400bad41
cmp dword [rcx + 0x16c], ebx
je 0x1400bad41
cmp dword [rcx + 0x170], ebx
jne 0x1400bad41
cmp dword [rcx + 0x1d8], 1
je 0x1400bad7b
test rax, rax
jne 0x1400bad10
xor eax, eax
mov r15, qword [rsp + 0x68]
mov r12, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x98]
mov r13, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x90]
add rsp, 0xa0
pop rdi
ret
xor edx, edx
call fcn.14005f3f0
lea r9, vtable..10.0
lea r8, vtable..10.0
xor edx, edx
mov rcx, rax
mov dword [rsp + 0x20], ebx
call fcn.14015e400
test rax, rax
mov rbp, rax
je 0x1400bad46
cmp r12d, 5
jne 0x1400bae9e
mov rax, qword [rax + 0x20]
lea rsi, [0x140212620]
test rax, rax
je 0x1400badfe
test byte [rax + 0x3a0], 0x10
je 0x1400badfe
mov eax, ebx
mov rcx, rsi
nop
cmp dword [rcx], 0x10
je 0x1400bade3
add eax, 1
add rcx, 0x18
cmp eax, 7
jb 0x1400badd0
jmp 0x1400baded
cdqe
lea rcx, [rax + rax*2]
lea r13, [rsi + rcx*8]
mov r8d, 1
mov rdx, r13
mov rcx, rbp
call fcn.140101120
mov rax, qword [rbp + 0x20]
test rax, rax
je 0x1400bae42
test byte [rax + 0x3a0], 0x20
je 0x1400bae42
mov rax, rsi
cmp dword [rax], 0x20
je 0x1400bae26
add ebx, 1
add rax, 0x18
cmp ebx, 7
jb 0x1400bae13
jmp 0x1400bae31
movsxd rax, ebx
lea rcx, [rax + rax*2]
lea r13, [rsi + rcx*8]
mov r8d, 1
mov rdx, r13
mov rcx, rbp
call fcn.140101120
mov rbx, qword [rdi + 0x1658]
bt dword [rbx + 0x190], 0x11
jae 0x1400bae92
mov rbx, qword [rbx + 0x1bd8]
test rbx, rbx
je 0x1400bae92
nop
test rbx, rbx
mov rcx, rbx
je 0x1400baeff
mov rcx, qword [rcx + 0x10]
mov rbx, qword [rbx]
test rcx, rcx
je 0x1400bae8d
mov eax, dword [rcx + 0x1d8]
cmp eax, 1
je 0x1400bae88
cmp eax, 3
jne 0x1400bae8d
call fcn.14005e8d0
test rbx, rbx
jne 0x1400bae60
mov eax, dword [rsp + 0xb0]
jmp 0x1400bad48
test r12d, r12d
je 0x1400baea9
cmp r12d, 1
jne 0x1400bae42
mov rax, qword [rax + 0x20]
test rax, rax
je 0x1400bae42
test byte [rax + 0x3a0], 2
je 0x1400bae42
lea rsi, [0x140212620]
mov rax, rsi
cmp dword [rax], 2
je 0x1400baed8
add ebx, 1
add rax, 0x18
cmp ebx, 7
jb 0x1400baec5
jmp 0x1400baee3
movsxd rax, ebx
lea rcx, [rax + rax*2]
lea r13, [rsi + rcx*8]
mov r8d, 1
mov rdx, r13
mov rcx, rbp
call fcn.140101120
jmp 0x1400bae42
call fcn.14013d908
int3
call fcn.14013d908
int3
call fcn.14013d908
int3
movsxd rdx, dword [rsi + rdi + 0x15c]
cmp rdx, qword [rcx + 0x518]
jge 0x1400bafe5
add rcx, 0x500
call fcn.1401555d4
test rax, rax
jne 0x1400baf37
call fcn.14013d908
int3
mov rax, qword [rax + 0x10]
test rax, rax
je 0x1400bafe5
lea r10, [rax + 8]
test r10, r10
je 0x1400bafe5
mov ecx, dword [rdi + 0x14]
mov eax, ebx
test ecx, ecx
je 0x1400baf7e
mov edx, dword [rsi + rdi + 0x15c]
add rdi, 0x15c
cmp dword [rdi], edx
je 0x1400baf7a
add eax, r13d
add rdi, 0xac
cmp eax, ecx
jb 0x1400baf68
cmp ebp, eax
jb 0x1400bafe5
sub ebp, eax
mov rax, qword [0x1401ac380]
lea rcx, [rsp + 0x50]
mov qword [rcx], rax
mov rax, qword [0x1401ac388]
mov dword [rsp + 0xb0], ebx
mov qword [rcx + 8], rax
mov rcx, qword [r10]
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xb8]
lea rdx, [rsp + 0x50]
mov r9d, r13d
mov r8d, 0x4e
mov dword [rsp + 0x28], 8
mov qword [rsp + 0x20], rax
mov dword [rsp + 0xb8], ebp
call fcn.14008b770
jmp 0x1400bad4d
xor eax, eax
jmp 0x1400bad4d