joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140033160
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140033f20
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140033f20
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x1400331d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14027d184]
mov rbx, rcx
test esi, esi
jle 0x140033300
mov rax, qword [0x14027d188]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14003321b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1400332a5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140033200
mov rcx, rbx
call fcn.140033c40
mov rdi, rax
test rax, rax
je 0x140033322
mov rax, qword [0x14027d188]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140033d80
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14027d188]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140033307
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x14003329e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x1400332b0
add dword [0x14027d184], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14027d188]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14003329e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140033160
nop dword [rax]
xor esi, esi
jmp 0x140033228
mov rax, qword [0x14027d188]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140033160
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140033160
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400338b0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14027d1e0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14027d1c0]
test rbx, rbx
je 0x14003390c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x140033903
test eax, eax
jne 0x140033903
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400338e8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140033c40
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140278120]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140033c60
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140033c68
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140033c60
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x140033cbd
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140033cb4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140033c60
add rax, 0x28
cmp rax, r9
jne 0x140033ca0
xor eax, eax
ret

Function at 0x140033cc0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140278120]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x140033cdf
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140033ce8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x140033cdf
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140033d80
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140278120]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x140033d9f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140033da8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x14002982c
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001ce24
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001ce24
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14002997c
cmp rax, 0xffffffffffffffff
je 0x14002997c
xor edi, edi
test rbp, rbp
jle 0x140029927
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001f738
mov rbx, rax
test rax, rax
jne 0x1400298b4
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14002991d
mov edx, 0x8000
mov ecx, r14d
call fcn.14001a758
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001db00
cmp eax, 0xffffffff
je 0x1400298fd
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400298c4
mov edx, r15d
mov ecx, r14d
call fcn.14001a758
jmp 0x14002991d
cmp byte [rsi + 0x38], dil
je 0x140029914
cmp dword [rsi + 0x34], 5
jne 0x140029914
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14002991d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001b4ec
jmp 0x140029990
jns 0x140029990
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001ce24
cmp rax, 0xffffffffffffffff
jne 0x140029948
cmp byte [rsi + 0x30], dil
je 0x140029990
mov edi, dword [rsi + 0x2c]
jmp 0x140029990
mov ecx, r14d
call fcn.140018c10
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140029990
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140029990
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140029989
mov eax, dword [rsi + 0x2c]
jmp 0x14002998e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001ce24
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x14002aa80
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14002aaa8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14002aaa8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x1406415e0
Capabilities:
Encode data using xor

Disassembly:
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 0x140641609
pop rbp
sub rbp, 0x29
sub rbp, 0x6415e0
jmp 0x140641669
sub rsp, 0x20
jmp 0x140641679
mov rax, 0x6415e0
add rax, rbp
add rax, 0xcb
mov rcx, 0x64a
mov rdx, 0xffffffffff63f7f4
xor byte [rax], dl
inc rax
dec rcx
jne 0x140641698
jmp 0x1406416af
mov esp, 0x7d7f1d7d
enter 0xfffffffffffff4f4, 0xfffffffffffffff4
mov esp, 0xf5fc3575
hlt
Function at 0x2fc4cae30
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 0x2fc4cb832
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f0108]
test eax, eax
je 0x2fc4cb8ca
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 0x2fc4cb8ae
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 0x2fc4cb8a2
cmp qword [rbp - 0x10], 0
je 0x2fc4cb8a2
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 0x2fc4cb868
lea rax, [0x2fc4f00e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4cb8cb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4cb9d0
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 0x2fc4cb9f8
mov eax, 0
jmp 0x2fc4cba46
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 0x2fc4cba21
mov eax, 0
jmp 0x2fc4cba46
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 0x2fc4cba41
mov eax, 0
jmp 0x2fc4cba46
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4cba4c
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 0x2fc4cbaca
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4cbac1
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 0x2fc4cbac1
mov rax, qword [rbp - 8]
jmp 0x2fc4cbadf
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 0x2fc4cba94
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x180001000
Capabilities:
Get routing table

Disassembly:
push rbx
push rbp
sub rsp, 0x1c8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
xor ebx, ebx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea r8d, [rbx + 0x3c]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbp, rax
test rax, rax
je 0x180001210
lea rdx, [rsp + 0x20]
xor r8d, r8d
mov rcx, rax
mov qword [rsp + 0x1e8], rdi
call sub.IPHLPAPI.DLL_GetIpForwardTable
cmp eax, 0x7a
jne 0x180001098
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbp
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov edi, dword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbp, rax
test rax, rax
je 0x18000120c
lea rdx, [rsp + 0x20]
xor r8d, r8d
mov rcx, rbp
call sub.IPHLPAPI.DLL_GetIpForwardTable
test eax, eax
jne 0x1800011f8
cmp dword [rbp], ebx
mov qword [rsp + 0x1f0], r12
mov r12d, ebx
jle 0x1800011b8
mov qword [rsp + 0x1e0], rsi
mov qword [rsp + 0x1c0], r13
lea r13, [rbp + 8]
nop dword [rax + rax]
mov ecx, dword [r13 - 4]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
lea rcx, [rsp + 0x30]
mov edx, 0x80
mov r8, rax
call qword [sym.imp.MSVCR90.dll_strcpy_s]
mov ecx, dword [r13]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
lea rcx, [rsp + 0xb0]
mov edx, 0x80
mov r8, rax
call qword [sym.imp.MSVCR90.dll_strcpy_s]
mov ecx, dword [r13 + 8]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
lea rcx, [rsp + 0x130]
mov edx, 0x80
mov r8, rax
call qword [sym.imp.MSVCR90.dll_strcpy_s]
lea rsi, [rsp + 0x30]
lea rdi, str.0.0.0.0
mov ecx, 8
repe cmpsb byte [rsi], byte [rdi]
jne 0x18000116a
lea rsi, [rsp + 0xb0]
lea rdi, str.0.0.0.0
mov ecx, 8
repe cmpsb byte [rsi], byte [rdi]
je 0x18000117d
inc r12d
add r13, 0x38
cmp r12d, dword [rbp]
jl 0x1800010e0
jmp 0x1800011a8
lea rcx, [0x18000a4a8]
nop word [rax + rax]
movzx eax, byte [rsp + rbx + 0x130]
inc rbx
mov byte [rbx + rcx - 1], al
test al, al
jne 0x180001190
mov ebx, 1
mov rsi, qword [rsp + 0x1e0]
mov r13, qword [rsp + 0x1c0]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbp
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r12, qword [rsp + 0x1f0]
mov eax, ebx
mov rdi, qword [rsp + 0x1e8]
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.180005850
add rsp, 0x1c8
pop rbp
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbp
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, ebx
jmp 0x1800011d6
mov eax, ebx
jmp 0x1800011de
Function at 0x180001220
Capabilities:
Initialize winsock library

Disassembly:
sub rsp, 0x1d8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
test edx, edx
je 0x1800012e3
cmp edx, 1
jne 0x180001303
lea rdx, [rsp + 0x20]
mov ecx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x180001303
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov qword [0x18000a468], rax
test rax, rax
je 0x180001303
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_KillTimer]
call section..text
test eax, eax
jne 0x1800012a6
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
call section..text
test eax, eax
je 0x180001292
lea rcx, [0x18000a4d0]
xor edx, edx
mov r8d, 0x104
call sub.MSVCR90.dll_memset
lea r8, [0x18000a4a8]
lea rdx, str._c_route_add_0.0.0.0_mask_0.0.0.0__s
lea rcx, [0x18000a4d0]
call qword [sym.imp.MSVCR90.dll_sprintf]
call fcn.1800027d0
mov byte [str.SOFTWARE_test], 0
jmp 0x180001303
mov rcx, qword [0x18000a468]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x18000a348]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 1
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.180005850
add rsp, 0x1d8
ret

Function at 0x180001320
Capabilities:
Stop service

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
lea rdx, str.Themes
mov r8d, 0xf01ff
mov rcx, rax
mov rsi, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
lea r8, [rsp + 0x20]
mov edx, 1
mov rcx, rax
mov rdi, rax
call qword [sym.imp.ADVAPI32.dll_ControlService]
mov ebx, 0x1d
lea r8, [rsp + 0x20]
mov edx, 4
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x180001397
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x426
je 0x1800013b0
cmp dword [rsp + 0x24], 1
je 0x1800013b8
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
add ebx, 0xffffffff
jne 0x180001373
jmp 0x1800013b8
mov dword [rsp + 0x24], 1
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x180001470
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov r8d, dword [0x18000a658]
xor edx, edx
mov ecx, 0x1f0fff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x1800014b9
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x1800014b0
lea rdx, [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x20
pop rbx
ret
Function at 0x1800014c0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x160
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rsi, rcx
xor ebp, ebp
xor edx, edx
lea ecx, [rbp + 0xf]
mov dword [rsp + 0x20], 0x130
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea rdx, [rsp + 0x20]
mov rcx, rax
mov rbx, rax
call sub.KERNEL32.dll_Process32First
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x4c]
repne scasb al, byte [rdi]
not rcx
dec rcx
movsxd rdx, ecx
test ecx, ecx
jle 0x18000154e
nop word [rax + rax]
movzx ecx, byte [rsp + rax + 0x4c]
cmp cl, 0x41
jl 0x180001546
cmp cl, 0x5f
jg 0x180001546
add cl, 0x20
mov byte [rsp + rax + 0x4c], cl
inc rax
cmp rax, rdx
jl 0x180001530
lea rax, [rsp + 0x4c]
mov rdi, rsi
sub rdi, rax
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + rdi]
sub edx, ecx
jne 0x180001572
inc rax
test ecx, ecx
jne 0x180001560
test edx, edx
je 0x180001589
lea rdx, [rsp + 0x20]
mov rcx, rbx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x180001510
jmp 0x180001598
mov eax, dword [rsp + 0x28]
mov ebp, 1
mov dword [0x18000a658], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x18000a65c], 0
mov eax, ebp
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.180005850
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1800027d0
Capabilities:
Create thread
Encode data using xor

Disassembly:
push rbx
push rdi
sub rsp, 0x48
xor ecx, ecx
call qword [sym.imp.MSVCR90.dll__time64]
mov rcx, rax
call qword [sym.imp.MSVCR90.dll_srand]
mov edi, 4
nop dword [rax]
call qword [sym.imp.MSVCR90.dll_rand]
sub rdi, 1
jne 0x1800027f0
call qword [sym.imp.MSVCR90.dll_rand]
mov ebx, eax
imul ebx, ebx, 0x1d
call qword [sym.imp.MSVCR90.dll_rand]
add ebx, eax
mov eax, 0x431bde83
imul ebx
sar edx, 0x12
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul edx, edx, 0xf4240
sub ebx, edx
cmp ebx, 0xf4240
jl 0x180002836
sub ebx, 0xf4240
cmp ebx, 0x186a0
jge 0x18000284b
call qword [sym.imp.MSVCR90.dll_rand]
lea ebx, [rbx + rax + 0x186a0]
mov rcx, qword [0x18000a468]
or edx, 0xffffffff
mov dword [0x18000a41c], ebx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
or rcx, 0xffffffffffffffff
xor eax, eax
lea r8, str.224269_6:_8__C
xor ebx, ebx
mov rdi, r8
repne scasb al, byte [rdi]
not rcx
lea rdi, [rcx - 1]
mov ecx, ebx
test edi, edi
jle 0x18000289b
mov eax, ecx
inc r8
cdq
and eax, 1
xor eax, edx
sub eax, edx
add al, cl
inc ecx
sub byte [r8 - 1], al
cmp ecx, edi
jl 0x180002882
or rcx, 0xffffffffffffffff
xor eax, eax
lea r8, str.a5355:66kyw
mov rdi, r8
repne scasb al, byte [rdi]
not rcx
lea rdi, [rcx - 1]
mov ecx, ebx
test edi, edi
jle 0x1800028d9
nop word [rax + rax]
mov eax, ecx
inc r8
cdq
and eax, 1
xor eax, edx
sub eax, edx
add al, cl
inc ecx
sub byte [r8 - 1], al
cmp ecx, edi
jl 0x1800028c0
mov rcx, qword [0x18000a468]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
call fcn.180002bd0
lea rdx, [0x18000a348]
mov qword [rsp + 0x20], rdx
lea rdx, [0x18000a470]
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
call fcn.1800035d0
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x28], rdx
lea r8, [0x180003a10]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x180002949
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, [rsp + 0x68]
lea r8, [0x180001a60]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x180002979
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, [rsp + 0x70]
lea r8, [0x180003d60]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x1800029a9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, [rsp + 0x78]
lea r8, [0x1800046a0]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x1800029d9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, [rsp + 0x30]
lea r8, [0x180004ea0]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x180002a09
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x48
pop rdi
pop rbx
ret
Function at 0x180002a10
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0x100
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0xf0], rax
lea rcx, [rsp + 0x40]
lea r8, [0x180000000]
lea rdi, [rsp + 0x40]
mov rax, qword [r8 + 0x7438]
mov qword [rcx], rax
mov rax, qword [r8 + 0x7440]
mov qword [rcx + 8], rax
mov rax, qword [r8 + 0x7448]
mov qword [rcx + 0x10], rax
movzx eax, byte [r8 + 0x7450]
mov byte [rcx + 0x18], al
xor eax, eax
or rcx, 0xffffffffffffffff
mov qword [rsp + 0x59], rax
mov qword [rsp + 0x61], rax
mov qword [rsp + 0x69], rax
mov word [rsp + 0x71], ax
repne scasb al, byte [rdi]
not rcx
dec rcx
movsxd rdx, ecx
test ecx, ecx
jle 0x180002a9d
add byte [rsp + rax + 0x40], 2
inc rax
cmp rax, rdx
jl 0x180002a90
mov rax, qword [r8 + 0x7458]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x8e]
mov qword [rdx], rax
mov eax, dword [r8 + 0x7460]
mov dword [rdx + 8], eax
movzx eax, word [r8 + 0x7464]
mov word [rdx + 0xc], ax
xor edx, edx
lea r8d, [rdx + 0x57]
call sub.MSVCR90.dll_memset
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x80]
repne scasb al, byte [rdi]
not rcx
dec rcx
movsxd rdx, ecx
test ecx, ecx
jle 0x180002b10
nop word [rax + rax]
add byte [rsp + rax + 0x80], 3
inc rax
cmp rax, rdx
jl 0x180002b00
lea rax, [rsp + 0x38]
lea rdx, [rsp + 0x40]
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [0x18000a660], 0
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x180002b9e
mov rcx, qword [rsp + 0x38]
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
lea rdx, [rsp + 0x80]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x34], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [rsp + 0x30]
cmp eax, 0xf4240
jbe 0x180002b94
add eax, 0xbc614e
mov dword [0x18000a660], eax
jmp 0x180002b9e
mov dword [0x18000a660], 0
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x180002bae
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.180005850
add rsp, 0x100
pop rdi
ret