joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140064450
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x4a0
mov rax, qword [0x1400a8010]
xor rax, rsp
mov qword [rsp + 0x490], rax
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x1400644b4
mov dword [rsp + 0x40], 0x238
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x1400644bb
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x1400645ce
xor bl, bl
xor r14d, r14d
lea r15d, [r14 + 1]
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x1400645ac
mov r9d, 0x104
lea r8, [rsp + 0x280]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
test eax, eax
je 0x1400645a3
mov qword [rsp + 0x20], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], r14w
lea rax, [rsp + 0x280]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140064530
lea rdx, [rsp + 0x280]
lea rcx, [rsp + 0x20]
call fcn.14006d390
nop
lea rcx, [rsp + 0x20]
call fcn.140064060
movzx esi, al
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140064599
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140064594
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400645fb
call fcn.1400840ac
movzx ebx, bl
test sil, sil
cmovne ebx, r15d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x40]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400644c4
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, bl
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.140083df0
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14006b1d0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov r10d, dword [0x14015b170]
lea r11, [0x14015b170]
mov r9d, 0x270
cmp r10d, r9d
jne 0x14006b238
lea rax, [0x14015b178]
mov r8d, dword [rax - 4]
xor r8d, dword [rax]
lea rax, [rax + 4]
btr r8d, 0x1f
xor r8d, dword [rax - 8]
mov ecx, r8d
and cl, 1
neg cl
sbb edx, edx
shr r8d, 1
and edx, 0x9908b0df
xor edx, dword [rax + 0x62c]
xor edx, r8d
mov dword [rax + 0x9b8], edx
sub r9, 1
jne 0x14006b1f0
mov r10d, dword [0x14015b170]
jmp 0x14006b325
cmp r10d, 0x4e0
jb 0x14006b325
xor r10d, r10d
mov r8d, r10d
nop dword [rax + rax]
mov edx, dword [r11 + r8*4 + 0x9c4]
xor edx, dword [r11 + r8*4 + 0x9c8]
btr edx, 0x1f
xor edx, dword [r11 + r8*4 + 0x9c4]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + r8*4 + 0xff8]
xor ecx, edx
mov dword [r11 + r8*4 + 4], ecx
inc r8
cmp r8, 0xe3
jb 0x14006b250
cmp r8, 0x26f
jae 0x14006b2e7
mov edx, dword [r11 + r8*4 + 0x9c8]
xor edx, dword [r11 + r8*4 + 0x9c4]
btr edx, 0x1f
xor edx, dword [r11 + r8*4 + 0x9c4]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + r8*4 - 0x388]
xor ecx, edx
mov dword [r11 + r8*4 + 4], ecx
inc r8
cmp r8, 0x26f
jb 0x14006b2a0
mov edx, dword [r11 + r8*4 + 0x9c4]
xor edx, dword [0x14015b174]
btr edx, 0x1f
xor edx, dword [r11 + r8*4 + 0x9c4]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, edx
xor ecx, dword [0x14015b7a4]
mov dword [r11 + r8*4 + 4], ecx
mov dword [0x14015b170], r10d
mov eax, r10d
mov ecx, dword [r11 + rax*4 + 4]
inc eax
mov dword [0x14015b170], eax
mov eax, ecx
shr eax, 0xb
and eax, dword [0x14015c4f4]
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
ret
Function at 0x14006c260
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x14006c294
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x14006c280
ret
Function at 0x14007a420
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x50
mov rax, qword [0x1400a8010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ecx, 0xd8
call fcn.14008459c
mov rsi, rax
mov qword [rsp + 0x38], rax
xor edx, edx
mov r8d, 0xd8
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.MSVCP140.dll__Thrd_hardware_concurrency]
xor r14d, r14d
test eax, eax
je 0x140042683
call qword [sym.imp.MSVCP140.dll__Thrd_hardware_concurrency]
lea ecx, [rax - 1]
jmp 0x140042686
mov ecx, r14d
mov ebp, 8
cmp ecx, ebp
cmova ebp, ecx
lea rax, vtable.httplib::ThreadPool.0
mov qword [rsi], rax
mov qword [rsi + 8], r14
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], r14
mov qword [rsi + 0x20], r14
mov qword [rsi + 0x28], r14
mov ecx, 0x50
call fcn.14008459c
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rsi + 0x20], rax
mov byte [rsi + 0x30], 0
mov qword [rsi + 0x38], r14
lea rcx, [rsi + 0x40]
call qword [sym.imp.MSVCP140.dll__Cnd_init_in_situ]
nop
lea rcx, [rsi + 0x88]
mov edx, 2
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
nop
test rbp, rbp
je 0x140042757
mov qword [rsp + 0x30], rsi
mov rdi, qword [rsi + 0x10]
cmp rdi, qword [rsi + 0x18]
je 0x140042740
mov ecx, 8
call fcn.14008459c
mov qword [rax], rsi
mov qword [rsp + 0x40], rax
lea rcx, [rdi + 8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x14007f2d0]
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 0x140042782
add qword [rsi + 0x10], 0x10
jmp 0x140042751
lea r8, [rsp + 0x30]
mov rdx, rdi
lea rcx, [rsi + 8]
call fcn.14006e220
sub rbp, 1
jne 0x1400426f3
mov rax, rsi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140083df0
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
mov dword [rdi + 8], r14d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
jmp 0x140042620
Function at 0x14007baf0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rdi, r8
mov rsi, rdx
sub rdi, rdx
sar rdi, 2
test rdi, rdi
je 0x14007bcd3
mov qword [rsp + 0x50], rbx
mov rbx, qword [0x14015c500]
sub rbx, qword [0x14015c4f8]
mov qword [rsp + 0x30], r13
sar rbx, 2
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
cmp rdi, 0x26f
jb 0x14007bb43
mov eax, ntohs
jmp 0x14007bb71
cmp rdi, 0x44
jb 0x14007bb50
mov eax, 7
jmp 0x14007bb71
cmp rdi, 0x27
jb 0x14007bb5d
mov eax, 5
jmp 0x14007bb71
cmp rdi, 7
jb 0x14007bb6a
mov eax, 3
jmp 0x14007bb71
lea rax, [rdi - 1]
shr rax, 1
mov r14, rdi
lea r15, [rbx + 1]
sub r14, rax
shr r14, 1
lea r13, [r14 + rax]
cmp rdi, rbx
jbe 0x14007bb8a
mov r15, rdi
mov r8, rdi
mov qword [rsp + 0x68], rbp
shl r8, 2
mov edx, 0x8b8b8b8b
mov rcx, rsi
call sub.VCRUNTIME140.dll_memset
xor ecx, ecx
test r15, r15
je 0x14007bc3d
nop
xor edx, edx
lea rax, [rcx + r14]
div rdi
mov r11d, dword [rsi + rdx*4]
lea r10, [rsi + rdx*4]
xor edx, edx
mov rax, rcx
div rdi
lea rbp, [rsi + rdx*4]
mov r8d, r11d
mov r9, rdx
lea rax, [rcx - 1]
xor edx, edx
div rdi
xor r8d, dword [rsi + rdx*4]
xor r8d, dword [rbp]
mov eax, r8d
shr eax, 0x1b
xor eax, r8d
imul edx, eax, 0x19660d
test rcx, rcx
jne 0x14007bbfd
mov rax, rbx
jmp 0x14007bc15
cmp rcx, rbx
ja 0x14007bc12
mov rax, qword [0x14015c4f8]
mov eax, dword [rax + rcx*4 - 4]
add rax, r9
jmp 0x14007bc15
mov rax, r9
lea r8d, [rax + rdx]
lea eax, [r11 + rdx]
xor edx, edx
mov dword [r10], eax
lea rax, [rcx + r13]
div rdi
inc rcx
add dword [rsi + rdx*4], r8d
mov dword [rbp], r8d
cmp rcx, r15
jb 0x14007bbb0
add r15, rdi
cmp rcx, r15
jae 0x14007bcba
inc r14
lea rbp, [rcx - 1]
inc r13
nop
xor edx, edx
lea rax, [r14 + rbp]
div rdi
mov r10d, dword [rsi + rdx*4]
lea r11, [rsi + rdx*4]
xor edx, edx
lea rbx, [rbp + 1]
mov rax, rbx
div rdi
mov rax, rbp
mov r9, rdx
xor edx, edx
div rdi
mov ecx, dword [rsi + rdx*4]
xor edx, edx
add ecx, r10d
add ecx, dword [rsi + r9*4]
mov eax, ecx
shr eax, 0x1b
xor eax, ecx
imul ecx, eax, 0x5d588b65
mov rax, rbp
add rax, r13
mov rbp, rbx
div rdi
xor r10d, ecx
lea rax, [rbx + 1]
mov dword [r11], r10d
mov r8d, ecx
sub r8d, r9d
xor dword [rsi + rdx*4], r8d
mov dword [rsi + r9*4], r8d
cmp rax, r15
jb 0x14007bc50
mov rbp, qword [rsp + 0x68]
mov r13, qword [rsp + 0x30]
mov r14, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x50]
mov r15, qword [rsp + 0x20]
add rsp, 0x38
pop rdi
pop rsi
ret
Function at 0x140003600
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x14001b008]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov rdi, rdx
mov qword [rsp + 0x78], rdx
mov dword [rbp - 0x60], 0x68
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
movups xmmword [rbp - 0x48], xmm0
movups xmmword [rbp - 0x38], xmm0
movups xmmword [rbp - 0x28], xmm0
movups xmmword [rbp - 0x18], xmm0
movups xmmword [rbp - 8], xmm0
cmp qword [rdx + 0x18], 0x10
jb 0x140003665
mov rsi, qword [rdx]
mov rbx, rsi
add rsi, qword [rdx + 0x10]
jmp 0x14000366f
mov rbx, rdi
mov rsi, qword [rdx + 0x10]
add rsi, rdi
xor r14d, r14d
mov r9d, r14d
mov qword [rsp + 0x50], r14
mov r8d, r14d
mov qword [rsp + 0x60], r14
mov ecx, 7
mov qword [rsp + 0x68], rcx
mov rdx, rsi
sub rdx, rbx
cmp rdx, 8
jb 0x1400036b4
lea rcx, [rsp + 0x50]
call fcn.14000bc40
mov r8d, r14d
mov qword [rsp + 0x60], r14
mov rcx, qword [rsp + 0x68]
mov r9, qword [rsp + 0x50]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x70], rax
cmp rbx, rsi
je 0x140003715
movsx edx, byte [rbx]
cmp r8, rcx
jae 0x1400036ee
lea rax, [r8 + 1]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x50]
cmp rcx, 8
cmovae rax, r9
mov word [rax + r8*2], dx
mov word [rax + r8*2 + 2], r14w
jmp 0x1400036fc
movzx r9d, dx
lea rcx, [rsp + 0x50]
call fcn.140009740
inc rbx
mov rcx, qword [rsp + 0x68]
mov r9, qword [rsp + 0x50]
cmp rbx, rsi
je 0x140003715
mov r8, qword [rsp + 0x60]
jmp 0x1400036c3
lea rbx, [rsp + 0x50]
cmp rcx, 8
cmovae rbx, r9
jb 0x14000375c
lea rdx, [rcx*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x140003754
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003754
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r9
call fcn.1400124ac
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r14w
lea rax, [rbp - 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1400037c3
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x1400037f9
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1400037f4
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000382c
mov rcx, r8
call fcn.1400124ac
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], recv
mov byte [rdi], 0
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140012200
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140007900
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14001b008]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000792d
xor eax, eax
jmp 0x140007a8a
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x140007958
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x140007958
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], dil
mov eax, edi
jmp 0x140007a8a
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140007a7d
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x14000799b
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
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 0x1400079c6
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 0x140007a82
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 0x140007a35
sub eax, 1
je 0x140007a35
cmp eax, 2
jne 0x140007a7d
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 0x140007a82
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140007a63
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 0x140007a7d
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140007a82
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140012200
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret

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

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

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14001b008]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140008733
cmp byte [rcx + 0x71], 0
je 0x140008733
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000872f
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 0x1400086f4
sub eax, 1
je 0x1400086f8
cmp eax, 2
jne 0x14000872f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140012200
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140008726
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 0x14000872f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1400086dc
xor al, al
jmp 0x1400086dc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140012200
add rsp, 0x60
pop rbx
ret
Function at 0x140012c34
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x140f68e4a
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140f68e73
pop rbp
sub rbp, 0x33
sub rbp, 0xf68e40
sub rsp, 0x20
jmp 0x140f68e92
mov rax, 0xf68e40
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0x6b0b1f5a
xor byte [rax], dl
inc rax
dec rcx
jne 0x140f68eb1
jmp 0x140f68ec8
adc dl, bl
mov bl, 0xd1
shl dword [rsi + 0x5a], cl
pop rdx
pop rdx
adc bl, bl
wait
push rdx
pop rbx
pop rdx
pop rdx
adc bl, byte [rbx - 0x4d]
adc bl, byte [rbp + 0x5a5a529a]
pop rdx
adc bl, byte [rbp + 0x5a5a7298]
pop rdx
adc ch, byte [rbp - 0x64a4ed48]
wait
rcr ebx, 1
push rsi
pop rdx
pop rdx
pop rdx
adc bl, byte [rbx - 0x4e]
or cl, byte [rdx]
adc ah, dl
mov byte [rbx + 0x5a], r14b
pop rdx
pop rdx
pop rdx
pop rdx
adc ah, bl
jbe 0x140f68eee
xchg esi, eax
pop rdx
pop rdx
pop rdx
pop rdx
pop rdx
adc bl, byte [rbx - 0x4d]
adc ah, al
add esi, 0x21
invalid
Function at 0x14001a1e0
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 0x14001a2ac
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14001a2ac
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 0x14001a2c5
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x14001a29c
cmp byte [rax], 0x5c
jne 0x14001a296
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x14001a296
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x14001a282
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x14001a293
test r8b, 0x10
jne 0x14001a296
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x14001a296
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.14001e860
test edi, edi
jne 0x14001a200
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
mov rcx, rbx
call fcn.14001c4c0
int3
Function at 0x140022be0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x30], rcx
xor r14d, r14d
mov dword [rsp + 0x24], r14d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r14
mov qword [rcx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rcx], r14b
mov dword [rsp + 0x24], 1
mov rax, qword [rdx + 0x10]
cmp rax, 0xf
jbe 0x140022c44
movzx r8d, byte [rsp + 0x20]
mov rdx, rax
call fcn.14000f1c0
mov qword [rdi + 0x10], r14
mov rax, qword [rbx + 0x10]
mov r13d, 0xfffffffa
cmp qword [rbx + 0x18], 0x10
jb 0x140022c5c
mov r15, qword [rbx]
mov rcx, r15
mov rbx, r15
jmp 0x140022c62
mov r15, rbx
mov rcx, rbx
add rax, rcx
mov qword [rsp + 0x28], rax
cmp rbx, rax
je 0x140022d78
lea r8, [0x1401bc1c0]
movzx ebx, byte [rsp + 0x20]
nop
shl r14d, 8
movzx eax, byte [r15]
add r14d, eax
add r13d, 8
js 0x140022d0f
movsxd r12, r14d
movsxd rsi, r13d
lea ecx, [r13 + 6]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 2
mov ebp, edx
imul eax, edx, 0xfffffffa
add r13d, eax
nop dword [rax]
mov rax, r12
mov rcx, rsi
sar rax, cl
and eax, 0x3f
movzx r9d, byte [rax + r8]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x140022ced
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x140022ce2
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140022d05
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.14000f050
lea r8, [0x1401bc1c0]
sub rsi, 6
sub rbp, 1
jne 0x140022cb0
inc r15
cmp r15, qword [rsp + 0x28]
jne 0x140022c80
cmp r13d, 0xfffffffa
jle 0x140022d78
lea ecx, [r13 + 8]
shl r14d, 8
movsxd rdx, r14d
sar rdx, cl
and edx, 0x3f
movzx r9d, byte [rdx + r8]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x140022d65
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x140022d5a
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140022d78
movzx r8d, byte [rsp + 0x20]
mov edx, 1
mov rcx, rdi
call fcn.14000f050
mov rcx, qword [rdi + 0x10]
test cl, 3
je 0x140022dc8
movzx ebx, byte [rsp + 0x20]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x140022dab
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x140022da3
mov rax, qword [rdi]
mov word [rcx + rax], 0x3d
jmp 0x140022dbf
mov r9b, 0x3d
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.14000f050
mov rcx, qword [rdi + 0x10]
test cl, 3
jne 0x140022d86
mov rax, rdi
mov rbx, qword [rsp + 0x90]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

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

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x140024574
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140024560
ret
Function at 0x140025e40
Capabilities:
Resolve dns

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x468
mov rax, qword [0x14022ea58]
xor rax, rsp
mov qword [rsp + 0x450], rax
movzx eax, word [rcx]
mov rsi, r9
mov rdi, r8
mov ebp, edx
mov rbx, rcx
cmp ax, 2
je 0x140025e78
cmp ax, 0x17
jne 0x140025eed
movzx ecx, word [rcx + 2]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
xor edx, edx
lea rcx, [rsp + 0x40]
mov dword [rsi], eax
mov r8d, 0x401
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], eax
lea r8, [rsp + 0x40]
mov r9d, 0x401
mov qword [rsp + 0x20], rax
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getnameinfo]
test eax, eax
jne 0x140025eed
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140025ed2
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.14000a060
mov al, 1
jmp 0x140025eef
xor al, al
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.140196fa0
add rsp, 0x468
pop rdi
pop rsi
pop rbp
pop rbx
ret