Function at 0x140035450
Capabilities:
Hash data with crc32

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r15
lea rbp, [rax - 0x4f]
sub rsp, 0xe8
mov rdi, qword [0x14010fb48]
xor esi, esi
movaps xmmword [rax - 0x58], xmm6
mov rax, qword [rdi + 0x4038]
mov byte [rax + 0xc0], 1
mov eax, dword [rdi + 0x49e8]
mov r15, qword [rdi + 0x4038]
mov dword [rdi + 0x49e8], esi
mov dword [rbp + 0x7f], eax
cmp byte [r15 + 0xc3], sil
jne 0x140035913
lea rbx, str.Select_Weapon
mov rcx, r15
mov rdx, rbx
call fcn.140006200
mov r8, qword [0x14010fb48]
mov r12d, eax
mov rcx, rbx
cmp rbx, 0xffffffffffffffff
jae 0x1400354ef
movzx edx, byte [rcx]
test dl, dl
je 0x1400354ef
cmp dl, 0x23
jne 0x1400354e6
cmp byte [rcx + 1], dl
je 0x1400354ef
inc rcx
cmp rcx, 0xffffffffffffffff
jb 0x1400354d5
movss xmm6, dword [r8 + 0x3d60]
cmp rbx, rcx
je 0x140035535
movss xmm0, dword [0x1400d5b90]
lea rdx, [rbp + 0x5f]
movss xmm3, dword [0x1400d5b84]
movaps xmm2, xmm6
mov qword [rsp + 0x30], rcx
mov rcx, qword [r8 + 0x3d58]
mov qword [rsp + 0x28], rbx
movss dword [rsp + 0x20], xmm0
call fcn.140030da0
movss xmm6, dword [rbp + 0x63]
call fcn.140014d70
movss xmm1, dword [rdi + 0x3930]
lea rcx, [rbp + 0x5f]
addss xmm0, dword [0x1400d5acc]
movss xmm2, dword [r15 + 0x110]
movaps xmm5, xmm1
movss xmm3, dword [r15 + 0x114]
addss xmm5, xmm1
movaps xmm4, xmm2
addss xmm2, dword [0x1400d5a6c]
addss xmm4, xmm0
xorps xmm0, xmm0
addss xmm5, xmm6
movss dword [rbp - 0x79], xmm2
movss dword [rbp - 0x71], xmm4
addss xmm4, xmm0
movss dword [rsp + 0x40], xmm2
addss xmm5, dword [0x1400d5a90]
movss dword [rsp + 0x48], xmm4
subss xmm4, xmm2
addss xmm5, xmm3
addss xmm3, dword [0x1400d5a64]
movss dword [rbp + 0x5f], xmm4
movss dword [rbp - 0x6d], xmm5
addss xmm5, xmm0
movss dword [rbp - 0x75], xmm3
movss dword [rsp + 0x44], xmm3
movss dword [rbp - 0x7d], xmm5
subss xmm5, xmm3
movss dword [rbp + 0x63], xmm5
call fcn.1400148e0
lea r8, [rbp - 0x79]
mov edx, r12d
lea rcx, [rsp + 0x40]
xor r9d, r9d
call fcn.140014a50
test al, al
je 0x140035913
mov qword [rsp + 0xe0], r13
lea r9, [rbp + 0x77]
mov qword [rsp + 0xd8], r14
lea r8, [rbp + 0x6f]
movaps xmmword [rsp + 0xb0], xmm7
lea rcx, [rbp - 0x79]
movaps xmmword [rsp + 0xa0], xmm9
mov edx, r12d
movaps xmmword [rsp + 0x90], xmm11
movaps xmmword [rsp + 0x80], xmm12
movaps xmmword [rsp + 0x70], xmm13
movaps xmmword [rsp + 0x60], xmm14
mov dword [rsp + 0x20], esi
call fcn.140038750
mov r9d, r12d
lea rdx, [0x1400d4521]
not r9d
lea r10, [0x1400ce130]
mov ebx, r9d
movzx r13d, al
mov r8b, 0x23
nop dword [rax]
cmp r8b, 0x23
jne 0x140035683
cmp byte [rdx], r8b
jne 0x140035683
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 0x140035670
mov r14, qword [0x14010fb48]
not ebx
movsxd rsi, dword [r14 + 0x4ad0]
cmp dword [r14 + 0x4ac0], esi
jle 0x1400356ec
test esi, esi
jns 0x1400356d7
mov r8d, 0x766
lea rdx, str.C:UsersJunior_CairesDesktopimgui_phobia_2.0imgui_phobia_2.0imgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [r14 + 0x4ac8]
imul rcx, rsi, 0x38
cmp dword [rcx + rax], ebx
jne 0x1400356ec
mov sil, 1
jmp 0x1400356ef
xor sil, sil
mov r14, qword [rsp + 0xd8]
test r13b, r13b
mov r13, qword [rsp + 0xe0]
je 0x140035713
test sil, sil
jne 0x140035713
mov ecx, ebx
call fcn.140015b80
mov sil, 1
movss xmm11, dword [rbp - 0x79]
lea rcx, [rbp - 0x79]
movaps xmm13, xmm11
mov r8d, 1
maxss xmm13, dword [rbp - 0x71]
mov edx, r12d
call fcn.1400046b0
movaps xmm0, xmmword [0x1400d5e60]
lea rcx, [rsp + 0x40]
movss xmm14, dword [rbp - 0x6d]
movups xmmword [rsp + 0x40], xmm0
movaps xmm0, xmm14
movss dword [rbp + 0x5f], xmm13
subss xmm0, dword [0x1400d5a5c]
movss dword [rbp + 0x63], xmm0
call fcn.1400035c0
movss xmm0, dword [0x1400d5a48]
lea r8, [rbp + 0x5f]
movss xmm9, dword [0x1400d5a08]
lea rdx, [rbp - 0x79]
mov rcx, qword [r15 + 0x2b0]
mov r9d, eax
movss dword [rsp + 0x30], xmm9
mov dword [rsp + 0x28], 0xf0
movss dword [rsp + 0x20], xmm0
call fcn.140028f70
movaps xmm0, xmmword [0x1400d5e40]
lea rcx, [rsp + 0x40]
movss xmm12, dword [rbp - 0x75]
movzx eax, sil
neg al
movaps xmm7, xmm13
subss xmm7, dword [0x1400d5a98]
sbb r9d, r9d
movaps xmm6, xmm12
addss xmm6, dword [0x1400d5a5c]
add r9d, 3
movups xmmword [rsp + 0x40], xmm0
call fcn.1400035c0
mov rcx, qword [r15 + 0x2b0]
movaps xmm0, xmm7
unpcklps xmm0, xmm6
mov r8d, eax
movq rdx, xmm0
movss dword [rsp + 0x20], xmm9
call fcn.1400316d0
movss xmm0, dword [rbp - 0x71]
movaps xmm1, xmm11
movss xmm2, dword [rdi + 0x3934]
unpcklps xmm0, xmm14
unpcklps xmm1, xmm12
movq rdx, xmm0
movq rcx, xmm1
movsd qword [rbp - 0x71], xmm0
movsd qword [rbp - 0x79], xmm1
call fcn.140004550
mov r8, qword [rbp + 0x67]
movaps xmm9, xmmword [rsp + 0xa0]
movaps xmm7, xmmword [rsp + 0xb0]
test r8, r8
je 0x1400358da
cmp byte [rdi + 0x5fb8], 0
je 0x140035883
mov rax, qword [0x14010fb48]
lea rcx, [0x1400d4518]
mov qword [rax + 0x5fd8], rcx
lea rcx, [0x1400d4514]
mov qword [rax + 0x5fe0], rcx
addss xmm11, dword [0x1400d5a64]
addss xmm12, dword [0x1400d5a50]
xor ecx, ecx
movss dword [rbp + 0x57], xmm13
mov qword [rsp + 0x30], rcx
lea rax, [rbp + 0x5f]
mov qword [rsp + 0x28], rax
lea rdx, [rbp + 0x57]
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x40]
movss dword [rsp + 0x40], xmm11
movss dword [rsp + 0x44], xmm12
movss dword [rbp + 0x5b], xmm14
mov qword [rbp + 0x5f], 0
call fcn.1400042e0
movaps xmm14, xmmword [rsp + 0x60]
movaps xmm13, xmmword [rsp + 0x70]
movaps xmm12, xmmword [rsp + 0x80]
movaps xmm11, xmmword [rsp + 0x90]
test sil, sil
je 0x140035913
mov eax, dword [rbp + 0x7f]
lea rdx, [rbp - 0x79]
mov ecx, ebx
mov dword [rdi + 0x49e8], eax
call fcn.14003a020
jmp 0x140035915
xor al, al
movaps xmm6, xmmword [rsp + 0xc0]
add rsp, 0xe8
pop r15
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret