joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400178a0
Capabilities:
Encode data using xor
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x140060040]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov qword [rsp + 0x30], rdx
lea r9, [rsp + 0x40]
mov rcx, qword [rcx]
mov rbx, rdx
mov rax, r8
mov dword [rsp + 0x3c], pe_nt_image_headers64
lea rdx, [rsp + 0x3c]
xor edi, edi
mov qword [rsp + 0x28], rdx
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x40], edi
mov rcx, qword [rcx]
mov qword [rsp + 0x20], rdx
mov rdx, rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140017932
mov eax, dword [rsp + 0x40]
dec eax
cmp eax, 1
ja 0x140017932
mov r8d, dword [rsp + 0x3c]
lea rdx, [rsp + 0x50]
xorps xmm0, xmm0
dec r8d
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
jmp 0x140017a9e
cmp byte [0x140051d8f], dil
mov rax, qword [str.e_Y__BX7_I]
mov qword [rsp + 0x30], rax
je 0x140017a76
cmp dword [0x140060090], 2
mov ecx, edi
jl 0x140017a42
movdqa xmm2, xmmword [0x140053670]
movdqa xmm4, xmmword [0x140053790]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.::::]
psubd xmm2, xmm0
movd xmm0, dword [rsp + 0x30]
andps xmm2, xmmword [0x140053760]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.0000000000000000]
xorps xmm2, xmm0
movd dword [rsp + 0x30], xmm2
movdqa xmm2, xmmword [0x140053690]
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.::::]
psubd xmm2, xmm0
movd xmm0, dword [rsp + 0x34]
andps xmm2, xmmword [0x140053760]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.0000000000000000]
xorps xmm2, xmm0
movd dword [rsp + 0x34], xmm2
jmp 0x140017a76
lea r8, [rsp + 0x30]
nop word [rax + rax]
mov eax, 0x8d3dcb09
lea r8, [r8 + 1]
mul ecx
shr edx, 5
movsx eax, dl
imul edx, eax, 0x3a
movzx eax, cl
inc ecx
sub al, dl
add al, 0x30
xor byte [r8 - 1], al
cmp ecx, 8
jl 0x140017a50
xorps xmm0, xmm0
lea rax, [rsp + 0x30]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov r8, 0xffffffffffffffff
mov qword [rbx + 0x18], rdi
inc r8
cmp byte [rax + r8], dil
jne 0x140017a90
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140026770
mov rax, rbx
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400480a0
mov rbx, qword [rsp + 0x188]
add rsp, 0x160
pop rdi
ret
Function at 0x140017ad0
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1180]
mov eax, 0x1280
call fcn.140049200
sub rsp, rax
mov rax, qword [0x140060040]
xor rax, rsp
mov qword [rbp + 0x1170], rax
mov rdi, rcx
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x20], 1
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
xor r12d, r12d
mov qword [rcx], r12
mov qword [rcx + 8], r12
mov qword [rcx + 0x10], r12
mov dword [rsp + 0x20], 1
lea r8, [rsp + 0x58]
mov edx, 0x1000
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x140017cd9
mov r15d, dword [rsp + 0x58]
shr r15d, 2
mov esi, r12d
test r15d, r15d
je 0x140017cd9
nop word [rax + rax]
mov eax, esi
lea r14, [rsp + 0x60]
lea r14, [r14 + rax*4]
mov ebx, dword [r14]
test ebx, ebx
je 0x140017cce
movups xmm0, xmmword [0x1400501b8]
movaps xmmword [rbp + 0xf60], xmm0
mov eax, dword [0x1400501c8]
mov dword [rbp + 0xf70], eax
xor edx, edx
mov r8d, 0x1f4
lea rcx, [rbp + 0xf74]
call sub.VCRUNTIME140.dll_memset
mov r8d, ebx
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140017c0d
lea r9, [rsp + 0x5c]
mov r8d, 8
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x140017c04
mov r9d, 0x104
lea r8, [rbp + 0xf60]
mov rdx, qword [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameW]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r12
lea rax, [rbp + 0xf60]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140017c30
lea rdx, [rbp + 0xf60]
lea rcx, [rsp + 0x28]
call fcn.140026380
nop
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x140017c80
mov eax, dword [r14]
mov dword [rdx], eax
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rdx + 8], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rdx + 0x18], xmm1
mov edx, 7
mov word [rsp + 0x28], r12w
add qword [rdi + 8], 0x28
jmp 0x140017c95
lea r9, [rsp + 0x28]
mov r8, r14
mov rcx, rdi
call fcn.14002bf70
mov rdx, qword [rsp + 0x40]
cmp rdx, 7
jbe 0x140017cce
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017cc9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017d07
call fcn.140048104
inc esi
cmp esi, r15d
jb 0x140017b70
mov rax, rdi
mov rcx, qword [rbp + 0x1170]
xor rcx, rsp
call fcn.1400480a0
lea r11, [rsp + 0x1280]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
int3
Function at 0x14001f9b0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140060040]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor ebx, ebx
call fcn.14001f630
test al, al
je 0x14001f9e0
lea rdx, str.PE_executed_successfully.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
jmp 0x14001f9ee
lea rdx, str.Failed_to_execute_PE.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400251a0
lea rdx, [0x140025890]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140019d30
call fcn.14001b1d0
mov ecx, 8
call fcn.1400480c0
lea rcx, [0x14001f920]
mov qword [rax], rcx
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x140032270]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14001fae3
cmp dword [rsp + 0x38], 0
je 0x14001fad7
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14001fad7
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
lea r8, [0x14001f4c0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
cmp dword [rsp + 0x38], 0
je 0x14001fac2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400480a0
add rsp, 0x60
pop rbx
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x38], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x140020220
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x140020248
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x14002026e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140020270
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1400202c9
test ecx, ecx
jle 0x1400202a9
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x1400202c9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1400202c9
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x1400202f0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140020312
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140020328
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140020344
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140020346
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140020382
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14002041e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x1400203bd
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x1400203fe
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14002041e
cmp rbx, rax
ja 0x1400203d0
test rbx, rbx
je 0x14002041e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x140020880
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140060040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400208ad
xor eax, eax
jmp 0x140020a19
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400208e7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x1400208e7
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140020a19
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140020a0c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14002092a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140020955
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140020a11
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1400209c4
sub eax, 1
je 0x1400209c4
cmp eax, 2
jne 0x140020a0c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140020a11
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1400209f2
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x140020a0c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140020a11
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400480a0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret

