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

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
push r15
sub rsp, 0xc8
mov rdi, qword [0x14022c0c0]
mov qword [rax + 0x18], rbx
mov qword [rax - 0x28], rsi
mov qword [rax - 0x30], r12
test byte [rdi + 8], 2
mov qword [rax - 0x38], r13
mov r13d, 3
movaps xmmword [rsp + 0x60], xmm10
mov byte [rdi + 0xdb], 0
je 0x140024632
test byte [rdi + 0xc], 1
je 0x140024632
movdqa xmm0, xmmword [0x1401760c0]
lea rbx, [rsp + 0x40]
movdqa xmm1, xmmword [0x1401760d0]
mov bpl, 1
movdqu xmmword [rsp + 0x40], xmm0
movdqu xmmword [rsp + 0x50], xmm1
nop word [rax + rax]
mov ecx, dword [rbx]
call fcn.14001d450
test al, al
je 0x140024622
mov dword [rdi + 0x490c], r13d
add rbx, 4
lea rax, [rsp + 0x60]
cmp rbx, rax
jne 0x140024610
jmp 0x140024635
xor bpl, bpl
movzx r14d, byte [rdi + 8]
movdqa xmm0, xmmword [0x1401760b0]
and r14b, 1
mov byte [rsp + 0xf0], r14b
movdqu xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x30], 0x201
mov dword [rsp + 0x34], 0x203
mov dword [rsp + 0x38], 0x204
je 0x1400246f6
lea rsi, [rsp + 0x20]
nop word [rax + rax]
mov ebx, dword [rsi]
mov edx, ebx
mov rcx, qword [0x14022c0c0]
call fcn.14001cbe0
cmp byte [rax], 0
je 0x1400246e8
lea eax, [rbx - 0x200]
cmp eax, 0x8b
jbe 0x1400246ca
cmp ebx, 0x1000
je 0x1400246ca
cmp ebx, 0x2000
je 0x1400246ca
cmp ebx, 0x4000
je 0x1400246ca
cmp ebx, 0x8000
je 0x1400246ca
cmp ebx, 0x800
jne 0x1400246de
mov rcx, qword [0x14022c0c0]
mov edx, ebx
call fcn.14000c950
cmp byte [rax + 8], 0
jne 0x1400246e8
mov dword [rdi + 0x490c], 2
add rsi, 4
lea rax, [rsp + 0x3c]
cmp rsi, rax
jne 0x140024680
cmp dword [rdi + 0x491c], 0
je 0x14002477a
mov rbx, qword [0x14022c0c0]
mov r9, qword [rbx + 0x48d8]
test r9, r9
je 0x14002477a
test byte [rbx + 0x5cc4], 8
je 0x140024738
mov r9, qword [r9 + 8]
lea rcx, str._nav__NavInitRequest:_ApplyResult:_NavID_0x_08X_in_Layer__d_Window___s__n
mov r8d, dword [rbx + 0x4910]
mov edx, dword [rbx + 0x491c]
call fcn.140029100
mov edx, dword [rbx + 0x4910]
lea r9, [rbx + 0x4920]
mov ecx, dword [rbx + 0x491c]
xor r8d, r8d
call fcn.140022dc0
cmp byte [rbx + 0x491a], 0
mov byte [rbx + 0x4914], 1
je 0x14002477a
mov rax, qword [0x14022c0c0]
mov word [rax + 0x4915], 1
mov byte [rax + 0x4917], 1
xor r12d, r12d
mov word [rdi + 0x4919], 0
mov dword [rdi + 0x491c], r12d
mov dword [rdi + 0x48f8], r12d
cmp byte [rdi + 0x4930], r12b
je 0x1400247a2
call fcn.140025d80
xor r15b, r15b
mov dword [rdi + 0x4974], r12d
mov esi, 1
mov word [rdi + 0x4930], r12w
mov dword [rsp + 0xf8], r15d
cmp byte [rdi + 0x4915], r12b
je 0x1400247fc
cmp byte [rdi + 0x4914], r12b
je 0x1400247fc
cmp byte [rdi + 0x4916], r12b
jne 0x1400247fc
cmp byte [rdi + 0x4917], r12b
je 0x1400247fc
cmp qword [rdi + 0x48d8], r12
movzx r15d, r15b
cmovne r15d, esi
mov dword [rsp + 0xf8], r15d
mov byte [rdi + 0x4915], r12b
cmp dword [rdi + 0x4910], esi
jbe 0x140024825
mov r8d, 0x2cbb
lea rdx, [0x140144810]
lea rcx, str.g.NavLayer__SegaUiNavLayer_Main__g.NavLayer__SegaUiNavLayer_Menu
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rdi + 0x48d8]
test rcx, rcx
je 0x140024860
mov rax, rcx
cmp qword [rax + 0x378], rax
je 0x140024854
test dword [rax + 0x14], 0x14000000
jne 0x140024854
mov rax, qword [rax + 0x368]
test rax, rax
jne 0x140024834
jmp 0x140024860
cmp rax, rcx
je 0x140024860
mov qword [rax + 0x398], rcx
mov rax, qword [rdi + 0x48d8]
test rax, rax
je 0x140024885
cmp qword [rax + 0x398], r12
je 0x140024885
cmp dword [rdi + 0x4910], r12d
jne 0x140024885
mov qword [rax + 0x398], r12
call fcn.140026e80
test r14b, r14b
jne 0x140024898
test bpl, bpl
je 0x1400249de
mov rax, qword [rdi + 0x48d8]
test rax, rax
je 0x1400249de
test dword [rax + 0x14], 0x40000
jne 0x1400249de
mov byte [rdi + 0xdd], sil
cmp dword [rdi + 0x48e0], r12d
je 0x1400249e5
cmp byte [rdi + 0x4916], r12b
jne 0x1400249e5
movzx eax, sil
mov byte [rdi + 0xde], al
call fcn.1400261b0
xor eax, eax
mov qword [rdi + 0x48ec], rax
mov dword [rdi + 0x48e8], eax
mov dword [rdi + 0x48f4], eax
cmp dword [rdi + 0x48e0], eax
je 0x140024b34
cmp byte [rdi + 0x4916], al
jne 0x140024b34
cmp qword [rdi + 0x4a40], rax
jne 0x140024b34
mov rax, qword [rdi + 0x48d8]
test rax, rax
je 0x140024b34
test dword [rax + 0x14], 0x40000
jne 0x140024b34
test r14b, r14b
je 0x14002496e
mov rcx, qword [0x14022c0c0]
mov edx, 0x20c
call fcn.14001cbe0
cmp byte [rax], r12b
je 0x14002496e
mov rcx, qword [0x14022c0c0]
mov edx, 0x20c
call fcn.14000c950
cmp byte [rax + 8], r12b
je 0x1400249a4
test bpl, bpl
je 0x1400249f9
mov rcx, qword [0x14022c0c0]
mov edx, 0x26e
call fcn.14001cbe0
cmp byte [rax], r12b
je 0x1400249f9
mov rcx, qword [0x14022c0c0]
mov edx, 0x26e
call fcn.14000c950
cmp byte [rax + 8], r12b
jne 0x1400249f9
movzx r15d, sil
test r14b, r14b
je 0x1400249c0
xor r8d, r8d
xor edx, edx
mov ecx, 0x20c
call fcn.14001d4d0
test al, al
jne 0x1400249d8
test bpl, bpl
je 0x1400249fc
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.14001d4d0
test al, al
je 0x1400249fc
movzx ebx, sil
jmp 0x1400249fe
mov byte [rdi + 0xdd], r12b
cmp qword [rdi + 0x4a40], r12
jne 0x1400248d6
xor al, al
jmp 0x1400248da
xor r15b, r15b
xor bl, bl
test r14b, r14b
je 0x140024a30
mov rcx, qword [0x14022c0c0]
mov edx, 0x20d
call fcn.14001cbe0
cmp byte [rax], r12b
je 0x140024a30
mov rcx, qword [0x14022c0c0]
mov edx, 0x20d
call fcn.14000c950
cmp byte [rax + 8], r12b
je 0x140024a62
test bpl, bpl
je 0x140024aa1
mov rcx, qword [0x14022c0c0]
mov edx, 0x26d
call fcn.14001cbe0
cmp byte [rax], r12b
je 0x140024aa1
mov rcx, qword [0x14022c0c0]
mov edx, 0x26d
call fcn.14000c950
cmp byte [rax + 8], r12b
jne 0x140024aa1
movzx r14d, sil
cmp byte [rsp + 0xf0], r12b
je 0x140024a83
xor r8d, r8d
xor edx, edx
mov ecx, 0x20d
call fcn.14001d4d0
test al, al
jne 0x140024a9b
test bpl, bpl
je 0x140024aa4
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.14001d4d0
test al, al
je 0x140024aa4
movzx edx, sil
jmp 0x140024aa6
xor r14b, r14b
xor dl, dl
mov ecx, dword [rdi + 0x3f58]
test ecx, ecx
jne 0x140024acc
test bl, bl
je 0x140024ad4
mov eax, dword [rdi + 0x48e0]
mov dword [rdi + 0x48e8], eax
mov dword [rdi + 0x48f4], 2
jmp 0x140024ad4
cmp ecx, dword [rdi + 0x48e0]
jne 0x140024b2c
test dl, dl
je 0x140024aea
mov eax, dword [rdi + 0x48e0]
mov dword [rdi + 0x48e8], eax
mov dword [rdi + 0x48f4], esi
test ecx, ecx
je 0x140024af6
cmp ecx, dword [rdi + 0x48e0]
jne 0x140024b2c
test r15b, r15b
jne 0x140024b00
test r14b, r14b
je 0x140024b0c
mov eax, dword [rdi + 0x48e0]
mov dword [rdi + 0x48ec], eax
test ecx, ecx
je 0x140024b18
cmp ecx, dword [rdi + 0x48e0]
jne 0x140024b2c
test bl, bl
jne 0x140024b20
test dl, dl
je 0x140024b2c
mov eax, dword [rdi + 0x48e0]
mov dword [rdi + 0x48f0], eax
mov r15d, dword [rsp + 0xf8]
mov rax, qword [rdi + 0x48d8]
test rax, rax
je 0x140024b50
test dword [rax + 0x14], 0x40000
je 0x140024b50
mov byte [rdi + 0x4916], sil
mov eax, dword [rdi + 0x48e8]
test eax, eax
je 0x140024b7c
cmp dword [rdi + 0x48ec], eax
je 0x140024b7c
mov r8d, 0x2ce8
lea rdx, [0x140144920]
lea rcx, str.g.NavActivateDownId__g.NavActivateId
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [rdi + 0x4904]
test eax, eax
je 0x140024ba4
mov dword [rdi + 0x48f0], eax
mov dword [rdi + 0x48ec], eax
mov dword [rdi + 0x48e8], eax
mov eax, dword [rdi + 0x4908]
mov dword [rdi + 0x48f4], eax
xor r14d, r14d
mov dword [rdi + 0x4904], r14d
call fcn.140025100
cmp dword [rdi + 0x4940], 0xffffffff
xorps xmm10, xmm10
jne 0x140024d43
mov rbx, qword [0x14022c0c0]
cmp dword [rbx + 0x4940], 0xffffffff
mov r14, qword [rbx + 0x48d8]
je 0x140024bf5
mov r8d, 0x2dd3
lea rdx, [0x140144d90]
lea rcx, str.g.NavMoveDir__SegaUiDir_None
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test r14, r14
je 0x140024d40
cmp qword [rbx + 0x4a40], r12
jne 0x140024d40
test dword [r14 + 0x14], 0x40000
jne 0x140024d40
mov rcx, qword [0x14022c0c0]
mov edx, 0x200
call fcn.14001cbe0
cmp byte [rax], r12b
je 0x140024d40
movss xmm0, dword [rax + 4]
comiss xmm10, xmm0
ja 0x140024d40
ucomiss xmm0, xmm10
jp 0x140024c4a
je 0x140024c76
mov rax, qword [0x14022c0c0]
movss xmm1, dword [rax + 0x3c]
comiss xmm0, xmm1
jbe 0x140024d40
movss xmm2, dword [rax + 0x40]
mov ecx, 0x200
call fcn.14001cdc0
test eax, eax
jle 0x140024d40
mov rcx, qword [0x14022c0c0]
cmp byte [rcx + 0x476c], r12b
je 0x140024c93
cmp dword [rcx + 0x3f58], 0xffffffff
jne 0x140024d40
mov edx, 0x200
call fcn.14000c950
cmp dword [rax], 0xffffffff
jne 0x140024d40
cmp byte [rbx + 0xe24], r12b
jne 0x140024d40
cmp byte [rbx + 0xe26], r12b
jne 0x140024d40
movzx eax, byte [rbx + 0xe25]
test byte [rbx + 8], sil
je 0x140024cf0
test al, al
je 0x140024cd8
mov esi, 0xffffffff
jmp 0x140024d09
cmp byte [rbx + 0x4916], sil
jne 0x140024d09
cmp dword [rbx + 0x3f58], r12d
jne 0x140024d09
xor eax, eax
mov esi, eax
jmp 0x140024d09
test al, al
je 0x140024cfb
mov esi, 0xffffffff
jmp 0x140024d09
xor eax, eax
cmp dword [rbx + 0x3f58], eax
mov esi, eax
setne sil
mov dword [rbx + 0x4970], esi
mov eax, 0x21
cmp byte [r14 + 0xbc], r12b
mov r8d, 0x400
cmovne r13d, eax
sar esi, 0x1f
mov r9d, r13d
lea ecx, [rax - 0x22]
lea edx, [rsi + 3]
call fcn.140023c60
mov dword [rbx + 0x4974], 0xffffffff
xor r14d, r14d
mov rax, qword [0x14022c0c0]
mov r13, qword [rsp + 0xb0]
cmp byte [rax + 0x4931], r12b
jne 0x140024d6d
cmp byte [rax + 0x4919], r12b
jne 0x140024d6d
mov byte [rax + 0x4918], r12b
jmp 0x140024d97
mov byte [rax + 0x4918], 1
cmp qword [rax + 0x48d8], r12
jne 0x140024d97
mov r8d, 0x2c39
lea rdx, [0x140144650]
lea rcx, str.g.NavWindow___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rsi, qword [rdi + 0x48d8]
mov byte [rdi + 0x4914], r12b
mov r12, qword [rsp + 0xb8]
test rsi, rsi
je 0x140025063
test dword [rsi + 0x14], 0x40000
jne 0x140025063
cmp qword [rdi + 0x4a40], 0
jne 0x140025063
mov rax, qword [rsi]
movaps xmmword [rsp + 0x80], xmm8
movaps xmmword [rsp + 0x70], xmm9
movss xmm0, dword [rax + 0x3c24]
mov rax, qword [rsi + 0x368]
mulss xmm0, dword [rsi + 0x290]
test rax, rax
je 0x140024e07
mulss xmm0, dword [rax + 0x290]
cmp word [rsi + 0x15c], 0
mulss xmm0, dword [0x140175d8c]
mov ecx, dword [rdi + 0x4940]
movss xmm8, dword [0x140175c1c]
mulss xmm0, dword [rdi + 0x18]
addss xmm0, dword [0x140175be4]
cvttss2si eax, xmm0
movd xmm9, eax
cvtdq2ps xmm9, xmm9
jne 0x140024ee0
cmp byte [rsi + 0x162], 0
je 0x140024ee0
cmp ecx, 0xffffffff
je 0x140024ee0
movss xmm1, dword [0x140175e50]
test ecx, ecx
je 0x140024e73
cmp ecx, 1
jne 0x140024ea4
movaps xmm0, xmm8
jmp 0x140024e76
movaps xmm0, xmm1
mulss xmm0, xmm9
mov dword [rsi + 0x9c], r14d
mov dword [rsi + 0xa4], r14d
addss xmm0, dword [rsi + 0x84]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0x94], xmm0
cmp ecx, 2
je 0x140024eb2
cmp ecx, 3
jne 0x140024ee0
movaps xmm1, xmm8
mulss xmm1, xmm9
mov dword [rsi + 0xa0], r14d
mov dword [rsi + 0xa8], r14d
addss xmm1, dword [rsi + 0x88]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0x98], xmm0
test bpl, bpl
je 0x140025054
mov rcx, qword [0x14022c0c0]
mov edx, 0x27c
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm7
call fcn.14001cbe0
mov rcx, qword [0x14022c0c0]
mov edx, 0x27b
mov rbx, rax
call fcn.14001cbe0
movss xmm6, dword [rbx + 0xc]
mov edx, 0x27a
mov rcx, qword [0x14022c0c0]
subss xmm6, dword [rax + 0xc]
call fcn.14001cbe0
mov rcx, qword [0x14022c0c0]
mov edx, 0x279
mov rbx, rax
call fcn.14001cbe0
movss xmm7, dword [rbx + 0xc]
mov edx, 0x273
mov rcx, qword [0x14022c0c0]
subss xmm7, dword [rax + 0xc]
call fcn.14001cbe0
cmp byte [rax], 0
je 0x140024f8f
mov rcx, qword [0x14022c0c0]
mov edx, 0x273
call fcn.14000c950
cmp byte [rax + 8], 0
jne 0x140024f8f
movss xmm8, dword [0x140175bb0]
jmp 0x140024fc5
mov rcx, qword [0x14022c0c0]
mov edx, 0x274
call fcn.14001cbe0
cmp byte [rax], 0
je 0x140024fc5
mov rcx, qword [0x14022c0c0]
mov edx, 0x274
call fcn.14000c950
cmp byte [rax + 8], 0
jne 0x140024fc5
movss xmm8, dword [0x140175d0c]
ucomiss xmm7, xmm10
jp 0x140024fcd
je 0x140025009
cmp byte [rsi + 0xb4], 0
je 0x140025009
mulss xmm7, xmm9
mov dword [rsi + 0x9c], r14d
mov dword [rsi + 0xa4], r14d
mulss xmm7, xmm8
addss xmm7, dword [rsi + 0x84]
cvttss2si eax, xmm7
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0x94], xmm0
ucomiss xmm6, xmm10
movaps xmm7, xmmword [rsp + 0x90]
jp 0x140025019
je 0x14002504c
mulss xmm6, xmm9
mov dword [rsi + 0xa0], r14d
mov dword [rsi + 0xa8], r14d
mulss xmm6, xmm8
addss xmm6, dword [rsi + 0x88]
cvttss2si eax, xmm6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0x98], xmm0
movaps xmm6, xmmword [rsp + 0xa0]
movaps xmm8, xmmword [rsp + 0x80]
movaps xmm9, xmmword [rsp + 0x70]
cmp byte [rsp + 0xf0], 0
movaps xmm10, xmmword [rsp + 0x60]
mov rsi, qword [rsp + 0xc0]
mov rbx, qword [rsp + 0x100]
jne 0x140025093
test bpl, bpl
jne 0x140025093
mov word [rdi + 0x4916], 1
jmp 0x1400250e1
test r15b, r15b
je 0x1400250e1
test byte [rdi + 8], 4
je 0x1400250e1
test byte [rdi + 0xc], 4
je 0x1400250e1
lea rcx, [rsp + 0xf0]
call fcn.140024240
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rdi + 0x36f0], xmm0
movss dword [rdi + 0x36f4], xmm1
movss dword [rdi + 0xe08], xmm0
movss dword [rdi + 0xe0c], xmm1
mov byte [rdi + 0xdb], 1
mov dword [rdi + 0x496c], r14d
add rsp, 0xc8
pop r15
pop r14
pop rdi
pop rbp
ret