Function at 0x140055d00
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.0x140055d46.35
lea rdx, [0x140000000]
cdqe
movzx eax, byte [rdx + rax + 0x55ff0]
mov r9d, dword [rdx + rax*4 + 0x55fd4]
add r9, rdx
jmp r9
cmp cl, 0x6e
je 0x140055d68
mov r8d, 0x358
lea rdx, str.C:UsersJeremDesktopMAGIC_Xexamplesexample_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 0x140055db1
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x6c
jne 0x140055db1
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x6c
jne 0x140055db1
inc rax
lea rcx, [rsi + 0x20]
mov qword [rbx], rax
call fcn.1400576a0
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 0x140055dd1
mov r8d, 0x360
lea rdx, str.C:UsersJeremDesktopMAGIC_Xexamplesexample_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 0x140055e12
mov r8d, 0x365
lea rdx, str.C:UsersJeremDesktopMAGIC_Xexamplesexample_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 0x140055e61
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x75
jne 0x140055e61
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x65
jne 0x140055e61
inc rax
lea rcx, [rsi + 0x20]
mov qword [rbx], rax
call fcn.1400576a0
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 0x140055dd1
mov r8d, 0x36d
lea rdx, str.C:UsersJeremDesktopMAGIC_Xexamplesexample_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 0x140055ec6
mov r8d, 0x372
lea rdx, str.C:UsersJeremDesktopMAGIC_Xexamplesexample_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 0x140055f20
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x6c
jne 0x140055f20
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x73
jne 0x140055f20
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x65
jne 0x140055f20
inc rax
lea rcx, [rsi + 0x20]
mov qword [rbx], rax
call fcn.1400576a0
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 0x140055dd1
mov r8d, 0x37a
lea rdx, str.C:UsersJeremDesktopMAGIC_Xexamplesexample_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 0x140056050
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x1400561a0
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x1400565b0
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x1400567f0
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 0x1400560ac
mov r8d, 0x3c2
lea rdx, str.C:UsersJeremDesktopMAGIC_Xexamplesexample_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.1400572f0
cmp dword [rbx + 0x30], 0
jne 0x140056169
mov rbx, qword [rsp + 0x28]
sub rbx, rdi
dec rbx
mov eax, 0xffffffff
cmp rbx, rax
jbe 0x140056104
mov r8d, 0x3cb
lea rdx, str.C:UsersJeremDesktopMAGIC_Xexamplesexample_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.1400576a0
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
test sil, sil
lea rsi, [0x1401704c4]
test rdi, rdi
cmovne rsi, rdi
jne 0x140056147
test ebx, ebx
je 0x140056147
mov r8d, 0x160
lea rdx, str.C:UsersJeremDesktopMAGIC_Xexamplesexample_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 0x1400561e7
mov r8d, 0x2e4
lea rdx, str.C:UsersJeremDesktopMAGIC_Xexamplesexample_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.1400576a0
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 0x140056233
bt r12, rax
jae 0x140056233
inc rcx
jmp 0x140056220
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 0x140056590
mov rax, qword [rbx]
cmp byte [rax], 0x7d
jne 0x1400562a3
inc rax
mov qword [rbx], rax
xor edx, edx
mov rcx, rsi
call fcn.140057120
test al, al
jne 0x140056590
cmp dword [r15 + 0x30], 0
je 0x14005628f
mov r8d, 0x2ef
lea rdx, str.C:UsersJeremDesktopMAGIC_Xexamplesexample_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 0x14005658c
xor r13d, r13d
nop word [rax + rax]
mov rax, qword [rbx]
cmp byte [rax], 0x22
jne 0x140056580
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 0x1400562f5
mov r8d, 0x3c2
lea rdx, str.C:UsersJeremDesktopMAGIC_Xexamplesexample_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.1400572f0
cmp dword [r15 + 0x30], 0
je 0x14005631c
jmp 0x1400563bd
mov rsi, qword [rbp - 0x18]
sub rsi, rdi
dec rsi
mov eax, 0xffffffff
cmp rsi, rax
jbe 0x14005634a
mov r8d, 0x3cb
lea rdx, str.C:UsersJeremDesktopMAGIC_Xexamplesexample_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.1400576a0
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
lea r12, [0x1401704c4]
test rdi, rdi
cmovne r12, rdi
jne 0x140056389
test esi, esi
je 0x140056389
mov r8d, 0x160
lea rdx, str.C:UsersJeremDesktopMAGIC_Xexamplesexample_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 0x140056590
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 0x140056403
bt r12, rax
jae 0x140056403
inc rcx
jmp 0x1400563f0
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 0x140056590
mov rax, qword [rbx]
cmp byte [rax], 0x3a
jne 0x140056572
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 0x140056453
bt r12, rax
jae 0x140056453
inc rcx
jmp 0x140056440
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 0x140056590
mov r8, rsi
mov rdx, rbx
mov rcx, r15
call fcn.140055d00
cmp dword [r15 + 0x30], 0
jne 0x140056590
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 0x1400564aa
bt r12, rax
jae 0x1400564aa
inc rcx
jmp 0x140056497
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 0x140056590
inc r13d
mov rax, qword [rbx]
movzx ecx, byte [rax]
cmp cl, 0x2c
jne 0x140056514
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 0x1400564f7
bt r12, rax
jae 0x1400564f7
inc rcx
jmp 0x1400564e4
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 0x1400562b0
jmp 0x140056590
cmp cl, 0x7d
je 0x140056527
sub rax, qword [rbx + 0x10]
mov dword [r15 + 0x30], 6
jmp 0x14005658c
inc rax
mov qword [rbx], rax
mov edx, r13d
mov rcx, rsi
call fcn.140057120
test al, al
jne 0x140056590
cmp dword [r15 + 0x30], 0
je 0x14005628f
mov r8d, 0x314
lea rdx, str.C:UsersJeremDesktopMAGIC_Xexamplesexample_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 0x14005658c
sub rax, qword [rbx + 0x10]
mov dword [r15 + 0x30], 5
jmp 0x14005658c
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 0x1400565f0
mov r8d, 0x328
lea rdx, str.C:UsersJeremDesktopMAGIC_Xexamplesexample_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.1400576a0
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 0x140056637
bt r14, rax
jae 0x140056637
inc rcx
jmp 0x140056624
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 0x1400567d3
mov rax, qword [rbx]
cmp byte [rax], 0x5d
jne 0x1400566aa
inc rax
xor edx, edx
mov rcx, rbp
mov qword [rbx], rax
call fcn.140057010
test al, al
jne 0x1400567d3
cmp dword [rdi + 0x30], 0
je 0x140056693
mov r8d, 0x333
lea rdx, str.C:UsersJeremDesktopMAGIC_Xexamplesexample_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 0x1400567d3
mov qword [rsp + 0x50], rsi
mov r8, rbp
mov rdx, rbx
mov rcx, rdi
xor esi, esi
call fcn.140055d00
cmp dword [rdi + 0x30], esi
jne 0x1400567ce
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 0x1400566f7
bt r14, rax
jae 0x1400566f7
inc rcx
jmp 0x1400566e4
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 0x1400567ce
mov rax, qword [rbx]
movzx ecx, byte [rax]
cmp cl, 0x2c
jne 0x140056776
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 0x140056744
bt r14, rax
jae 0x140056744
inc rcx
jmp 0x140056731
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 0x1400567ce
mov r8, rbp
mov rdx, rbx
mov rcx, rdi
call fcn.140055d00
cmp dword [rdi + 0x30], 0
je 0x1400566d0
jmp 0x1400567ce
cmp cl, 0x5d
jne 0x1400567bf
inc rax
mov edx, esi
mov rcx, rbp
mov qword [rbx], rax
call fcn.140057010
test al, al
jne 0x1400567ce
cmp dword [rdi + 0x30], 0
je 0x1400567af
mov r8d, 0x345
lea rdx, str.C:UsersJeremDesktopMAGIC_Xexamplesexample_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 0x1400567ca
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 0x14005685d
inc rbx
mov qword [rbp - 0x40], rbx
mov r9b, 1
jmp 0x140056860
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 0x14005688c
mov esi, r15d
lea rdx, [rbx + 1]
mov qword [rbp - 0x40], rdx
jmp 0x140056955
lea eax, [rcx - 0x31]
cmp al, 8
ja 0x140056f80
lea rdx, [rbx + 1]
mov qword [rbp - 0x40], rdx
lea esi, [rcx - 0x30]
movzx eax, byte [rdx]
test r9b, r9b
je 0x140056900
cmp al, 0x30
jl 0x140056955
mov rcx, rdx
mov r8, rdx
cmp al, 0x39
ja 0x140056955
cmp esi, 0xccccccc
jb 0x1400568d5
jne 0x14005694c
mov r8, rcx
cmp al, 0x38
ja 0x14005694c
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 0x140056955
mov rcx, rdx
mov r8, rdx
cmp al, 0x39
jle 0x1400568c0
jmp 0x140056955
cmp al, 0x30
jl 0x140056955
mov rcx, rdx
mov r8, rdx
cmp al, 0x39
jg 0x140056955
nop
cmp esi, 0x19999999
jb 0x140056921
jne 0x14005694c
mov r8, rcx
cmp al, 0x35
jg 0x14005694c
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 0x140056955
mov rcx, rdx
mov r8, rdx
cmp al, 0x39
jle 0x140056910
jmp 0x140056955
mov r11b, 1
mov byte [rbp - 0x50], r11b
mov edi, esi
xor r12b, r12b
movsd xmm1, qword [0x1401732a0]
test r11b, r11b
je 0x140056a90
movzx eax, byte [rdx]
test r9b, r9b
je 0x1400569e7
cmp al, 0x30
jl 0x140056a90
mov r8, rdx
cmp al, 0x39
jg 0x140056a90
mov rcx, rdx
movabs r9, 0xccccccccccccccc
cmp rdi, r9
jb 0x14005699f
jne 0x1400569d2
mov rcx, r8
cmp al, 0x38
ja 0x1400569d2
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 0x140056a90
mov r8, rdx
mov rcx, rdx
cmp al, 0x39
jle 0x140056991
jmp 0x140056a90
mov rcx, rdi
mov r12b, 1
xorps xmm6, xmm6
test rcx, rcx
js 0x140056a45
cvtsi2sd xmm6, rcx
jmp 0x140056a5a
cmp al, 0x30
jl 0x140056a90
mov r9, rdx
cmp al, 0x39
jg 0x140056a90
mov r8, rdx
movabs rbx, 0x1999999999999999
mov rcx, rdi
cmp rdi, rbx
jb 0x140056a18
jne 0x1400569d5
mov r8, r9
cmp al, 0x35
ja 0x1400569d5
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 0x140056a90
mov r9, rdx
mov r8, rdx
cmp al, 0x39
jle 0x140056a07
jmp 0x140056a90
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 0x140056a90
mov rcx, rdx
cmp al, 0x39
ja 0x140056a90
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 0x140056a64
mov r14d, r15d
movzx eax, byte [rdx]
cmp al, 0x2e
jne 0x140056aa1
inc rdx
mov qword [rbp - 0x40], rdx
mov rbx, rdx
cmp al, 0x2e
jne 0x140056bbb
movzx ecx, byte [rdx]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x140056bee
mov r8, rdx
test r12b, r12b
jne 0x140056b4b
test r11b, r11b
jne 0x140056acd
mov edi, esi
mov rcx, rbx
movzx eax, byte [rdx]
movabs r9, 0x1fffffffffffff
nop dword [rax]
cmp al, 0x39
jg 0x140056b1d
mov r8, rcx
cmp rdi, r9
ja 0x140056b1d
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 0x140056b10
inc r10d
movzx eax, byte [rdx]
mov rbx, rdx
mov rcx, rdx
cmp al, 0x30
jge 0x140056ae0
xorps xmm6, xmm6
test rdi, rdi
js 0x140056b2c
cvtsi2sd xmm6, rdi
jmp 0x140056b44
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 0x140056bbb
mov r9, r8
mov rcx, r8
movzx eax, byte [rdx]
nop dword [rax]
mov rbx, rcx
cmp al, 0x39
jg 0x140056bbb
cmp r10d, 0x11
jge 0x140056ba0
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 0x140056bab
inc r10d
jmp 0x140056bab
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 0x140056b60
cmp byte [rbx], 0x65
je 0x140056bc9
cmp byte [rbx], 0x45
jne 0x140056d13
inc rbx
mov qword [rbp - 0x40], rbx
test r12b, r12b
jne 0x140056c37
test r11b, r11b
mov rcx, rdi
jne 0x140056bdf
mov ecx, esi
xorps xmm6, xmm6
test rcx, rcx
js 0x140056c1f
cvtsi2sd xmm6, rcx
jmp 0x140056c34
cmp dword [r13 + 0x30], r14d
je 0x140056c0e
mov r8d, 0x628
lea rdx, str.C:UsersJeremDesktopMAGIC_Xexamplesexample_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 0x140056fab
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 0x140056c48
cmp cl, 0x2d
jne 0x140056c52
mov dl, 1
inc rbx
movzx ecx, byte [rbx]
mov qword [rbp - 0x40], rbx
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x140056e09
inc rbx
mov qword [rbp - 0x40], rbx
movsx r15d, cl
sub r15d, 0x30
test dl, dl
je 0x140056d87
test r14d, r14d
jle 0x140056c98
mov r8d, 0x668
lea rdx, str.C:UsersJeremDesktopMAGIC_Xexamplesexample_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 0x140056d10
movzx eax, byte [rbx]
nop
cmp al, 0x39
jg 0x140056d10
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 0x140056d09
movzx eax, byte [rdx]
cmp al, 0x30
jl 0x140056d09
mov rcx, rdx
nop dword [rax]
cmp al, 0x39
ja 0x140056d05
lea rbx, [rcx + 1]
mov rdx, rbx
movzx eax, byte [rbx]
mov rcx, rbx
cmp al, 0x30
jge 0x140056cf0
mov qword [rbp - 0x40], rdx
movzx eax, byte [rdx]
cmp al, 0x30
jge 0x140056cc0
neg r15d
test r12b, r12b
je 0x140056e69
lea eax, [r15 + r14]
cmp eax, 0xfffffecc
jge 0x140056d2f
divsd xmm6, qword [0x140173440]
lea edx, [rax + 0x134]
cmovge edx, eax
movaps xmm0, xmm6
call fcn.140054ea0
movaps xmm6, xmm0
comisd xmm0, xmmword [0x140173448]
jbe 0x140056e3a
cmp dword [r13 + 0x30], 0
je 0x140056d72
mov r8d, 0x6ac
lea rdx, str.C:UsersJeremDesktopMAGIC_Xexamplesexample_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 0x140056faf
mov r8d, 0x134
sub r8d, r14d
cmp byte [rbx], 0x30
jl 0x140056d13
movzx eax, byte [rbx]
nop dword [rax]
cmp al, 0x39
jg 0x140056d13
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 0x140056dd3
movzx eax, byte [rdx]
mov rbx, rdx
cmp al, 0x30
jge 0x140056da0
jmp 0x140056d13
cmp dword [r13 + 0x30], 0
je 0x140056d72
mov r8d, 0x678
lea rdx, str.C:UsersJeremDesktopMAGIC_Xexamplesexample_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 0x140056faf
cmp dword [r13 + 0x30], r15d
je 0x140056e29
mov r8d, 0x67d
lea rdx, str.C:UsersJeremDesktopMAGIC_Xexamplesexample_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 0x140056fab
cmp byte [rbp + 0x58], 0
je 0x140056e47
xorps xmm6, xmmword [0x1401737c0]
mov rcx, qword [rbp + 0x50]
add rcx, 0x20
call fcn.1400576a0
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movsd qword [rax], xmm6
mov word [rax + 0xe], 0x216
jmp 0x140056faf
mov rcx, qword [rbp + 0x50]
add rcx, 0x20
test r11b, r11b
je 0x140056f29
cmp byte [rbp + 0x58], 0
je 0x140056ed3
neg rdi
call fcn.1400576a0
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax], rdi
mov word [rax + 0xe], __WSAFDIsSet
test rdi, rdi
js 0x140056ebb
mov ecx, 0x196
mov word [rax + 0xe], cx
movabs rdx, 0xffffffff00000000
test rdx, rdi
jne 0x140056f0f
mov ecx, 0x1d6
jmp 0x140056f0b
cmp rdi, 0xffffffff80000000
jl 0x140056faf
mov word [rax + 0xe], 0xb6
jmp 0x140056faf
call fcn.1400576a0
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax], rdi
mov ecx, 0x116
mov word [rax + 0xe], cx
test rdi, rdi
js 0x140056ef8
mov ecx, 0x196
mov word [rax + 0xe], cx
movabs rdx, 0xffffffff00000000
test rdx, rdi
jne 0x140056f0f
or cx, 0x40
mov word [rax + 0xe], cx
test rdi, 0xffffffff80000000
jne 0x140056faf
or cx, 0x20
mov word [rax + 0xe], cx
jmp 0x140056faf
cmp byte [rbp + 0x58], 0
je 0x140056f58
neg esi
call fcn.1400576a0
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 0x140056faf
call fcn.1400576a0
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov ecx, esi
mov qword [rax], rcx
shr esi, 0x1a
not si
and si, 0x20
mov ecx, 0x1d6
or si, cx
mov word [rax + 0xe], si
jmp 0x140056faf
cmp dword [r13 + 0x30], edi
je 0x140056fa0
mov r8d, 0x5fd
lea rdx, str.C:UsersJeremDesktopMAGIC_Xexamplesexample_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