joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400095a0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x1400095b8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x1400095c0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x1400095d0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x14000961d
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x140009614
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x14000961f
add rax, 0x28
cmp rax, r9
jne 0x140009600
xor eax, eax
ret

Function at 0x140009620
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x1400096b0
mov rdx, qword [0x14000c7b0]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x14000969e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14000969e
cmp word [rax + 0x18], 0x20b
jne 0x14000969e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x1400096b0
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x140009689
add rbx, 0x28
cmp rbx, rdi
je 0x1400096b0
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x140009680
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x1400096c0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14000c7b0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400096e0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400096e8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400096e0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000973d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140009734
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400096e0
add rax, 0x28
cmp rax, r9
jne 0x140009720
xor eax, eax
ret

Function at 0x140009740
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000c7b0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000975f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140009768
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000975f
movzx ecx, word [rax + 6]
mov eax, ecx
ret
Function at 0x140009780
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x14000c7b0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x1400097a0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x1400097a8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1400097a0
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x1400097f0
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x1400097e7
test rcx, rcx
je 0x1400097a0
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x1400097d8
xor eax, eax
ret

Function at 0x140009800
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000c7b0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000981f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140009828
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x140009840
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14000c7b0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140009860
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140009868
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140009860
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x140009860
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x1400098b4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1400098c0
add rdx, 0x28
cmp r9, rdx
jne 0x1400098a0
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x1400098d0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x14000c7b0]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x1400098f2
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140009900
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400098f2
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x1400098f2
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x1400098f2
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x140009955
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140009968
add rdx, 0x28
cmp rdx, r10
jne 0x140009940
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x140009977
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x140009987
mov edx, dword [rax + 0xc]
test edx, edx
je 0x14000995e
test ecx, ecx
jg 0x140009970
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x4a8900
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push rbp
mov rbp, rsp
mov rcx, qword [rsp + 0x10]
mov rax, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
add rbx, 0x10
pxor xmm4, xmm4
cmp ecx, 0xc
je 0x4a89d4
jb 0x4a8a33
movups xmm2, xmmword [rax + 0x10]
movups xmmword [rbx], xmm2
add rbx, 0x10
aeskeygenassist xmm1, xmm2, 1
call fcn.004a87e0
aeskeygenassist xmm1, xmm0, 1
call fcn.004a8800
aeskeygenassist xmm1, xmm2, 2
call fcn.004a87e0
aeskeygenassist xmm1, xmm0, 2
call fcn.004a8800
aeskeygenassist xmm1, xmm2, 4
call fcn.004a87e0
aeskeygenassist xmm1, xmm0, 4
call fcn.004a8800
aeskeygenassist xmm1, xmm2, 8
call fcn.004a87e0
aeskeygenassist xmm1, xmm0, 8
call fcn.004a8800
aeskeygenassist xmm1, xmm2, 0x10
call fcn.004a87e0
aeskeygenassist xmm1, xmm0, 0x10
call fcn.004a8800
aeskeygenassist xmm1, xmm2, 0x20
call fcn.004a87e0
aeskeygenassist xmm1, xmm0, 0x20
call fcn.004a8800
aeskeygenassist xmm1, xmm2, 0x40
call fcn.004a87e0
jmp 0x4a8aa1
movq xmm2, qword [rax + 0x10]
aeskeygenassist xmm1, xmm2, 1
call fcn.004a8740
aeskeygenassist xmm1, xmm2, 2
call fcn.004a87a0
aeskeygenassist xmm1, xmm2, 4
call fcn.004a8740
aeskeygenassist xmm1, xmm2, 8
call fcn.004a87a0
aeskeygenassist xmm1, xmm2, 0x10
call fcn.004a8740
aeskeygenassist xmm1, xmm2, 0x20
call fcn.004a87a0
aeskeygenassist xmm1, xmm2, 0x40
call fcn.004a8740
aeskeygenassist xmm1, xmm2, 0x80
call fcn.004a87a0
jmp 0x4a8aa1
aeskeygenassist xmm1, xmm0, 1
call fcn.004a8700
aeskeygenassist xmm1, xmm0, 2
call fcn.004a8700
aeskeygenassist xmm1, xmm0, 4
call fcn.004a8700
aeskeygenassist xmm1, xmm0, 8
call fcn.004a8700
aeskeygenassist xmm1, xmm0, 0x10
call fcn.004a8700
aeskeygenassist xmm1, xmm0, 0x20
call fcn.004a8700
aeskeygenassist xmm1, xmm0, 0x40
call fcn.004a8700
aeskeygenassist xmm1, xmm0, 0x80
call fcn.004a8700
aeskeygenassist xmm1, xmm0, 0x1b
call fcn.004a8700
aeskeygenassist xmm1, xmm0, 0x36
call fcn.004a8700
sub rbx, 0x10
movups xmm1, xmmword [rbx]
movups xmmword [rdx], xmm1
dec rcx
movups xmm1, xmmword [rbx - 0x10]
aesimc xmm0, xmm1
movups xmmword [rdx + 0x10], xmm0
sub rbx, 0x10
add rdx, 0x10
dec rcx
jne 0x4a8aae
movups xmm0, xmmword [rbx - 0x10]
movups xmmword [rdx + 0x10], xmm0
pop rbp
ret

Function at 0x4a8ea0
Capabilities:
Execute syscall

Disassembly:
xor rax, rax
mov ax, word [rsp + 8]
push rcx
mov rcx, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x18]
mov rdi, qword gs:[0x30]
mov dword [rdi + 0x68], 0
sub rsp, 0x80
cmp ecx, 4
jle 0x4a8ee0
cmp ecx, 0x10
jle 0x4a8ed6
int 3
mov rdi, rsp
cld
rep movsq qword [rdi], qword [rsi]
mov rsi, rsp
sub rsp, 8
mov rcx, qword [rsi]
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
mov r9, qword [rsi + 0x18]
movq xmm0, rcx
movq xmm1, rdx
movq xmm2, r8
movq xmm3, r9
mov r10, rcx
syscall
add rsp, 0x88
pop rcx
mov dword [rsp + 0x28], eax
ret
Function at 0x4ab0c0
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x4ab0d7
inc rax
cmp rax, 4
jge 0x4ab0ef
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x4ab0d4
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x4ab100
inc rax
cmp rax, 4
jge 0x4ab10e
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x4ab137
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x4ab11b
jmp 0x4ab0fd
Function at 0x4b5420
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x20]
cmp r12, qword [r14 + 0x10]
jbe 0x4b56b9
push rbp
mov rbp, rsp
sub rsp, 0x98
mov qword [rsp + 0xb0], rbx
mov qword [rsp + 0xa8], rax
nop
lea rax, [0x004d1da0]
call fcn.0040c6a0
mov qword [rsp + 0x70], rax
mov qword [rax + 8], 9
lea rcx, [0x004dd7ca]
mov qword [rax], rcx
mov byte [rax + 0x10], 1
nop
lea rax, [0x004d1da0]
call fcn.0040c6a0
mov qword [rsp + 0x68], rax
mov qword [rax + 8], 8
lea rcx, [0x004dd55a]
mov qword [rax], rcx
mov byte [rax + 0x10], 1
nop
lea rax, [0x004d1ce0]
call fcn.0040c6a0
cmp dword [0x005f2010], 0
jne 0x4b54b7
mov rcx, qword [rsp + 0x70]
jmp 0x4b54c4
call fcn.00461300
mov rcx, qword [rsp + 0x70]
mov qword [r11], rcx
mov qword [rsp + 0x60], rax
mov qword [rax + 0x18], rcx
mov qword [rax + 8], 0xd
lea rcx, [0x004de5cc]
mov qword [rax], rcx
nop
lea rax, [0x004d1ce0]
call fcn.0040c6a0
cmp dword [0x005f2010], 0
jne 0x4b5500
mov rcx, qword [rsp + 0x68]
jmp 0x4b550d
call fcn.00461300
mov rcx, qword [rsp + 0x68]
mov qword [r11], rcx
mov qword [rsp + 0x58], rax
mov qword [rax + 0x18], rcx
mov qword [rax + 8], 0xc
lea rcx, [0x004de14c]
mov qword [rax], rcx
mov qword [rsp + 0x40], 0
mov rcx, qword [rsp + 0xb0]
mov qword [rsp + 0x48], rcx
lea rax, [0x004c26a0]
call fcn.0040c6a0
mov rcx, qword [rsp + 0xb0]
mov qword [rax + 8], rcx
mov qword [rax + 0x10], 0x3000
mov qword [rax + 0x18], 0x40
mov rbx, rax
mov edi, 4
mov rax, qword [rsp + 0x58]
mov rcx, rdi
call fcn.004ae500
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0xb0]
test rcx, rcx
jbe 0x4b56ae
mov rcx, qword [rsp + 0xa8]
mov qword [rsp + 0x90], rcx
lea rax, [0x004c2640]
call fcn.0040c6a0
mov rcx, qword [rsp + 0x50]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x90]
mov qword [rax + 8], rcx
mov rcx, qword [rsp + 0xb0]
mov qword [rax + 0x10], rcx
mov rbx, rax
mov ecx, 3
mov rdi, rcx
mov rax, qword [rsp + 0x60]
nop dword [rax]
call fcn.004ae500
movzx ecx, word [0x005f1da4]
mov word [rsp + 0x3e], cx
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x88], rdx
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x80], rdx
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x78], rdx
lea rax, [0x004c2700]
nop dword [rax]
call fcn.0040c6a0
mov qword [rax], 0xffffffffffffffff
mov rcx, qword [rsp + 0x88]
mov qword [rax + 8], rcx
mov rcx, qword [rsp + 0x80]
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], 0x20
mov rcx, qword [rsp + 0x78]
mov qword [rax + 0x20], rcx
movzx ecx, word [rsp + 0x3e]
mov word [rsp], cx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], 5
mov qword [rsp + 0x18], 5
call fcn.004a8ea0
xorps xmm15, xmm15
mov r14, qword [0x005f1fd0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x50]
xor ebx, ebx
mov rcx, rbx
mov rdi, rcx
mov rsi, rcx
nop dword [rax]
call fcn.0045dd40
add rsp, 0x98
pop rbp
ret
xor eax, eax
mov rcx, rax
call fcn.00461680
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.0045f400
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
nop dword [rax]
jmp fcn.004b5420
Function at 0x18000112c
Capabilities:
Get hostname
Get session user name

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x168]
sub rsp, 0x250
mov rdi, rdx
mov dword [rbp + 0x170], 0x100
mov rsi, rcx
lea rdx, [rsp + 0x40]
xor ecx, ecx
lea r8, [rbp + 0x170]
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
jne 0x18000117e
mov dword [rsp + 0x40], 0x78
lea r8, [rsp + 0x40]
mov rcx, rsi
lea rdx, [0x180007080]
call fcn.180001e80
lea rdx, [rbp + 0x170]
mov dword [rbp + 0x170], 0x100
lea rcx, [rsp + 0x40]
mov rbx, rax
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x1800011bd
mov dword [rsp + 0x40], 0x78
lea rcx, [rsi + rbx*2]
lea r8, [rsp + 0x40]
lea rdx, [0x180007118]
call fcn.180001e80
add rbx, rax
lea rdx, [0x180007118]
mov r8, rdi
lea rcx, [rsi + rbx*2]
call fcn.180001e80
lea rdx, [rsp + 0x20]
mov ecx, 5
add rbx, rax
call fcn.18000277c
mov r14d, eax
lea rcx, [rsi + rbx*2]
lea r8, [0x1800070e8]
lea rdx, [0x180007040]
test eax, eax
je 0x180001258
mov r9d, dword [rsp + 0x20]
call qword [sym.imp.USER32.dll_wsprintfW]
movsxd rcx, eax
mov edi, 1
add rbx, rcx
jmp 0x180001251
mov r9d, dword [rsp + rdi*4 + 0x20]
lea rcx, [rsi + rbx*2]
lea r8, [0x1800070b8]
lea rdx, [0x180007040]
call qword [sym.imp.USER32.dll_wsprintfW]
movsxd rcx, eax
add rbx, rcx
inc rdi
cmp rdi, r14
jb 0x18000122b
jmp 0x180001267
xor r9d, r9d
call qword [sym.imp.USER32.dll_wsprintfW]
movsxd rcx, eax
add rbx, rcx
lea r11, [rsp + 0x250]
mov rax, rbx
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x180001288
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov eax, 0x5a4d
mov rsi, rdx
mov rbx, rcx
cmp word [rcx], ax
je 0x1800012ae
xor eax, eax
jmp 0x180001368
movsxd rdi, dword [rcx + 0x3c]
add rdi, rbx
cmp dword [rdi], 0x4550
jne 0x1800012a7
mov rdx, rdi
call fcn.1800016d0
rdtsc
shl rdx, 0x20
xor r10d, r10d
or rax, rdx
mov r9, rbx
mov r8, rax
movabs rax, 0x106291eb9624e171
mul r8
mov rcx, r8
sub rcx, rdx
shr rcx, 1
add rcx, rdx
mov edx, r10d
shr rcx, 0x18
imul rcx, rcx, 0x1e13380
sub r8, rcx
add r8d, 0x54a48e00
mov dword [rdi + 8], r8d
lea r8d, [rsi + 1]
shr r8d, 1
je 0x18000132f
movzx eax, word [r9]
lea r9, [r9 + 2]
add edx, eax
mov ecx, edx
movzx edx, dx
shr ecx, 0x10
add edx, ecx
add r8d, 0xffffffff
jne 0x180001315
mov eax, edx
shr eax, 0x10
add eax, edx
movzx edx, ax
movsxd rax, dword [rbx + 0x3c]
mov ecx, dword [rax + rbx + 0x58]
movzx eax, cx
cmp edx, eax
adc eax, r10d
shr ecx, 0x10
sub edx, eax
cmp edx, ecx
setb r10b
sub dx, r10w
sub dx, cx
movzx eax, dx
add eax, esi
mov dword [rdi + 0x58], eax
mov eax, 1
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x180001378
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x1800013a0
and qword [rsp + 0x28], 0
lea r8, [0x1800028d4]
and dword [rsp + 0x20], 0
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x38
ret
Function at 0x180001430
Capabilities:
Get common file path

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, 0x30
mov r14, rdx
mov rsi, rcx
lea rcx, [r9 + 0x20a]
mov rdx, r8
mov rbx, r9
mov rbp, r8
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
xor r9d, r9d
lea rdi, [rbx + 0x106]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
xor ecx, ecx
lea edx, [r9 + 0x1a]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov rcx, rdi
test eax, eax
je 0x180001499
lea rdx, [0x1800070f8]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x1800014a6
lea rdx, [0x180007060]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcatA]
mov byte [rbx], 0x43
lea rcx, [rbx + 2]
mov al, byte [rsi + 1]
mov rdx, r14
mov byte [rbx + 1], al
lea rax, [rsi + 0x6a]
mov qword [rbx + 0x34e], rax
mov qword [rbx + 0x356], 0x25c
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp byte [rsi + 1], 0
je 0x1800014fa
lea rdx, [0x18000700c]
lea rcx, [rbx + 0x30e]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x180001501
mov byte [rbx + 0x30e], 0
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x1800016d0
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov qword [rsp + 8], rbx
movzx r8d, word [rdx + 6]
mov rbx, rcx
mov ecx, 0x10b
cmp word [rdx + 0x18], cx
lea eax, [rcx - 0x13]
lea r11d, [rcx - 3]
cmove r11d, eax
xor r9d, r9d
add r11, rdx
test r8d, r8d
je 0x18000171c
lea rcx, [r11 + 0x10]
test dword [rcx + 0x14], 0x20000000
je 0x180001710
mov eax, dword [rcx - 8]
cmp dword [rcx], eax
ja 0x180001724
inc r9d
add rcx, 0x28
cmp r9d, r8d
jb 0x180001700
xor eax, eax
mov rbx, qword [rsp + 8]
ret
rdtsc
lea r10, [r9 + r9*4]
shl rdx, 0x20
mov r9d, dword [r11 + r10*8 + 8]
or rax, rdx
mov ecx, dword [r11 + r10*8 + 0x10]
xor edx, edx
sub ecx, r9d
div ecx
mov ecx, dword [r11 + r10*8 + 0x14]
add rcx, rbx
add rcx, r9
lea eax, [r9 + rdx]
mov dword [r11 + r10*8 + 8], eax
test edx, edx
je 0x180001771
mov r8d, edx
rdtsc
shl rdx, 0x20
or rax, rdx
mov byte [rcx], al
inc rcx
sub r8, 1
jne 0x18000175d
mov eax, 1
jmp 0x18000171e

Function at 0x180001778
Capabilities:
Get common file path
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, dword [rcx + 2]
mov rdi, rcx
mov ebp, dword [rcx + 6]
mov rbx, rdx
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
lea r8d, [rax - 1]
movsxd rcx, r8d
cmp byte [rcx + rbx], 0x5c
je 0x1800017ba
cdqe
mov byte [rcx + rbx], 0x5c
mov byte [rax + rbx], 0
lea rdx, [rdi + 0x4a]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcatA]
lea rcx, [rdi + 0x2c6]
mov rdx, rbp
add rcx, rsi
call fcn.180001288
lea rdx, [rdi + 0x2c6]
mov r8, rbp
add rdx, rsi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.180002ab0
Function at 0x180001804
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edi
lea ebp, [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_SwitchToThread]
rdtsc
shl rdx, 0x20
or rax, rdx
mov r8, rax
xor ecx, ecx
mov eax, 1
cpuid
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x24], ebx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x2c], edx
rdtsc
shl rdx, 0x20
or rax, rdx
sub rax, r8
add rdi, rax
call qword [sym.imp.KERNEL32.dll_SwitchToThread]
rdtsc
shl rdx, 0x20
nop
or rax, rdx
mov rcx, rax
rdtsc
shl rdx, 0x20
or rax, rdx
sub rax, rcx
add rsi, rax
sub rbp, 1
jne 0x18000181f
mov rbx, qword [rsp + 0x40]
xor edx, edx
mov rbp, qword [rsp + 0x48]
mov rax, rdi
div rsi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x180001af0
Capabilities:
Create directory
Get common file path

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, 0x140
mov r14d, dword [rcx + 2]
lea rax, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rax
mov rsi, rdx
mov rbx, rcx
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 0x1a]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea rcx, [rsp + 0x30]
lea rdx, [0x1800070f8]
test eax, eax
jne 0x180001b49
lea rdx, [0x180007060]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
lea rdx, [rbx + 0xa]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea rdx, [rbx + 0x2a]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
lea rdx, [rbx + 0xa]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
lea rdx, [rbx + 0x2a]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcatA]
mov r8, r14
lea rdx, [rbx + 0x2c6]
lea rcx, [rsp + 0x30]
call fcn.180002ab0
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x180002388
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
lea r9, section..d
sub rcx, r9
lea rdx, [r8 + r9]
inc r8
mov al, byte [rdx + 0x40]
xor al, byte [rdx]
mov byte [rcx + rdx + 0x40], al
cmp r8, 0x20
jb 0x180002395
ret

Function at 0x180002758
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
jmp 0x180002769
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [section..data], 0
je 0x18000275e
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x18000277c
Capabilities:
Get hostname
Get user security identifier

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xb0
mov rsi, rdx
mov dword [rbp + 0x77], 0x2f
mov edi, ecx
lea rdx, [rbp - 0x19]
xor ecx, ecx
lea r8, [rbp + 0x77]
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x1800028bc
lea rax, [rbp - 0x29]
xor r8d, r8d
mov qword [rsp + 0x30], rax
lea r9, [rbp + 0x7f]
lea rax, [rbp + 0x77]
xor ecx, ecx
mov qword [rsp + 0x28], rax
lea rdx, [rbp - 0x19]
lea rax, [rbp - 0x19]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
jne 0x1800028bc
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1800028bc
mov eax, dword [rbp + 0x7f]
test eax, eax
je 0x1800028bc
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea r8, [rbx + 1]
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x1800028bc
lea rax, [rbp - 0x29]
mov r8, rbx
mov qword [rsp + 0x30], rax
lea r9, [rbp + 0x7f]
lea rax, [rbp + 0x77]
xor ecx, ecx
mov qword [rsp + 0x28], rax
lea rdx, [rbp - 0x19]
lea rax, [rbp - 0x19]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
je 0x1800028a8
movzx eax, byte [rbx + 1]
lea rdx, [rbx + 8]
cmp eax, edi
cmovb edi, eax
mov r8d, edi
shl r8, 2
test rsi, rsi
je 0x180002890
test rdx, rdx
je 0x180002890
test r8, r8
je 0x180002890
sub rsi, rdx
mov cl, byte [rdx]
mov byte [rsi + rdx], cl
inc rdx
sub r8, 1
jne 0x180002882
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
jmp 0x1800028be
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
mov rbx, qword [rsp + 0xd0]
add rsp, 0xb0
pop rdi
pop rsi
pop rbp
ret
Function at 0x180002ab0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x40
and qword [rax - 0x18], 0
mov rdi, r8
mov rbx, rdx
mov dword [rax - 0x20], 0x80
xor r8d, r8d
mov dword [rax - 0x28], 2
mov edx, 0x40000000
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x180002b29
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x68]
mov r8d, edi
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x180002b29
cmp dword [rsp + 0x68], edi
jne 0x180002b29
mov eax, 1
jmp 0x180002b2b
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret