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

Disassembly:
mov r11, rsp
push rbx
push rsi
push r12
push r15
sub rsp, 0x78
mov rax, qword [0x1404f42c0]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbx, qword [0x1404fb090]
mov qword [r11 + 8], rbp
mov qword [r11 + 0x10], rdi
mov qword [r11 + 0x18], r13
test byte [rbx + 8], 2
mov qword [r11 - 0x28], r14
mov byte [rbx + 0xd5], 0
je 0x140051288
test byte [rbx + 0xc], 1
je 0x140051288
movdqa xmm0, xmmword [0x140217fd0]
lea r14, [r11 - 0x50]
movdqa xmm1, xmmword [0x140217fe0]
mov sil, 1
mov rbp, qword [0x1404fb090]
movdqu xmmword [rsp + 0x48], xmm0
movdqu xmmword [rsp + 0x58], xmm1
nop dword [rax + rax]
mov edi, dword [r14]
mov rcx, rbp
mov edx, edi
call fcn.14004caf0
cmp byte [rax], 0
je 0x140051278
lea eax, [rdi - 0x200]
cmp eax, 0x8b
jbe 0x140051257
cmp edi, 0x1000
je 0x140051257
cmp edi, 0x2000
je 0x140051257
cmp edi, 0x4000
je 0x140051257
cmp edi, 0x8000
je 0x140051257
cmp edi, 0x800
jne 0x140051267
mov edx, edi
mov rcx, rbp
call fcn.14004cc50
cmp byte [rax + 8], 0
jne 0x140051278
mov dword [rbx + 0x493c], 3
mov rbp, qword [0x1404fb090]
add r14, 4
lea rax, [rsp + 0x68]
cmp r14, rax
jne 0x140051210
jmp 0x140051292
mov rbp, qword [0x1404fb090]
xor sil, sil
movzx r13d, byte [rbx + 8]
movdqa xmm0, xmmword [0x140217fc0]
mov dword [rsp + 0x38], 0x201
mov dword [rsp + 0x3c], 0x203
mov dword [rsp + 0x40], 0x204
movdqu xmmword [rsp + 0x28], xmm0
and r13b, 1
je 0x140051346
lea r14, [rsp + 0x28]
nop dword [rax]
mov edi, dword [r14]
mov rcx, rbp
mov edx, edi
call fcn.14004caf0
cmp byte [rax], 0
je 0x140051338
lea eax, [rdi - 0x200]
cmp eax, 0x8b
jbe 0x140051317
cmp edi, 0x1000
je 0x140051317
cmp edi, 0x2000
je 0x140051317
cmp edi, 0x4000
je 0x140051317
cmp edi, 0x8000
je 0x140051317
cmp edi, 0x800
jne 0x140051327
mov edx, edi
mov rcx, rbp
call fcn.14004cc50
cmp byte [rax + 8], 0
jne 0x140051338
mov dword [rbx + 0x493c], 2
mov rbp, qword [0x1404fb090]
add r14, 4
lea rax, [rsp + 0x44]
cmp r14, rax
jne 0x1400512d0
xor r15d, r15d
mov dword [rbx + 0x4928], r15d
cmp dword [rbx + 0x4960], r15d
je 0x14005149e
mov rdi, qword [0x1404fb090]
mov r9, qword [rdi + 0x4908]
test r9, r9
je 0x14005149e
mov edx, dword [rdi + 0x4960]
cmp dword [rdi + 0x4910], edx
je 0x14005139b
mov dword [rdi + 0x4928], edx
mov eax, dword [rdi + 0x4964]
mov dword [rdi + 0x492c], eax
mov dword [rdi + 0x4930], r15d
test byte [rdi + 0x5de4], 8
je 0x1400513bb
mov r9, qword [r9 + 8]
lea rcx, str._nav__NavInitRequest:_ApplyResult:_NavID_0x_08X_in_Layer__d_Window___s__n
mov r8d, dword [rdi + 0x4940]
call fcn.140049cd0
mov r8, qword [0x1404fb090]
mov eax, dword [rdi + 0x4964]
movsxd rcx, dword [rdi + 0x4940]
mov edx, dword [rdi + 0x4960]
mov r9, rcx
mov dword [r8 + 0x4914], eax
add r9, r9
mov rax, qword [r8 + 0x4908]
mov dword [r8 + 0x4910], edx
mov dword [r8 + 0x4940], ecx
mov dword [rax + rcx*4 + 0x3a0], edx
mov rax, qword [r8 + 0x4908]
movups xmm0, xmmword [rdi + 0x4968]
movups xmmword [rax + r9*8 + 0x3a8], xmm0
mov rax, qword [0x1404fb090]
movsxd rdx, dword [rax + 0x4940]
mov rax, qword [rax + 0x4908]
mov rcx, qword [rax + 0x390]
mov dword [rcx + rdx*8 + 0x3c8], 0x7f7fffff
mov rax, qword [0x1404fb090]
movsxd rdx, dword [rax + 0x4940]
mov rax, qword [rax + 0x4908]
mov rcx, qword [rax + 0x390]
mov dword [rcx + rdx*8 + 0x3cc], 0x7f7fffff
mov byte [rdi + 0x4950], 1
mov rax, qword [rdi + 0x4980]
cmp rax, 0xffffffffffffffff
je 0x14005147e
mov qword [rdi + 0x4948], rax
cmp byte [rdi + 0x4956], r15b
je 0x14005149e
mov rax, qword [0x1404fb090]
mov word [rax + 0x4951], 1
mov byte [rax + 0x4953], 1
mov word [rbx + 0x4955], r15w
mov dword [rbx + 0x4960], r15d
cmp byte [rbx + 0x4998], r15b
je 0x1400514bb
call fcn.140050120
xor r12b, r12b
mov dword [rbx + 0x49dc], r15d
mov ebp, 1
mov word [rbx + 0x4998], r15w
cmp byte [rbx + 0x4951], r12b
je 0x140051505
cmp byte [rbx + 0x4950], r12b
je 0x140051505
cmp byte [rbx + 0x4952], r12b
jne 0x140051505
cmp byte [rbx + 0x4953], r12b
je 0x140051505
cmp qword [rbx + 0x4908], r15
movzx r12d, r12b
cmovne r12d, ebp
mov rcx, qword [rbx + 0x4908]
mov byte [rbx + 0x4951], r15b
test rcx, rcx
je 0x14005154c
mov rax, rcx
nop dword [rax + rax]
cmp qword [rax + 0x378], rax
je 0x140051540
test dword [rax + 0x14], 0x14000000
jne 0x140051540
mov rax, qword [rax + 0x368]
test rax, rax
jne 0x140051520
jmp 0x14005154c
cmp rax, rcx
je 0x14005154c
mov qword [rax + 0x398], rcx
mov rax, qword [rbx + 0x4908]
test rax, rax
je 0x140051571
cmp qword [rax + 0x398], r15
je 0x140051571
cmp dword [rbx + 0x4940], r15d
jne 0x140051571
mov qword [rax + 0x398], r15
call fcn.140052d80
test r13b, r13b
jne 0x140051584
test sil, sil
je 0x140051699
mov rax, qword [rbx + 0x4908]
test rax, rax
je 0x140051699
test dword [rax + 0x14], 0x40000
jne 0x140051699
mov byte [rbx + 0xd7], bpl
cmp dword [rbx + 0x4910], r15d
je 0x1400516a0
cmp byte [rbx + 0x4952], r15b
jne 0x1400516a0
movzx eax, bpl
mov byte [rbx + 0xd8], al
call fcn.140051c10
mov qword [rbx + 0x491c], r15
mov dword [rbx + 0x4918], r15d
mov dword [rbx + 0x4924], r15d
cmp dword [rbx + 0x4910], r15d
je 0x1400517af
cmp byte [rbx + 0x4952], r15b
jne 0x1400517af
cmp qword [rbx + 0x4ae8], r15
jne 0x1400517af
mov rax, qword [rbx + 0x4908]
test rax, rax
je 0x1400517af
test dword [rax + 0x14], 0x40000
jne 0x1400517af
mov rdi, qword [0x1404fb090]
test r13b, r13b
je 0x140051648
cmp byte [rdi + 0x2ee4], r15b
je 0x140051648
cmp byte [rdi + 0x4048], r15b
je 0x14005165f
test sil, sil
je 0x1400516b4
cmp byte [rdi + 0x3504], r15b
je 0x1400516b4
cmp byte [rdi + 0x44e0], r15b
jne 0x1400516b4
movzx r15d, bpl
test r13b, r13b
je 0x14005167b
xor r8d, r8d
xor edx, edx
mov ecx, 0x20c
call fcn.14004eb20
test al, al
jne 0x140051693
test sil, sil
je 0x1400516b4
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.14004eb20
test al, al
je 0x1400516b4
movzx r14d, bpl
jmp 0x1400516b7
mov byte [rbx + 0xd7], r15b
cmp qword [rbx + 0x4ae8], r15
jne 0x1400515c2
xor al, al
jmp 0x1400515c6
xor r14b, r14b
test r13b, r13b
je 0x1400516ce
cmp byte [rdi + 0x2ef4], 0
je 0x1400516ce
cmp byte [rdi + 0x4054], 0
je 0x1400516e5
test sil, sil
je 0x14005171f
cmp byte [rdi + 0x34f4], 0
je 0x14005171f
cmp byte [rdi + 0x44d4], 0
jne 0x14005171f
movzx edi, bpl
test r13b, r13b
je 0x140051701
xor r8d, r8d
xor edx, edx
mov ecx, 0x20d
call fcn.14004eb20
test al, al
jne 0x140051719
test sil, sil
je 0x140051722
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.14004eb20
test al, al
je 0x140051722
movzx edx, bpl
jmp 0x140051724
xor dil, dil
xor dl, dl
mov ecx, dword [rbx + 0x3f68]
test ecx, ecx
jne 0x14005174b
test r14b, r14b
je 0x140051753
mov eax, dword [rbx + 0x4910]
mov dword [rbx + 0x4918], eax
mov dword [rbx + 0x4924], 2
jmp 0x140051753
cmp ecx, dword [rbx + 0x4910]
jne 0x1400517ac
test dl, dl
je 0x140051769
mov eax, dword [rbx + 0x4910]
mov dword [rbx + 0x4918], eax
mov dword [rbx + 0x4924], ebp
test ecx, ecx
je 0x140051775
cmp ecx, dword [rbx + 0x4910]
jne 0x1400517ac
test r15b, r15b
jne 0x14005177f
test dil, dil
je 0x14005178b
mov eax, dword [rbx + 0x4910]
mov dword [rbx + 0x491c], eax
test ecx, ecx
je 0x140051797
cmp ecx, dword [rbx + 0x4910]
jne 0x1400517ac
test r14b, r14b
jne 0x1400517a0
test dl, dl
je 0x1400517ac
mov eax, dword [rbx + 0x4910]
mov dword [rbx + 0x4920], eax
xor r15d, r15d
mov rax, qword [rbx + 0x4908]
test rax, rax
je 0x1400517cb
test dword [rax + 0x14], 0x40000
je 0x1400517cb
mov byte [rbx + 0x4952], bpl
mov eax, dword [rbx + 0x4934]
test eax, eax
je 0x1400517f3
mov dword [rbx + 0x4920], eax
mov dword [rbx + 0x491c], eax
mov dword [rbx + 0x4918], eax
mov eax, dword [rbx + 0x4938]
mov dword [rbx + 0x4924], eax
mov dword [rbx + 0x4934], r15d
call fcn.140051e60
cmp dword [rbx + 0x49a8], 0xffffffff
jne 0x1400518f6
mov rdi, qword [0x1404fb090]
mov r14, qword [rdi + 0x4908]
test r14, r14
je 0x1400518f6
cmp qword [rdi + 0x4ae8], 0
jne 0x1400518f6
test dword [r14 + 0x14], 0x40000
jne 0x1400518f6
mov r8d, ebp
mov edx, 0xffffffff
mov ecx, 0x200
call fcn.14004eb20
test al, al
je 0x1400518f6
cmp byte [rdi + 0xe1c], 0
jne 0x1400518f6
cmp byte [rdi + 0xe1e], 0
jne 0x1400518f6
movzx eax, byte [rdi + 0xe1d]
test byte [rdi + 8], bpl
je 0x1400518a2
test al, al
je 0x14005188b
mov ebp, 0xffffffff
jmp 0x1400518bb
cmp byte [rdi + 0x4952], bpl
jne 0x1400518bb
cmp dword [rdi + 0x3f68], 0
jne 0x1400518bb
mov ebp, r15d
jmp 0x1400518bb
test al, al
je 0x1400518ad
mov ebp, 0xffffffff
jmp 0x1400518bb
cmp dword [rdi + 0x3f68], 0
mov ebp, r15d
setne bpl
mov dword [rdi + 0x49d8], ebp
mov eax, reloc.WLDAP32.dll_Ordinal_33
cmp byte [r14 + 0xbc], 0
mov r9d, 3
mov r8d, 0x1400
cmovne r9d, eax
sar ebp, 0x1f
lea ecx, [rax - 0x22]
lea edx, [rbp + 3]
call fcn.140050630
mov dword [rdi + 0x49dc], 0xffffffff
mov rax, qword [0x1404fb090]
mov r14, qword [rsp + 0x70]
mov rdi, qword [rsp + 0xa8]
mov rbp, qword [rsp + 0xa0]
cmp byte [rax + 0x4999], 0
jne 0x140051928
cmp byte [rax + 0x4955], 0
jne 0x140051928
xor cl, cl
jmp 0x14005192a
mov cl, 1
mov byte [rax + 0x4954], cl
mov rcx, qword [rbx + 0x4908]
mov byte [rbx + 0x4950], 0
test rcx, rcx
je 0x140051b3d
test dword [rcx + 0x14], 0x40000
jne 0x140051b3d
cmp qword [rbx + 0x4ae8], 0
jne 0x140051b3d
mov rax, qword [rcx]
movss xmm0, dword [rax + 0x3c34]
mov rax, qword [rcx + 0x368]
mulss xmm0, dword [rcx + 0x290]
test rax, rax
je 0x140051989
mulss xmm0, dword [rax + 0x290]
cmp word [rcx + 0x15c], 0
mulss xmm0, dword [0x140217f6c]
mov edx, dword [rbx + 0x49a8]
movss xmm2, dword [0x140217f14]
mulss xmm0, dword [rbx + 0x18]
addss xmm0, dword [0x140217eec]
cvttss2si eax, xmm0
movd xmm3, eax
cvtdq2ps xmm3, xmm3
jne 0x140051a5b
cmp byte [rcx + 0x162], 0
je 0x140051a5b
cmp edx, 0xffffffff
je 0x140051a5b
movss xmm1, dword [0x140217f88]
test edx, edx
je 0x1400519f1
cmp edx, 1
jne 0x140051a21
movaps xmm0, xmm2
jmp 0x1400519f4
movaps xmm0, xmm1
mulss xmm0, xmm3
mov dword [rcx + 0x9c], r15d
mov dword [rcx + 0xa4], r15d
addss xmm0, dword [rcx + 0x84]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rcx + 0x94], xmm0
cmp edx, 2
je 0x140051a2e
cmp edx, 3
jne 0x140051a5b
movaps xmm1, xmm2
mulss xmm1, xmm3
mov dword [rcx + 0xa0], r15d
mov dword [rcx + 0xa8], r15d
addss xmm1, dword [rcx + 0x88]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rcx + 0x98], xmm0
test sil, sil
je 0x140051b3d
mov rax, qword [0x1404fb090]
cmp byte [rax + 0x3554], 0
movss xmm1, dword [rax + 0x35f0]
movss xmm0, dword [rax + 0x35d0]
subss xmm1, dword [rax + 0x35e0]
subss xmm0, dword [rax + 0x35c0]
je 0x140051a9d
cmp byte [rax + 0x451c], 0
je 0x140051ab9
cmp byte [rax + 0x3564], 0
je 0x140051ac1
cmp byte [rax + 0x4528], 0
jne 0x140051ac1
movss xmm2, dword [0x140217f48]
jmp 0x140051ac1
movss xmm2, dword [0x140217ed0]
xorps xmm4, xmm4
ucomiss xmm0, xmm4
jp 0x140051acb
je 0x140051b05
cmp byte [rcx + 0xb4], 0
je 0x140051b05
mulss xmm0, xmm3
mov dword [rcx + 0x9c], r15d
mov dword [rcx + 0xa4], r15d
mulss xmm0, xmm2
addss xmm0, dword [rcx + 0x84]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rcx + 0x94], xmm0
ucomiss xmm1, xmm4
jp 0x140051b0c
je 0x140051b3d
mulss xmm1, xmm3
mov dword [rcx + 0xa0], r15d
mov dword [rcx + 0xa8], r15d
mulss xmm1, xmm2
addss xmm1, dword [rcx + 0x88]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rcx + 0x98], xmm0
test r13b, r13b
mov r13, qword [rsp + 0xb0]
jne 0x140051b5a
test sil, sil
jne 0x140051b5a
mov word [rbx + 0x4952], 1
jmp 0x140051bb7
test r12b, r12b
je 0x140051bb7
test byte [rbx + 8], 4
je 0x140051bb7
test byte [rbx + 0xc], 4
je 0x140051bb7
lea rcx, [rsp + 0x20]
call fcn.14004fd40
mov rcx, qword [0x1404fb090]
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rcx + 0x36e8], xmm0
movss dword [rcx + 0x36ec], xmm1
movss dword [rcx + 0xe00], xmm0
movss dword [rcx + 0xe04], xmm1
mov qword [rcx + 0xf4], 0
mov byte [rcx + 0xd5], 1
mov dword [rbx + 0x49d4], r15d
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14020f960
add rsp, 0x78
pop r15
pop r12
pop rsi
pop rbx
ret