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

Disassembly:
mov r11, rsp
push rbx
push rsi
push r12
push r15
sub rsp, 0x88
mov rax, qword [0x14015d080]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov qword [r11 + 8], rbp
mov qword [r11 + 0x10], rdi
mov rdi, qword [0x140182188]
mov qword [r11 + 0x18], r13
mov rbx, rdi
test byte [rdi + 8], 2
mov byte [rdi + 0xdb], 0
je 0x140058426
test byte [rdi + 0xc], 1
je 0x140058426
movdqa xmm0, xmmword [0x14013df10]
lea r11, [r11 - 0x50]
movdqa xmm1, xmmword [0x14013df20]
mov sil, 1
movdqu xmmword [rsp + 0x58], xmm0
movdqu xmmword [rsp + 0x68], xmm1
nop dword [rax + rax]
mov ecx, dword [r11]
call fcn.140052910
test al, al
je 0x140058416
mov dword [rdi + 0x48e4], 3
add r11, 4
lea rax, [rsp + 0x78]
cmp r11, rax
jne 0x140058400
jmp 0x140058429
xor sil, sil
movzx ebp, byte [rdi + 8]
movdqa xmm0, xmmword [0x14013df00]
and bpl, 1
mov byte [rsp + 0x20], bpl
movdqu xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x48], 0x201
mov dword [rsp + 0x4c], 0x203
mov dword [rsp + 0x50], 0x204
je 0x1400584e7
lea r10, [rsp + 0x38]
nop word [rax + rax]
mov r9d, dword [r10]
mov rcx, rdi
mov edx, r9d
call fcn.140052220
cmp byte [rax], 0
je 0x1400584d9
lea eax, [r9 - 0x200]
cmp eax, 0x8b
jbe 0x1400584be
cmp r9d, 0x1000
je 0x1400584be
cmp r9d, 0x2000
je 0x1400584be
cmp r9d, 0x4000
je 0x1400584be
cmp r9d, 0x8000
je 0x1400584be
cmp r9d, 0x800
jne 0x1400584cf
mov edx, r9d
mov rcx, rdi
call fcn.140043550
cmp byte [rax + 8], 0
jne 0x1400584d9
mov dword [rdi + 0x48e4], 2
add r10, 4
lea rax, [rsp + 0x54]
cmp r10, rax
jne 0x140058470
mov edx, dword [rdi + 0x48f4]
xor r15d, r15d
mov qword [rsp + 0x80], r14
test edx, edx
je 0x1400585b0
mov r9, qword [rdi + 0x48b0]
mov rbp, rdi
test r9, r9
je 0x1400585ab
test byte [rdi + 0x5c9c], 8
je 0x14005853a
mov r9, qword [r9 + 8]
lea rcx, str._nav__NavInitRequest:_ApplyResult:_NavID_0x_08X_in_Layer__d_Window___s__n
mov r8d, dword [rdi + 0x48e8]
call fcn.14005cb30
mov rdi, qword [0x140182188]
movsxd rax, dword [rbp + 0x48e8]
mov ecx, dword [rbx + 0x48f4]
mov rdx, rax
mov dword [rdi + 0x48e8], eax
mov rax, qword [rdi + 0x48b0]
mov dword [rdi + 0x48b8], ecx
mov dword [rdi + 0x48bc], r15d
mov dword [rax + rdx*4 + 0x3a0], ecx
add rdx, rdx
mov rax, qword [rdi + 0x48b0]
movups xmm0, xmmword [rbp + 0x48f8]
movups xmmword [rax + rdx*8 + 0x3a8], xmm0
cmp byte [rbp + 0x48f2], r15b
mov byte [rbp + 0x48ec], 1
movzx ebp, byte [rsp + 0x20]
je 0x1400585b0
mov word [rdi + 0x48ed], 1
mov byte [rdi + 0x48ef], 1
jmp 0x1400585b0
movzx ebp, byte [rsp + 0x20]
mov word [rbx + 0x48f1], r15w
mov dword [rbx + 0x48f4], r15d
mov dword [rbx + 0x48d0], r15d
cmp byte [rbx + 0x4908], r15b
je 0x1400585d4
call fcn.140059810
xor r12b, r12b
mov dword [rbx + 0x494c], r15d
mov r13d, 1
mov word [rbx + 0x4908], r15w
mov dword [rsp + 0x30], r12d
cmp byte [rbx + 0x48ed], r15b
je 0x140058629
cmp byte [rbx + 0x48ec], r15b
je 0x140058629
cmp byte [rbx + 0x48ee], r15b
jne 0x140058629
cmp byte [rbx + 0x48ef], r15b
je 0x140058629
cmp qword [rbx + 0x48b0], r15
movzx r12d, r12b
cmovne r12d, r13d
mov dword [rsp + 0x30], r12d
mov rcx, qword [rbx + 0x48b0]
mov byte [rbx + 0x48ed], r15b
test rcx, rcx
je 0x14005866c
mov rax, rcx
nop
cmp qword [rax + 0x378], rax
je 0x140058660
test dword [rax + 0x14], 0x14000000
jne 0x140058660
mov rax, qword [rax + 0x368]
test rax, rax
jne 0x140058640
jmp 0x14005866c
cmp rax, rcx
je 0x14005866c
mov qword [rax + 0x398], rcx
mov rax, qword [rbx + 0x48b0]
test rax, rax
je 0x140058691
cmp qword [rax + 0x398], r15
je 0x140058691
cmp dword [rbx + 0x48e8], r15d
jne 0x140058691
mov qword [rax + 0x398], r15
call fcn.14005a5c0
test bpl, bpl
jne 0x1400586a4
test sil, sil
je 0x1400587f0
mov rax, qword [rbx + 0x48b0]
test rax, rax
je 0x1400587f0
test dword [rax + 0x14], 0x40000
jne 0x1400587f0
mov byte [rbx + 0xdd], r13b
cmp dword [rbx + 0x48b8], r15d
je 0x1400587f7
lea r14, [rbx + 0x48ee]
cmp byte [r14], r15b
jne 0x1400587f7
lea rbp, [rbx + 0x4a18]
movzx eax, r13b
mov qword [rsp + 0x28], rbp
mov byte [rbx + 0xde], al
call fcn.140059b50
mov qword [rbx + 0x48c4], r15
mov dword [rbx + 0x48c0], r15d
mov dword [rbx + 0x48cc], r15d
mov r15d, dword [rbx + 0x48b8]
test r15d, r15d
je 0x140058925
lea rbp, [rbx + 0x48ee]
cmp byte [rbp], 0
mov r14, rbp
jne 0x140058920
mov rax, qword [rsp + 0x28]
cmp qword [rax], 0
jne 0x1400589e6
mov rax, qword [rbx + 0x48b0]
test rax, rax
je 0x140058920
test dword [rax + 0x14], 0x40000
jne 0x140058920
movzx r9d, byte [rsp + 0x20]
mov rdi, qword [0x140182188]
test r9b, r9b
je 0x140058792
mov edx, 0x20c
mov rcx, rdi
call fcn.140052220
cmp byte [rax], 0
je 0x140058792
cmp byte [rdi + 0x4010], 0
je 0x1400587b6
test sil, sil
je 0x14005881b
mov edx, 0x26e
mov rcx, rdi
call fcn.140052220
cmp byte [rax], 0
je 0x14005881b
cmp byte [rdi + 0x44a8], 0
jne 0x14005881b
movzx r14d, r13b
test r9b, r9b
je 0x1400587d2
xor r8d, r8d
xor edx, edx
mov ecx, 0x20c
call fcn.140052990
test al, al
jne 0x1400587ea
test sil, sil
je 0x14005881e
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.140052990
test al, al
je 0x14005881e
movzx r12d, r13b
jmp 0x140058821
mov byte [rbx + 0xdd], r15b
lea rbp, [rbx + 0x4a18]
lea r14, [rbx + 0x48ee]
mov qword [rsp + 0x28], rbp
cmp qword [rbp], r15
jne 0x1400586ec
xor al, al
jmp 0x1400586f5
xor r14b, r14b
xor r12b, r12b
movzx r9d, byte [rsp + 0x20]
test r9b, r9b
je 0x140058847
mov edx, 0x20d
mov rcx, rdi
call fcn.140052220
cmp byte [rax], 0
je 0x140058847
cmp byte [rdi + 0x401c], 0
je 0x140058867
test sil, sil
je 0x1400588a1
mov edx, 0x26d
mov rcx, rdi
call fcn.140052220
cmp byte [rax], 0
je 0x1400588a1
cmp byte [rdi + 0x449c], 0
jne 0x1400588a1
movzx edi, r13b
test r9b, r9b
je 0x140058883
xor r8d, r8d
xor edx, edx
mov ecx, 0x20d
call fcn.140052990
test al, al
jne 0x14005889b
test sil, sil
je 0x1400588a4
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.140052990
test al, al
je 0x1400588a4
movzx ecx, r13b
jmp 0x1400588a6
xor dil, dil
xor cl, cl
mov eax, dword [rbx + 0x3f30]
test eax, eax
jne 0x1400588c8
test r12b, r12b
je 0x1400588cd
mov dword [rbx + 0x48c0], r15d
mov dword [rbx + 0x48cc], 2
jmp 0x1400588cd
cmp eax, r15d
jne 0x1400588fd
test cl, cl
je 0x1400588df
mov dword [rbx + 0x48c0], r15d
mov dword [rbx + 0x48cc], r13d
test eax, eax
je 0x1400588e8
cmp eax, r15d
jne 0x1400588fd
test r14b, r14b
jne 0x1400588f2
test dil, dil
je 0x1400588f9
mov dword [rbx + 0x48c4], r15d
test eax, eax
je 0x140058905
mov r14, rbp
cmp eax, r15d
jne 0x14005891b
test r12b, r12b
jne 0x140058911
mov r14, rbp
test cl, cl
je 0x14005891b
mov dword [rbx + 0x48c8], r15d
mov r14, rbp
mov r12d, dword [rsp + 0x30]
mov rbp, qword [rsp + 0x28]
mov rax, qword [rbx + 0x48b0]
test rax, rax
je 0x14005893d
test dword [rax + 0x14], 0x40000
je 0x14005893d
mov byte [r14], r13b
mov eax, dword [rbx + 0x48dc]
test eax, eax
je 0x140058965
mov dword [rbx + 0x48c8], eax
mov dword [rbx + 0x48c4], eax
mov dword [rbx + 0x48c0], eax
mov eax, dword [rbx + 0x48e0]
mov dword [rbx + 0x48cc], eax
xor r15d, r15d
mov dword [rbx + 0x48dc], r15d
call fcn.140058df0
cmp dword [rbx + 0x4918], 0xffffffff
xorps xmm5, xmm5
mov rdi, qword [0x140182188]
jne 0x140058adc
mov r11, qword [rdi + 0x48b0]
test r11, r11
je 0x140058adc
cmp qword [rdi + 0x4a18], r15
jne 0x140058adc
test dword [r11 + 0x14], 0x40000
jne 0x140058adc
mov edx, 0x200
mov rcx, rdi
call fcn.140052220
cmp byte [rax], r15b
je 0x140058adc
movss xmm0, dword [rax + 4]
comiss xmm5, xmm0
ja 0x140058adc
ucomiss xmm0, xmm5
jp 0x1400589ee
jne 0x1400589ee
mov r10, rdi
jmp 0x140058a16
mov rbp, rax
jmp 0x140058925
movss xmm1, dword [rdi + 0x3c]
mov r10, rdi
comiss xmm0, xmm1
jbe 0x140058adc
movss xmm2, dword [rdi + 0x40]
mov ecx, 0x200
call fcn.1400523b0
test eax, eax
jle 0x140058adc
cmp byte [r10 + 0x4744], r15b
je 0x140058a2d
cmp dword [r10 + 0x3f30], 0xffffffff
jne 0x140058adc
cmp dword [r10 + 0x3f78], 0xffffffff
jne 0x140058adc
cmp byte [rdi + 0xe24], r15b
jne 0x140058adc
cmp byte [rdi + 0xe26], r15b
jne 0x140058adc
movzx eax, byte [rdi + 0xe25]
test byte [rdi + 8], r13b
je 0x140058a85
test al, al
je 0x140058a6e
mov r13d, 0xffffffff
jmp 0x140058a9f
cmp byte [rdi + 0x48ee], r13b
jne 0x140058a9f
cmp dword [rdi + 0x3f30], r15d
jne 0x140058a9f
mov r13d, r15d
jmp 0x140058a9f
test al, al
je 0x140058a91
mov r13d, 0xffffffff
jmp 0x140058a9f
cmp dword [rdi + 0x3f30], r15d
mov r13d, r15d
setne r13b
mov dword [rdi + 0x4948], r13d
mov eax, 0x21
cmp byte [r11 + 0xbc], r15b
mov r9d, 3
mov r8d, 0x400
cmovne r9d, eax
sar r13d, 0x1f
lea ecx, [rax - 0x22]
lea edx, [r13 + 3]
call fcn.140057c20
mov dword [rdi + 0x494c], 0xffffffff
mov r13, qword [rsp + 0xc0]
cmp byte [rdi + 0x4909], r15b
jne 0x140058afa
cmp byte [rdi + 0x48f1], r15b
jne 0x140058afa
xor al, al
jmp 0x140058afc
mov al, 1
mov byte [rdi + 0x48f0], al
mov r11, qword [rbx + 0x48b0]
mov byte [rbx + 0x48ec], r15b
test r11, r11
je 0x140058d4d
test dword [r11 + 0x14], 0x40000
jne 0x140058d4d
cmp qword [rbp], r15
jne 0x140058d4d
mov rax, qword [r11]
movss xmm0, dword [rax + 0x3c0c]
mov rax, qword [r11 + 0x368]
mulss xmm0, dword [r11 + 0x290]
test rax, rax
je 0x140058b59
mulss xmm0, dword [rax + 0x290]
mulss xmm0, dword [0x14013dd40]
mov ecx, dword [rbx + 0x4918]
movss xmm2, dword [0x14013db1c]
mulss xmm0, dword [rbx + 0x18]
addss xmm0, dword [0x14013dac0]
cvttss2si eax, xmm0
movd xmm3, eax
cvtdq2ps xmm3, xmm3
cmp word [r11 + 0x15c], r15w
jne 0x140058c2f
cmp byte [r11 + 0x162], r15b
je 0x140058c2f
cmp ecx, 0xffffffff
je 0x140058c2f
movss xmm1, dword [0x14013ddec]
test ecx, ecx
je 0x140058bc1
cmp ecx, 1
jne 0x140058bf3
movaps xmm0, xmm2
jmp 0x140058bc4
movaps xmm0, xmm1
mulss xmm0, xmm3
mov dword [r11 + 0x9c], r15d
mov dword [r11 + 0xa4], r15d
addss xmm0, dword [r11 + 0x84]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r11 + 0x94], xmm0
cmp ecx, 2
je 0x140058c00
cmp ecx, 3
jne 0x140058c2f
movaps xmm1, xmm2
mulss xmm1, xmm3
mov dword [r11 + 0xa0], r15d
mov dword [r11 + 0xa8], r15d
addss xmm1, dword [r11 + 0x88]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r11 + 0x98], xmm0
test sil, sil
je 0x140058d4d
mov edx, 0x27c
mov rcx, rdi
call fcn.140052220
mov edx, 0x27a
mov rcx, rdi
mov r10, rax
call fcn.140052220
mov edx, 0x279
mov rcx, rdi
mov r9, rax
call fcn.140052220
movss xmm0, dword [r9 + 0xc]
mov edx, 0x27b
mov rcx, rdi
subss xmm0, dword [rax + 0xc]
call fcn.140052220
movss xmm1, dword [r10 + 0xc]
mov edx, 0x273
mov rcx, rdi
subss xmm1, dword [rax + 0xc]
call fcn.140052220
cmp byte [rax], r15b
je 0x140058cad
cmp byte [rdi + 0x44e4], r15b
jne 0x140058cad
movss xmm2, dword [0x14013da78]
jmp 0x140058cd0
mov edx, 0x274
mov rcx, rdi
call fcn.140052220
cmp byte [rax], r15b
je 0x140058cd0
cmp byte [rdi + 0x44f0], r15b
jne 0x140058cd0
movss xmm2, dword [0x14013dcdc]
ucomiss xmm0, xmm5
jp 0x140058cd7
je 0x140058d13
cmp byte [r11 + 0xb4], r15b
je 0x140058d13
mulss xmm0, xmm3
mov dword [r11 + 0x9c], r15d
mov dword [r11 + 0xa4], r15d
mulss xmm0, xmm2
addss xmm0, dword [r11 + 0x84]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r11 + 0x94], xmm0
ucomiss xmm1, xmm5
jp 0x140058d1a
je 0x140058d4d
mulss xmm1, xmm3
mov dword [r11 + 0xa0], r15d
mov dword [r11 + 0xa8], r15d
mulss xmm1, xmm2
addss xmm1, dword [r11 + 0x88]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r11 + 0x98], xmm0
mov rdi, qword [rsp + 0xb8]
mov rbp, qword [rsp + 0xb0]
cmp byte [rsp + 0x20], r15b
jne 0x140058d76
test sil, sil
jne 0x140058d76
mov byte [r14], 1
mov byte [rbx + 0x48ef], r15b
jmp 0x140058dc1
test r12b, r12b
je 0x140058dc1
test byte [rbx + 8], 4
je 0x140058dc1
test byte [rbx + 0xc], 4
je 0x140058dc1
lea rcx, [rsp + 0x28]
call fcn.1400580a0
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rbx + 0x36f0], xmm0
movss dword [rbx + 0x36f4], xmm1
movss dword [rbx + 0xe08], xmm0
movss dword [rbx + 0xe0c], xmm1
mov byte [rbx + 0xdb], 1
mov r14, qword [rsp + 0x80]
mov dword [rbx + 0x4944], r15d
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400c80e0
add rsp, 0x88
pop r15
pop r12
pop rsi
pop rbx
ret