Function at 0x14002bcd0
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 r15, qword [0x14011c538]
mov rsi, rdx
mov rbp, rcx
mov qword [rsp + 0x98], r15
cmp byte [r15], 0
jne 0x14002bd1f
mov r8d, 0x2b77
lea rdx, str.C:UserswhatwDocumentsGitHubPain_Patek_Loaderimguiimgui.cpp
lea rcx, str.g.Initialized
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rsi, rsi
jne 0x14002bd41
mov rsi, 0xffffffffffffffff
nop dword [rax + rax]
inc rsi
cmp byte [rsi + rbp], 0
jne 0x14002bd30
mov qword [rsp + 0x88], rsi
mov ecx, dword [r15 + 0x3204]
lea ebx, [rsi + 1]
cmp ebx, ecx
jle 0x14002bd76
test ecx, ecx
je 0x14002bd5e
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x14002bd63
mov eax, 8
cmp eax, ebx
lea rcx, [r15 + 0x3200]
mov edx, ebx
cmovg edx, eax
call fcn.140039fd0
mov dword [r15 + 0x3200], ebx
mov r8, rsi
mov r14, qword [r15 + 0x3208]
mov rdx, rbp
mov rcx, r14
mov qword [rsp + 0x28], r14
lea rax, [r14 + rsi]
mov qword [rsp + 0x90], rax
call sub.VCRUNTIME140.dll_memcpy
xor r12d, r12d
mov byte [r14 + rsi], 0
mov eax, dword [r15 + 0x3210]
mov ebx, r12d
test eax, eax
jle 0x14002be7e
mov edi, r12d
mov ecx, eax
test ebx, ebx
js 0x14002bdca
cmp ebx, eax
jl 0x14002bdeb
mov r8d, 0x6c7
lea rdx, str.C:UserswhatwDocumentsGitHubPain_Patek_Loaderimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ecx, dword [r15 + 0x3210]
mov rdx, qword [r15 + 0x3218]
cmp qword [rdi + rdx + 0x18], r12
je 0x14002be67
test ebx, ebx
js 0x14002be01
cmp ebx, ecx
jl 0x14002be29
mov r8d, 0x6c7
lea rdx, str.C:UserswhatwDocumentsGitHubPain_Patek_Loaderimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rdx, qword [r15 + 0x3218]
mov ecx, dword [r15 + 0x3210]
mov rsi, qword [rdi + rdx + 0x18]
test ebx, ebx
js 0x14002be36
cmp ebx, ecx
jl 0x14002be57
mov r8d, 0x6c7
lea rdx, str.C:UserswhatwDocumentsGitHubPain_Patek_Loaderimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rdx, qword [r15 + 0x3218]
movsxd rax, ebx
lea rcx, [rax + rax*8]
lea rdx, [rdx + rcx*8]
mov rcx, r15
call rsi
mov eax, dword [r15 + 0x3210]
inc ebx
add rdi, 0x48
mov ecx, eax
cmp ebx, eax
jl 0x14002bdc2
mov rbx, qword [rsp + 0x90]
mov r13, r12
mov rbp, r12
mov rcx, r14
cmp r14, rbx
jae 0x14002c02c
nop dword [rax + rax]
movzx eax, byte [rcx]
cmp al, 0xa
je 0x14002c1bf
cmp al, 0xd
je 0x14002c1bf
mov rsi, rcx
cmp rcx, rbx
jae 0x14002bed3
nop dword [rax + rax]
movzx eax, byte [rsi]
cmp al, 0xa
je 0x14002bed3
cmp al, 0xd
je 0x14002bed3
inc rsi
cmp rsi, rbx
jb 0x14002bec0
mov byte [rsi], r12b
movzx eax, byte [rcx]
cmp al, 0x3b
je 0x14002c01a
cmp al, 0x5b
jne 0x14002c199
cmp rsi, rcx
jbe 0x14002c199
cmp byte [rsi - 1], 0x5d
lea rbx, [rsi - 1]
jne 0x14002c191
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 r14, rax
test rax, rax
je 0x14002c012
lea rcx, [rax + 1]
mov edx, 0x5b
sub rbx, rcx
mov r8, rbx
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x14002c012
mov r13, qword [0x14011c538]
lea rdx, [rdi + 1]
inc rax
mov byte [r14], r12b
movzx r8d, byte [rdi]
mov ebx, 0xffffffff
mov qword [rsp + 0x20], rax
test r8b, r8b
je 0x14002bfae
mov r15d, ebx
nop word [rax + rax]
cmp r8b, 0x23
jne 0x14002bf83
cmp byte [rdx], r8b
jne 0x14002bf83
cmp byte [rdx + 1], r8b
cmove ebx, r15d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
lea rax, [0x1400db380]
inc rdx
xor ebx, dword [rax + rcx*4]
test r8b, r8b
jne 0x14002bf70
mov r15, qword [rsp + 0x98]
mov eax, dword [r13 + 0x3210]
not ebx
mov edi, r12d
mov r14, r12
test eax, eax
jle 0x14002c00c
mov rbp, r12
test r14, r14
js 0x14002bfcd
cmp edi, eax
jl 0x14002bfe7
mov r8d, 0x6c7
lea rdx, str.C:UserswhatwDocumentsGitHubPain_Patek_Loaderimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rdx, qword [r13 + 0x3218]
cmp dword [rdx + rbp + 8], ebx
je 0x14002c136
mov eax, dword [r13 + 0x3210]
inc edi
inc r14
add rbp, 0x48
cmp edi, eax
jl 0x14002bfc4
mov rbp, r12
mov r13, r12
mov rbx, qword [rsp + 0x90]
lea rcx, [rsi + 1]
cmp rcx, rbx
jb 0x14002bea0
mov r14, qword [rsp + 0x28]
mov r8, qword [rsp + 0x88]
mov rcx, r14
mov rdx, qword [rsp + 0x80]
mov byte [r15 + 0x31f8], 1
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [r15 + 0x3210]
test ecx, ecx
jle 0x14002c125
mov rbx, r12
mov eax, ecx
test r12d, r12d
js 0x14002c06a
cmp r12d, ecx
jl 0x14002c08b
mov r8d, 0x6c7
lea rdx, str.C:UserswhatwDocumentsGitHubPain_Patek_Loaderimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [r15 + 0x3210]
mov rdx, qword [r15 + 0x3218]
cmp qword [rbx + rdx + 0x30], 0
je 0x14002c10c
test r12d, r12d
js 0x14002c0a4
cmp r12d, eax
jl 0x14002c0cc
mov r8d, 0x6c7
lea rdx, str.C:UserswhatwDocumentsGitHubPain_Patek_Loaderimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rdx, qword [r15 + 0x3218]
mov eax, dword [r15 + 0x3210]
mov rdi, qword [rbx + rdx + 0x30]
test r12d, r12d
js 0x14002c0db
cmp r12d, eax
jl 0x14002c0fc
mov r8d, 0x6c7
lea rdx, str.C:UserswhatwDocumentsGitHubPain_Patek_Loaderimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rdx, qword [r15 + 0x3218]
movsxd rax, r12d
lea rcx, [rax + rax*8]
lea rdx, [rdx + rcx*8]
mov rcx, r15
call rdi
mov ecx, dword [r15 + 0x3210]
inc r12d
add rbx, 0x48
mov eax, ecx
cmp r12d, ecx
jl 0x14002c060
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
test edi, edi
js 0x14002c143
cmp edi, dword [r13 + 0x3210]
jl 0x14002c164
mov r8d, 0x6c7
lea rdx, str.C:UserswhatwDocumentsGitHubPain_Patek_Loaderimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rdx, qword [r13 + 0x3218]
movsxd rax, edi
lea rcx, [rax + rax*8]
lea rbp, [rdx + rcx*8]
test rbp, rbp
je 0x14002c00f
mov rax, qword [rbp + 0x20]
mov rdx, rbp
mov r8, qword [rsp + 0x20]
mov rcx, r15
call rax
mov r13, rax
jmp 0x14002c012
mov rbx, qword [rsp + 0x90]
test rbp, rbp
je 0x14002c01a
test r13, r13
je 0x14002c01a
mov r9, rcx
mov r8, r13
mov rcx, r15
mov rdx, rbp
call qword [rbp + Ordinal_41]
jmp 0x14002c01a
inc rcx
jmp 0x14002bea0