Function at 0x140021cb0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x140021ce4
movabs r10, 0x100000001b3
nop
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140021cd0
ret
Function at 0x1400235f0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140060040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400236c3
cmp byte [rcx + 0x71], 0
je 0x1400236c3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1400236bf
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140023684
sub eax, 1
je 0x140023688
cmp eax, 2
jne 0x1400236bf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400480a0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400236b6
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x1400236bf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14002366c
xor al, al
jmp 0x14002366c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400480a0
add rsp, 0x60
pop rbx
ret
Function at 0x1400358e0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x140035941
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x140035900
mov ecx, dword [r9]
jmp 0x140035a2b
cmp ecx, 0x4e0
jb 0x140035a2b
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140035960
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x1400359b0
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x14003a520
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 esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x14003a5e5
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14003a5e5
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x14003a5fe
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx + 0x10]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx]
cmp rcx, rax
je 0x14003a5d5
cmp byte [rcx], 0x5c
jne 0x14003a5ce
lea rdx, [rcx + 1]
cmp rdx, rax
je 0x14003a5ce
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x14003a5bc
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x14003a5cb
test r8b, 0x10
jne 0x14003a5ce
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
jne 0x14003a5ce
mov rcx, rdx
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.1400315c0
test edi, edi
jne 0x14003a540
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.1400315b0
int3
Function at 0x14003d630
Capabilities:
Reference http user-agent string

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x80
mov rbp, rcx
mov r8d, 0x4d
lea rdx, str.Mozilla_5.0__Windows_NT_6.1__Win64__x64__rv:89.0__Gecko_20100101_Firefox_89.0
call fcn.140024850
lea rcx, [rbp + 0x20]
xor r8d, r8d
lea rdx, [0x14004ffc2]
call fcn.140024850
lea rcx, [rbp + 0x40]
xor r8d, r8d
lea rdx, [0x14004ffc2]
call fcn.140024850
lea rcx, [rbp + 0x60]
xor r8d, r8d
lea rdx, [0x14004ffc2]
call fcn.140024850
lea rcx, [rbp + 0x80]
mov r8d, 3
lea rdx, [0x140052ed0]
call fcn.140024850
lea rcx, [rbp + 0xa0]
xor r8d, r8d
lea rdx, [0x14004ffc2]
call fcn.140024850
lea rcx, [rbp + 0xc0]
mov r8d, 0xf
lea rdx, str.www.example.com
call fcn.140024850
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x50], xmm1
xor r8d, r8d
lea rdx, [0x14004ffc2]
lea rcx, [rsp + 0x40]
call fcn.140026770
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x70], xmm1
xor r8d, r8d
lea rdx, [0x14004ffc2]
lea rcx, [rsp + 0x60]
call fcn.140026770
nop
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.140011200
lea rsi, [rbp + 0x160]
lea rax, [rsp + 0x20]
cmp rsi, rax
je 0x14003d7e6
mov r14, qword [rsi]
mov rbx, qword [r14 + 8]
cmp byte [rbx + 0x19], 0
jne 0x14003d7b1
nop word [rax + rax]
mov r8, qword [rbx + 0x10]
mov rdx, rsi
mov rcx, rsi
call fcn.140027660
mov rdi, rbx
mov rbx, qword [rbx]
lea rcx, [rdi + 0x20]
call fcn.140011370
mov edx, 0x60
mov rcx, rdi
call fcn.140048104
cmp byte [rbx + 0x19], 0
je 0x14003d780
mov qword [r14 + 8], r14
mov qword [r14], r14
mov qword [r14 + 0x10], r14
mov qword [rsi + 8], 0
mov rcx, qword [rsi]
mov rax, qword [rsp + 0x20]
mov qword [rsi], rax
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsi + 8]
mov rax, qword [rsp + 0x28]
mov qword [rsi + 8], rax
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x20]
call fcn.140021070
nop
lea r9, [fcn.140011370]
mov edx, 0x40
mov r8d, 1
lea rcx, [rsp + 0x40]
call fcn.140048258
mov qword [rbp + 0x170], 0
mov word [rbp + 0x151], 1
mov byte [rbp + 0x150], 1
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14003d840
Capabilities:
Reference http user-agent string

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
lea rdi, [0x140065b00]
mov qword [rsp + 0x80], rdi
xorps xmm0, xmm0
movups xmmword [0x140065b00], xmm0
xor ebx, ebx
mov qword [0x140065b10], rbx
mov qword [0x140065b18], rbx
mov r8d, 0x4d
lea rdx, str.Mozilla_5.0__Windows_NT_6.1__Win64__x64__rv:89.0__Gecko_20100101_Firefox_89.0
mov rcx, rdi
call fcn.140026770
nop
xorps xmm0, xmm0
movups xmmword [0x140065b20], xmm0
mov qword [0x140065b30], rbx
mov qword [0x140065b38], 0xf
mov byte [0x140065b20], bl
movups xmmword [0x140065b40], xmm0
mov qword [0x140065b50], rbx
mov qword [0x140065b58], 0xf
mov byte [0x140065b40], bl
movups xmmword [0x140065b60], xmm0
mov qword [0x140065b70], rbx
mov qword [0x140065b78], 0xf
mov byte [0x140065b60], bl
movups xmmword [0x140065b80], xmm0
mov qword [0x140065b90], rbx
mov qword [0x140065b98], rbx
mov r8d, 3
lea rdx, [0x140052ed0]
lea rcx, [0x140065b80]
call fcn.140026770
nop
xorps xmm0, xmm0
movups xmmword [0x140065ba0], xmm0
mov qword [0x140065bb0], rbx
mov qword [0x140065bb8], 0xf
mov byte [0x140065ba0], bl
movups xmmword [0x140065bc0], xmm0
mov qword [0x140065bd0], rbx
mov qword [0x140065bd8], rbx
mov r8d, 0xf
lea rdx, str.www.example.com
lea rcx, [0x140065bc0]
call fcn.140026770
nop
lea rax, [0x140065be0]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [0x140065be0], xmm0
mov qword [0x140065bf0], rbx
mov qword [0x140065bf8], 0xf
mov byte [0x140065be0], bl
movups xmmword [0x140065c00], xmm0
mov qword [0x140065c10], rbx
mov qword [0x140065c18], rbx
xor r8d, r8d
lea rdx, [0x14004ffc2]
lea rcx, [0x140065c00]
call fcn.140026770
nop
xorps xmm0, xmm0
movups xmmword [0x140065c20], xmm0
mov qword [0x140065c30], rbx
mov qword [0x140065c38], rbx
xor r8d, r8d
lea rdx, [0x14004ffc2]
lea rcx, [0x140065c20]
call fcn.140026770
nop
mov qword [0x140065c40], rbx
mov qword [0x140065c48], rbx
mov ecx, 0x60
call fcn.1400480c0
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [0x140065c40], rax
mov word [0x140065c50], 0x101
mov byte [0x140065c52], 1
mov qword [0x140065c58], rbx
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x40], xmm1
xor r8d, r8d
lea rdx, [0x14004ffc2]
lea rcx, [rsp + 0x30]
call fcn.140026770
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x60], xmm1
xor r8d, r8d
lea rdx, [0x14004ffc2]
lea rcx, [rsp + 0x50]
call fcn.140026770
nop
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
lea rcx, [0x140065c60]
call fcn.140011200
nop
lea r9, [fcn.140011370]
mov edx, 0x40
mov r8d, 1
lea rcx, [rsp + 0x30]
call fcn.140048258
mov qword [0x140065c70], rbx
mov dword [0x140065c78], 1
mov rax, rdi
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
ret