Function at 0x140012140
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r14
sub rsp, 0x40
mov rdi, qword [0x1401cba08]
xor r14d, r14d
mov r12d, ecx
mov esi, r14d
mov rbp, qword [rdi + 0x1d28]
test cl, 0x10
jne 0x1400123e5
mov ebx, dword [rbp + 0x164]
test ebx, ebx
je 0x1400121ac
cmp dword [rdi + 0x1d7c], ebx
jne 0x1400123de
mov ecx, dword [rdi + 0x1db4]
cmp ecx, 0xffffffff
cmove ecx, r14d
movsxd rax, ecx
cmp byte [rax + rdi + 0x128], sil
je 0x1400123de
mov r14d, ecx
jmp 0x14001239f
cmp byte [rdi + 0x128], sil
je 0x1400123de
test r12b, 8
jne 0x1400121e0
mov r8d, 0x2912
lea rdx, str.C:UsersFinishDesktopJhonNet_Cimguiimgui.cpp
lea rcx, [0x1400c1fe8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor al, al
jmp 0x1400124eb
test byte [rbp + 0x168], 1
jne 0x140012202
cmp dword [rdi + 0x1d7c], esi
je 0x1400123de
cmp qword [rdi + 0x1da8], rbp
jne 0x1400123de
lea rdx, [rbp + 0x16c]
mov qword [rsp + 0x70], r13
mov rcx, rbp
call fcn.140021f10
mov dword [rbp + 0x164], eax
mov ebx, eax
mov rsi, qword [0x1401cba08]
mov eax, dword [rsi + 0x1d68]
test eax, eax
je 0x140012244
cmp eax, ebx
je 0x140012244
cmp byte [rsi + 0x1d70], r14b
jne 0x140012244
xor sil, sil
jmp 0x140012392
mov qword [rsp + 0x78], r15
mov r15, qword [rsi + 0x1d28]
cmp qword [rsi + 0x1d30], r15
jne 0x14001238a
mov eax, dword [rsi + 0x1d7c]
test eax, eax
je 0x140012278
cmp eax, ebx
je 0x140012278
cmp byte [rsi + 0x1d89], r14b
je 0x14001238a
lea rdx, [rbp + 0x174]
mov r8b, 1
lea rcx, [rbp + 0x16c]
call fcn.140024370
test al, al
je 0x14001238a
cmp byte [rsi + 0x1fef], r14b
jne 0x14001238a
xor edx, edx
mov rcx, r15
call fcn.140024730
test al, al
je 0x140012383
test byte [rsi + 0x1d64], 4
jne 0x140012383
test ebx, ebx
je 0x140012363
mov rax, qword [0x1401cba08]
mov dword [rax + 0x1d68], ebx
mov word [rax + 0x1d70], r14w
cmp dword [rax + 0x1d6c], ebx
je 0x1400122ee
mov qword [rax + 0x1d74], r14
cmp byte [rsi + 0x32e4], r14b
je 0x14001235a
cmp dword [rsi + 0x1d6c], ebx
jne 0x14001235a
mov rax, qword [0x1401cba08]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax + 0x1d28]
mov rcx, qword [rcx + 0x38]
call fcn.140022910
movss xmm0, dword [0x1400bfdf4]
lea r8, [rbp + 0x174]
movss dword [rsp + 0x30], xmm0
lea rdx, [rbp + 0x16c]
xorps xmm1, xmm1
mov dword [rsp + 0x28], r14d
mov r9d, 0xff00ffff
movss dword [rsp + 0x20], xmm1
mov rcx, rax
call fcn.140038740
cmp dword [rsi + 0x32e8], ebx
jne 0x140012363
int3
mov sil, 1
cmp byte [rdi + 0x418], r14b
je 0x14001238d
mov rdx, rbp
mov ecx, ebx
call fcn.14002e8a0
mov rcx, rbp
call fcn.140021840
jmp 0x14001238d
mov byte [rsi + 0x1d73], 1
xor sil, sil
mov r15, qword [rsp + 0x78]
mov r13, qword [rsp + 0x70]
cmp dword [rdi + 0x1d7c], ebx
jne 0x1400123de
lea rcx, [rbp + 0x108]
mov byte [rdi + 0x1d89], sil
call fcn.140034940
movss xmm1, dword [0x1400bfe20]
mov ecx, r14d
mov esi, dword [rax]
call fcn.1400242b0
mov qword [rdi + 0x1d90], 0xffffffffffffffff
mov qword [rdi + 0x1d98], 0xffffffffffffffff
test al, al
jne 0x140012434
xor al, al
jmp 0x1400124eb
mov r9d, 0xffffffff
lea rdx, [0x1400c6399]
mov ebx, r9d
lea r10, [0x1400c18c0]
mov rbp, r14
mov r8b, reloc.WLDAP32.dll_Ordinal_35
cmp r8b, 0x23
jne 0x140012415
cmp byte [rdx], r8b
jne 0x140012415
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x140012402
not ebx
cmp byte [rdi + 0x211c], 0
jne 0x140012490
test ebx, ebx
jne 0x14001245b
mov r8d, 0x293d
lea rdx, str.C:UsersFinishDesktopJhonNet_Cimguiimgui.cpp
lea rcx, str.source_id___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
call fcn.1400140c0
mov dword [rdi + 0x213c], ebx
mov dword [rdi + 0x2140], esi
mov byte [rdi + 0x211c], 1
mov dword [rdi + 0x2120], r12d
mov dword [rdi + 0x2128], r14d
cmp ebx, dword [rdi + 0x1d7c]
jne 0x140012490
mov byte [rdi + 0x1d8a], 1
mov eax, dword [rdi + 0x1ca0]
mov dword [rdi + 0x2124], eax
mov byte [rdi + 0x211d], 1
test r12b, 1
jne 0x1400124dc
xor edx, edx
xor ecx, ecx
call fcn.140012720
cmp dword [rdi + 0x2190], 0
je 0x1400124dc
test dword [rdi + 0x2184], 0x1000
je 0x1400124dc
mov rax, qword [rdi + 0x1d28]
mov byte [rax + 0xd4], 1
mov byte [rax + 0xf0], 1
test r12b, 0x12
jne 0x1400124e9
and dword [rbp + 0x168], 0xfffffffe
mov al, 1
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret