joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004ea90
Capabilities:
Create process on windows
Self delete

Disassembly:
sub rsp, 0x578
mov rax, qword [0x140082040]
xor rax, rsp
mov qword [rsp + 0x560], rax
mov r8d, 0x104
lea rdx, [rsp + 0x120]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea r8, [rsp + 0x120]
lea rdx, str.cmd.exe__c_ping_1.1.1.1__n_1__w_3000___nul__del__f__q___s_
lea rcx, [rsp + 0x330]
call qword [sym.imp.USER32.dll_wsprintfW]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0xb4], xmm0
movups xmmword [rsp + 0xc4], xmm0
movups xmmword [rsp + 0xd4], xmm0
movups xmmword [rsp + 0xe4], xmm0
movups xmmword [rsp + 0xf4], xmm0
movups xmmword [rsp + 0x104], xmm0
mov dword [rsp + 0x114], eax
mov dword [rsp + 0xb0], 0x68
movups xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0xa0], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x330]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14004ebaf
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x560]
xor rcx, rsp
call fcn.140067b20
add rsp, 0x578
ret
lea rdx, str.Z9TGkm664614VV3Cg0Zw2Ta8NyX88W43jan5o48iOv1bWThUi2AjTTanf8E5Pqe
lea rcx, [rsp + 0x50]
call fcn.1400631d0
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.140044030
nop
mov rcx, rax
call fcn.140044180
int3

Function at 0x140053990
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140082040]
xor rax, rsp
mov qword [rsp + 0x50], rax
movsx ebx, cl
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
mov ecx, 0x409
cmp ax, cx
je 0x1400539d7
mov edx, pe_nt_image_headers64
lea rcx, str.0409
call qword [sym.imp.USER32.dll_LoadKeyboardLayoutW]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ActivateKeyboardLayout]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x28], xmm0
movzx ecx, bx
mov dword [rsp + 0x28], 1
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rax
call qword [sym.imp.USER32.dll_VkKeyScanW]
movzx ecx, al
xor edx, edx
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov r8d, 0x28
lea rdx, [rsp + 0x28]
mov word [rsp + 0x32], ax
lea ecx, [r8 - 0x27]
call qword [sym.imp.USER32.dll_SendInput]
movsxd rbx, dword [0x1400820f8]
lea rcx, [rsp + 0x20]
call fcn.140043350
mov rdx, qword [rsp + 0x20]
mov qword [rsp + 0x20], rdx
test rbx, rbx
jle 0x140053a6d
imul rcx, rbx, 0x3b9aca00
movabs r8, 0x7fffffffffffffff
mov rax, r8
sub rax, rcx
cmp rdx, rax
jge 0x140053a68
lea rax, [rcx + rdx]
mov qword [rsp + 0x20], rax
jmp 0x140053a6d
mov qword [rsp + 0x20], r8
lea rcx, [rsp + 0x20]
call fcn.140065910
mov r8d, 0x28
mov dword [rsp + 0x34], 0xa
lea rdx, [rsp + 0x28]
lea ecx, [r8 - 0x27]
call qword [sym.imp.USER32.dll_SendInput]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140067b20
add rsp, 0x60
pop rbx
ret
Function at 0x140057500
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x140082040]
xor rax, rsp
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x40]
call fcn.140043350
lea rcx, [rsp + 0x30]
call fcn.140043350
mov rcx, qword [rsp + 0x30]
movabs rsi, 0x112e0be826d694b3
sub rcx, qword [rsp + 0x40]
mov rax, rsi
imul rcx
sar rdx, 0x1a
mov rax, rdx
shr rax, 0x3f
add rdx, rax
movzx eax, byte [0x140082eda]
test al, al
jne 0x1400575ed
movabs rdi, 0x7ffffffffd050f7f
movabs rbx, 0x7fffffffffffffff
nop dword [rax]
cmp rdx, 5
jge 0x140057675
lea rcx, [rsp + 0x48]
call fcn.140043350
mov rax, qword [rsp + 0x48]
cmp rax, rdi
jge 0x1400575ab
add rax, 0x2faf080
mov qword [rsp + 0x38], rax
jmp 0x1400575b0
mov qword [rsp + 0x38], rbx
lea rcx, [rsp + 0x38]
call fcn.140065910
lea rcx, [rsp + 0x30]
call fcn.140043350
mov rcx, qword [rsp + 0x30]
mov rax, rsi
sub rcx, qword [rsp + 0x40]
imul rcx
sar rdx, 0x1a
mov rax, rdx
shr rax, 0x3f
add rdx, rax
movzx eax, byte [0x140082eda]
test al, al
je 0x140057580
xor ebx, ebx
mov eax, ebx
xchg byte [0x140082eda], al
mov edx, dword [0x140082e94]
mov ecx, dword [0x140082f10]
call qword [sym.imp.USER32.dll_SetCursorPos]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x50]
sub rax, qword [rsp + 0x58]
imul rax, rax, 0x3e8
cqo
idiv qword [rsp + 0x60]
cmp rax, 0x5a
jl 0x140057620
xor edx, edx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
lea ecx, [rdx + 2]
call qword [sym.imp.USER32.dll_mouse_event]
xor edx, edx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
lea ecx, [rdx + 4]
call qword [sym.imp.USER32.dll_mouse_event]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140067b20
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140061b00
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 0x140061b28
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 0x140061b4e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140061b50
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140061ba9
test ecx, ecx
jle 0x140061b89
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 0x140061ba9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140061ba9
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 0x140061bd0
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 0x140061bf2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140061c08
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 0x140061c24
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140061c26
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140061c62
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 0x140061cfe
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140061c9d
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 0x140061cde
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 0x140061cfe
cmp rbx, rax
ja 0x140061cb0
test rbx, rbx
je 0x140061cfe
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 0x140062160
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140082040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14006218d
xor eax, eax
jmp 0x1400622f9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400621c7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x1400621c7
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 0x1400622f9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x1400622ec
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14006220a
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 0x140062235
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 0x1400622f1
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 0x1400622a4
sub eax, 1
je 0x1400622a4
cmp eax, 2
jne 0x1400622ec
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 0x1400622f1
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1400622d2
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 0x1400622ec
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x1400622f1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140067b20
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140063c80
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140082040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140063d53
cmp byte [rcx + 0x71], 0
je 0x140063d53
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140063d4f
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 0x140063d14
sub eax, 1
je 0x140063d18
cmp eax, 2
jne 0x140063d4f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140067b20
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140063d46
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 0x140063d4f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140063cfc
xor al, al
jmp 0x140063cfc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140067b20
add rsp, 0x60
pop rbx
ret

