Function at 0x1400585c0
Capabilities:
Hash data with crc32

Disassembly:
push rdi
sub rsp, 0x50
mov rdi, qword [0x14015e5c8]
movss xmm0, dword [0x1401480fc]
comiss xmm0, dword [rdi + 0x43c0]
ja 0x1400588c7
cmp qword [rdi + 0x43b8], 0
mov qword [rsp + 0x78], rsi
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm7
jne 0x14005865a
mov r10d, 0xffffffff
lea r8, [0x140146981]
mov edx, r10d
lea r11, [0x140140e90]
mov r9b, reloc.WLDAP32.dll_Ordinal_35
cmp r9b, 0x23
jne 0x140058628
cmp byte [r8], r9b
jne 0x140058628
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x140058615
not edx
lea rcx, [rdi + 0x3fa8]
call fcn.140041440
mov qword [rdi + 0x43b8], rax
mov rax, qword [rdi + 0x41e8]
xor edx, edx
mov dword [rsp + 0x28], 0x7f7fffff
mov dword [rsp + 0x2c], 0x7f7fffff
movups xmm0, xmmword [rsp + 0x20]
mov rcx, qword [rax]
mov eax, dword [rdi + 0x40c8]
or eax, 0x10
movss xmm2, dword [rcx + 0x10]
movss xmm1, dword [rcx + 0x14]
mulss xmm1, dword [0x140148104]
mov dword [rdi + 0x40c8], eax
or eax, 1
mulss xmm2, dword [0x140148104]
mov qword [rdi + 0x4118], rdx
mov qword [rdi + 0x4120], rdx
lea rdx, [rsp + 0x20]
movss xmm0, xmm2
shufps xmm0, xmm0, 0xe1
movss xmm0, xmm1
shufps xmm0, xmm0, 0xe1
movups xmmword [rdi + 0x4108], xmm0
movss xmm1, dword [rcx + 0x14]
movss xmm2, dword [rcx + 0x10]
mulss xmm1, dword [0x140148120]
mulss xmm2, dword [0x140148120]
addss xmm1, dword [rcx + 0xc]
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x20], 2
addss xmm2, dword [rcx + 8]
mov dword [rdi + 0x40c8], eax
lea rcx, [rdi + 0x4168]
movss dword [rdi + 0x40e0], xmm1
mov dword [rdi + 0x40e4], 0x3f000000
mov dword [rdi + 0x40e8], 0x3f000000
movss dword [rdi + 0x40dc], xmm2
mov dword [rdi + 0x40cc], 1
mov byte [rdi + 0x4104], 1
movss xmm7, dword [rdi + 0x38f8]
movss xmm6, dword [rdi + 0x38fc]
addss xmm7, xmm7
movss xmm1, dword [rdi + 0x38f8]
addss xmm6, xmm6
movss xmm0, dword [rdi + 0x38fc]
movss dword [rsp + 0x24], xmm1
movss dword [rsp + 0x28], xmm0
call fcn.140065360
lea r9, [0x140102adc]
movss dword [rdi + 0x38f8], xmm7
xor edx, edx
movss dword [rdi + 0x38fc], xmm6
mov r8d, 0xc1347
lea rcx, str.NavWindowingList
call fcn.14004dcd0
mov eax, dword [rdi + 0x3f78]
movaps xmm7, xmmword [rsp + 0x30]
sub eax, 1
movaps xmm6, xmmword [rsp + 0x40]
movsxd rsi, eax
js 0x1400588b3
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbp
lea rbp, str._Untitled_
mov rax, qword [rdi + 0x3f80]
mov rbx, qword [rax + rsi*8]
cmp byte [rbx + 0xcc], 0
je 0x14005889f
cmp rbx, qword [rbx + 0x3a0]
jne 0x14005889f
test dword [rbx + 0xc], 0x80000
jne 0x14005889f
mov r10, qword [rbx]
mov rcx, r10
cmp r10, 0xffffffffffffffff
jae 0x140058835
movzx edx, byte [rcx]
test dl, dl
je 0x140058830
lea rax, [rcx + 1]
cmp dl, 0x23
jne 0x140058827
cmp byte [rax], dl
je 0x140058830
mov rcx, rax
cmp rax, 0xffffffffffffffff
jb 0x140058813
cmp r10, rcx
jne 0x14005887c
mov eax, dword [rbx + 0xc]
bt eax, 0x1a
jae 0x140058847
lea r10, str._Popup_
jmp 0x14005887c
bt eax, 0xa
jae 0x140058869
lea rdx, str.MainMenuBar
mov rcx, r10
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140058869
lea r10, str._Main_menu_bar_
jmp 0x14005887c
cmp qword [rbx + 0x428], 0
lea r10, str._Dock_node_
cmove r10, rbp
cmp qword [rdi + 0x43a8], rbx
lea r9, [rsp + 0x60]
mov rcx, r10
mov qword [rsp + 0x60], 0
sete dl
xor r8d, r8d
call fcn.14008f110
sub rsi, 1
jns 0x1400587d5
mov rbp, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x68]
call fcn.140050b60
mov ecx, 1
call fcn.140041b80
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret