joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140005580
Capabilities:
Create service
Modify service
Start service

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
mov rsi, rdx
mov rbp, rcx
call fcn.140076420
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 2]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rdi, rax
lea r8, [rax - 1]
cmp r8, 0xfffffffffffffffd
ja 0x140005716
mov qword [rsp + 0x80], rbx
mov r8d, reloc.WS2_32.dll_recv
mov rdx, rsi
mov qword [rsp + 0x88], r14
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
xor r14d, r14d
mov rbx, rax
lea rcx, [rax + 1]
test rcx, 0xfffffffffffffffe
jne 0x14000566d
mov qword [rsp + 0x60], r14
lea r9d, [r14 + 0x10]
mov qword [rsp + 0x58], r14
mov r8, rsi
mov qword [rsp + 0x50], r14
mov rdx, rsi
mov qword [rsp + 0x48], r14
mov rcx, rdi
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 1
call qword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov rbx, rax
dec rax
cmp rax, 0xfffffffffffffffd
jbe 0x14000566d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
mov rbx, qword [rsp + 0x80]
mov r14, qword [rsp + 0x88]
lea r11, [rsp + 0x70]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
jne 0x1400056fa
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov r8d, reloc.WS2_32.dll_select
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov qword [rsp + 0x50], r14
mov edx, 0xffffffff
mov qword [rsp + 0x48], r14
mov r9d, edx
mov qword [rsp + 0x40], r14
mov r8d, 3
mov qword [rsp + 0x38], r14
mov rcx, rax
mov qword [rsp + 0x30], r14
mov rbx, rax
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfigA]
test eax, eax
je 0x1400056fa
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
jne 0x1400056fa
mov rdx, rsi
call fcn.140076420
jmp 0x140005649
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, 1
jmp 0x14000564b
lea r11, [rsp + 0x70]
xor eax, eax
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140005730
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x1b0
mov rax, qword [0x140154060]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
xor edx, edx
mov dword [rsp + 0x20], 0x130
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rsp + 0x20]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, 1
jne 0x140005804
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
jne 0x140005804
nop
lea rdx, str.AndroidProcess.exe
lea rcx, [rsp + 0x4c]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x1400057f1
mov r8d, dword [rsp + 0x28]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x1400057f1
mov r8d, 0x48
lea rdx, [rsp + 0x150]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32GetProcessMemoryInfo]
test eax, eax
je 0x1400057e8
cmp qword [rsp + 0x160], 0x11e1a300
ja 0x14000582e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
je 0x140005790
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1400c4450
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x1b0
pop rdi
ret
mov eax, dword [rsp + 0x28]
jmp 0x14000580d

Function at 0x140005840
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x1b0
mov rax, qword [0x140154060]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
xor edx, edx
mov dword [rsp + 0x20], 0x130
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rsp + 0x20]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, 1
jne 0x140005914
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
jne 0x140005914
nop
lea rdx, str.aow_exe.exe
lea rcx, [rsp + 0x4c]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140005901
mov r8d, dword [rsp + 0x28]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140005901
mov r8d, 0x48
lea rdx, [rsp + 0x150]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32GetProcessMemoryInfo]
test eax, eax
je 0x1400058f8
cmp qword [rsp + 0x160], 0x11e1a300
ja 0x14000593e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
je 0x1400058a0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1400c4450
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x1b0
pop rdi
ret
mov eax, dword [rsp + 0x28]
jmp 0x14000591d
Function at 0x140006bb0
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 0x140006bd2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x140006be1
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 0x140006c04
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140006c06
xor ecx, ecx
mov qword [rsp + 0x20], rdi
movsxd rax, ecx
test ecx, ecx
je 0x140006c40
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]
sub rbx, rdi
add r14, rdi
mov r8, rbx
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x140006ce7
mov r9, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r9], rax
jne 0x140006c7b
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r9], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
mov rdi, r8
cmp r8, 0xfff
jbe 0x140006cc1
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]
sub rbx, rax
add r14, rax
mov rdi, rbx
cmp rax, 0xfff
jne 0x140006d00
cmp rbx, rax
ja 0x140006c90
mov r8, rdi
test rdi, rdi
je 0x140006ce7
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]
mov r8, rdi
sub r8, rax
sub rbp, r8
mov rdi, qword [rsp + 0x20]
mov rax, rbp
mov rbx, qword [rsp + 0x28]
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
sub rbp, rbx
jmp 0x140006cea
in al, dx
adc byte [rbx - 0x36260f1c], al
fstp qword [rsp]
fstp qword [rsp + 8]
call 0x14021c419
leave
ret
Function at 0x140007110
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140154060]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000713d
xor eax, eax
jmp 0x140007292
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x140007168
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x140007168
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 0x140007292
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140007285
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x1400071ab
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 0x1400071d6
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 0x14000728a
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 0x140007245
sub eax, 1
je 0x140007245
cmp eax, 2
jne 0x140007285
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 0x14000728a
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140007273
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 0x140007285
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, edi
jne 0x14000728a
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400c4450
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1400082f0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140154060]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400083c3
cmp byte [rcx + 0x71], 0
je 0x1400083c3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x1400083bf
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 0x140008384
sub eax, 1
je 0x140008388
cmp eax, 2
jne 0x1400083bf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400c4450
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400083b6
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 0x1400083bf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000836c
xor al, al
jmp 0x14000836c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400c4450
add rsp, 0x60
pop rbx
ret

Function at 0x14000c450
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x140154060]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor edi, edi
xor edx, edx
mov ebx, edi
lea ecx, [rdi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x14000c4e5
nop
lea rdx, str.CyberStation.exe
lea rcx, [rsp + 0x4c]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x14000c4d3
mov eax, dword [rsp + 0x3c]
cmp eax, ebx
jle 0x14000c4d3
mov edi, dword [rsp + 0x28]
mov ebx, eax
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x14000c4b0
mov eax, edi
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400c4450
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x14000deb0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x60
mov rbx, qword [0x140157888]
lea rdx, [rsp + 0x30]
movaps xmmword [rsp + 0x50], xmm6
movaps xmm6, xmmword [0x14013fc10]
mov dword [rsp + 0x30], 0
movups xmm0, xmmword [rbx + 0x16fc]
lea rcx, [rbx + 0x1e70]
movups xmmword [rsp + 0x34], xmm0
call fcn.14003c400
lea rcx, str.GroupFACEBOOK
movups xmmword [rbx + 0x16fc], xmm6
call fcn.140051be0
mov r10, qword [0x140157888]
mov rcx, qword [r10 + 0x1e78]
movsxd rax, dword [r10 + 0x1e70]
lea rdx, [rax + rax*4]
movsxd rax, dword [rcx + rdx*4 - 0x14]
movups xmm0, xmmword [rcx + rdx*4 - 0x10]
add rax, rax
movups xmmword [r10 + rax*8 + 0x16fc], xmm0
dec dword [r10 + 0x1e70]
cmp byte [r10 + 0x1fa7], 0
mov rcx, qword [r10 + 0x1d18]
je 0x14000e014
cmp byte [r10 + 0x1fa6], 0
jne 0x14000e014
mov edx, dword [r10 + 0x1f58]
mov eax, dword [rcx + 0x164]
cmp edx, eax
jne 0x14000df8a
test edx, edx
je 0x14000df8a
cmp eax, dword [rcx + 8]
jne 0x14000df86
cmp byte [rcx + 0xd1], 0
jne 0x14000df8a
mov al, 1
jmp 0x14000df8c
xor al, al
test al, al
jne 0x14000e099
movaps xmm0, xmmword [0x14013fa40]
movsd xmm1, qword [rcx + 0x174]
movdqa xmmword [rsp + 0x30], xmm0
movsd xmm0, qword [rcx + 0x16c]
mov byte [rcx + 0xd1], 1
movaps xmm2, xmm1
movsd qword [rsp + 0x78], xmm0
shufps xmm2, xmm2, 0x55
lea rcx, [rsp + 0x30]
movss dword [rsp + 0x7c], xmm2
movsd qword [rsp + 0x70], xmm1
call fcn.14001d0b0
mov rcx, qword [r10 + 0x1d18]
lea r8, [rsp + 0x70]
movss xmm0, dword [0x14013f544]
lea rdx, [rsp + 0x78]
mov r9d, eax
movss dword [rsp + 0x20], xmm0
mov rcx, qword [rcx + 0x2f8]
call fcn.140047300
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x60
pop rbx
ret
mov eax, dword [rcx + 0x168]
test al, 1
je 0x14000df94
cmp qword [r10 + 0x1d20], rcx
je 0x14000e033
test al, al
jns 0x14000df94
mov eax, dword [r10 + 0x1d6c]
test eax, eax
je 0x14000e05c
cmp eax, dword [rcx + 0x164]
je 0x14000e05c
cmp byte [r10 + 0x1d79], 0
jne 0x14000e05c
cmp eax, dword [rcx + 0x94]
jne 0x14000df94
xor edx, edx
call fcn.14001f0f0
test al, al
je 0x14000df94
test byte [r10 + 0x1d54], 4
jne 0x14000df94
mov eax, dword [rcx + 0x164]
cmp eax, dword [rcx + 8]
je 0x14000e08c
cmp eax, dword [rcx + 0x94]
jne 0x14000e099
cmp byte [rcx + 0xd1], 0
jne 0x14000df94
movss xmm1, dword [r10 + 0x434]
xorps xmm0, xmm0
ucomiss xmm1, xmm0
jp 0x14000e0dd
jne 0x14000e0dd
mov dword [rsp + 0x28], 1
lea r8, str.https:__www.facebook.com_groups_snakepubgm
xor r9d, r9d
mov qword [rsp + 0x20], 0
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov r10, qword [0x140157888]
mov rax, qword [r10 + 0x1d18]
movaps xmm0, xmmword [0x14013fa40]
movdqa xmmword [rsp + 0x30], xmm0
movsd xmm0, qword [rax + 0x16c]
movsd xmm1, qword [rax + 0x174]
mov byte [rax + 0xd1], 1
jmp 0x14000dfb8
Function at 0x140015090
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x140154060]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r9d, dword [0x140157870]
mov rdi, r8
mov rbx, rdx
test r9d, r9d
jne 0x1400150d2
mov r9d, 1
mov dword [0x140157860], ecx
mov dword [0x140157870], r9d
jmp 0x14001510d
mov rdx, qword [0x1401578b8]
cmp rdx, qword [0x1401578c0]
mov dword [rsp + 0x30], ecx
je 0x1400150fc
mov dword [rdx], ecx
mov rax, qword [0x1401578b8]
add rax, 4
mov qword [0x1401578b8], rax
jmp 0x140015114
lea r8, [rsp + 0x30]
call fcn.140014ed0
mov r9d, dword [0x140157870]
mov rax, qword [0x1401578b8]
mov ecx, dword [rbx]
test r9d, r9d
jne 0x140015130
mov r9d, 1
mov dword [0x140157860], ecx
mov dword [0x140157870], r9d
jmp 0x14001516e
cmp rax, qword [0x1401578c0]
mov dword [rsp + 0x30], ecx
je 0x140015153
mov dword [rax], ecx
mov rax, qword [0x1401578b8]
add rax, 4
mov qword [0x1401578b8], rax
jmp 0x14001516e
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.140014ed0
mov r9d, dword [0x140157870]
mov rax, qword [0x1401578b8]
mov ecx, dword [rdi]
test r9d, r9d
jne 0x140015187
mov dword [0x140157860], ecx
mov dword [0x140157870], 1
jmp 0x1400151be
cmp rax, qword [0x1401578c0]
mov dword [rsp + 0x30], ecx
je 0x1400151aa
mov dword [rax], ecx
mov rax, qword [0x1401578b8]
add rax, 4
mov qword [0x1401578b8], rax
jmp 0x1400151be
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.140014ed0
mov rax, qword [0x1401578b8]
sub rax, qword [0x1401578b0]
sar rax, 2
movsxd rdi, eax
mov rcx, rdi
call fcn.1400c496c
xor ebp, ebp
mov rsi, rax
mov r8d, ebp
test rdi, rdi
jle 0x140015208
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [0x1401578b0]
movzx edx, byte [rcx + r8*4]
mov byte [r8 + rax], dl
inc r8
cmp r8, rdi
jl 0x1400151f0
mov ebx, dword [0x140157860]
lea rax, [rsp + 0x30]
mov rcx, qword [0x140157868]
mov edx, ebx
mov r9d, 0x40
mov qword [rsp + 0x20], rax
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rcx, qword [0x140157868]
mov r9, rdi
mov r8, rsi
mov qword [rsp + 0x20], rbp
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r9d, dword [rsp + 0x30]
mov r8, rdi
mov rcx, qword [0x140157868]
mov edx, ebx
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rcx, rsi
call fcn.1400c4470
mov rax, qword [0x1401578b0]
mov qword [0x1401578b8], rax
mov dword [0x140157860], ebp
mov dword [0x140157870], ebp
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400c4450
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400175e0
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 0x140017652
lea r8, [r10 + 0x10]
movabs r11, 0xb5026f5aa96619e9
nop dword [rax]
nop word [rax + rax]
mov edx, dword [r8 - 8]
xor edx, dword [r8]
lea r8, [r8 + 8]
btr edx, 0x1f
xor rdx, qword [r8 - 0x10]
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 0x140017610
mov ecx, dword [r10]
jmp 0x140017753
cmp ecx, 0x270
jb 0x140017753
mov qword [rsp + 0x10], rbx
movabs r11, 0xb5026f5aa96619e9
lea rbx, [r10 + 0x9c8]
mov qword [rsp], rdi
mov rax, qword [rbx]
mov edi, 0x9c
mov rdx, qword [rbx + 8]
lea r8, [rbx + 8]
xor rdx, rax
btr edx, 0x1f
xor rdx, rax
movzx eax, dl
and al, 1
neg al
mov rax, qword [r8]
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [rbx + 0x4e0]
xor rcx, rdx
mov qword [rbx - 0x9c0], rcx
lea rbx, [r8]
sub rdi, 1
jne 0x140017680
lea rbx, [r10 + 0xea8]
mov edi, 0x9b
mov rax, qword [rbx]
nop
mov rdx, rax
lea r8, [rbx + 8]
xor rdx, qword [r8]
btr edx, 0x1f
xor rdx, rax
movzx eax, dl
and al, 1
neg al
mov rax, qword [r8]
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [rbx - 0xea0]
xor rcx, rdx
mov qword [rbx - 0x9c0], rcx
lea rbx, [r8]
sub rdi, 1
jne 0x1400176d0
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 8]
mov rdi, qword [rsp]
btr edx, 0x1f
xor rdx, qword [r10 + 0x1380]
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 0x140017c90
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x140154060]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x14018d410]
mov rbx, r8
lea rsi, [rdi + 0x164]
lea rcx, [rdi + 0x16c]
mov dword [rsi], 1
call sub.VCRUNTIME140.dll_memcpy
mov dword [rdi + 0x168], ebx
add rbx, 8
je 0x140017d67
mov rax, qword [rdi]
test rax, rax
je 0x140017d25
mov rcx, qword [rax + 8]
cmp rcx, 0xffffffffffffffff
je 0x140017d25
test rsi, rsi
je 0x140017d25
lea r9, [rsp + 0x30]
mov dword [rsp + 0x30], 0
mov r8d, ebx
mov qword [rsp + 0x20], 0
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x140017d25
cmp dword [rsp + 0x30], ebx
je 0x140017d67
mov r8, qword [rdi + 0x18]
test r8, r8
je 0x140017d44
mov eax, dword [rdi + 8]
dec eax
test eax, 0xfffffffd
jne 0x140017d44
mov ecx, dword [rdi + 0x60]
lea rdx, [rdi + 0x64]
call r8
mov rbx, qword [rdi]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 8], 0xffffffffffffffff
xor al, al
mov byte [rbx], 0
mov dword [rdi + 8], 0
jmp 0x140017d69
mov al, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400c4450
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x14001cb00
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14001cb5d
lea rbx, [0x1400dcfd0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x14001cb44
cmp r10, 2
jb 0x14001cb44
cmp byte [r9], r8b
jne 0x14001cb44
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x14001cb20
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14001cb9f
lea rbx, [0x1400dcfd0]
cmp r8b, 0x23
jne 0x14001cb83
cmp byte [r9], r8b
jne 0x14001cb83
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x14001cb70
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x14001cce0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14001ccfa
mov qword [r8], 0
lea rdx, [0x1400dca14]
call fcn.14001cbb0
mov rbx, rax
test rax, rax
jne 0x14001cd1a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x14001ce05
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14001ce05
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14001ce05
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14001ce05
cmp rdi, 0xffffffffffffffff
je 0x14001ce05
mov rax, qword [0x140157888]
test rax, rax
je 0x14001cd96
inc dword [rax + 0x3b0]
mov rdx, qword [0x140157890]
mov rcx, rdi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rsi, rax
test rax, rax
je 0x14001ce05
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x14001cdf2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140157888]
test rax, rax
je 0x14001cde1
dec dword [rax + 0x3b0]
mov rdx, qword [0x140157890]
mov rcx, rsi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
jmp 0x14001ce0e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14001ce00
mov qword [r14], rdi
mov rax, rsi
jmp 0x14001ce10
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140024880
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov edx, r10d
test r9b, r9b
je 0x1400248d0
lea r11, [0x1400dcfd0]
nop dword [rax]
cmp r9b, 0x23
jne 0x1400248b3
cmp byte [r8], r9b
jne 0x1400248b3
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x1400248a0
mov rcx, qword [0x140157888]
not edx
add rcx, 0x1cf8
jmp fcn.14001d160