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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rbx, qword [0x14019dc08]
mov r13d, 3
test byte [rbx + 8], 2
mov byte [rbx + 0xdb], 0
je 0x140019212
test byte [rbx + 0xc], 1
je 0x140019212
movdqa xmm0, xmmword [0x1400e1650]
lea rdi, [rsp + 0x40]
movdqa xmm1, xmmword [0x1400e1660]
mov r15b, 1
movdqu xmmword [rsp + 0x40], xmm0
movdqu xmmword [rsp + 0x50], xmm1
nop dword [rax + rax]
mov esi, dword [rdi]
mov ecx, esi
call fcn.1400129a0
cmp byte [rax], 0
je 0x140019202
xor edx, edx
mov ecx, esi
call fcn.1400154a0
test al, al
je 0x140019202
mov dword [rbx + 0x4904], r13d
add rdi, 4
lea rax, [rsp + 0x60]
cmp rdi, rax
jne 0x1400191e0
jmp 0x140019215
xor r15b, r15b
movzx ebp, byte [rbx + 8]
movdqa xmm0, xmmword [0x1400e1640]
and bpl, 1
mov byte [rsp + 0xa0], bpl
movdqu xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x30], 0x201
mov dword [rsp + 0x34], 0x203
mov dword [rsp + 0x38], 0x204
je 0x140019285
lea rdi, [rsp + 0x20]
mov esi, dword [rdi]
mov ecx, esi
call fcn.1400129a0
cmp byte [rax], 0
je 0x140019277
xor edx, edx
mov ecx, esi
call fcn.1400154a0
test al, al
je 0x140019277
mov dword [rbx + 0x4904], 2
add rdi, 4
lea rax, [rsp + 0x3c]
cmp rdi, rax
jne 0x140019252
xor esi, esi
cmp dword [rbx + 0x4914], esi
je 0x14001939b
mov rdi, qword [0x14019dc08]
mov r9, qword [rdi + 0x48d0]
test r9, r9
je 0x14001939b
test byte [rdi + 0x5ca4], 8
je 0x1400192d0
mov r9, qword [r9 + 8]
lea rcx, str._nav__NavInitRequest:_ApplyResult:_NavID_0x_08X_in_Layer__d_Window___s__n
mov r8d, dword [rdi + 0x4908]
mov edx, dword [rdi + 0x4914]
call fcn.14001d3e0
mov rsi, qword [0x14019dc08]
movsxd rbp, dword [rdi + 0x4908]
mov r14d, dword [rdi + 0x4914]
cmp qword [rsi + 0x48d0], 0
jne 0x140019309
mov r8d, 0x296c
lea rdx, str.D:download_thingsXcapSlayer_GUIimgui.cpp
lea rcx, str.g.NavWindow___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp ebp, 1
jbe 0x140019328
mov r8d, 0x296d
lea rdx, str.D:download_thingsXcapSlayer_GUIimgui.cpp
lea rcx, str.nav_layer__ImGuiNavLayer_Main__nav_layer__ImGuiNavLayer_Menu
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rsi + 0x48d0]
mov rcx, rbp
mov dword [rsi + 0x4908], ebp
add rcx, rcx
mov dword [rsi + 0x48d8], r14d
mov dword [rsi + 0x48dc], 0
mov dword [rax + rbp*4 + 0x3a0], r14d
mov rax, qword [rsi + 0x48d0]
xor esi, esi
movups xmm0, xmmword [rdi + 0x4918]
movzx ebp, byte [rsp + 0xa0]
movups xmmword [rax + rcx*8 + 0x3a8], xmm0
mov byte [rdi + 0x490c], 1
cmp byte [rdi + 0x4912], sil
je 0x14001939b
mov rax, qword [0x14019dc08]
mov word [rax + 0x490d], 1
mov byte [rax + 0x490f], 1
cmp byte [rbx + 0x4928], 0
mov word [rbx + 0x4911], 0
mov dword [rbx + 0x4914], esi
mov dword [rbx + 0x48f0], esi
je 0x1400193be
call fcn.14001a320
xor al, al
mov dword [rbx + 0x496c], esi
mov r14d, 1
mov word [rbx + 0x4928], 0
mov dword [rsp + 0xa8], eax
cmp byte [rbx + 0x490d], al
je 0x140019412
cmp byte [rbx + 0x490c], al
je 0x140019412
cmp byte [rbx + 0x490e], al
jne 0x140019412
cmp byte [rbx + 0x490f], al
je 0x140019412
cmp qword [rbx + 0x48d0], 0
movzx eax, al
cmovne eax, r14d
mov dword [rsp + 0xa8], eax
mov byte [rbx + 0x490d], 0
cmp dword [rbx + 0x4908], r14d
jbe 0x14001943c
mov r8d, 0x2bb7
lea rdx, str.D:download_thingsXcapSlayer_GUIimgui.cpp
lea rcx, str.g.NavLayer__ImGuiNavLayer_Main__g.NavLayer__ImGuiNavLayer_Menu
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rbx + 0x48d0]
test rcx, rcx
je 0x14001947c
mov rax, rcx
nop dword [rax + rax]
cmp qword [rax + 0x378], rax
je 0x140019470
test dword [rax + 0x14], 0x14000000
jne 0x140019470
mov rax, qword [rax + 0x368]
test rax, rax
jne 0x140019450
jmp 0x14001947c
cmp rax, rcx
je 0x14001947c
mov qword [rax + 0x398], rcx
mov rax, qword [rbx + 0x48d0]
test rax, rax
je 0x1400194a2
cmp qword [rax + 0x398], 0
je 0x1400194a2
cmp dword [rbx + 0x4908], 0
jne 0x1400194a2
mov qword [rax + 0x398], rsi
call fcn.14001b010
test bpl, bpl
jne 0x1400194b5
test r15b, r15b
je 0x1400195dc
mov rax, qword [rbx + 0x48d0]
test rax, rax
je 0x1400195dc
test dword [rax + 0x14], 0x40000
jne 0x1400195dc
mov byte [rbx + 0xdd], r14b
cmp dword [rbx + 0x48d8], 0
je 0x1400195e3
cmp byte [rbx + 0x490e], 0
jne 0x1400195e3
movzx eax, r14b
mov byte [rbx + 0xde], al
call fcn.14001a630
cmp dword [rbx + 0x48d8], 0
mov qword [rbx + 0x48e4], 0
mov dword [rbx + 0x48e0], esi
mov dword [rbx + 0x48ec], esi
je 0x14001970e
cmp byte [rbx + 0x490e], 0
jne 0x14001970e
cmp qword [rbx + 0x4a38], 0
jne 0x14001970e
mov rax, qword [rbx + 0x48d0]
test rax, rax
je 0x14001970e
test dword [rax + 0x14], 0x40000
jne 0x14001970e
test bpl, bpl
je 0x14001957c
mov rax, qword [0x14019dc08]
cmp byte [rax + 0x2ee8], 0
je 0x14001957c
cmp byte [rax + 0x4030], 0
je 0x14001959a
test r15b, r15b
je 0x1400195f8
mov rax, qword [0x14019dc08]
cmp byte [rax + 0x3508], 0
je 0x1400195f8
cmp byte [rax + 0x44c8], 0
jne 0x1400195f8
movzx edi, byte [rsp + 0xa0]
movzx ebp, r14b
test dil, dil
je 0x1400195be
xor r8d, r8d
xor edx, edx
mov ecx, 0x20c
call fcn.140013220
test al, al
jne 0x1400195d6
test r15b, r15b
je 0x140019603
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.140013220
test al, al
je 0x140019603
movzx esi, r14b
jmp 0x140019606
mov byte [rbx + 0xdd], 0
cmp qword [rbx + 0x4a38], 0
jne 0x1400194f3
xor al, al
jmp 0x1400194f7
movzx edi, byte [rsp + 0xa0]
xor bpl, bpl
xor sil, sil
test dil, dil
je 0x140019624
mov rax, qword [0x14019dc08]
cmp byte [rax + 0x2ef8], 0
je 0x140019624
cmp byte [rax + 0x403c], 0
je 0x140019637
test r15b, r15b
je 0x140019676
mov ecx, 0x26d
call fcn.1400131f0
test al, al
je 0x140019676
cmp byte [rsp + 0xa0], 0
movzx edi, r14b
je 0x140019658
xor r8d, r8d
xor edx, edx
mov ecx, 0x20d
call fcn.140013220
test al, al
jne 0x140019670
test r15b, r15b
je 0x140019679
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.140013220
test al, al
je 0x140019679
movzx edx, r14b
jmp 0x14001967b
xor dil, dil
xor dl, dl
mov ecx, dword [rbx + 0x3f50]
test ecx, ecx
jne 0x1400196a2
test sil, sil
je 0x1400196aa
mov eax, dword [rbx + 0x48d8]
mov dword [rbx + 0x48e0], eax
mov dword [rbx + 0x48ec], 2
jmp 0x1400196aa
cmp ecx, dword [rbx + 0x48d8]
jne 0x140019704
test dl, dl
je 0x1400196c1
mov eax, dword [rbx + 0x48d8]
mov dword [rbx + 0x48e0], eax
mov dword [rbx + 0x48ec], r14d
test ecx, ecx
je 0x1400196cd
cmp ecx, dword [rbx + 0x48d8]
jne 0x140019704
test bpl, bpl
jne 0x1400196d7
test dil, dil
je 0x1400196e3
mov eax, dword [rbx + 0x48d8]
mov dword [rbx + 0x48e4], eax
test ecx, ecx
je 0x1400196ef
cmp ecx, dword [rbx + 0x48d8]
jne 0x140019704
test sil, sil
jne 0x1400196f8
test dl, dl
je 0x140019704
mov eax, dword [rbx + 0x48d8]
mov dword [rbx + 0x48e8], eax
movzx ebp, byte [rsp + 0xa0]
xor esi, esi
mov rax, qword [rbx + 0x48d0]
test rax, rax
je 0x14001972a
test dword [rax + 0x14], 0x40000
je 0x14001972a
mov byte [rbx + 0x490e], r14b
mov eax, dword [rbx + 0x48e0]
test eax, eax
je 0x140019756
cmp dword [rbx + 0x48e4], eax
je 0x140019756
mov r8d, 0x2be4
lea rdx, str.D:download_thingsXcapSlayer_GUIimgui.cpp
lea rcx, str.g.NavActivateDownId__g.NavActivateId
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [rbx + 0x48fc]
test eax, eax
je 0x14001977e
mov dword [rbx + 0x48e8], eax
mov dword [rbx + 0x48e4], eax
mov dword [rbx + 0x48e0], eax
mov eax, dword [rbx + 0x4900]
mov dword [rbx + 0x48ec], eax
mov dword [rbx + 0x48fc], esi
call fcn.140019b80
cmp dword [rbx + 0x4938], 0xffffffff
jne 0x1400198a5
mov rdi, qword [0x14019dc08]
cmp dword [rdi + 0x4938], 0xffffffff
mov rsi, qword [rdi + 0x48d0]
je 0x1400197c7
mov r8d, 0x2cb4
lea rdx, str.D:download_thingsXcapSlayer_GUIimgui.cpp
lea rcx, str.g.NavMoveDir__ImGuiDir_None
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rsi, rsi
je 0x1400198a3
cmp qword [rdi + 0x4a38], 0
jne 0x1400198a3
test dword [rsi + 0x14], 0x40000
jne 0x1400198a3
mov r8d, r14d
mov edx, 0xffffffff
mov ecx, 0x200
call fcn.140013220
test al, al
je 0x1400198a3
cmp byte [rdi + 0xe20], 0
jne 0x1400198a3
cmp byte [rdi + 0xe22], 0
jne 0x1400198a3
movzx eax, byte [rdi + 0xe21]
test byte [rdi + 8], r14b
je 0x14001984f
test al, al
je 0x140019838
mov r14d, 0xffffffff
jmp 0x140019869
cmp byte [rdi + 0x490e], r14b
jne 0x140019869
cmp dword [rdi + 0x3f50], 0
jne 0x140019869
xor r14d, r14d
jmp 0x140019869
test al, al
je 0x14001985b
mov r14d, 0xffffffff
jmp 0x140019869
xor r14d, r14d
cmp dword [rdi + 0x3f50], r14d
setne r14b
mov dword [rdi + 0x4968], r14d
mov eax, 0x21
cmp byte [rsi + 0xbc], 0
mov r8d, 0x400
cmovne r13d, eax
sar r14d, 0x1f
mov r9d, r13d
lea ecx, [rax - 0x22]
lea edx, [r14 + 3]
call fcn.140018960
mov dword [rdi + 0x496c], 0xffffffff
xor esi, esi
mov rax, qword [0x14019dc08]
cmp byte [rax + 0x4929], 0
jne 0x1400198c7
cmp byte [rax + 0x4911], 0
jne 0x1400198c7
mov byte [rax + 0x4910], 0
jmp 0x1400198f2
cmp qword [rax + 0x48d0], 0
mov byte [rax + 0x4910], 1
jne 0x1400198f2
mov r8d, 0x2b35
lea rdx, str.D:download_thingsXcapSlayer_GUIimgui.cpp
lea rcx, str.g.NavWindow___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rbx + 0x48d0]
mov byte [rbx + 0x490c], 0
test rcx, rcx
je 0x140019af3
test dword [rcx + 0x14], 0x40000
jne 0x140019af3
cmp qword [rbx + 0x4a38], 0
jne 0x140019af3
mov rax, qword [rcx]
movss xmm0, dword [rax + 0x3c44]
mov rax, qword [rcx + 0x368]
mulss xmm0, dword [rcx + 0x290]
test rax, rax
je 0x14001994b
mulss xmm0, dword [rax + 0x290]
cmp word [rcx + 0x15c], 0
mulss xmm0, dword [0x1400e14f4]
mov edx, dword [rbx + 0x4938]
movss xmm2, dword [0x1400e1464]
mulss xmm0, dword [rbx + 0x18]
addss xmm0, dword [0x1400e142c]
cvttss2si eax, xmm0
movd xmm4, eax
cvtdq2ps xmm4, xmm4
jne 0x140019a15
cmp byte [rcx + 0x161], 0
je 0x140019a15
cmp edx, 0xffffffff
je 0x140019a15
movss xmm1, dword [0x1400e155c]
test edx, edx
je 0x1400199af
cmp edx, 1
jne 0x1400199dd
movaps xmm0, xmm2
jmp 0x1400199b2
movaps xmm0, xmm1
mulss xmm0, xmm4
mov dword [rcx + 0x9c], esi
mov dword [rcx + 0xa4], esi
addss xmm0, dword [rcx + 0x84]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rcx + 0x94], xmm0
cmp edx, 2
je 0x1400199ea
cmp edx, 3
jne 0x140019a15
movaps xmm1, xmm2
mulss xmm1, xmm4
mov dword [rcx + 0xa0], esi
mov dword [rcx + 0xa8], esi
addss xmm1, dword [rcx + 0x88]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rcx + 0x98], xmm0
test r15b, r15b
je 0x140019af3
mov rax, qword [0x14019dc08]
cmp byte [rax + 0x3558], 0
movss xmm1, dword [rax + 0x35f4]
movss xmm0, dword [rax + 0x35d4]
subss xmm1, dword [rax + 0x35e4]
subss xmm0, dword [rax + 0x35c4]
je 0x140019a61
cmp byte [rax + 0x4504], 0
jne 0x140019a61
movss xmm2, dword [0x1400e140c]
jmp 0x140019a7b
cmp byte [rax + 0x3568], 0
je 0x140019a7b
cmp byte [rax + 0x4510], 0
jne 0x140019a7b
movss xmm2, dword [0x1400e14a4]
xorps xmm3, xmm3
ucomiss xmm0, xmm3
jp 0x140019a85
je 0x140019abd
cmp byte [rcx + 0xb4], 0
je 0x140019abd
mulss xmm0, xmm4
mov dword [rcx + 0x9c], esi
mov dword [rcx + 0xa4], esi
mulss xmm0, xmm2
addss xmm0, dword [rcx + 0x84]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rcx + 0x94], xmm0
ucomiss xmm1, xmm3
jp 0x140019ac4
je 0x140019af3
mulss xmm1, xmm4
mov dword [rcx + 0xa0], esi
mov dword [rcx + 0xa8], esi
mulss xmm1, xmm2
addss xmm1, dword [rcx + 0x88]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rcx + 0x98], xmm0
test bpl, bpl
jne 0x140019b08
test r15b, r15b
jne 0x140019b08
mov word [rbx + 0x490e], 1
jmp 0x140019b5b
cmp byte [rsp + 0xa8], 0
je 0x140019b5b
test byte [rbx + 8], 4
je 0x140019b5b
test byte [rbx + 0xc], 4
je 0x140019b5b
lea rcx, [rsp + 0xa0]
call fcn.140018f40
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rbx + 0x36ec], xmm0
movss dword [rbx + 0x36f0], xmm1
movss dword [rbx + 0xe08], xmm0
movss dword [rbx + 0xe0c], xmm1
mov byte [rbx + 0xdb], 1
mov dword [rbx + 0x4964], esi
mov rbx, qword [rsp + 0xb0]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret