Function at 0x140020240
Capabilities:
Hash data with crc32

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, qword [0x1400ba590]
cmp qword [rdi + 0x1d30], 0
jne 0x140020271
mov r8d, 0x2389
lea rdx, str.C:UserselilaDownloadsKeyAuth_IMGUI_LoginExample_masterKeyAuth_IMGUI_LoginExample_masterimguiimgui.cpp
lea rcx, str.g.NavWindowingTarget___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss xmm0, dword [0x140098554]
comiss xmm0, dword [rdi + 0x1d48]
ja 0x140020508
cmp qword [rdi + 0x1d40], 0
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rsi
jne 0x1400202f2
mov r10d, 0xffffffff
lea r8, [0x140098309]
mov ecx, r10d
lea r11, [0x140094b40]
mov r9b, reloc.WLDAP32.dll_Ordinal_35
cmp r9b, 0x23
jne 0x1400202c7
cmp byte [r8], r9b
jne 0x1400202c7
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1400202b4
not ecx
call fcn.140019580
mov qword [rdi + 0x1d40], rax
movss xmm1, dword [rdi + 0x10]
lea rdx, [rsp + 0x40]
movss xmm2, dword [rdi + 0x14]
xor ecx, ecx
mov rax, qword [0x1400ba590]
mulss xmm1, dword [0x140098558]
mov dword [rsp + 0x28], 0x7f7fffff
mulss xmm2, dword [0x140098558]
or dword [rax + 0x1b28], 0x10
mov qword [rax + 0x1b78], rcx
mov qword [rax + 0x1b80], rcx
mov ecx, 1
mov dword [rsp + 0x2c], 0x7f7fffff
movups xmm0, xmmword [rsp + 0x20]
movss xmm0, xmm1
shufps xmm0, xmm0, 0xe1
movss xmm0, xmm2
movss xmm2, dword [0x140098564]
shufps xmm0, xmm0, 0xe1
movups xmmword [rax + 0x1b64], xmm0
mov rax, qword [0x1400ba590]
movss xmm0, dword [rdi + 0x10]
movss xmm1, dword [rdi + 0x14]
mulss xmm1, xmm2
or dword [rax + 0x1b28], 1
mulss xmm0, xmm2
mov dword [rax + 0x1b2c], 1
unpcklps xmm0, xmm1
movaps xmm1, xmm2
unpcklps xmm1, xmm2
movsd qword [rax + 0x1b40], xmm1
movsd qword [rax + 0x1b38], xmm0
movss xmm0, dword [rdi + 0x156c]
movss xmm1, dword [rdi + 0x1570]
addss xmm0, xmm0
addss xmm1, xmm1
movss dword [rsp + 0x40], xmm0
movss dword [rsp + 0x44], xmm1
call fcn.1400219e0
xor edx, edx
lea rcx, str.NavWindowingList
mov r8d, 0xc1347
call fcn.140013970
mov esi, dword [rdi + 0x1a40]
sub esi, 1
movsxd rbp, esi
js 0x1400204ef
mov qword [rsp + 0x48], rbx
nop
cmp esi, dword [rdi + 0x1a40]
jl 0x140020422
mov r8d, 0x554
lea rdx, str.C:UserselilaDownloadsKeyAuth_IMGUI_LoginExample_masterKeyAuth_IMGUI_LoginExample_masterimguiimgui.h
lea rcx, str.i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rdi + 0x1a48]
mov rbx, qword [rax + rbp*8]
cmp byte [rbx + 0x7e], 0
je 0x1400204de
cmp rbx, qword [rbx + 0x3a0]
jne 0x1400204de
test dword [rbx + 0xc], 0x80000
jne 0x1400204de
mov r10, qword [rbx]
mov rcx, r10
cmp r10, 0xffffffffffffffff
jae 0x140020482
nop dword [rax]
movzx edx, byte [rcx]
test dl, dl
je 0x14002047d
lea rax, [rcx + 1]
cmp dl, 0x23
jne 0x140020474
cmp byte [rax], dl
je 0x14002047d
mov rcx, rax
cmp rax, 0xffffffffffffffff
jb 0x140020460
cmp r10, rcx
jne 0x1400204bb
mov eax, dword [rbx + 0xc]
bt eax, 0x1a
jae 0x140020494
lea r10, str._Popup_
jmp 0x1400204bb
bt eax, 0xa
jae 0x1400204b4
lea rdx, str.MainMenuBar
mov rcx, r10
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
lea r10, str._Main_menu_bar_
test eax, eax
je 0x1400204bb
lea r10, str._Untitled_
cmp qword [rdi + 0x1d30], rbx
lea r9, [rsp + 0x40]
mov rcx, r10
mov qword [rsp + 0x40], 0
sete dl
xor r8d, r8d
call fcn.14003ddd0
dec esi
sub rbp, 1
jns 0x140020400
mov rbx, qword [rsp + 0x48]
call fcn.140017c60
mov ecx, 1
call fcn.140021590
mov rsi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret