joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001dac0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
lea rdi, [rdx + 0x70]
xor ebp, ebp
mov rsi, qword [rdi + 0x18]
mov r15, r8
mov rbx, qword [rdi + 0x10]
mov r14, rdx
mov dword [rsp + 0x40], ebp
mov rcx, rdi
cmp rsi, 0xf
jbe 0x14001daf4
mov rcx, qword [rdi]
cmp rbx, 9
jne 0x14001db0d
mov r8, rbx
lea rdx, str.127.0.0.1
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14001db32
cmp rsi, 0xf
jbe 0x14001db16
mov rdi, qword [rdi]
cmp rbx, 3
jne 0x14001db3e
mov r8, rbx
lea rdx, [0x14003c704]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14001db3e
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x20]
jmp 0x14001dbaa
mov r8d, 7
lea rdx, [r14 + 0x70]
cmp rbx, r8
xorps xmm0, xmm0
xorps xmm1, xmm1
cmovb r8, rbx
movups xmmword [rsp + 0x20], xmm0
movdqu xmmword [rsp + 0x30], xmm1
cmp rsi, 0xf
jbe 0x14001db69
mov rdx, qword [rdx]
lea rcx, [rsp + 0x20]
call fcn.140001fa0
mov rdi, qword [rsp + 0x38]
lea rcx, [rsp + 0x20]
mov rbx, qword [rsp + 0x20]
cmp rdi, 0xf
mov r8, qword [rsp + 0x30]
mov ebp, 3
cmova rcx, rbx
cmp r8, 7
jne 0x14001dbb4
lea rdx, str.192.168
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14001dbb4
mov sil, 1
test sil, bpl
je 0x14001dbf6
jmp 0x14001dbb7
xor sil, sil
cmp rdi, 0xf
jbe 0x14001dbf1
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14001dbe9
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001dbe9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140034d84
test sil, sil
je 0x14001dc02
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x80]
mov dword [r15 + 0x20], 0x193
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
jmp 0x14001dac0
Function at 0x14001dc20
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
lea rdi, [rdx + 0x70]
xor ebp, ebp
mov rsi, qword [rdi + 0x18]
mov r15, r8
mov rbx, qword [rdi + 0x10]
mov r14, rdx
mov dword [rsp + 0x40], ebp
mov rcx, rdi
cmp rsi, 0xf
jbe 0x14001dc54
mov rcx, qword [rdi]
cmp rbx, 9
jne 0x14001dc6d
mov r8, rbx
lea rdx, str.127.0.0.1
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14001dc92
cmp rsi, 0xf
jbe 0x14001dc76
mov rdi, qword [rdi]
cmp rbx, 3
jne 0x14001dc9e
mov r8, rbx
lea rdx, [0x14003c704]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14001dc9e
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x20]
jmp 0x14001dd0a
mov r8d, 7
lea rdx, [r14 + 0x70]
cmp rbx, r8
xorps xmm0, xmm0
xorps xmm1, xmm1
cmovb r8, rbx
movups xmmword [rsp + 0x20], xmm0
movdqu xmmword [rsp + 0x30], xmm1
cmp rsi, 0xf
jbe 0x14001dcc9
mov rdx, qword [rdx]
lea rcx, [rsp + 0x20]
call fcn.140001fa0
mov rdi, qword [rsp + 0x38]
lea rcx, [rsp + 0x20]
mov rbx, qword [rsp + 0x20]
cmp rdi, 0xf
mov r8, qword [rsp + 0x30]
mov ebp, 3
cmova rcx, rbx
cmp r8, 7
jne 0x14001dd14
lea rdx, str.192.168
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14001dd14
mov sil, 1
test sil, bpl
je 0x14001dd56
jmp 0x14001dd17
xor sil, sil
cmp rdi, 0xf
jbe 0x14001dd51
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14001dd49
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001dd49
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140034d84
test sil, sil
je 0x14001dd5f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x80]
mov dword [r15 + 0x20], 0x193
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
jmp 0x14001dc20

Function at 0x14001e650
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 0x14001e678
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 0x14001e69e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14001e6a0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14001e6f9
test ecx, ecx
jle 0x14001e6d9
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 0x14001e6f9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14001e6f9
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 0x14001e720
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 0x14001e742
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x14001e758
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 0x14001e774
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14001e776
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14001e7b2
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 0x14001e84e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14001e7ed
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 0x14001e82e
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 0x14001e84e
cmp rbx, rax
ja 0x14001e800
test rbx, rbx
je 0x14001e84e
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 0x14001ecb0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14004b040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14001ecdd
xor eax, eax
jmp 0x14001ee49
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x14001ed17
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x14001ed17
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 0x14001ee49
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14001ee3c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14001ed5a
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 0x14001ed85
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 0x14001ee41
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 0x14001edf4
sub eax, 1
je 0x14001edf4
cmp eax, 2
jne 0x14001ee3c
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 0x14001ee41
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x14001ee22
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 0x14001ee3c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x14001ee41
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140034d20
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x14001fd20
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x14001fd54
movabs r10, 0x100000001b3
nop
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x14001fd40
ret

Function at 0x140020490
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov r10d, dword [0x140052500]
lea r11, [0x140052500]
mov r9d, 0x270
cmp r10d, r9d
jne 0x1400204f5
lea r8, [0x140052508]
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 r9, 1
jne 0x1400204b0
mov r10d, dword [0x140052500]
jmp 0x1400205cf
cmp r10d, 0x4e0
jb 0x1400205cf
xor r10d, r10d
mov r8d, 0x38c
mov r9d, r10d
nop
mov eax, dword [r9 + r11 + 0x9c4]
mov edx, eax
xor edx, dword [r9 + r11 + 0x9c8]
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 + r11 + 0xff8]
xor ecx, edx
mov dword [r9 + r11 + 4], ecx
add r9, 4
cmp r9, r8
jb 0x140020510
mov eax, dword [r8 + r11 + 0x9c4]
mov edx, eax
xor edx, dword [r8 + r11 + 0x9c8]
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 + r11 - 0x388]
xor ecx, edx
mov dword [r8 + r11 + 4], ecx
add r8, 4
cmp r8, 0x9bc
jb 0x140020550
mov edx, dword [0x140053880]
xor edx, dword [0x140052504]
btr edx, 0x1f
mov dword [0x140052500], r10d
xor edx, dword [0x140053880]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, edx
xor ecx, dword [0x140052b34]
mov dword [0x140052ec0], ecx
mov eax, r10d
mov ecx, dword [r11 + rax*4 + 4]
inc eax
mov dword [0x140052500], eax
mov eax, ecx
shr eax, 0xb
and eax, dword [0x140053884]
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 0x140020610
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14004b040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400206e3
cmp byte [rcx + 0x71], 0
je 0x1400206e3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1400206df
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 0x1400206a4
sub eax, 1
je 0x1400206a8
cmp eax, 2
jne 0x1400206df
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140034d20
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400206d6
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 0x1400206df
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14002068c
xor al, al
jmp 0x14002068c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140034d20
add rsp, 0x60
pop rbx
ret
Function at 0x1400285c0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
lea rdi, [rdx + 0x70]
xor ebp, ebp
mov rsi, qword [rdi + 0x18]
mov r15, r8
mov rbx, qword [rdi + 0x10]
mov r14, rdx
mov dword [rsp + 0x40], ebp
mov rcx, rdi
cmp rsi, 0xf
jbe 0x14001dc54
mov rcx, qword [rdi]
cmp rbx, 9
jne 0x14001dc6d
mov r8, rbx
lea rdx, str.127.0.0.1
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14001dc92
cmp rsi, 0xf
jbe 0x14001dc76
mov rdi, qword [rdi]
cmp rbx, 3
jne 0x14001dc9e
mov r8, rbx
lea rdx, [0x14003c704]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14001dc9e
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x20]
jmp 0x14001dd0a
mov r8d, 7
lea rdx, [r14 + 0x70]
cmp rbx, r8
xorps xmm0, xmm0
xorps xmm1, xmm1
cmovb r8, rbx
movups xmmword [rsp + 0x20], xmm0
movdqu xmmword [rsp + 0x30], xmm1
cmp rsi, 0xf
jbe 0x14001dcc9
mov rdx, qword [rdx]
lea rcx, [rsp + 0x20]
call fcn.140001fa0
mov rdi, qword [rsp + 0x38]
lea rcx, [rsp + 0x20]
mov rbx, qword [rsp + 0x20]
cmp rdi, 0xf
mov r8, qword [rsp + 0x30]
mov ebp, 3
cmova rcx, rbx
cmp r8, 7
jne 0x14001dd14
lea rdx, str.192.168
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14001dd14
mov sil, 1
test sil, bpl
je 0x14001dd56
jmp 0x14001dd17
xor sil, sil
cmp rdi, 0xf
jbe 0x14001dd51
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14001dd49
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001dd49
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140034d84
test sil, sil
je 0x14001dd5f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x80]
mov dword [r15 + 0x20], 0x193
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
jmp 0x14001dc20
Function at 0x1400285f0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
lea rdi, [rdx + 0x70]
xor ebp, ebp
mov rsi, qword [rdi + 0x18]
mov r15, r8
mov rbx, qword [rdi + 0x10]
mov r14, rdx
mov dword [rsp + 0x40], ebp
mov rcx, rdi
cmp rsi, 0xf
jbe 0x14001daf4
mov rcx, qword [rdi]
cmp rbx, 9
jne 0x14001db0d
mov r8, rbx
lea rdx, str.127.0.0.1
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14001db32
cmp rsi, 0xf
jbe 0x14001db16
mov rdi, qword [rdi]
cmp rbx, 3
jne 0x14001db3e
mov r8, rbx
lea rdx, [0x14003c704]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14001db3e
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x20]
jmp 0x14001dbaa
mov r8d, 7
lea rdx, [r14 + 0x70]
cmp rbx, r8
xorps xmm0, xmm0
xorps xmm1, xmm1
cmovb r8, rbx
movups xmmword [rsp + 0x20], xmm0
movdqu xmmword [rsp + 0x30], xmm1
cmp rsi, 0xf
jbe 0x14001db69
mov rdx, qword [rdx]
lea rcx, [rsp + 0x20]
call fcn.140001fa0
mov rdi, qword [rsp + 0x38]
lea rcx, [rsp + 0x20]
mov rbx, qword [rsp + 0x20]
cmp rdi, 0xf
mov r8, qword [rsp + 0x30]
mov ebp, 3
cmova rcx, rbx
cmp r8, 7
jne 0x14001dbb4
lea rdx, str.192.168
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14001dbb4
mov sil, 1
test sil, bpl
je 0x14001dbf6
jmp 0x14001dbb7
xor sil, sil
cmp rdi, 0xf
jbe 0x14001dbf1
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14001dbe9
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001dbe9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140034d84
test sil, sil
je 0x14001dc02
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x80]
mov dword [r15 + 0x20], 0x193
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
jmp 0x14001dac0
Function at 0x14002a810
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14004b040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, r8
mov rdi, rdx
mov ecx, 8
call fcn.140034d40
mov rcx, qword [rbx]
mov qword [rax], rcx
mov qword [rsp + 0x30], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140030840]
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 0x14002a889
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140034d20
mov rbx, qword [rsp + 0x50]
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 0x14002aa20
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, r8
mov rsi, rdx
sub rdi, rdx
sar rdi, 2
test rdi, rdi
je 0x14002ac03
mov qword [rsp + 0x40], rbx
mov rbx, qword [0x140053890]
sub rbx, qword [0x140053888]
mov qword [rsp + 0x50], r13
sar rbx, 2
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x20], r15
cmp rdi, 0x26f
jb 0x14002aa73
mov eax, ntohs
jmp 0x14002aaa1
cmp rdi, 0x44
jb 0x14002aa80
mov eax, 7
jmp 0x14002aaa1
cmp rdi, 0x27
jb 0x14002aa8d
mov eax, 5
jmp 0x14002aaa1
cmp rdi, 7
jb 0x14002aa9a
mov eax, 3
jmp 0x14002aaa1
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 0x14002aaba
mov r15, rdi
mov r8, rdi
mov qword [rsp + 0x48], rbp
shl r8, 2
mov edx, 0x8b8b8b8b
mov rcx, rsi
call sub.VCRUNTIME140.dll_memset
xor ecx, ecx
test r15, r15
je 0x14002ab6d
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 0x14002ab2d
mov rax, rbx
jmp 0x14002ab45
cmp rcx, rbx
ja 0x14002ab42
mov rax, qword [0x140053888]
mov eax, dword [rax + rcx*4 - 4]
add rax, r9
jmp 0x14002ab45
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 0x14002aae0
add r15, rdi
cmp rcx, r15
jae 0x14002abea
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, dword [rsi + r9*4]
add ecx, r10d
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 0x14002ab80
mov rbp, qword [rsp + 0x48]
mov r13, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x40]
mov r15, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x14002ef40
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 0x14002f005
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14002f005
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 0x14002f01e
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 0x14002eff5
cmp byte [rcx], 0x5c
jne 0x14002efee
lea rdx, [rcx + 1]
cmp rdx, rax
je 0x14002efee
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x14002efdc
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x14002efeb
test r8b, 0x10
jne 0x14002efee
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
jne 0x14002efee
mov rcx, rdx
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.14002a180
test edi, edi
jne 0x14002ef60
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.14002a170
int3
Function at 0x1400321c0
Capabilities:
Acquire debug privileges

Disassembly:
sub rsp, 0x68
mov rax, qword [0x14004b040]
xor rax, rsp
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x30]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140032213
lea r8, [rsp + 0x38]
xor ecx, ecx
lea rdx, str.SeDebugPrivilege
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov rcx, qword [rsp + 0x30]
test eax, eax
jne 0x140032227
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140034d20
add rsp, 0x68
ret
mov rax, qword [rsp + 0x38]
lea r8, [rsp + 0x40]
mov qword [rsp + 0x44], rax
mov r9d, reloc.WS2_32.dll_recv
xor eax, eax
mov dword [rsp + 0x40], 1
mov qword [rsp + 0x28], rax
xor edx, edx
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x4c], 2
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov rcx, qword [rsp + 0x30]
test eax, eax
je 0x14003220d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140034d20
add rsp, 0x68
ret
Function at 0x1400342ec
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x140034326
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14003432b
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140034374
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x140034374
dec r8
sub rdx, 1
jne 0x14003435a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140035acc
Capabilities:
Parse pe header

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