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

Disassembly:
mov rax, rsp
push rbp
push r13
push r15
sub rsp, 0xc0
mov rbp, qword [0x1400fb9e0]
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
test byte [rbp + 8], 2
mov qword [rax - 0x20], r12
mov qword [rax - 0x28], r14
mov r14d, 3
movaps xmmword [rax - 0x78], xmm10
mov byte [rbp + 0xdb], 0
je 0x140019635
test byte [rbp + 0xc], 1
je 0x140019635
movdqa xmm0, xmmword [0x1400c95b0]
lea rdi, [rsp + 0x40]
movdqa xmm1, xmmword [0x1400c95c0]
mov r15b, 1
movdqu xmmword [rsp + 0x40], xmm0
movdqu xmmword [rsp + 0x50], xmm1
nop dword [rax]
nop dword [rax + rax]
mov ebx, dword [rdi]
mov edx, ebx
mov rcx, qword [0x1400fb9e0]
call fcn.140012620
cmp byte [rax], 0
je 0x140019625
lea eax, [rbx - 0x200]
cmp eax, 0x8b
jbe 0x14001960a
cmp ebx, 0x1000
je 0x14001960a
cmp ebx, 0x2000
je 0x14001960a
cmp ebx, 0x4000
je 0x14001960a
cmp ebx, 0x8000
je 0x14001960a
cmp ebx, 0x800
jne 0x14001961e
mov rcx, qword [0x1400fb9e0]
mov edx, ebx
call fcn.1400022a0
cmp byte [rax + 8], 0
jne 0x140019625
mov dword [rbp + 0x48e4], r14d
add rdi, 4
lea rax, [rsp + 0x60]
cmp rdi, rax
jne 0x1400195c0
jmp 0x140019638
xor r15b, r15b
movzx esi, byte [rbp + 8]
movdqa xmm0, xmmword [0x1400c95a0]
and sil, 1
mov byte [rsp + 0xe0], sil
movdqu xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x30], 0x201
mov dword [rsp + 0x34], 0x203
mov dword [rsp + 0x38], 0x204
je 0x1400196f6
lea rdi, [rsp + 0x20]
nop dword [rax]
mov ebx, dword [rdi]
mov edx, ebx
mov rcx, qword [0x1400fb9e0]
call fcn.140012620
cmp byte [rax], 0
je 0x1400196e8
lea eax, [rbx - 0x200]
cmp eax, 0x8b
jbe 0x1400196ca
cmp ebx, 0x1000
je 0x1400196ca
cmp ebx, 0x2000
je 0x1400196ca
cmp ebx, 0x4000
je 0x1400196ca
cmp ebx, 0x8000
je 0x1400196ca
cmp ebx, 0x800
jne 0x1400196de
mov rcx, qword [0x1400fb9e0]
mov edx, ebx
call fcn.1400022a0
cmp byte [rax + 8], 0
jne 0x1400196e8
mov dword [rbp + 0x48e4], 2
add rdi, 4
lea rax, [rsp + 0x3c]
cmp rdi, rax
jne 0x140019680
xor r12d, r12d
mov dword [rbp + 0x48d0], r12d
cmp dword [rbp + 0x4900], r12d
je 0x1400197b1
mov rbx, qword [0x1400fb9e0]
mov r9, qword [rbx + 0x48b0]
test r9, r9
je 0x1400197b1
mov edx, dword [rbx + 0x4900]
cmp dword [rbx + 0x48b8], edx
je 0x14001974b
mov dword [rbx + 0x48d0], edx
mov eax, dword [rbx + 0x4904]
mov dword [rbx + 0x48d4], eax
mov dword [rbx + 0x48d8], r12d
test byte [rbx + 0x5cbc], 8
je 0x14001976b
mov r9, qword [r9 + 8]
lea rcx, str._nav__NavInitRequest:_ApplyResult:_NavID_0x_08X_in_Layer__d_Window___s__n
mov r8d, dword [rbx + 0x48e8]
call fcn.14001e5a0
mov r8d, dword [rbx + 0x4904]
lea r9, [rbx + 0x4908]
mov edx, dword [rbx + 0x48e8]
mov ecx, dword [rbx + 0x4900]
call fcn.140017e30
mov byte [rbx + 0x48ec], 1
cmp byte [rbx + 0x48f2], r12b
je 0x1400197b1
mov rax, qword [0x1400fb9e0]
mov word [rax + 0x48ed], 1
mov byte [rax + 0x48ef], 1
mov word [rbp + 0x48f1], r12w
mov dword [rbp + 0x4900], r12d
cmp byte [rbp + 0x4928], r12b
je 0x1400197ce
call fcn.14001ad90
xor r13b, r13b
mov dword [rbp + 0x496c], r12d
mov edi, 1
mov word [rbp + 0x4928], r12w
cmp byte [rbp + 0x48ed], r12b
je 0x140019818
cmp byte [rbp + 0x48ec], r12b
je 0x140019818
cmp byte [rbp + 0x48ee], r12b
jne 0x140019818
cmp byte [rbp + 0x48ef], r12b
je 0x140019818
cmp qword [rbp + 0x48b0], r12
movzx r13d, r13b
cmovne r13d, edi
mov byte [rbp + 0x48ed], r12b
cmp dword [rbp + 0x48e8], edi
jbe 0x140019841
mov r8d, 0x2c27
lea rdx, str.C:UsersjamesDownloadszexiezexie_ext_loaderimgui.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 [rbp + 0x48b0]
test rcx, rcx
je 0x14001987c
mov rax, rcx
cmp qword [rax + 0x378], rax
je 0x140019870
test dword [rax + 0x14], 0x14000000
jne 0x140019870
mov rax, qword [rax + 0x368]
test rax, rax
jne 0x140019850
jmp 0x14001987c
cmp rax, rcx
je 0x14001987c
mov qword [rax + 0x398], rcx
mov rax, qword [rbp + 0x48b0]
test rax, rax
je 0x1400198a1
cmp qword [rax + 0x398], r12
je 0x1400198a1
cmp dword [rbp + 0x48e8], r12d
jne 0x1400198a1
mov qword [rax + 0x398], r12
call fcn.14001bfc0
test sil, sil
jne 0x1400198b4
test r15b, r15b
je 0x1400199fc
mov rax, qword [rbp + 0x48b0]
test rax, rax
je 0x1400199fc
test dword [rax + 0x14], 0x40000
jne 0x1400199fc
mov byte [rbp + 0xdd], dil
cmp dword [rbp + 0x48b8], r12d
je 0x140019a03
cmp byte [rbp + 0x48ee], r12b
jne 0x140019a03
movzx eax, dil
mov byte [rbp + 0xde], al
call fcn.14001b230
mov qword [rbp + 0x48c4], r12
mov dword [rbp + 0x48c0], r12d
mov dword [rbp + 0x48cc], r12d
cmp dword [rbp + 0x48b8], r12d
je 0x140019b56
cmp byte [rbp + 0x48ee], r12b
jne 0x140019b56
cmp qword [rbp + 0x4a38], r12
jne 0x140019b56
mov rax, qword [rbp + 0x48b0]
test rax, rax
je 0x140019b56
test dword [rax + 0x14], 0x40000
jne 0x140019b56
test sil, sil
je 0x14001998c
mov rcx, qword [0x1400fb9e0]
mov edx, 0x20c
call fcn.140012620
cmp byte [rax], r12b
je 0x14001998c
mov rcx, qword [0x1400fb9e0]
mov edx, 0x20c
call fcn.1400022a0
cmp byte [rax + 8], r12b
je 0x1400199c2
test r15b, r15b
je 0x140019a17
mov rcx, qword [0x1400fb9e0]
mov edx, 0x26e
call fcn.140012620
cmp byte [rax], r12b
je 0x140019a17
mov rcx, qword [0x1400fb9e0]
mov edx, 0x26e
call fcn.1400022a0
cmp byte [rax + 8], r12b
jne 0x140019a17
movzx r14d, dil
test sil, sil
je 0x1400199de
xor r8d, r8d
xor edx, edx
mov ecx, 0x20c
call fcn.140012e80
test al, al
jne 0x1400199f6
test r15b, r15b
je 0x140019a1a
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.140012e80
test al, al
je 0x140019a1a
movzx ebx, dil
jmp 0x140019a1c
mov byte [rbp + 0xdd], r12b
cmp qword [rbp + 0x4a38], r12
jne 0x1400198f2
xor al, al
jmp 0x1400198f6
xor r14b, r14b
xor bl, bl
test sil, sil
je 0x140019a4e
mov rcx, qword [0x1400fb9e0]
mov edx, 0x20d
call fcn.140012620
cmp byte [rax], r12b
je 0x140019a4e
mov rcx, qword [0x1400fb9e0]
mov edx, 0x20d
call fcn.1400022a0
cmp byte [rax + 8], r12b
je 0x140019a80
test r15b, r15b
je 0x140019abf
mov rcx, qword [0x1400fb9e0]
mov edx, 0x26d
call fcn.140012620
cmp byte [rax], r12b
je 0x140019abf
mov rcx, qword [0x1400fb9e0]
mov edx, 0x26d
call fcn.1400022a0
cmp byte [rax + 8], r12b
jne 0x140019abf
movzx esi, dil
cmp byte [rsp + 0xe0], r12b
je 0x140019aa1
xor r8d, r8d
xor edx, edx
mov ecx, 0x20d
call fcn.140012e80
test al, al
jne 0x140019ab9
test r15b, r15b
je 0x140019ac2
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.140012e80
test al, al
je 0x140019ac2
movzx edx, dil
jmp 0x140019ac4
xor sil, sil
xor dl, dl
mov ecx, dword [rbp + 0x3f30]
test ecx, ecx
jne 0x140019aea
test bl, bl
je 0x140019af2
mov eax, dword [rbp + 0x48b8]
mov dword [rbp + 0x48c0], eax
mov dword [rbp + 0x48cc], 2
jmp 0x140019af2
cmp ecx, dword [rbp + 0x48b8]
jne 0x140019b2a
test dl, dl
je 0x140019b08
mov eax, dword [rbp + 0x48b8]
mov dword [rbp + 0x48c0], eax
mov dword [rbp + 0x48cc], edi
test ecx, ecx
je 0x140019b14
cmp ecx, dword [rbp + 0x48b8]
jne 0x140019b2a
test r14b, r14b
jne 0x140019b1e
test sil, sil
je 0x140019b2a
mov eax, dword [rbp + 0x48b8]
mov dword [rbp + 0x48c4], eax
mov eax, dword [rbp + 0x3f30]
test eax, eax
je 0x140019b3c
cmp eax, dword [rbp + 0x48b8]
jne 0x140019b50
test bl, bl
jne 0x140019b44
test dl, dl
je 0x140019b50
mov eax, dword [rbp + 0x48b8]
mov dword [rbp + 0x48c8], eax
mov r14d, 3
mov rax, qword [rbp + 0x48b0]
test rax, rax
je 0x140019b72
test dword [rax + 0x14], 0x40000
je 0x140019b72
mov byte [rbp + 0x48ee], dil
mov eax, dword [rbp + 0x48c0]
test eax, eax
je 0x140019b9e
cmp dword [rbp + 0x48c4], eax
je 0x140019b9e
mov r8d, 0x2c54
lea rdx, str.C:UsersjamesDownloadszexiezexie_ext_loaderimgui.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 [rbp + 0x48dc]
test eax, eax
je 0x140019bc6
mov dword [rbp + 0x48c8], eax
mov dword [rbp + 0x48c4], eax
mov dword [rbp + 0x48c0], eax
mov eax, dword [rbp + 0x48e0]
mov dword [rbp + 0x48cc], eax
mov dword [rbp + 0x48dc], r12d
call fcn.14001a150
cmp dword [rbp + 0x4938], 0xffffffff
xorps xmm10, xmm10
jne 0x140019d58
mov rbx, qword [0x1400fb9e0]
cmp dword [rbx + 0x4938], 0xffffffff
mov rsi, qword [rbx + 0x48b0]
je 0x140019c14
mov r8d, 0x2d47
lea rdx, str.C:UsersjamesDownloadszexiezexie_ext_loaderimgui.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 0x140019d58
cmp qword [rbx + 0x4a38], r12
jne 0x140019d58
test dword [rsi + 0x14], 0x40000
jne 0x140019d58
mov rcx, qword [0x1400fb9e0]
mov edx, 0x200
call fcn.140012620
cmp byte [rax], r12b
je 0x140019d58
movss xmm0, dword [rax + 4]
comiss xmm10, xmm0
ja 0x140019d58
ucomiss xmm0, xmm10
jp 0x140019c68
je 0x140019c94
mov rax, qword [0x1400fb9e0]
movss xmm1, dword [rax + 0x3c]
comiss xmm0, xmm1
jbe 0x140019d58
movss xmm2, dword [rax + 0x40]
mov ecx, 0x200
call fcn.140012800
test eax, eax
jle 0x140019d58
mov rcx, qword [0x1400fb9e0]
cmp byte [rcx + 0x4744], r12b
je 0x140019cb1
cmp dword [rcx + 0x3f30], 0xffffffff
jne 0x140019d58
mov edx, 0x200
call fcn.1400022a0
cmp dword [rax], 0xffffffff
jne 0x140019d58
cmp byte [rbx + 0xe24], r12b
jne 0x140019d58
cmp byte [rbx + 0xe26], r12b
jne 0x140019d58
movzx eax, byte [rbx + 0xe25]
test byte [rbx + 8], dil
je 0x140019d08
test al, al
je 0x140019cf2
mov edi, 0xffffffff
jmp 0x140019d1f
cmp byte [rbx + 0x48ee], dil
jne 0x140019d1f
cmp dword [rbx + 0x3f30], r12d
jne 0x140019d1f
xor edi, edi
jmp 0x140019d1f
test al, al
je 0x140019d13
mov edi, 0xffffffff
jmp 0x140019d1f
xor edi, edi
cmp dword [rbx + 0x3f30], edi
setne dil
mov dword [rbx + 0x4968], edi
mov eax, reloc.WLDAP32.dll_Ordinal_33
cmp byte [rsi + 0xbc], r12b
mov ecx, 0xffffffff
mov r8d, 0xc00
cmovne r14d, eax
sar edi, 0x1f
mov r9d, r14d
lea edx, [rdi + 3]
call fcn.140018ce0
mov dword [rbx + 0x496c], 0xffffffff
mov rax, qword [0x1400fb9e0]
cmp byte [rax + 0x4929], r12b
jne 0x140019d7a
cmp byte [rax + 0x48f1], r12b
jne 0x140019d7a
mov byte [rax + 0x48f0], r12b
jmp 0x140019da4
mov byte [rax + 0x48f0], 1
cmp qword [rax + 0x48b0], r12
jne 0x140019da4
mov r8d, 0x2ba6
lea rdx, str.C:UsersjamesDownloadszexiezexie_ext_loaderimgui.cpp
lea rcx, str.g.NavWindow___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov r14, qword [rbp + 0x48b0]
mov byte [rbp + 0x48ec], r12b
mov r12, qword [rsp + 0xb8]
test r14, r14
je 0x14001a0a0
test dword [r14 + 0x14], 0x40000
jne 0x14001a0a0
cmp qword [rbp + 0x4a38], 0
jne 0x14001a0a0
mov rax, qword [r14]
movaps xmmword [rsp + 0x80], xmm8
movaps xmmword [rsp + 0x70], xmm9
movss xmm0, dword [rax + 0x3c0c]
mov rax, qword [r14 + 0x368]
mulss xmm0, dword [r14 + 0x290]
test rax, rax
je 0x140019e16
mulss xmm0, dword [rax + 0x290]
cmp word [r14 + 0x15c], 0
mulss xmm0, dword [0x1400c9430]
mov ecx, dword [rbp + 0x4938]
movss xmm8, dword [0x1400c9394]
mulss xmm0, dword [rbp + 0x18]
addss xmm0, dword [0x1400c9360]
cvttss2si eax, xmm0
movd xmm9, eax
cvtdq2ps xmm9, xmm9
jne 0x140019f05
cmp byte [r14 + 0x162], 0
je 0x140019f05
cmp ecx, 0xffffffff
je 0x140019f05
movss xmm1, dword [0x1400c94c8]
test ecx, ecx
je 0x140019e84
cmp ecx, 1
jne 0x140019ebf
movaps xmm0, xmm8
jmp 0x140019e87
movaps xmm0, xmm1
mulss xmm0, xmm9
mov dword [r14 + 0x9c], 0
mov dword [r14 + 0xa4], 0
addss xmm0, dword [r14 + 0x84]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r14 + 0x94], xmm0
cmp ecx, 2
je 0x140019ecd
cmp ecx, 3
jne 0x140019f05
movaps xmm1, xmm8
mulss xmm1, xmm9
mov dword [r14 + 0xa0], 0
mov dword [r14 + 0xa8], 0
addss xmm1, dword [r14 + 0x88]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r14 + 0x98], xmm0
test r15b, r15b
je 0x14001a091
mov rcx, qword [0x1400fb9e0]
mov edx, 0x27c
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm7
call fcn.140012620
mov rcx, qword [0x1400fb9e0]
mov edx, 0x27b
mov rsi, rax
call fcn.140012620
mov rcx, qword [0x1400fb9e0]
mov edx, 0x27a
mov rdi, rax
call fcn.140012620
mov rcx, qword [0x1400fb9e0]
mov edx, 0x279
mov rbx, rax
call fcn.140012620
movss xmm7, dword [rbx + 0xc]
mov edx, 0x273
movss xmm6, dword [rsi + 0xc]
mov rcx, qword [0x1400fb9e0]
subss xmm7, dword [rax + 0xc]
subss xmm6, dword [rdi + 0xc]
call fcn.140012620
cmp byte [rax], 0
je 0x140019fb7
mov rcx, qword [0x1400fb9e0]
mov edx, 0x273
call fcn.1400022a0
cmp byte [rax + 8], 0
jne 0x140019fb7
movss xmm8, dword [0x1400c9340]
jmp 0x140019fed
mov rcx, qword [0x1400fb9e0]
mov edx, 0x274
call fcn.140012620
cmp byte [rax], 0
je 0x140019fed
mov rcx, qword [0x1400fb9e0]
mov edx, 0x274
call fcn.1400022a0
cmp byte [rax + 8], 0
jne 0x140019fed
movss xmm8, dword [0x1400c93d8]
ucomiss xmm7, xmm10
jp 0x140019ff5
je 0x14001a03c
cmp byte [r14 + 0xb4], 0
je 0x14001a03c
mulss xmm7, xmm9
mov dword [r14 + 0x9c], 0
mov dword [r14 + 0xa4], 0
mulss xmm7, xmm8
addss xmm7, dword [r14 + 0x84]
cvttss2si eax, xmm7
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r14 + 0x94], xmm0
ucomiss xmm6, xmm10
movaps xmm7, xmmword [rsp + 0x90]
jp 0x14001a04c
je 0x14001a089
mulss xmm6, xmm9
mov dword [r14 + 0xa0], 0
mov dword [r14 + 0xa8], 0
mulss xmm6, xmm8
addss xmm6, dword [r14 + 0x88]
cvttss2si eax, xmm6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r14 + 0x98], xmm0
movaps xmm6, xmmword [rsp + 0xa0]
movaps xmm8, xmmword [rsp + 0x80]
movaps xmm9, xmmword [rsp + 0x70]
cmp byte [rsp + 0xe0], 0
movaps xmm10, xmmword [rsp + 0x60]
mov r14, qword [rsp + 0xb0]
mov rdi, qword [rsp + 0xf8]
mov rsi, qword [rsp + 0xf0]
mov rbx, qword [rsp + 0xe8]
jne 0x14001a0e0
test r15b, r15b
jne 0x14001a0e0
mov word [rbp + 0x48ee], 1
jmp 0x14001a12e
test r13b, r13b
je 0x14001a12e
test byte [rbp + 8], 4
je 0x14001a12e
test byte [rbp + 0xc], 4
je 0x14001a12e
lea rcx, [rsp + 0xe0]
call fcn.1400192c0
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rbp + 0x36f0], xmm0
movss dword [rbp + 0x36f4], xmm1
movss dword [rbp + 0xe08], xmm0
movss dword [rbp + 0xe0c], xmm1
mov byte [rbp + 0xdb], 1
mov dword [rbp + 0x4964], 0
add rsp, 0xc0
pop r15
pop r13
pop rbp
ret