Function at 0x140051880
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword [rdx]
mov rdi, rcx
mov rsi, r8
mov rbx, rdx
movsx ecx, byte [rax]
lea eax, [rcx - 0x22]
cmp eax, 0x59
ja case.0x1400518c6.35
lea rdx, [0x140000000]
cdqe
movzx eax, byte [rdx + rax + 0x51b70]
mov r9d, dword [rdx + rax*4 + 0x51b54]
add r9, rdx
jmp r9
cmp cl, 0x6e
je 0x1400518e8
mov r8d, 0x358
lea rdx, str.C:UserszakosDesktopQazaq_Projectexamplesexample_win32_directx11Discord_RPCDiscord_SDKSourceFiles_rapidjson_reader.h
lea rcx, str.is.Peek____n
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx]
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x75
jne 0x140051931
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x6c
jne 0x140051931
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x6c
jne 0x140051931
inc rax
lea rcx, [rsi + 0x20]
mov qword [rbx], rax
call fcn.140053210
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp dword [rdi + 0x30], 0
je 0x140051951
mov r8d, 0x360
lea rdx, str.C:UserszakosDesktopQazaq_Projectexamplesexample_win32_directx11Discord_RPCDiscord_SDKSourceFiles_rapidjson_reader.h
lea rcx, str._HasParseError__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx]
sub rax, qword [rbx + 0x10]
mov qword [rdi + 0x38], rax
mov dword [rdi + 0x30], 3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp cl, 0x74
je 0x140051992
mov r8d, 0x365
lea rdx, str.C:UserszakosDesktopQazaq_Projectexamplesexample_win32_directx11Discord_RPCDiscord_SDKSourceFiles_rapidjson_reader.h
lea rcx, str.is.Peek____t
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx]
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x72
jne 0x1400519e1
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x75
jne 0x1400519e1
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x65
jne 0x1400519e1
inc rax
lea rcx, [rsi + 0x20]
mov qword [rbx], rax
call fcn.140053210
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov word [rax + 0xe], 0xa
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp dword [rdi + 0x30], 0
je 0x140051951
mov r8d, 0x36d
lea rdx, str.C:UserszakosDesktopQazaq_Projectexamplesexample_win32_directx11Discord_RPCDiscord_SDKSourceFiles_rapidjson_reader.h
lea rcx, str._HasParseError__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx]
sub rax, qword [rbx + 0x10]
mov qword [rdi + 0x38], rax
mov dword [rdi + 0x30], 3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp cl, 0x66
je 0x140051a46
mov r8d, 0x372
lea rdx, str.C:UserszakosDesktopQazaq_Projectexamplesexample_win32_directx11Discord_RPCDiscord_SDKSourceFiles_rapidjson_reader.h
lea rcx, str.is.Peek____f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx]
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x61
jne 0x140051aa0
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x6c
jne 0x140051aa0
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x73
jne 0x140051aa0
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x65
jne 0x140051aa0
inc rax
lea rcx, [rsi + 0x20]
mov qword [rbx], rax
call fcn.140053210
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov word [rax + 0xe], 9
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp dword [rdi + 0x30], 0
je 0x140051951
mov r8d, 0x37a
lea rdx, str.C:UserszakosDesktopQazaq_Projectexamplesexample_win32_directx11Discord_RPCDiscord_SDKSourceFiles_rapidjson_reader.h
lea rcx, str._HasParseError__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx]
sub rax, qword [rbx + 0x10]
mov qword [rdi + 0x38], rax
mov dword [rdi + 0x30], 3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
xor r9d, r9d
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x140051bd0
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x140051d20
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x140052130
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x140052370
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
movzx esi, r9b
mov rbp, r8
mov rbx, rcx
movups xmm1, xmmword [rdx]
movups xmmword [rax - 0x28], xmm1
movsd xmm0, qword [rdx + 0x10]
movsd qword [rax - 0x18], xmm0
mov qword [rax - 0x10], rdx
movq rdi, xmm1
cmp byte [rdi], 0x22
je 0x140051c2c
mov r8d, 0x3c2
lea rdx, str.C:UserszakosDesktopQazaq_Projectexamplesexample_win32_directx11Discord_RPCDiscord_SDKSourceFiles_rapidjson_reader.h
lea rcx, str.s.Peek_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
inc rdi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rdi
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140052e60
cmp dword [rbx + 0x30], 0
jne 0x140051ce9
mov rbx, qword [rsp + 0x28]
sub rbx, rdi
dec rbx
mov eax, 0xffffffff
cmp rbx, rax
jbe 0x140051c84
mov r8d, 0x3cb
lea rdx, str.C:UserszakosDesktopQazaq_Projectexamplesexample_win32_directx11Discord_RPCDiscord_SDKSourceFiles_rapidjson_reader.h
lea rcx, str.length___0xFFFFFFFF
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
lea rcx, [rbp + 0x20]
call fcn.140053210
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
test sil, sil
lea rsi, [0x14016f1ac]
test rdi, rdi
cmovne rsi, rdi
jne 0x140051cc7
test ebx, ebx
je 0x140051cc7
mov r8d, 0x160
lea rdx, str.C:UserszakosDesktopQazaq_Projectexamplesexample_win32_directx11Discord_RPCDiscord_SDKSourceFiles_rapidjsondocument.h
lea rcx, str.str___0__len__0u
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov word [r14 + 0xe], 0x405
movabs rcx, 0xffff000000000000
mov rax, qword [r14 + 8]
and rax, rcx
or rax, rsi
mov dword [r14], ebx
mov qword [r14 + 8], rax
mov rax, qword [rsp + 0x38]
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rax], xmm0
movsd xmm1, qword [rsp + 0x30]
movsd qword [rax + 0x10], xmm1
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov rsi, r8
mov rbx, rdx
mov r15, rcx
mov rax, qword [rdx]
cmp byte [rax], 0x7b
je 0x140051d67
mov r8d, 0x2e4
lea rdx, str.C:UserszakosDesktopQazaq_Projectexamplesexample_win32_directx11Discord_RPCDiscord_SDKSourceFiles_rapidjson_reader.h
lea rcx, str.is.Peek____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
inc qword [rbx]
lea r14, [rsi + 0x20]
mov qword [rbp + 0x48], r14
mov rcx, r14
call fcn.140053210
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov word [rax + 0xe], 3
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x20], xmm0
movsd xmm1, qword [rbx + 0x10]
movabs r12, 0x100002600
mov rcx, qword [rbp - 0x20]
movsx rax, byte [rcx]
cmp al, 0x20
ja 0x140051db3
bt r12, rax
jae 0x140051db3
inc rcx
jmp 0x140051da0
mov qword [rbp - 0x20], rcx
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rbx], xmm0
movsd qword [rbx + 0x10], xmm1
cmp dword [r15 + 0x30], 0
jne 0x140052110
mov rax, qword [rbx]
cmp byte [rax], 0x7d
jne 0x140051e23
inc rax
mov qword [rbx], rax
xor edx, edx
mov rcx, rsi
call fcn.140052c90
test al, al
jne 0x140052110
cmp dword [r15 + 0x30], 0
je 0x140051e0f
mov r8d, 0x2ef
lea rdx, str.C:UserszakosDesktopQazaq_Projectexamplesexample_win32_directx11Discord_RPCDiscord_SDKSourceFiles_rapidjson_reader.h
lea rcx, str._HasParseError__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx]
sub rax, qword [rbx + 0x10]
mov dword [r15 + 0x30], reloc.WS2_32.dll_recv
jmp 0x14005210c
xor r13d, r13d
nop word [rax + rax]
mov rax, qword [rbx]
cmp byte [rax], 0x22
jne 0x140052100
movups xmm1, xmmword [rbx]
movups xmmword [rbp - 0x20], xmm1
movsd xmm0, qword [rbx + 0x10]
movsd qword [rbp - 0x10], xmm0
mov qword [rbp - 8], rbx
movq rdi, xmm1
cmp byte [rdi], 0x22
je 0x140051e75
mov r8d, 0x3c2
lea rdx, str.C:UserszakosDesktopQazaq_Projectexamplesexample_win32_directx11Discord_RPCDiscord_SDKSourceFiles_rapidjson_reader.h
lea rcx, str.s.Peek_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
inc rdi
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], rdi
lea r8, [rbp - 0x20]
lea rdx, [rbp - 0x20]
mov rcx, r15
call fcn.140052e60
cmp dword [r15 + 0x30], 0
je 0x140051e9c
jmp 0x140051f3d
mov rsi, qword [rbp - 0x18]
sub rsi, rdi
dec rsi
mov eax, 0xffffffff
cmp rsi, rax
jbe 0x140051eca
mov r8d, 0x3cb
lea rdx, str.C:UserszakosDesktopQazaq_Projectexamplesexample_win32_directx11Discord_RPCDiscord_SDKSourceFiles_rapidjson_reader.h
lea rcx, str.length___0xFFFFFFFF
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, r14
call fcn.140053210
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
lea r12, [0x14016f1ac]
test rdi, rdi
cmovne r12, rdi
jne 0x140051f09
test esi, esi
je 0x140051f09
mov r8d, 0x160
lea rdx, str.C:UserszakosDesktopQazaq_Projectexamplesexample_win32_directx11Discord_RPCDiscord_SDKSourceFiles_rapidjsondocument.h
lea rcx, str.str___0__len__0u
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov word [r14 + 0xe], 0x405
mov rax, qword [r14 + 8]
movabs rcx, 0xffff000000000000
and rax, rcx
or rax, r12
mov qword [r14 + 8], rax
mov dword [r14], esi
mov rsi, qword [rbp + 0x50]
mov r14, qword [rbp + 0x48]
movabs r12, 0x100002600
mov rax, qword [rbp - 8]
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rax], xmm0
movsd xmm1, qword [rbp - 0x10]
movsd qword [rax + 0x10], xmm1
cmp dword [r15 + 0x30], 0
jne 0x140052110
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x20], xmm0
movsd xmm1, qword [rbx + 0x10]
mov rcx, qword [rbp - 0x20]
nop dword [rax]
movsx rax, byte [rcx]
cmp al, 0x20
ja 0x140051f83
bt r12, rax
jae 0x140051f83
inc rcx
jmp 0x140051f70
mov qword [rbp - 0x20], rcx
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rbx], xmm0
movsd qword [rbx + 0x10], xmm1
cmp dword [r15 + 0x30], 0
jne 0x140052110
mov rax, qword [rbx]
cmp byte [rax], 0x3a
jne 0x1400520f2
inc rax
mov qword [rbx], rax
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x20], xmm0
mov rcx, qword [rbp - 0x20]
nop dword [rax + rax]
movsx rax, byte [rcx]
cmp al, 0x20
ja 0x140051fd3
bt r12, rax
jae 0x140051fd3
inc rcx
jmp 0x140051fc0
mov qword [rbp - 0x20], rcx
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rbx], xmm0
movsd qword [rbx + 0x10], xmm1
cmp dword [r15 + 0x30], 0
jne 0x140052110
mov r8, rsi
mov rdx, rbx
mov rcx, r15
call fcn.140051880
cmp dword [r15 + 0x30], 0
jne 0x140052110
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x20], xmm0
movsd xmm1, qword [rbx + 0x10]
mov rcx, qword [rbp - 0x20]
movsx rax, byte [rcx]
cmp al, 0x20
ja 0x14005202a
bt r12, rax
jae 0x14005202a
inc rcx
jmp 0x140052017
mov qword [rbp - 0x20], rcx
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rbx], xmm0
movsd qword [rbx + 0x10], xmm1
cmp dword [r15 + 0x30], 0
jne 0x140052110
inc r13d
mov rax, qword [rbx]
movzx ecx, byte [rax]
cmp cl, 0x2c
jne 0x140052094
inc rax
mov qword [rbx], rax
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x20], xmm0
mov rcx, qword [rbp - 0x20]
movsx rax, byte [rcx]
cmp al, 0x20
ja 0x140052077
bt r12, rax
jae 0x140052077
inc rcx
jmp 0x140052064
mov qword [rbp - 0x20], rcx
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rbx], xmm0
movsd qword [rbx + 0x10], xmm1
cmp dword [r15 + 0x30], 0
je 0x140051e30
jmp 0x140052110
cmp cl, 0x7d
je 0x1400520a7
sub rax, qword [rbx + 0x10]
mov dword [r15 + 0x30], 6
jmp 0x14005210c
inc rax
mov qword [rbx], rax
mov edx, r13d
mov rcx, rsi
call fcn.140052c90
test al, al
jne 0x140052110
cmp dword [r15 + 0x30], 0
je 0x140051e0f
mov r8d, 0x314
lea rdx, str.C:UserszakosDesktopQazaq_Projectexamplesexample_win32_directx11Discord_RPCDiscord_SDKSourceFiles_rapidjson_reader.h
lea rcx, str._HasParseError__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx]
sub rax, qword [rbx + 0x10]
mov dword [r15 + 0x30], reloc.WS2_32.dll_recv
jmp 0x14005210c
sub rax, qword [rbx + 0x10]
mov dword [r15 + 0x30], 5
jmp 0x14005210c
sub rax, qword [rbx + 0x10]
mov dword [r15 + 0x30], 4
mov qword [r15 + 0x38], rax
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x40
mov rax, qword [rdx]
mov rbp, r8
mov rbx, rdx
mov rdi, rcx
cmp byte [rax], 0x5b
je 0x140052170
mov r8d, 0x328
lea rdx, str.C:UserszakosDesktopQazaq_Projectexamplesexample_win32_directx11Discord_RPCDiscord_SDKSourceFiles_rapidjson_reader.h
lea rcx, str.is.Peek_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
inc qword [rbx]
lea rcx, [rbp + 0x20]
call fcn.140053210
xorps xmm0, xmm0
movabs r14, 0x100002600
movups xmmword [rax], xmm0
mov word [rax + 0xe], 4
movups xmm0, xmmword [rbx]
movsd xmm1, qword [rbx + 0x10]
movups xmmword [rsp + 0x20], xmm0
mov rcx, qword [rsp + 0x20]
movsx rax, byte [rcx]
cmp al, 0x20
ja 0x1400521b7
bt r14, rax
jae 0x1400521b7
inc rcx
jmp 0x1400521a4
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
movsd qword [rbx + 0x10], xmm1
cmp dword [rdi + 0x30], 0
jne 0x140052353
mov rax, qword [rbx]
cmp byte [rax], 0x5d
jne 0x14005222a
inc rax
xor edx, edx
mov rcx, rbp
mov qword [rbx], rax
call fcn.140052b80
test al, al
jne 0x140052353
cmp dword [rdi + 0x30], 0
je 0x140052213
mov r8d, 0x333
lea rdx, str.C:UserszakosDesktopQazaq_Projectexamplesexample_win32_directx11Discord_RPCDiscord_SDKSourceFiles_rapidjson_reader.h
lea rcx, str._HasParseError__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx]
sub rax, qword [rbx + 0x10]
mov qword [rdi + 0x38], rax
mov dword [rdi + 0x30], reloc.WS2_32.dll_recv
jmp 0x140052353
mov qword [rsp + 0x50], rsi
mov r8, rbp
mov rdx, rbx
mov rcx, rdi
xor esi, esi
call fcn.140051880
cmp dword [rdi + 0x30], esi
jne 0x14005234e
nop dword [rax + rax]
movups xmm0, xmmword [rbx]
inc esi
movsd xmm1, qword [rbx + 0x10]
movups xmmword [rsp + 0x20], xmm0
mov rcx, qword [rsp + 0x20]
movsx rax, byte [rcx]
cmp al, 0x20
ja 0x140052277
bt r14, rax
jae 0x140052277
inc rcx
jmp 0x140052264
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
movsd qword [rbx + 0x10], xmm1
cmp dword [rdi + 0x30], 0
jne 0x14005234e
mov rax, qword [rbx]
movzx ecx, byte [rax]
cmp cl, 0x2c
jne 0x1400522f6
inc rax
mov qword [rbx], rax
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x20], xmm0
mov rcx, qword [rsp + 0x20]
movsx rax, byte [rcx]
cmp al, 0x20
ja 0x1400522c4
bt r14, rax
jae 0x1400522c4
inc rcx
jmp 0x1400522b1
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
movsd qword [rbx + 0x10], xmm1
cmp dword [rdi + 0x30], 0
jne 0x14005234e
mov r8, rbp
mov rdx, rbx
mov rcx, rdi
call fcn.140051880
cmp dword [rdi + 0x30], 0
je 0x140052250
jmp 0x14005234e
cmp cl, 0x5d
jne 0x14005233f
inc rax
mov edx, esi
mov rcx, rbp
mov qword [rbx], rax
call fcn.140052b80
test al, al
jne 0x14005234e
cmp dword [rdi + 0x30], 0
je 0x14005232f
mov r8d, 0x345
lea rdx, str.C:UserszakosDesktopQazaq_Projectexamplesexample_win32_directx11Discord_RPCDiscord_SDKSourceFiles_rapidjson_reader.h
lea rcx, str._HasParseError__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx]
sub rax, qword [rbx + 0x10]
mov dword [rdi + 0x30], reloc.WS2_32.dll_recv
jmp 0x14005234a
sub rax, qword [rbx + 0x10]
mov dword [rdi + 0x30], 7
mov qword [rdi + 0x38], rax
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm7
mov r13, rcx
movups xmm0, xmmword [rdx]
movups xmmword [rbp - 0x40], xmm0
movsd xmm7, qword [rdx + 0x10]
movsd qword [rbp - 0x30], xmm7
mov qword [rbp - 0x28], rdx
movq rbx, xmm0
mov rax, rbx
mov rsi, qword [rbp - 0x30]
sub rax, rsi
mov qword [rbp - 0x48], rax
xorps xmm2, xmm2
xorps xmm6, xmm6
cmp byte [rbx], 0x2d
jne 0x1400523dd
inc rbx
mov qword [rbp - 0x40], rbx
mov r9b, 1
jmp 0x1400523e0
xor r9b, r9b
mov byte [rbp + 0x58], r9b
xor r15d, r15d
mov edi, r15d
xor r11b, r11b
mov byte [rbp - 0x50], r11b
mov r10d, r15d
movsx ecx, byte [rbx]
cmp cl, 0x30
jne 0x14005240c
mov esi, r15d
lea rdx, [rbx + 1]
mov qword [rbp - 0x40], rdx
jmp 0x1400524d5
lea eax, [rcx - 0x31]
cmp al, 8
ja 0x140052afd
lea rdx, [rbx + 1]
mov qword [rbp - 0x40], rdx
lea esi, [rcx - 0x30]
movzx eax, byte [rdx]
test r9b, r9b
je 0x140052480
cmp al, 0x30
jl 0x1400524d5
mov rcx, rdx
mov r8, rdx
cmp al, 0x39
ja 0x1400524d5
cmp esi, 0xccccccc
jb 0x140052455
jne 0x1400524cc
mov r8, rcx
cmp al, 0x38
ja 0x1400524cc
lea rdx, [r8 + 1]
mov qword [rbp - 0x40], rdx
lea esi, [rsi + rsi*4]
movsx eax, byte [r8]
lea esi, [rsi - 0x18]
lea esi, [rax + rsi*2]
inc r10d
movzx eax, byte [rdx]
cmp al, 0x30
jl 0x1400524d5
mov rcx, rdx
mov r8, rdx
cmp al, 0x39
jle 0x140052440
jmp 0x1400524d5
cmp al, 0x30
jl 0x1400524d5
mov rcx, rdx
mov r8, rdx
cmp al, 0x39
jg 0x1400524d5
nop
cmp esi, 0x19999999
jb 0x1400524a1
jne 0x1400524cc
mov r8, rcx
cmp al, 0x35
jg 0x1400524cc
lea rdx, [r8 + 1]
mov qword [rbp - 0x40], rdx
lea esi, [rsi + rsi*4]
movsx eax, byte [r8]
lea esi, [rsi - 0x18]
lea esi, [rax + rsi*2]
inc r10d
movzx eax, byte [rdx]
cmp al, 0x30
jl 0x1400524d5
mov rcx, rdx
mov r8, rdx
cmp al, 0x39
jle 0x140052490
jmp 0x1400524d5
mov r11b, 1
mov byte [rbp - 0x50], r11b
mov edi, esi
xor r12b, r12b
movsd xmm1, qword [0x140172130]
test r11b, r11b
je 0x140052610
movzx eax, byte [rdx]
test r9b, r9b
je 0x140052567
cmp al, 0x30
jl 0x140052610
mov r8, rdx
cmp al, 0x39
jg 0x140052610
mov rcx, rdx
movabs r9, 0xccccccccccccccc
cmp rdi, r9
jb 0x14005251f
jne 0x140052552
mov rcx, r8
cmp al, 0x38
ja 0x140052552
lea rdx, [rcx + 1]
mov qword [rbp - 0x40], rdx
movsx ecx, byte [rcx]
sub ecx, 0x30
lea rax, [rdi + rdi*4]
lea rdi, [rcx + rax*2]
inc r10d
movzx eax, byte [rdx]
cmp al, 0x30
jl 0x140052610
mov r8, rdx
mov rcx, rdx
cmp al, 0x39
jle 0x140052511
jmp 0x140052610
mov rcx, rdi
mov r12b, 1
xorps xmm6, xmm6
test rcx, rcx
js 0x1400525c5
cvtsi2sd xmm6, rcx
jmp 0x1400525da
cmp al, 0x30
jl 0x140052610
mov r9, rdx
cmp al, 0x39
jg 0x140052610
mov r8, rdx
movabs rbx, 0x1999999999999999
mov rcx, rdi
cmp rdi, rbx
jb 0x140052598
jne 0x140052555
mov r8, r9
cmp al, 0x35
ja 0x140052555
lea rdx, [r8 + 1]
mov qword [rbp - 0x40], rdx
movsx ecx, byte [r8]
sub ecx, 0x30
lea rax, [rdi + rdi*4]
lea rdi, [rcx + rax*2]
inc r10d
movzx eax, byte [rdx]
cmp al, 0x30
jl 0x140052610
mov r9, rdx
mov r8, rdx
cmp al, 0x39
jle 0x140052587
jmp 0x140052610
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2sd xmm6, rax
addsd xmm6, xmm6
movzx eax, byte [rdx]
cmp al, 0x30
jl 0x140052610
mov rcx, rdx
cmp al, 0x39
ja 0x140052610
lea rdx, [rcx + 1]
mov qword [rbp - 0x40], rdx
movsx eax, byte [rcx]
sub eax, 0x30
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm6, xmm1
addsd xmm6, xmm0
movzx eax, byte [rdx]
mov rcx, rdx
cmp al, 0x30
jge 0x1400525e4
mov r14d, r15d
movzx eax, byte [rdx]
cmp al, 0x2e
jne 0x140052621
inc rdx
mov qword [rbp - 0x40], rdx
mov rbx, rdx
cmp al, 0x2e
jne 0x14005273b
movzx ecx, byte [rdx]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x14005276e
mov r8, rdx
test r12b, r12b
jne 0x1400526cb
test r11b, r11b
jne 0x14005264d
mov edi, esi
mov rcx, rbx
movzx eax, byte [rdx]
movabs r9, 0x1fffffffffffff
nop dword [rax]
cmp al, 0x39
jg 0x14005269d
mov r8, rcx
cmp rdi, r9
ja 0x14005269d
lea rdx, [rbx + 1]
mov r8, rdx
mov qword [rbp - 0x40], rdx
movsx ecx, byte [rbx]
sub ecx, 0x30
lea rax, [rdi + rdi*4]
lea rdi, [rcx + rax*2]
dec r14d
test rdi, rdi
je 0x140052690
inc r10d
movzx eax, byte [rdx]
mov rbx, rdx
mov rcx, rdx
cmp al, 0x30
jge 0x140052660
xorps xmm6, xmm6
test rdi, rdi
js 0x1400526ac
cvtsi2sd xmm6, rdi
jmp 0x1400526c4
mov rcx, rdi
shr rcx, 1
mov rax, rdi
and eax, 1
or rcx, rax
cvtsi2sd xmm6, rcx
addsd xmm6, xmm6
mov r12b, 1
movzx ecx, byte [r8]
mov rbx, r8
cmp cl, 0x30
jl 0x14005273b
mov r9, r8
mov rcx, r8
movzx eax, byte [rdx]
nop dword [rax]
mov rbx, rcx
cmp al, 0x39
jg 0x14005273b
cmp r10d, 0x11
jge 0x140052720
lea rbx, [r8 + 1]
mov rcx, rbx
mov qword [rbp - 0x40], rbx
movsx eax, byte [r8]
sub eax, 0x30
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm6, xmm1
addsd xmm0, xmm6
movaps xmm6, xmm0
dec r14d
comisd xmm0, xmm2
jbe 0x14005272b
inc r10d
jmp 0x14005272b
lea rbx, [r9 + 1]
mov rcx, rbx
mov qword [rbp - 0x40], rbx
mov r8, rbx
movzx eax, byte [rcx]
mov r9, rbx
mov rcx, rbx
cmp al, 0x30
jge 0x1400526e0
cmp byte [rbx], 0x65
je 0x140052749
cmp byte [rbx], 0x45
jne 0x140052893
inc rbx
mov qword [rbp - 0x40], rbx
test r12b, r12b
jne 0x1400527b7
test r11b, r11b
mov rcx, rdi
jne 0x14005275f
mov ecx, esi
xorps xmm6, xmm6
test rcx, rcx
js 0x14005279f
cvtsi2sd xmm6, rcx
jmp 0x1400527b4
cmp dword [r13 + 0x30], r14d
je 0x14005278e
mov r8d, 0x628
lea rdx, str.C:UserszakosDesktopQazaq_Projectexamplesexample_win32_directx11Discord_RPCDiscord_SDKSourceFiles_rapidjson_reader.h
lea rcx, str._HasParseError__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
sub rbx, qword [rbp - 0x30]
mov dword [r13 + 0x30], reloc.WS2_32.dll_ntohl
jmp 0x140052b28
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2sd xmm6, rax
addsd xmm6, xmm6
mov r12b, 1
xor dl, dl
movzx ecx, byte [rbx]
cmp cl, 0x2b
je 0x1400527c8
cmp cl, 0x2d
jne 0x1400527d2
mov dl, 1
inc rbx
movzx ecx, byte [rbx]
mov qword [rbp - 0x40], rbx
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x140052989
inc rbx
mov qword [rbp - 0x40], rbx
movsx r15d, cl
sub r15d, 0x30
test dl, dl
je 0x140052907
test r14d, r14d
jle 0x140052818
mov r8d, 0x668
lea rdx, str.C:UserszakosDesktopQazaq_Projectexamplesexample_win32_directx11Discord_RPCDiscord_SDKSourceFiles_rapidjson_reader.h
lea rcx, str.expFrac___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movzx r11d, byte [rbp - 0x50]
lea ecx, [r14 + 0x7ffffff7]
mov eax, 0x66666667
imul ecx
mov r8d, edx
sar r8d, 2
mov eax, r8d
shr eax, 0x1f
add r8d, eax
cmp byte [rbx], 0x30
jl 0x140052890
movzx eax, byte [rbx]
nop
cmp al, 0x39
jg 0x140052890
lea rdx, [rbx + 1]
mov qword [rbp - 0x40], rdx
lea r15d, [r15 + r15*4]
movsx eax, byte [rbx]
lea r15d, [r15 - 0x18]
lea r15d, [rax + r15*2]
mov rbx, rdx
cmp r15d, r8d
jle 0x140052889
movzx eax, byte [rdx]
cmp al, 0x30
jl 0x140052889
mov rcx, rdx
nop dword [rax]
cmp al, 0x39
ja 0x140052885
lea rbx, [rcx + 1]
mov rdx, rbx
movzx eax, byte [rbx]
mov rcx, rbx
cmp al, 0x30
jge 0x140052870
mov qword [rbp - 0x40], rdx
movzx eax, byte [rdx]
cmp al, 0x30
jge 0x140052840
neg r15d
test r12b, r12b
je 0x1400529e9
lea eax, [r15 + r14]
cmp eax, 0xfffffecc
jge 0x1400528af
divsd xmm6, qword [0x1401722b8]
lea edx, [rax + 0x134]
cmovge edx, eax
movaps xmm0, xmm6
call fcn.140050a20
movaps xmm6, xmm0
comisd xmm0, xmmword [0x1401722c0]
jbe 0x1400529ba
cmp dword [r13 + 0x30], 0
je 0x1400528f2
mov r8d, 0x6ac
lea rdx, str.C:UserszakosDesktopQazaq_Projectexamplesexample_win32_directx11Discord_RPCDiscord_SDKSourceFiles_rapidjson_reader.h
lea rcx, str._HasParseError__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov dword [r13 + 0x30], reloc.WS2_32.dll_listen
mov rax, qword [rbp - 0x48]
mov qword [r13 + 0x38], rax
jmp 0x140052b2c
mov r8d, 0x134
sub r8d, r14d
cmp byte [rbx], 0x30
jl 0x140052893
movzx eax, byte [rbx]
nop dword [rax]
cmp al, 0x39
jg 0x140052893
lea rdx, [rbx + 1]
mov qword [rbp - 0x40], rdx
lea r15d, [r15 + r15*4]
movsx eax, byte [rbx]
lea r15d, [r15 - 0x18]
lea r15d, [rax + r15*2]
cmp r15d, r8d
jg 0x140052953
movzx eax, byte [rdx]
mov rbx, rdx
cmp al, 0x30
jge 0x140052920
jmp 0x140052893
cmp dword [r13 + 0x30], 0
je 0x1400528f2
mov r8d, 0x678
lea rdx, str.C:UserszakosDesktopQazaq_Projectexamplesexample_win32_directx11Discord_RPCDiscord_SDKSourceFiles_rapidjson_reader.h
lea rcx, str._HasParseError__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov dword [r13 + 0x30], reloc.WS2_32.dll_listen
mov rax, qword [rbp - 0x48]
mov qword [r13 + 0x38], rax
jmp 0x140052b2c
cmp dword [r13 + 0x30], r15d
je 0x1400529a9
mov r8d, 0x67d
lea rdx, str.C:UserszakosDesktopQazaq_Projectexamplesexample_win32_directx11Discord_RPCDiscord_SDKSourceFiles_rapidjson_reader.h
lea rcx, str._HasParseError__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
sub rbx, qword [rbp - 0x30]
mov dword [r13 + 0x30], reloc.WS2_32.dll_ntohs
jmp 0x140052b28
cmp byte [rbp + 0x58], 0
je 0x1400529c7
xorps xmm6, xmmword [0x140172580]
mov rcx, qword [rbp + 0x50]
add rcx, 0x20
call fcn.140053210
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movsd qword [rax], xmm6
mov word [rax + 0xe], 0x216
jmp 0x140052b2c
mov rcx, qword [rbp + 0x50]
add rcx, 0x20
test r11b, r11b
je 0x140052aa9
cmp byte [rbp + 0x58], 0
je 0x140052a53
neg rdi
call fcn.140053210
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax], rdi
mov word [rax + 0xe], __WSAFDIsSet
test rdi, rdi
js 0x140052a3b
mov ecx, 0x196
mov word [rax + 0xe], cx
movabs rdx, 0xffffffff00000000
test rdx, rdi
jne 0x140052a8f
mov ecx, 0x1d6
jmp 0x140052a8b
cmp rdi, 0xffffffff80000000
jl 0x140052b2c
mov word [rax + 0xe], 0xb6
jmp 0x140052b2c
call fcn.140053210
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax], rdi
mov ecx, 0x116
mov word [rax + 0xe], cx
test rdi, rdi
js 0x140052a78
mov ecx, 0x196
mov word [rax + 0xe], cx
movabs rdx, 0xffffffff00000000
test rdx, rdi
jne 0x140052a8f
or cx, 0x40
mov word [rax + 0xe], cx
test rdi, 0xffffffff80000000
jne 0x140052b2c
or cx, 0x20
mov word [rax + 0xe], cx
jmp 0x140052b2c
cmp byte [rbp + 0x58], 0
je 0x140052ad8
neg esi
call fcn.140053210
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movsxd rcx, esi
mov qword [rax], rcx
mov ecx, 0xb6
mov edx, 0x1f6
test esi, esi
cmovns cx, dx
mov word [rax + 0xe], cx
jmp 0x140052b2c
call fcn.140053210
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov ecx, esi
mov qword [rax], rcx
shr esi, 0x1a
not si
and si, 0x20
or si, 0x1d6
mov word [rax + 0xe], si
jmp 0x140052b2c
cmp dword [r13 + 0x30], edi
je 0x140052b1d
mov r8d, 0x5fd
lea rdx, str.C:UserszakosDesktopQazaq_Projectexamplesexample_win32_directx11Discord_RPCDiscord_SDKSourceFiles_rapidjson_reader.h
lea rcx, str._HasParseError__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov dword [r13 + 0x30], 3
sub rbx, rsi
mov qword [r13 + 0x38], rbx
movups xmm0, xmmword [rbp - 0x40]
mov rax, qword [rbp + 0x48]
movups xmmword [rax], xmm0
movsd qword [rax + 0x10], xmm7
mov rbx, qword [rsp + 0xb0]
movaps xmm6, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x50]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret