joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400074e0
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 0x140007508
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 0x14000752e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140007530
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140007589
test ecx, ecx
jle 0x140007569
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 0x140007589
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140007589
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 0x1400075b0
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 0x1400075d2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x1400075e8
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 0x140007604
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140007606
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140007642
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 0x1400076de
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14000767d
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 0x1400076be
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 0x1400076de
cmp rbx, rax
ja 0x140007690
test rbx, rbx
je 0x1400076de
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 0x140007b40
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140012040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140007b6d
xor eax, eax
jmp 0x140007cd9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140007ba7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140007ba7
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 0x140007cd9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140007ccc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140007bea
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 0x140007c15
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 0x140007cd1
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 0x140007c84
sub eax, 1
je 0x140007c84
cmp eax, 2
jne 0x140007ccc
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 0x140007cd1
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140007cb2
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 0x140007ccc
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140007cd1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14000a630
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1400088f0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140012040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400089c3
cmp byte [rcx + 0x71], 0
je 0x1400089c3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1400089bf
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 0x140008984
sub eax, 1
je 0x140008988
cmp eax, 2
jne 0x1400089bf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000a630
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400089b6
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 0x1400089bf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000896c
xor al, al
jmp 0x14000896c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000a630
add rsp, 0x60
pop rbx
ret

Function at 0x14000a044
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 0x14000a07e
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14000a083
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 0x14000a0cc
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14000c670]
cmp byte [rcx + rax], 0
je 0x14000a0cc
dec r8
sub rdx, 1
jne 0x14000a0b2
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14000b0d4
Capabilities:
Parse pe header

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

Disassembly:
cld
pop r11
jmp 0xc4933d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0xc4934d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0xc49335
lea eax, [rcx + 1]
jmp 0xc4935b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0xc4936e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0xc49354
sub eax, 3
jb 0xc4938e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0xc493dd
sar eax, 1
movsxd rbp, eax
jb 0xc493c4
jmp 0xc4939c
add ebx, ebx
jne 0xc4939a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0xc493c4
inc ecx
add ebx, ebx
jne 0xc493aa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0xc493c4
call r11
adc ecx, ecx
add ebx, ebx
jne 0xc493bd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0xc493ac
add ecx, 2
jmp 0xc493c9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.00c492f2
jmp 0xc4933d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x277800
mov dl, 0x36
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0xc49429
cmp rsi, rcx
jae 0xc49431
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0xc49410
cmp al, 0x8f
ja 0xc49410
cmp byte [rsi - 2], 0xf
je 0xc49416
sub al, 0xe8
cmp al, 1
ja 0xc493fa
cmp rsi, rcx
jae 0xc49431
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0xc49400
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0xc49431
lodsb al, byte [rsi]
jmp 0xc49410
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x842000]
mov eax, dword [rdi]
or eax, eax
je 0xc4948e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x849000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0xc4943e
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0xc49488
mov qword [rbx], rax
add rbx, 8
jmp 0xc4945e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0xc494d2
cmp al, 0xef
ja 0xc494ba
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0xc4949a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0xc494a9
mov eax, dword [rdi]
add rdi, 4
jmp 0xc494a9
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0xc49526
sub rsp, 0xffffffffffffff80
jmp 0x46dce0
Function at 0x2fc4cac20
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4cb622
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f0108]
test eax, eax
je 0x2fc4cb6ba
lea rax, [0x2fc4f00e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f0110]
mov qword [rbp - 8], rax
jmp 0x2fc4cb69e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4cb692
cmp qword [rbp - 0x10], 0
je 0x2fc4cb692
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4cb658
lea rax, [0x2fc4f00e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4cb6bb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4cb7c0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4cb7e8
mov eax, 0
jmp 0x2fc4cb836
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4cb811
mov eax, 0
jmp 0x2fc4cb836
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4cb831
mov eax, 0
jmp 0x2fc4cb836
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4cb83c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4cb8ba
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4cb8b1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4cb8b1
mov rax, qword [rbp - 8]
jmp 0x2fc4cb8cf
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4cb884
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140004c40
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x20
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov qword [rsp], 0
mov rax, qword [rsp]
cmp rax, qword [rsp + 0x18]
jae 0x140004ca7
mov rax, qword [rsp + 0x10]
mov rcx, qword [rsp]
movzx eax, byte [rax + rcx]
xor rax, qword [rsp + 8]
mov qword [rsp + 8], rax
movabs rax, 0x100000001b3
imul rax, qword [rsp + 8]
mov qword [rsp + 8], rax
mov rax, qword [rsp]
add rax, 1
mov qword [rsp], rax
jmp 0x140004c5b
mov rax, qword [rsp + 8]
add rsp, 0x20
ret

Function at 0x14000b410
Capabilities:
Enumerate processes

Disassembly:
push rbp
sub rsp, 0x1a0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x118], 0xfffffffffffffffe
mov qword [rbp - 0x50], rcx
mov rax, rcx
mov qword [rbp - 0x48], rax
mov qword [rbp + 0x110], rcx
mov qword [rbp + 0x108], rdx
mov ecx, 2
xor edx, edx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdx, rax
lea rcx, [rbp + 0xf8]
call fcn.14000bb20
lea rcx, [rbp + 0xf8]
call fcn.14000bb60
test al, 1
jne 0x14000b478
jmp 0x14000b52c
mov dword [rbp - 0x38], 0x130
lea rcx, [rbp + 0xf8]
call fcn.140009c60
mov rcx, rax
lea rdx, [rbp - 0x38]
call sub.KERNEL32.dll_Process32First
mov dword [rbp - 0x54], eax
jmp 0x14000b49f
mov eax, dword [rbp - 0x54]
cmp eax, 0
je 0x14000b527
jmp 0x14000b4b0
mov rdx, qword [rbp + 0x108]
lea rcx, [rbp - 0xc]
call fcn.1400a0670
mov dword [rbp - 0x58], eax
jmp 0x14000b4c8
mov eax, dword [rbp - 0x58]
cmp eax, 0
jne 0x14000b4f6
mov rcx, qword [rbp - 0x50]
lea r8, [rbp - 0xc]
lea rdx, [rbp - 0x30]
call fcn.14000bb80
jmp 0x14000b4ea
mov dword [rbp - 0x3c], 1
jmp 0x14000b54d
lea rcx, [rbp + 0xf8]
call fcn.140009c60
mov rcx, rax
lea rdx, [rbp - 0x38]
call sub.KERNEL32.dll_Process32Next
mov dword [rbp - 0x5c], eax
jmp 0x14000b516
mov eax, dword [rbp - 0x5c]
cmp eax, 0
jne 0x14000b4b0
jmp 0x14000b527
jmp 0x14000b52c
mov rcx, qword [rbp - 0x50]
xor edx, edx
mov r8d, 8
call fcn.1400c37c0
mov rcx, qword [rbp - 0x50]
call fcn.14000bc40
mov dword [rbp - 0x3c], 1
lea rcx, [rbp + 0xf8]
call fcn.14000bc60
mov rax, qword [rbp - 0x48]
add rsp, 0x1a0
pop rbp
ret
Function at 0x14000b900
Capabilities:
Enumerate process modules

Disassembly:
push rbp
sub rsp, 0x2f0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x268], 0xfffffffffffffffe
mov qword [rbp - 0x40], rdx
mov rax, rdx
mov qword [rbp - 0x38], rax
mov qword [rbp + 0x260], rdx
mov dword [rbp + 0x25c], r8d
mov qword [rbp + 0x250], rcx
mov rax, qword [rbp + 0x250]
mov qword [rbp - 0x30], rax
mov edx, dword [rax]
mov ecx, 0x18
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdx, rax
lea rcx, [rbp + 0x240]
call fcn.14000bb20
lea rcx, [rbp + 0x240]
call fcn.14000bb60
test al, 1
jne 0x14000b97a
jmp 0x14000ba82
mov dword [rbp + 8], 0x238
lea rcx, [rbp + 0x240]
call fcn.140009c60
mov rcx, rax
lea rdx, [rbp + 8]
call sub.KERNEL32.dll_Module32First
mov dword [rbp - 0x44], eax
jmp 0x14000b9a1
mov eax, dword [rbp - 0x44]
cmp eax, 0
je 0x14000ba7d
jmp 0x14000b9b2
mov rax, qword [rbp - 0x30]
mov eax, dword [rax]
cmp eax, dword [rbp + 0x10]
jne 0x14000ba4c
mov eax, dword [rbp + 0x28]
mov qword [rbp - 0x58], rax
mov rdx, qword [rbp + 0x20]
lea rcx, [rbp - 0x10]
call fcn.140003fd0
mov r8, qword [rbp - 0x58]
mov rdx, qword [rbp - 0x10]
lea rcx, [rbp - 8]
call fcn.140028b00
mov rax, qword [rbp - 0x30]
mov r8d, dword [rax]
mov ecx, dword [rbp + 0x25c]
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
xor edx, edx
call rax
mov qword [rbp - 0x50], rax
jmp 0x14000ba07
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x20], rax
lea rcx, [rbp - 0x18]
lea rdx, [rbp - 0x20]
call fcn.14000be30
jmp 0x14000ba21
mov rcx, qword [rbp - 0x40]
lea rdx, [rbp - 0x18]
lea r8, [rbp - 8]
call fcn.14000bd70
jmp 0x14000ba37
lea rcx, [rbp - 0x18]
call fcn.14000be90
mov dword [rbp - 0x24], 1
jmp 0x14000baa3
lea rcx, [rbp + 0x240]
call fcn.140009c60
mov rcx, rax
lea rdx, [rbp + 8]
call sub.KERNEL32.dll_Module32Next
mov dword [rbp - 0x5c], eax
jmp 0x14000ba6c
mov eax, dword [rbp - 0x5c]
cmp eax, 0
jne 0x14000b9b2
jmp 0x14000ba7d
jmp 0x14000ba82
mov rcx, qword [rbp - 0x40]
xor edx, edx
mov r8d, reloc.WS2_32.dll_recv
call fcn.1400c37c0
mov rcx, qword [rbp - 0x40]
call fcn.14000beb0
mov dword [rbp - 0x24], 1
lea rcx, [rbp + 0x240]
call fcn.14000bc60
mov rax, qword [rbp - 0x38]
add rsp, 0x2f0
pop rbp
ret
Function at 0x140012110
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x88
mov qword [rsp + 0x78], r8
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x68], rcx
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x78], 0
jg 0x14001214d
mov qword [rsp + 0x80], 0
jmp 0x140012319
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x68], 0
je 0x14001217e
mov rcx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x70]
call fcn.140012e90
mov qword [rsp + 0x80], rax
jmp 0x140012319
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x58], rax
call fcn.140011210
mov qword [rsp + 0x50], rax
xor eax, eax
cmp rax, qword [rsp + 0x50]
jae 0x14001221d
lea rcx, [rsp + 0x60]
lea rdx, [rsp + 0x50]
call fcn.1400045a0
mov rcx, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
call fcn.140011260
mov r8, qword [rsp + 0x28]
mov rdx, rax
mov rcx, qword [rsp + 0x70]
call fcn.140004730
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x48]
add rax, qword [rsp + 0x70]
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x60]
sub rax, rdx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x48]
mov edx, eax
call fcn.1400131b0
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x80], 0
je 0x140012307
mov rcx, qword [rsp + 0x30]
call fcn.1400115e0
mov qword [rsp + 0x40], 0xfff
mov eax, 0xfff
cmp rax, qword [rsp + 0x60]
jae 0x1400122c5
mov rax, qword [rsp + 0x30]
mov r9, qword [rax + 0x80]
mov rcx, qword [rsp + 0x70]
mov edx, 1
mov r8d, 0xfff
call fcn.1400a13ac
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
add rax, qword [rsp + 0x70]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x60]
sub rax, rcx
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x38], 0xfff
je 0x1400122c0
mov rax, qword [rsp + 0x58]
sub rax, qword [rsp + 0x60]
mov qword [rsp + 0x80], rax
jmp 0x140012319
jmp 0x140012243
xor eax, eax
cmp rax, qword [rsp + 0x60]
jae 0x140012302
mov rax, qword [rsp + 0x30]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x70]
mov edx, 1
call fcn.1400a13ac
mov rcx, rax
mov rax, qword [rsp + 0x60]
sub rax, rcx
mov qword [rsp + 0x60], rax
jmp 0x140012307
mov rax, qword [rsp + 0x58]
sub rax, qword [rsp + 0x60]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
add rsp, 0x88
ret
Function at 0x140021e60
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
sub rsp, 0x20
mov qword [rsp + 0x18], rcx
mov dword [rsp + 0x14], 0
cmp dword [rsp + 0x14], 4
jge 0x140021f1d
mov dword [rsp + 0x10], 0
cmp dword [rsp + 0x10], 4
jge 0x140021f08
mov rax, qword [rsp + 0x18]
movsxd rcx, dword [rsp + 0x14]
mov rax, qword [rax + rcx*8]
movsxd rcx, dword [rsp + 0x10]
mov al, byte [rax + rcx]
mov byte [rsp + 0xf], al
movzx eax, byte [rsp + 0xf]
mov ecx, reloc.WS2_32.dll_recv
cdq
idiv ecx
movsxd rcx, eax
lea rax, [0x1400c6b70]
shl rcx, 4
add rax, rcx
mov qword [rsp], rax
movzx eax, byte [rsp + 0xf]
mov ecx, reloc.WS2_32.dll_recv
cdq
idiv ecx
mov rax, qword [rsp]
movsxd rcx, edx
mov dl, byte [rax + rcx]
mov rax, qword [rsp + 0x18]
movsxd rcx, dword [rsp + 0x14]
mov rax, qword [rax + rcx*8]
movsxd rcx, dword [rsp + 0x10]
mov byte [rax + rcx], dl
mov eax, dword [rsp + 0x10]
add eax, 1
mov dword [rsp + 0x10], eax
jmp 0x140021e84
jmp 0x140021f0d
mov eax, dword [rsp + 0x14]
add eax, 1
mov dword [rsp + 0x14], eax
jmp 0x140021e71
add rsp, 0x20
ret

Function at 0x140022170
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
sub rsp, 0x20
mov qword [rsp + 0x18], rcx
mov dword [rsp + 0x14], 0
cmp dword [rsp + 0x14], 4
jge 0x14002222d
mov dword [rsp + 0x10], 0
cmp dword [rsp + 0x10], 4
jge 0x140022218
mov rax, qword [rsp + 0x18]
movsxd rcx, dword [rsp + 0x14]
mov rax, qword [rax + rcx*8]
movsxd rcx, dword [rsp + 0x10]
mov al, byte [rax + rcx]
mov byte [rsp + 0xf], al
movzx eax, byte [rsp + 0xf]
mov ecx, reloc.WS2_32.dll_recv
cdq
idiv ecx
movsxd rcx, eax
lea rax, [0x1400c7b80]
shl rcx, 4
add rax, rcx
mov qword [rsp], rax
movzx eax, byte [rsp + 0xf]
mov ecx, reloc.WS2_32.dll_recv
cdq
idiv ecx
mov rax, qword [rsp]
movsxd rcx, edx
mov dl, byte [rax + rcx]
mov rax, qword [rsp + 0x18]
movsxd rcx, dword [rsp + 0x14]
mov rax, qword [rax + rcx*8]
movsxd rcx, dword [rsp + 0x10]
mov byte [rax + rcx], dl
mov eax, dword [rsp + 0x10]
add eax, 1
mov dword [rsp + 0x10], eax
jmp 0x140022194
jmp 0x14002221d
mov eax, dword [rsp + 0x14]
add eax, 1
mov dword [rsp + 0x14], eax
jmp 0x140022181
add rsp, 0x20
ret