Function at 0x1400647b0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140082040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rdx
mov rdi, rcx
mov ecx, 8
call fcn.140067fe8
mov qword [rax], rbx
mov qword [rsp + 0x30], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1400665a0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rdi], rax
test rax, rax
je 0x140064829
mov rax, rdi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140067b20
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [rbx], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x1400659b0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140082040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rdx
mov rdi, rcx
mov ecx, 8
call fcn.140067fe8
mov qword [rax], rbx
mov qword [rsp + 0x30], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1400665a0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rdi], rax
test rax, rax
je 0x140065a26
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140067b20
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [rbx], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x140065d10
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, rcx
mov r9d, 0x138
mov ecx, dword [rcx]
cmp ecx, r9d
jne 0x140065d77
lea r8, [r10 + 0x10]
movabs r11, 0xb5026f5aa96619e9
mov rdx, qword [r8]
xor rdx, qword [r8 - 8]
lea r8, [r8 + 8]
and rdx, 0xffffffff80000000
xor rdx, qword [r8 - 8]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [r8 + 0x4d0]
xor rcx, rdx
mov qword [r8 + 0x9b0], rcx
sub r9, 1
jne 0x140065d32
mov ecx, dword [r10]
jmp 0x140065e98
cmp ecx, 0x270
jb 0x140065e98
mov qword [rsp + 0x10], rbx
movabs r11, 0xb5026f5aa96619e9
lea rbx, [r10 + 0x9c8]
mov qword [rsp], rdi
mov rax, qword [rbx]
mov edi, 0x9c
nop word [rax + rax]
mov r9, qword [rbx + 8]
mov r8, rbx
add rbx, 8
mov rdx, r9
xor rdx, rax
and rdx, 0xffffffff80000000
xor rdx, r9
movzx eax, dl
and al, 1
neg al
mov rax, r9
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [r8 + 0x4e0]
xor rcx, rdx
mov qword [r8 - 0x9c0], rcx
sub rdi, 1
jne 0x140065db0
lea rbx, [r10 + 0xea8]
mov edi, 0x9b
mov r9, qword [rbx]
nop dword [rax]
nop dword [rax + rax]
mov r8, qword [rbx + 8]
mov rdx, rbx
xor r9, r8
add rbx, 8
and r9, 0xffffffff80000000
xor r9, r8
movzx eax, r9b
and al, 1
neg al
sbb rcx, rcx
shr r9, 1
and rcx, r11
xor rcx, qword [rdx - 0xea0]
xor rcx, r9
mov r9, r8
mov qword [rdx - 0x9c0], rcx
sub rdi, 1
jne 0x140065e10
mov rdx, qword [r10 + 8]
xor rdx, qword [r10 + 0x1380]
mov rdi, qword [rsp]
and rdx, 0xffffffff80000000
xor rdx, qword [r10 + 8]
mov rbx, qword [rsp + 0x10]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [r10 + 0x4e0]
xor rcx, rdx
mov qword [r10 + 0x9c0], rcx
xor ecx, ecx
mov dword [r10], ecx
mov eax, ecx
mov rdx, qword [r10 + rax*8 + 8]
lea eax, [rcx + 1]
mov dword [r10], eax
mov rcx, rdx
mov rax, qword [r10 + 0x1388]
shr rcx, 0x1d
and rax, rcx
movabs rcx, 0x38eb3ffff6d3
xor rdx, rax
mov rax, rdx
and rax, rcx
shl rax, 0x11
xor rdx, rax
mov rax, rdx
and rax, 0xffffffffffffbf77
shl rax, 0x25
xor rdx, rax
mov rax, rdx
shr rax, 0x2b
xor rax, rdx
add rsp, 8
ret

Function at 0x1400686f0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14006873a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14006873a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14006873a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14006873a
cmp dword [rcx + 0x84], 0xe
jbe 0x14006873a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14006873c
xor al, al
add rsp, 0x28
ret
Function at 0x140011221
Capabilities:
Terminate process

Disassembly:
jmp 0x140013e80
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret
Function at 0x1400112bc
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400151d0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400151f0
xor al, al
jmp 0x140015271
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015203
xor al, al
jmp 0x140015271
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001522d
xor al, al
jmp 0x140015271
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140015241
xor al, al
jmp 0x140015271
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140015253
xor al, al
jmp 0x140015271
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001526f
xor al, al
jmp 0x140015271
mov al, 1
add rsp, 0x38
ret
Function at 0x1400130b0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.14001141f
movzx eax, al
test eax, eax
jne 0x1400130d0
mov ecx, 7
call fcn.14001137a
nop
mov byte [rsp + 0x20], 0
call fcn.14001138e
mov byte [rsp + 0x21], al
cmp dword [0x1400219e8], 1
jne 0x1400130f4
mov ecx, 7
call fcn.14001137a
nop
jmp 0x14001314c
cmp dword [0x1400219e8], 0
jne 0x140013147
mov dword [0x1400219e8], 1
lea rdx, [0x14001b660]
lea rcx, [0x14001b330]
call fcn.1400111c7
test eax, eax
je 0x140013128
mov eax, 0xff
jmp 0x140013251
lea rdx, [0x14001b220]
lea rcx, [section..rdata]
call fcn.140011384
mov dword [0x1400219e8], 2
jmp 0x14001314c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011361
call fcn.1400112ee
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x1400131a9
mov rcx, qword [rsp + 0x30]
call fcn.14001117c
movzx eax, al
test eax, eax
je 0x1400131a9
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140028020]
nop
call fcn.140011325
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x1400131dd
mov rcx, qword [rsp + 0x38]
call fcn.14001117c
movzx eax, al
test eax, eax
je 0x1400131dd
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.1400113cf
nop
call fcn.140013300
mov dword [rsp + 0x28], eax
call fcn.1400112bc
movzx eax, al
test eax, eax
jne 0x1400131fc
mov ecx, dword [rsp + 0x28]
call fcn.140011064
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001320b
call fcn.1400113de
nop
xor edx, edx
mov cl, 1
call fcn.140011168
mov eax, dword [rsp + 0x28]
jmp 0x140013251
add rsp, 0x68
ret
Function at 0x14002c460
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x1400d0400]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rsi, rcx
mov rdx, qword [rcx]
xor r8d, r8d
mov edx, dword [rdx + 0x98]
lea rcx, [rsp + 0x20]
call fcn.140035f30
nop
cmp byte [rsp + 0x40], 0
je 0x14002c5d4
mov rsi, qword [rsi + 8]
add rsi, 0x148
mov r8d, 0xfde9
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x58]
call fcn.140045d90
mov r8, rax
mov r9, qword [rax + 0x10]
mov rdx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x14002c4da
mov rdx, qword [rax]
movabs rbx, 0xcbf29ce484222325
xor ecx, ecx
test r9, r9
je 0x14002c513
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
xor rbx, rax
imul rbx, r10
inc rcx
cmp rcx, r9
jb 0x14002c500
mov r9, rbx
lea rdx, [rsp + 0x48]
mov rcx, rsi
call fcn.14001dc60
mov rdi, qword [rax + 8]
test rdi, rdi
je 0x14002c59a
mov rcx, qword [rsi + 0x30]
and rcx, rbx
shl rcx, 4
mov rdx, qword [rsi + 0x18]
add rdx, rcx
mov rax, qword [rdx]
cmp qword [rdx + 8], rdi
jne 0x14002c563
cmp rax, rdi
jne 0x14002c559
mov rax, qword [rsi + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x14002c56e
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
jmp 0x14002c56e
cmp rax, rdi
jne 0x14002c56e
mov rax, qword [rdi]
mov qword [rdx], rax
mov rdx, qword [rdi]
dec qword [rsi + 0x10]
mov rax, qword [rdi + 8]
mov qword [rax], rdx
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
lea rcx, [rdi + 0x10]
call fcn.14000b9a0
mov edx, 0x40
mov rcx, rdi
call fcn.140074c34
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x14002c5d4
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002c5ce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c607
call fcn.140074c34
nop
cmp byte [rsp + 0x40], 0
je 0x14002c5e5
lea rcx, [rsp + 0x20]
call fcn.14000d740
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140074d50
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.14007b478
nop
int3
add rcx, 8
jmp 0x14002c460
Function at 0x14002fc30
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
mov ebp, 0xfffd
nop word [rax + rax]
movzx ecx, word [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp ax, 9
ja 0x14002fd13
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14002fd13
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 0x14002fd31
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 0x14002fd03
cmp word [rcx], 0x5c
jne 0x14002fcfc
lea rdx, [rcx + 2]
cmp rdx, rax
je 0x14002fcfc
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x14002fce7
movzx eax, word [rdx]
sub ax, 0x28
cmp ax, 1
jbe 0x14002fcf9
test r8b, 0x10
jne 0x14002fcfc
movzx eax, word [rdx]
sub ax, 0x7b
test bp, ax
jne 0x14002fcfc
mov rcx, rdx
lea rax, [rcx + 2]
mov qword [rbx], rax
mov rcx, rbx
call fcn.140033e70
test edi, edi
jne 0x14002fc60
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
mov rcx, rbx
call fcn.140031ec0
int3