Function at 0x140040190
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.0x14003f6e6.35
lea rdx, [0x140000000]
cdqe
movzx eax, byte [rdx + rax + 0x3f990]
mov r9d, dword [rdx + rax*4 + 0x3f974]
add r9, rdx
jmp r9
cmp cl, 0x6e
je 0x14003f708
mov r8d, 0x358
lea rdx, str.C:UsersdeleaDesktopgray_menu_for_ilzyffxexamplesexample_win32_directx11DiscordSDK_src_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 0x14003f751
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x6c
jne 0x14003f751
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x6c
jne 0x14003f751
inc rax
lea rcx, [rsi + 0x20]
mov qword [rbx], rax
call fcn.140041040
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 0x14003f771
mov r8d, 0x360
lea rdx, str.C:UsersdeleaDesktopgray_menu_for_ilzyffxexamplesexample_win32_directx11DiscordSDK_src_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 0x14003f7b2
mov r8d, 0x365
lea rdx, str.C:UsersdeleaDesktopgray_menu_for_ilzyffxexamplesexample_win32_directx11DiscordSDK_src_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 0x14003f801
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x75
jne 0x14003f801
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x65
jne 0x14003f801
inc rax
lea rcx, [rsi + 0x20]
mov qword [rbx], rax
call fcn.140041040
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 0x14003f771
mov r8d, 0x36d
lea rdx, str.C:UsersdeleaDesktopgray_menu_for_ilzyffxexamplesexample_win32_directx11DiscordSDK_src_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 0x14003f866
mov r8d, 0x372
lea rdx, str.C:UsersdeleaDesktopgray_menu_for_ilzyffxexamplesexample_win32_directx11DiscordSDK_src_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 0x14003f8c0
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x6c
jne 0x14003f8c0
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x73
jne 0x14003f8c0
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x65
jne 0x14003f8c0
inc rax
lea rcx, [rsi + 0x20]
mov qword [rbx], rax
call fcn.140041040
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 0x14003f771
mov r8d, 0x37a
lea rdx, str.C:UsersdeleaDesktopgray_menu_for_ilzyffxexamplesexample_win32_directx11DiscordSDK_src_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 0x14003f9f0
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x14003fb40
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x14003ff50
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x140040190
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 0x14003fa4c
mov r8d, 0x3c2
lea rdx, str.C:UsersdeleaDesktopgray_menu_for_ilzyffxexamplesexample_win32_directx11DiscordSDK_src_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.140040c90
cmp dword [rbx + 0x30], 0
jne 0x14003fb09
mov rbx, qword [rsp + 0x28]
sub rbx, rdi
dec rbx
mov eax, 0xffffffff
cmp rbx, rax
jbe 0x14003faa4
mov r8d, 0x3cb
lea rdx, str.C:UsersdeleaDesktopgray_menu_for_ilzyffxexamplesexample_win32_directx11DiscordSDK_src_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.140041040
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
test sil, sil
lea rsi, [0x1400c7404]
test rdi, rdi
cmovne rsi, rdi
jne 0x14003fae7
test ebx, ebx
je 0x14003fae7
mov r8d, 0x160
lea rdx, str.C:UsersdeleaDesktopgray_menu_for_ilzyffxexamplesexample_win32_directx11DiscordSDK_src_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 0x14003fb87
mov r8d, 0x2e4
lea rdx, str.C:UsersdeleaDesktopgray_menu_for_ilzyffxexamplesexample_win32_directx11DiscordSDK_src_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.140041040
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 0x14003fbd3
bt r12, rax
jae 0x14003fbd3
inc rcx
jmp 0x14003fbc0
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 0x14003ff30
mov rax, qword [rbx]
cmp byte [rax], 0x7d
jne 0x14003fc43
inc rax
mov qword [rbx], rax
xor edx, edx
mov rcx, rsi
call fcn.140040ac0
test al, al
jne 0x14003ff30
cmp dword [r15 + 0x30], 0
je 0x14003fc2f
mov r8d, 0x2ef
lea rdx, str.C:UsersdeleaDesktopgray_menu_for_ilzyffxexamplesexample_win32_directx11DiscordSDK_src_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 0x14003ff2c
xor r13d, r13d
nop word [rax + rax]
mov rax, qword [rbx]
cmp byte [rax], 0x22
jne 0x14003ff20
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 0x14003fc95
mov r8d, 0x3c2
lea rdx, str.C:UsersdeleaDesktopgray_menu_for_ilzyffxexamplesexample_win32_directx11DiscordSDK_src_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.140040c90
cmp dword [r15 + 0x30], 0
je 0x14003fcbc
jmp 0x14003fd5d
mov rsi, qword [rbp - 0x18]
sub rsi, rdi
dec rsi
mov eax, 0xffffffff
cmp rsi, rax
jbe 0x14003fcea
mov r8d, 0x3cb
lea rdx, str.C:UsersdeleaDesktopgray_menu_for_ilzyffxexamplesexample_win32_directx11DiscordSDK_src_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.140041040
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
lea r12, [0x1400c7404]
test rdi, rdi
cmovne r12, rdi
jne 0x14003fd29
test esi, esi
je 0x14003fd29
mov r8d, 0x160
lea rdx, str.C:UsersdeleaDesktopgray_menu_for_ilzyffxexamplesexample_win32_directx11DiscordSDK_src_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 0x14003ff30
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 0x14003fda3
bt r12, rax
jae 0x14003fda3
inc rcx
jmp 0x14003fd90
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 0x14003ff30
mov rax, qword [rbx]
cmp byte [rax], 0x3a
jne 0x14003ff12
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 0x14003fdf3
bt r12, rax
jae 0x14003fdf3
inc rcx
jmp 0x14003fde0
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 0x14003ff30
mov r8, rsi
mov rdx, rbx
mov rcx, r15
call fcn.14003f6a0
cmp dword [r15 + 0x30], 0
jne 0x14003ff30
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 0x14003fe4a
bt r12, rax
jae 0x14003fe4a
inc rcx
jmp 0x14003fe37
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 0x14003ff30
inc r13d
mov rax, qword [rbx]
movzx ecx, byte [rax]
cmp cl, 0x2c
jne 0x14003feb4
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 0x14003fe97
bt r12, rax
jae 0x14003fe97
inc rcx
jmp 0x14003fe84
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 0x14003fc50
jmp 0x14003ff30
cmp cl, 0x7d
je 0x14003fec7
sub rax, qword [rbx + 0x10]
mov dword [r15 + 0x30], 6
jmp 0x14003ff2c
inc rax
mov qword [rbx], rax
mov edx, r13d
mov rcx, rsi
call fcn.140040ac0
test al, al
jne 0x14003ff30
cmp dword [r15 + 0x30], 0
je 0x14003fc2f
mov r8d, 0x314
lea rdx, str.C:UsersdeleaDesktopgray_menu_for_ilzyffxexamplesexample_win32_directx11DiscordSDK_src_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 0x14003ff2c
sub rax, qword [rbx + 0x10]
mov dword [r15 + 0x30], 5
jmp 0x14003ff2c
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 0x14003ff90
mov r8d, 0x328
lea rdx, str.C:UsersdeleaDesktopgray_menu_for_ilzyffxexamplesexample_win32_directx11DiscordSDK_src_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.140041040
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 0x14003ffd7
bt r14, rax
jae 0x14003ffd7
inc rcx
jmp 0x14003ffc4
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 0x140040173
mov rax, qword [rbx]
cmp byte [rax], 0x5d
jne 0x14004004a
inc rax
xor edx, edx
mov rcx, rbp
mov qword [rbx], rax
call fcn.1400409b0
test al, al
jne 0x140040173
cmp dword [rdi + 0x30], 0
je 0x140040033
mov r8d, 0x333
lea rdx, str.C:UsersdeleaDesktopgray_menu_for_ilzyffxexamplesexample_win32_directx11DiscordSDK_src_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 0x140040173
mov qword [rsp + 0x50], rsi
mov r8, rbp
mov rdx, rbx
mov rcx, rdi
xor esi, esi
call fcn.14003f6a0
cmp dword [rdi + 0x30], esi
jne 0x14004016e
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 0x140040097
bt r14, rax
jae 0x140040097
inc rcx
jmp 0x140040084
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 0x14004016e
mov rax, qword [rbx]
movzx ecx, byte [rax]
cmp cl, 0x2c
jne 0x140040116
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 0x1400400e4
bt r14, rax
jae 0x1400400e4
inc rcx
jmp 0x1400400d1
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 0x14004016e
mov r8, rbp
mov rdx, rbx
mov rcx, rdi
call fcn.14003f6a0
cmp dword [rdi + 0x30], 0
je 0x140040070
jmp 0x14004016e
cmp cl, 0x5d
jne 0x14004015f
inc rax
mov edx, esi
mov rcx, rbp
mov qword [rbx], rax
call fcn.1400409b0
test al, al
jne 0x14004016e
cmp dword [rdi + 0x30], 0
je 0x14004014f
mov r8d, 0x345
lea rdx, str.C:UsersdeleaDesktopgray_menu_for_ilzyffxexamplesexample_win32_directx11DiscordSDK_src_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 0x14004016a
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 0x1400401fd
inc rbx
mov qword [rbp - 0x40], rbx
mov r9b, 1
jmp 0x140040200
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 0x14004022c
mov esi, r15d
lea rdx, [rbx + 1]
mov qword [rbp - 0x40], rdx
jmp 0x1400402f5
lea eax, [rcx - 0x31]
cmp al, 8
ja 0x140040920
lea rdx, [rbx + 1]
mov qword [rbp - 0x40], rdx
lea esi, [rcx - 0x30]
movzx eax, byte [rdx]
test r9b, r9b
je 0x1400402a0
cmp al, 0x30
jl 0x1400402f5
mov rcx, rdx
mov r8, rdx
cmp al, 0x39
ja 0x1400402f5
cmp esi, 0xccccccc
jb 0x140040275
jne 0x1400402ec
mov r8, rcx
cmp al, 0x38
ja 0x1400402ec
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 0x1400402f5
mov rcx, rdx
mov r8, rdx
cmp al, 0x39
jle 0x140040260
jmp 0x1400402f5
cmp al, 0x30
jl 0x1400402f5
mov rcx, rdx
mov r8, rdx
cmp al, 0x39
jg 0x1400402f5
nop
cmp esi, 0x19999999
jb 0x1400402c1
jne 0x1400402ec
mov r8, rcx
cmp al, 0x35
jg 0x1400402ec
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 0x1400402f5
mov rcx, rdx
mov r8, rdx
cmp al, 0x39
jle 0x1400402b0
jmp 0x1400402f5
mov r11b, 1
mov byte [rbp - 0x50], r11b
mov edi, esi
xor r12b, r12b
movsd xmm1, qword [0x1400c8af8]
test r11b, r11b
je 0x140040430
movzx eax, byte [rdx]
test r9b, r9b
je 0x140040387
cmp al, 0x30
jl 0x140040430
mov r8, rdx
cmp al, 0x39
jg 0x140040430
mov rcx, rdx
movabs r9, 0xccccccccccccccc
cmp rdi, r9
jb 0x14004033f
jne 0x140040372
mov rcx, r8
cmp al, 0x38
ja 0x140040372
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 0x140040430
mov r8, rdx
mov rcx, rdx
cmp al, 0x39
jle 0x140040331
jmp 0x140040430
mov rcx, rdi
mov r12b, 1
xorps xmm6, xmm6
test rcx, rcx
js 0x1400403e5
cvtsi2sd xmm6, rcx
jmp 0x1400403fa
cmp al, 0x30
jl 0x140040430
mov r9, rdx
cmp al, 0x39
jg 0x140040430
mov r8, rdx
movabs rbx, 0x1999999999999999
mov rcx, rdi
cmp rdi, rbx
jb 0x1400403b8
jne 0x140040375
mov r8, r9
cmp al, 0x35
ja 0x140040375
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 0x140040430
mov r9, rdx
mov r8, rdx
cmp al, 0x39
jle 0x1400403a7
jmp 0x140040430
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 0x140040430
mov rcx, rdx
cmp al, 0x39
ja 0x140040430
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 0x140040404
mov r14d, r15d
movzx eax, byte [rdx]
cmp al, 0x2e
jne 0x140040441
inc rdx
mov qword [rbp - 0x40], rdx
mov rbx, rdx
cmp al, 0x2e
jne 0x14004055b
movzx ecx, byte [rdx]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x14004058e
mov r8, rdx
test r12b, r12b
jne 0x1400404eb
test r11b, r11b
jne 0x14004046d
mov edi, esi
mov rcx, rbx
movzx eax, byte [rdx]
movabs r9, 0x1fffffffffffff
nop dword [rax]
cmp al, 0x39
jg 0x1400404bd
mov r8, rcx
cmp rdi, r9
ja 0x1400404bd
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 0x1400404b0
inc r10d
movzx eax, byte [rdx]
mov rbx, rdx
mov rcx, rdx
cmp al, 0x30
jge 0x140040480
xorps xmm6, xmm6
test rdi, rdi
js 0x1400404cc
cvtsi2sd xmm6, rdi
jmp 0x1400404e4
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 0x14004055b
mov r9, r8
mov rcx, r8
movzx eax, byte [rdx]
nop dword [rax]
mov rbx, rcx
cmp al, 0x39
jg 0x14004055b
cmp r10d, 0x11
jge 0x140040540
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 0x14004054b
inc r10d
jmp 0x14004054b
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 0x140040500
cmp byte [rbx], 0x65
je 0x140040569
cmp byte [rbx], 0x45
jne 0x1400406b3
inc rbx
mov qword [rbp - 0x40], rbx
test r12b, r12b
jne 0x1400405d7
test r11b, r11b
mov rcx, rdi
jne 0x14004057f
mov ecx, esi
xorps xmm6, xmm6
test rcx, rcx
js 0x1400405bf
cvtsi2sd xmm6, rcx
jmp 0x1400405d4
cmp dword [r13 + 0x30], r14d
je 0x1400405ae
mov r8d, 0x628
lea rdx, str.C:UsersdeleaDesktopgray_menu_for_ilzyffxexamplesexample_win32_directx11DiscordSDK_src_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 0x14004094b
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 0x1400405e8
cmp cl, 0x2d
jne 0x1400405f2
mov dl, 1
inc rbx
movzx ecx, byte [rbx]
mov qword [rbp - 0x40], rbx
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x1400407a9
inc rbx
mov qword [rbp - 0x40], rbx
movsx r15d, cl
sub r15d, 0x30
test dl, dl
je 0x140040727
test r14d, r14d
jle 0x140040638
mov r8d, 0x668
lea rdx, str.C:UsersdeleaDesktopgray_menu_for_ilzyffxexamplesexample_win32_directx11DiscordSDK_src_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 0x1400406b0
movzx eax, byte [rbx]
nop
cmp al, 0x39
jg 0x1400406b0
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 0x1400406a9
movzx eax, byte [rdx]
cmp al, 0x30
jl 0x1400406a9
mov rcx, rdx
nop dword [rax]
cmp al, 0x39
ja 0x1400406a5
lea rbx, [rcx + 1]
mov rdx, rbx
movzx eax, byte [rbx]
mov rcx, rbx
cmp al, 0x30
jge 0x140040690
mov qword [rbp - 0x40], rdx
movzx eax, byte [rdx]
cmp al, 0x30
jge 0x140040660
neg r15d
test r12b, r12b
je 0x140040809
lea eax, [r15 + r14]
cmp eax, 0xfffffecc
jge 0x1400406cf
divsd xmm6, qword [0x1400c8bf8]
lea edx, [rax + 0x134]
cmovge edx, eax
movaps xmm0, xmm6
call fcn.14003e840
movaps xmm6, xmm0
comisd xmm0, xmmword [0x1400c8c00]
jbe 0x1400407da
cmp dword [r13 + 0x30], 0
je 0x140040712
mov r8d, 0x6ac
lea rdx, str.C:UsersdeleaDesktopgray_menu_for_ilzyffxexamplesexample_win32_directx11DiscordSDK_src_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 0x14004094f
mov r8d, 0x134
sub r8d, r14d
cmp byte [rbx], 0x30
jl 0x1400406b3
movzx eax, byte [rbx]
nop dword [rax]
cmp al, 0x39
jg 0x1400406b3
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 0x140040773
movzx eax, byte [rdx]
mov rbx, rdx
cmp al, 0x30
jge 0x140040740
jmp 0x1400406b3
cmp dword [r13 + 0x30], 0
je 0x140040712
mov r8d, 0x678
lea rdx, str.C:UsersdeleaDesktopgray_menu_for_ilzyffxexamplesexample_win32_directx11DiscordSDK_src_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 0x14004094f
cmp dword [r13 + 0x30], r15d
je 0x1400407c9
mov r8d, 0x67d
lea rdx, str.C:UsersdeleaDesktopgray_menu_for_ilzyffxexamplesexample_win32_directx11DiscordSDK_src_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 0x14004094b
cmp byte [rbp + 0x58], 0
je 0x1400407e7
xorps xmm6, xmmword [0x1400c91f0]
mov rcx, qword [rbp + 0x50]
add rcx, 0x20
call fcn.140041040
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movsd qword [rax], xmm6
mov word [rax + 0xe], 0x216
jmp 0x14004094f
mov rcx, qword [rbp + 0x50]
add rcx, 0x20
test r11b, r11b
je 0x1400408c9
cmp byte [rbp + 0x58], 0
je 0x140040873
neg rdi
call fcn.140041040
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax], rdi
mov word [rax + 0xe], __WSAFDIsSet
test rdi, rdi
js 0x14004085b
mov ecx, 0x196
mov word [rax + 0xe], cx
movabs rdx, 0xffffffff00000000
test rdx, rdi
jne 0x1400408af
mov ecx, 0x1d6
jmp 0x1400408ab
cmp rdi, 0xffffffff80000000
jl 0x14004094f
mov word [rax + 0xe], 0xb6
jmp 0x14004094f
call fcn.140041040
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax], rdi
mov ecx, 0x116
mov word [rax + 0xe], cx
test rdi, rdi
js 0x140040898
mov ecx, 0x196
mov word [rax + 0xe], cx
movabs rdx, 0xffffffff00000000
test rdx, rdi
jne 0x1400408af
or cx, 0x40
mov word [rax + 0xe], cx
test rdi, 0xffffffff80000000
jne 0x14004094f
or cx, 0x20
mov word [rax + 0xe], cx
jmp 0x14004094f
cmp byte [rbp + 0x58], 0
je 0x1400408f8
neg esi
call fcn.140041040
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 0x14004094f
call fcn.140041040
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 0x14004094f
cmp dword [r13 + 0x30], edi
je 0x140040940
mov r8d, 0x5fd
lea rdx, str.C:UsersdeleaDesktopgray_menu_for_ilzyffxexamplesexample_win32_directx11DiscordSDK_src_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