Function at 0x14001c740
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x38
mov r14, qword [0x1400ba590]
mov rsi, rdx
mov rbp, rcx
mov qword [rsp + 0x98], r14
cmp byte [r14], 0
jne 0x14001c78f
mov r8d, 0x2625
lea rdx, str.C:UserselilaDownloadsKeyAuth_IMGUI_LoginExample_masterKeyAuth_IMGUI_LoginExample_masterimguiimgui.cpp
lea rcx, str.g.Initialized
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rsi, rsi
jne 0x14001c7b1
mov rsi, 0xffffffffffffffff
nop dword [rax + rax]
inc rsi
cmp byte [rsi + rbp], 0
jne 0x14001c7a0
mov qword [rsp + 0x88], rsi
mov ecx, dword [r14 + 0x3024]
lea ebx, [rsi + 1]
cmp ebx, ecx
jle 0x14001c7e6
test ecx, ecx
je 0x14001c7ce
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x14001c7d3
mov eax, 8
cmp eax, ebx
lea rcx, [r14 + 0x3020]
mov edx, ebx
cmovg edx, eax
call fcn.140027f70
mov dword [r14 + 0x3020], ebx
mov r8, rsi
mov r15, qword [r14 + 0x3028]
mov rdx, rbp
mov rcx, r15
mov qword [rsp + 0x28], r15
lea rax, [r15 + rsi]
mov qword [rsp + 0x90], rax
call sub.VCRUNTIME140.dll_memcpy
xor r12d, r12d
mov byte [r15 + rsi], 0
mov eax, dword [r14 + 0x3030]
mov ebx, r12d
test eax, eax
jle 0x14001c8da
mov edi, r12d
cmp ebx, eax
jl 0x14001c84e
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 [r14 + 0x3038]
cmp qword [rax + rdi + 0x18], r12
je 0x14001c8c5
cmp ebx, dword [r14 + 0x3030]
jl 0x14001c87f
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]
movsxd rax, ebx
lea rcx, [rax + rax*8]
mov rax, qword [r14 + 0x3038]
lea rsi, [rax + rcx*8]
cmp ebx, dword [r14 + 0x3030]
jl 0x14001c8b4
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 [r14 + 0x3038]
mov rdx, rsi
mov rcx, r14
call qword [rdi + rax + Ordinal_27]
mov eax, dword [r14 + 0x3030]
inc ebx
add rdi, 0x48
cmp ebx, eax
jl 0x14001c84e
mov rbx, qword [rsp + 0x90]
mov r13, r12
mov rbp, r12
mov rcx, r15
cmp r15, rbx
jae 0x14001ca72
movzx eax, byte [rcx]
cmp al, 0xa
je 0x14001cbe5
cmp al, 0xd
je 0x14001cbe5
mov rsi, rcx
cmp rcx, rbx
jae 0x14001c923
nop
movzx eax, byte [rsi]
cmp al, 0xa
je 0x14001c923
cmp al, 0xd
je 0x14001c923
inc rsi
cmp rsi, rbx
jb 0x14001c910
mov byte [rsi], r12b
movzx eax, byte [rcx]
cmp al, 0x3b
je 0x14001ca60
cmp al, 0x5b
jne 0x14001cbbf
cmp rsi, rcx
jbe 0x14001cbbf
cmp byte [rsi - 1], 0x5d
lea rbx, [rsi - 1]
jne 0x14001cbb7
lea rdi, [rcx + 1]
mov byte [rbx], r12b
mov r8, rbx
mov rcx, rdi
sub r8, rdi
mov edx, 0x5d
call sub.VCRUNTIME140.dll_memchr
mov r15, rax
test rax, rax
je 0x14001ca58
lea rcx, [rax + 1]
mov edx, 0x5b
sub rbx, rcx
mov r8, rbx
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x14001ca58
mov byte [r15], r12b
lea rdx, [rdi + 1]
movzx r8d, byte [rdi]
inc rax
mov r15, qword [0x1400ba590]
mov ebx, 0xffffffff
mov qword [rsp + 0x20], rax
test r8b, r8b
je 0x14001c9fe
mov r14d, ebx
nop word [rax + rax]
cmp r8b, 0x23
jne 0x14001c9d3
cmp byte [rdx], r8b
jne 0x14001c9d3
cmp byte [rdx + 1], r8b
cmove ebx, r14d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
lea rax, [0x140094b40]
inc rdx
xor ebx, dword [rax + rcx*4]
test r8b, r8b
jne 0x14001c9c0
mov r14, qword [rsp + 0x98]
mov eax, dword [r15 + 0x3030]
not ebx
mov edi, r12d
test eax, eax
jle 0x14001ca52
mov rbp, r12
cmp r12d, eax
jl 0x14001ca30
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 [r15 + 0x3038]
cmp dword [rax + rbp + 8], ebx
je 0x14001cb63
mov eax, dword [r15 + 0x3030]
inc edi
add rbp, 0x48
cmp edi, eax
jl 0x14001ca30
mov rbp, r12
mov r13, r12
mov rbx, qword [rsp + 0x90]
lea rcx, [rsi + 1]
cmp rcx, rbx
jb 0x14001c8f4
mov r15, qword [rsp + 0x28]
mov r8, qword [rsp + 0x88]
mov rcx, r15
mov rdx, qword [rsp + 0x80]
mov byte [r14 + 0x3018], 1
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [r14 + 0x3030]
test eax, eax
jle 0x14001cb52
mov rbx, r12
cmp r12d, eax
jl 0x14001cac3
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 [r14 + 0x3038]
cmp qword [rax + rbx + 0x30], 0
je 0x14001cb3b
cmp r12d, dword [r14 + 0x3030]
jl 0x14001caf5
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]
movsxd rax, r12d
lea rcx, [rax + rax*8]
mov rax, qword [r14 + 0x3038]
lea rdi, [rax + rcx*8]
cmp r12d, dword [r14 + 0x3030]
jl 0x14001cb2a
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 [r14 + 0x3038]
mov rdx, rdi
mov rcx, r14
call qword [rbx + rax + Ordinal_50]
mov eax, dword [r14 + 0x3030]
inc r12d
add rbx, 0x48
cmp r12d, eax
jl 0x14001cac3
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
cmp edi, dword [r15 + 0x3030]
jl 0x14001cb86
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]
movsxd rax, edi
lea rcx, [rax + rax*8]
mov rax, qword [r15 + 0x3038]
lea rbp, [rax + rcx*8]
test rbp, rbp
je 0x14001ca55
mov r8, qword [rsp + 0x20]
mov rdx, rbp
mov rcx, r14
call qword [rbp + reloc.WLDAP32.dll_Ordinal_32]
mov r13, rax
jmp 0x14001ca58
mov rbx, qword [rsp + 0x90]
test rbp, rbp
je 0x14001ca60
test r13, r13
je 0x14001ca60
mov r9, rcx
mov r8, r13
mov rcx, r14
mov rdx, rbp
call qword [rbp + Ordinal_41]
jmp 0x14001ca60
inc rcx
jmp 0x14001c8f4