Function at 0x140048e40
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.0x140048e86.35
lea rdx, [0x140000000]
cdqe
movzx eax, byte [rdx + rax + 0x49130]
mov r9d, dword [rdx + rax*4 + 0x49114]
add r9, rdx
jmp r9
cmp cl, 0x6e
je 0x140048ea8
mov r8d, 0x358
lea rdx, str.D:CJX_PRIME_V1___Copyexamplesexample_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 0x140048ef1
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x6c
jne 0x140048ef1
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x6c
jne 0x140048ef1
inc rax
lea rcx, [rsi + 0x20]
mov qword [rbx], rax
call fcn.14004a7e0
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 0x140048f11
mov r8d, 0x360
lea rdx, str.D:CJX_PRIME_V1___Copyexamplesexample_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 0x140048f52
mov r8d, 0x365
lea rdx, str.D:CJX_PRIME_V1___Copyexamplesexample_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 0x140048fa1
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x75
jne 0x140048fa1
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x65
jne 0x140048fa1
inc rax
lea rcx, [rsi + 0x20]
mov qword [rbx], rax
call fcn.14004a7e0
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 0x140048f11
mov r8d, 0x36d
lea rdx, str.D:CJX_PRIME_V1___Copyexamplesexample_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 0x140049006
mov r8d, 0x372
lea rdx, str.D:CJX_PRIME_V1___Copyexamplesexample_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 0x140049060
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x6c
jne 0x140049060
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x73
jne 0x140049060
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x65
jne 0x140049060
inc rax
lea rcx, [rsi + 0x20]
mov qword [rbx], rax
call fcn.14004a7e0
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 0x140048f11
mov r8d, 0x37a
lea rdx, str.D:CJX_PRIME_V1___Copyexamplesexample_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 0x140049190
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x1400492e0
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x1400496f0
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x140049930
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 0x1400491ec
mov r8d, 0x3c2
lea rdx, str.D:CJX_PRIME_V1___Copyexamplesexample_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.14004a430
cmp dword [rbx + 0x30], 0
jne 0x1400492a9
mov rbx, qword [rsp + 0x28]
sub rbx, rdi
dec rbx
mov eax, 0xffffffff
cmp rbx, rax
jbe 0x140049244
mov r8d, 0x3cb
lea rdx, str.D:CJX_PRIME_V1___Copyexamplesexample_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.14004a7e0
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
test sil, sil
lea rsi, [0x14016000c]
test rdi, rdi
cmovne rsi, rdi
jne 0x140049287
test ebx, ebx
je 0x140049287
mov r8d, 0x160
lea rdx, str.D:CJX_PRIME_V1___Copyexamplesexample_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 0x140049327
mov r8d, 0x2e4
lea rdx, str.D:CJX_PRIME_V1___Copyexamplesexample_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.14004a7e0
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 0x140049373
bt r12, rax
jae 0x140049373
inc rcx
jmp 0x140049360
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 0x1400496d0
mov rax, qword [rbx]
cmp byte [rax], 0x7d
jne 0x1400493e3
inc rax
mov qword [rbx], rax
xor edx, edx
mov rcx, rsi
call fcn.14004a260
test al, al
jne 0x1400496d0
cmp dword [r15 + 0x30], 0
je 0x1400493cf
mov r8d, 0x2ef
lea rdx, str.D:CJX_PRIME_V1___Copyexamplesexample_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 0x1400496cc
xor r13d, r13d
nop word [rax + rax]
mov rax, qword [rbx]
cmp byte [rax], 0x22
jne 0x1400496c0
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 0x140049435
mov r8d, 0x3c2
lea rdx, str.D:CJX_PRIME_V1___Copyexamplesexample_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.14004a430
cmp dword [r15 + 0x30], 0
je 0x14004945c
jmp 0x1400494fd
mov rsi, qword [rbp - 0x18]
sub rsi, rdi
dec rsi
mov eax, 0xffffffff
cmp rsi, rax
jbe 0x14004948a
mov r8d, 0x3cb
lea rdx, str.D:CJX_PRIME_V1___Copyexamplesexample_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.14004a7e0
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
lea r12, [0x14016000c]
test rdi, rdi
cmovne r12, rdi
jne 0x1400494c9
test esi, esi
je 0x1400494c9
mov r8d, 0x160
lea rdx, str.D:CJX_PRIME_V1___Copyexamplesexample_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 0x1400496d0
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 0x140049543
bt r12, rax
jae 0x140049543
inc rcx
jmp 0x140049530
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 0x1400496d0
mov rax, qword [rbx]
cmp byte [rax], 0x3a
jne 0x1400496b2
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 0x140049593
bt r12, rax
jae 0x140049593
inc rcx
jmp 0x140049580
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 0x1400496d0
mov r8, rsi
mov rdx, rbx
mov rcx, r15
call fcn.140048e40
cmp dword [r15 + 0x30], 0
jne 0x1400496d0
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 0x1400495ea
bt r12, rax
jae 0x1400495ea
inc rcx
jmp 0x1400495d7
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 0x1400496d0
inc r13d
mov rax, qword [rbx]
movzx ecx, byte [rax]
cmp cl, 0x2c
jne 0x140049654
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 0x140049637
bt r12, rax
jae 0x140049637
inc rcx
jmp 0x140049624
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 0x1400493f0
jmp 0x1400496d0
cmp cl, 0x7d
je 0x140049667
sub rax, qword [rbx + 0x10]
mov dword [r15 + 0x30], 6
jmp 0x1400496cc
inc rax
mov qword [rbx], rax
mov edx, r13d
mov rcx, rsi
call fcn.14004a260
test al, al
jne 0x1400496d0
cmp dword [r15 + 0x30], 0
je 0x1400493cf
mov r8d, 0x314
lea rdx, str.D:CJX_PRIME_V1___Copyexamplesexample_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 0x1400496cc
sub rax, qword [rbx + 0x10]
mov dword [r15 + 0x30], 5
jmp 0x1400496cc
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 0x140049730
mov r8d, 0x328
lea rdx, str.D:CJX_PRIME_V1___Copyexamplesexample_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.14004a7e0
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 0x140049777
bt r14, rax
jae 0x140049777
inc rcx
jmp 0x140049764
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 0x140049913
mov rax, qword [rbx]
cmp byte [rax], 0x5d
jne 0x1400497ea
inc rax
xor edx, edx
mov rcx, rbp
mov qword [rbx], rax
call fcn.14004a150
test al, al
jne 0x140049913
cmp dword [rdi + 0x30], 0
je 0x1400497d3
mov r8d, 0x333
lea rdx, str.D:CJX_PRIME_V1___Copyexamplesexample_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 0x140049913
mov qword [rsp + 0x50], rsi
mov r8, rbp
mov rdx, rbx
mov rcx, rdi
xor esi, esi
call fcn.140048e40
cmp dword [rdi + 0x30], esi
jne 0x14004990e
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 0x140049837
bt r14, rax
jae 0x140049837
inc rcx
jmp 0x140049824
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 0x14004990e
mov rax, qword [rbx]
movzx ecx, byte [rax]
cmp cl, 0x2c
jne 0x1400498b6
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 0x140049884
bt r14, rax
jae 0x140049884
inc rcx
jmp 0x140049871
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 0x14004990e
mov r8, rbp
mov rdx, rbx
mov rcx, rdi
call fcn.140048e40
cmp dword [rdi + 0x30], 0
je 0x140049810
jmp 0x14004990e
cmp cl, 0x5d
jne 0x1400498ff
inc rax
mov edx, esi
mov rcx, rbp
mov qword [rbx], rax
call fcn.14004a150
test al, al
jne 0x14004990e
cmp dword [rdi + 0x30], 0
je 0x1400498ef
mov r8d, 0x345
lea rdx, str.D:CJX_PRIME_V1___Copyexamplesexample_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 0x14004990a
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 0x14004999d
inc rbx
mov qword [rbp - 0x40], rbx
mov r9b, 1
jmp 0x1400499a0
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 0x1400499cc
mov esi, r15d
lea rdx, [rbx + 1]
mov qword [rbp - 0x40], rdx
jmp 0x140049a95
lea eax, [rcx - 0x31]
cmp al, 8
ja 0x14004a0c0
lea rdx, [rbx + 1]
mov qword [rbp - 0x40], rdx
lea esi, [rcx - 0x30]
movzx eax, byte [rdx]
test r9b, r9b
je 0x140049a40
cmp al, 0x30
jl 0x140049a95
mov rcx, rdx
mov r8, rdx
cmp al, 0x39
ja 0x140049a95
cmp esi, 0xccccccc
jb 0x140049a15
jne 0x140049a8c
mov r8, rcx
cmp al, 0x38
ja 0x140049a8c
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 0x140049a95
mov rcx, rdx
mov r8, rdx
cmp al, 0x39
jle 0x140049a00
jmp 0x140049a95
cmp al, 0x30
jl 0x140049a95
mov rcx, rdx
mov r8, rdx
cmp al, 0x39
jg 0x140049a95
nop
cmp esi, 0x19999999
jb 0x140049a61
jne 0x140049a8c
mov r8, rcx
cmp al, 0x35
jg 0x140049a8c
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 0x140049a95
mov rcx, rdx
mov r8, rdx
cmp al, 0x39
jle 0x140049a50
jmp 0x140049a95
mov r11b, 1
mov byte [rbp - 0x50], r11b
mov edi, esi
xor r12b, r12b
movsd xmm1, qword [0x140161b78]
test r11b, r11b
je 0x140049bd0
movzx eax, byte [rdx]
test r9b, r9b
je 0x140049b27
cmp al, 0x30
jl 0x140049bd0
mov r8, rdx
cmp al, 0x39
jg 0x140049bd0
mov rcx, rdx
movabs r9, 0xccccccccccccccc
cmp rdi, r9
jb 0x140049adf
jne 0x140049b12
mov rcx, r8
cmp al, 0x38
ja 0x140049b12
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 0x140049bd0
mov r8, rdx
mov rcx, rdx
cmp al, 0x39
jle 0x140049ad1
jmp 0x140049bd0
mov rcx, rdi
mov r12b, 1
xorps xmm6, xmm6
test rcx, rcx
js 0x140049b85
cvtsi2sd xmm6, rcx
jmp 0x140049b9a
cmp al, 0x30
jl 0x140049bd0
mov r9, rdx
cmp al, 0x39
jg 0x140049bd0
mov r8, rdx
movabs rbx, 0x1999999999999999
mov rcx, rdi
cmp rdi, rbx
jb 0x140049b58
jne 0x140049b15
mov r8, r9
cmp al, 0x35
ja 0x140049b15
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 0x140049bd0
mov r9, rdx
mov r8, rdx
cmp al, 0x39
jle 0x140049b47
jmp 0x140049bd0
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 0x140049bd0
mov rcx, rdx
cmp al, 0x39
ja 0x140049bd0
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 0x140049ba4
mov r14d, r15d
movzx eax, byte [rdx]
cmp al, 0x2e
jne 0x140049be1
inc rdx
mov qword [rbp - 0x40], rdx
mov rbx, rdx
cmp al, 0x2e
jne 0x140049cfb
movzx ecx, byte [rdx]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x140049d2e
mov r8, rdx
test r12b, r12b
jne 0x140049c8b
test r11b, r11b
jne 0x140049c0d
mov edi, esi
mov rcx, rbx
movzx eax, byte [rdx]
movabs r9, 0x1fffffffffffff
nop dword [rax]
cmp al, 0x39
jg 0x140049c5d
mov r8, rcx
cmp rdi, r9
ja 0x140049c5d
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 0x140049c50
inc r10d
movzx eax, byte [rdx]
mov rbx, rdx
mov rcx, rdx
cmp al, 0x30
jge 0x140049c20
xorps xmm6, xmm6
test rdi, rdi
js 0x140049c6c
cvtsi2sd xmm6, rdi
jmp 0x140049c84
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 0x140049cfb
mov r9, r8
mov rcx, r8
movzx eax, byte [rdx]
nop dword [rax]
mov rbx, rcx
cmp al, 0x39
jg 0x140049cfb
cmp r10d, 0x11
jge 0x140049ce0
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 0x140049ceb
inc r10d
jmp 0x140049ceb
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 0x140049ca0
cmp byte [rbx], 0x65
je 0x140049d09
cmp byte [rbx], 0x45
jne 0x140049e53
inc rbx
mov qword [rbp - 0x40], rbx
test r12b, r12b
jne 0x140049d77
test r11b, r11b
mov rcx, rdi
jne 0x140049d1f
mov ecx, esi
xorps xmm6, xmm6
test rcx, rcx
js 0x140049d5f
cvtsi2sd xmm6, rcx
jmp 0x140049d74
cmp dword [r13 + 0x30], r14d
je 0x140049d4e
mov r8d, 0x628
lea rdx, str.D:CJX_PRIME_V1___Copyexamplesexample_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 0x14004a0eb
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 0x140049d88
cmp cl, 0x2d
jne 0x140049d92
mov dl, 1
inc rbx
movzx ecx, byte [rbx]
mov qword [rbp - 0x40], rbx
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x140049f49
inc rbx
mov qword [rbp - 0x40], rbx
movsx r15d, cl
sub r15d, 0x30
test dl, dl
je 0x140049ec7
test r14d, r14d
jle 0x140049dd8
mov r8d, 0x668
lea rdx, str.D:CJX_PRIME_V1___Copyexamplesexample_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 0x140049e50
movzx eax, byte [rbx]
nop
cmp al, 0x39
jg 0x140049e50
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 0x140049e49
movzx eax, byte [rdx]
cmp al, 0x30
jl 0x140049e49
mov rcx, rdx
nop dword [rax]
cmp al, 0x39
ja 0x140049e45
lea rbx, [rcx + 1]
mov rdx, rbx
movzx eax, byte [rbx]
mov rcx, rbx
cmp al, 0x30
jge 0x140049e30
mov qword [rbp - 0x40], rdx
movzx eax, byte [rdx]
cmp al, 0x30
jge 0x140049e00
neg r15d
test r12b, r12b
je 0x140049fa9
lea eax, [r15 + r14]
cmp eax, 0xfffffecc
jge 0x140049e6f
divsd xmm6, qword [0x140161d08]
lea edx, [rax + 0x134]
cmovge edx, eax
movaps xmm0, xmm6
call fcn.140047fe0
movaps xmm6, xmm0
comisd xmm0, xmmword [0x140161d10]
jbe 0x140049f7a
cmp dword [r13 + 0x30], 0
je 0x140049eb2
mov r8d, 0x6ac
lea rdx, str.D:CJX_PRIME_V1___Copyexamplesexample_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 0x14004a0ef
mov r8d, 0x134
sub r8d, r14d
cmp byte [rbx], 0x30
jl 0x140049e53
movzx eax, byte [rbx]
nop dword [rax]
cmp al, 0x39
jg 0x140049e53
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 0x140049f13
movzx eax, byte [rdx]
mov rbx, rdx
cmp al, 0x30
jge 0x140049ee0
jmp 0x140049e53
cmp dword [r13 + 0x30], 0
je 0x140049eb2
mov r8d, 0x678
lea rdx, str.D:CJX_PRIME_V1___Copyexamplesexample_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 0x14004a0ef
cmp dword [r13 + 0x30], r15d
je 0x140049f69
mov r8d, 0x67d
lea rdx, str.D:CJX_PRIME_V1___Copyexamplesexample_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 0x14004a0eb
cmp byte [rbp + 0x58], 0
je 0x140049f87
xorps xmm6, xmmword [0x140162160]
mov rcx, qword [rbp + 0x50]
add rcx, 0x20
call fcn.14004a7e0
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movsd qword [rax], xmm6
mov word [rax + 0xe], 0x216
jmp 0x14004a0ef
mov rcx, qword [rbp + 0x50]
add rcx, 0x20
test r11b, r11b
je 0x14004a069
cmp byte [rbp + 0x58], 0
je 0x14004a013
neg rdi
call fcn.14004a7e0
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax], rdi
mov word [rax + 0xe], __WSAFDIsSet
test rdi, rdi
js 0x140049ffb
mov ecx, 0x196
mov word [rax + 0xe], cx
movabs rdx, 0xffffffff00000000
test rdx, rdi
jne 0x14004a04f
mov ecx, 0x1d6
jmp 0x14004a04b
cmp rdi, 0xffffffff80000000
jl 0x14004a0ef
mov word [rax + 0xe], 0xb6
jmp 0x14004a0ef
call fcn.14004a7e0
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax], rdi
mov ecx, 0x116
mov word [rax + 0xe], cx
test rdi, rdi
js 0x14004a038
mov ecx, 0x196
mov word [rax + 0xe], cx
movabs rdx, 0xffffffff00000000
test rdx, rdi
jne 0x14004a04f
or cx, 0x40
mov word [rax + 0xe], cx
test rdi, 0xffffffff80000000
jne 0x14004a0ef
or cx, 0x20
mov word [rax + 0xe], cx
jmp 0x14004a0ef
cmp byte [rbp + 0x58], 0
je 0x14004a098
neg esi
call fcn.14004a7e0
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 0x14004a0ef
call fcn.14004a7e0
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 0x14004a0ef
cmp dword [r13 + 0x30], edi
je 0x14004a0e0
mov r8d, 0x5fd
lea rdx, str.D:CJX_PRIME_V1___Copyexamplesexample_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