joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1402ac340
Capabilities:
Hash data via bcrypt

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
xorps xmm4, xmm4
movaps xmmword [rbp - 0x50], xmm4
xor eax, eax
mov qword [rbp - 0x40], rax
mov rbx, rdx
mov esi, r8d
mov edi, r9d
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.14022ab00
nop
mov rdx, qword [rbx]
mov qword [rbp - 0x50], rdx
mov rcx, qword [rbp - 0x48]
mov rcx, qword [rcx + 8]
mov qword [rbp - 0x88], rcx
mov qword [rbp - 0x90], rdx
mov r8d, esi
mov dword [rbp - 0x7c], r8d
mov r9d, edi
mov dword [rbp - 0x80], r9d
lea rcx, [rbp - 0x78]
call fcn.14000aec0
mov rcx, qword [rbp - 0x88]
mov rdx, qword [rbp - 0x90]
mov r8d, dword [rbp - 0x7c]
mov r9d, dword [rbp - 0x80]
call sub.bcrypt.dll_BCryptHashData
mov ebx, eax
lea rcx, [rbp - 0x78]
call fcn.14000af10
nop
xor ecx, ecx
mov qword [rbp - 0x50], rcx
cmp byte [rbp - 0x40], 0
je 0x1402ac3f9
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.14022ab40
mov eax, ebx
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x14030a320
Capabilities:
Encode data using xor

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
lea rbx, [0x1404a3020]
cmp qword [rbx - 8], 0
jne 0x14030a454
imul esi, dword [rbx + 4], 0x32
test esi, esi
jl 0x14030a46f
mov rax, qword gs:[0x58]
mov ecx, dword [0x140cba6b8]
mov edx, reloc.WS2_32.dll_recv
add rdx, qword [rax + rcx*8]
mov rcx, rdx
mov rdi, qword [rcx]
test rdi, rdi
je 0x14030a45e
mov rcx, qword [rdi + 0xf8]
test rcx, rcx
jne 0x14030a380
call fcn.140252850
mov rcx, rax
mov rax, qword [rcx + 8]
mov rdx, qword [rcx + 0x10]
mov r8, qword [rcx + 0x18]
mov r10, qword [rcx + 0x20]
mov r9, rdx
shl r9, 0x11
xor r8, rax
xor r10, rdx
lea r11, [rdx + rdx*4]
rol r11, 7
lea r11, [r11 + r11*8]
xor rdx, r8
xor rax, r10
xor r8, r9
rol r10, 0x2d
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rdx
mov qword [rcx + 0x18], r8
mov qword [rcx + 0x20], r10
mov r8d, esi
shr r11, 0x20
mov r10d, r11d
imul r10, r8
mov r9d, r10d
cmp r9d, esi
jae 0x14030a442
mov eax, esi
neg eax
xor edx, edx
div esi
cmp r9d, edx
jae 0x14030a442
mov r10, qword [rcx + 8]
mov r9, qword [rcx + 0x10]
mov rax, qword [rcx + 0x18]
mov r11, qword [rcx + 0x20]
mov rbx, r9
shl rbx, 0x11
xor rax, r10
xor r11, r9
lea rdi, [r9 + r9*4]
rol rdi, 7
lea rsi, [rdi + rdi*8]
xor r9, rax
xor r10, r11
xor rax, rbx
rol r11, 0x2d
mov qword [rcx + 8], r10
mov qword [rcx + 0x10], r9
mov qword [rcx + 0x18], rax
mov qword [rcx + 0x20], r11
shr rsi, 0x20
mov r10d, esi
imul r10, r8
mov r9d, r10d
cmp r9d, edx
jb 0x14030a3e9
shr r10, 0x20
mov eax, r10d
add eax, 0x64
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.140001431
jmp 0x14030a339
lea rax, [0x140246e70]
call rax
mov rdi, rax
jmp 0x14030a36c
call fcn.1401bf730
int3
Function at 0x140312030
Capabilities:
Check for debugger via api

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0xa0]
mov rbx, rdx
mov qword [rbp + 0x18], rbx
cmp byte [rbx], 0
setne dl
movzx edx, dl
mov dword [rbp - 0x40], edx
lea rdx, [rbp - 0x40]
mov qword [rbp - 0x70], rdx
mov qword [rbp - 0x78], rcx
lea rcx, [rbp - 0x68]
call fcn.14000aec0
mov rdx, qword [rbp - 0x70]
mov rcx, qword [rbp - 0x78]
call sub.KERNEL32.dll_CheckRemoteDebuggerPresent
mov ebx, eax
lea rcx, [rbp - 0x68]
call fcn.14000af10
test ebx, ebx
setne al
movzx eax, al
movzx ecx, byte [rbp - 0x40]
mov rbx, qword [rbp + 0x18]
mov byte [rbx], cl
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x1403e6e00
Capabilities:
Hash data using murmur3

Disassembly:
sub rsp, 0x28
xor eax, eax
mov r8d, dword [rdx + 8]
test r8d, r8d
jle 0x1403e6e3c
lea r10, [rdx + rax*8 + 0x10]
mov r10, qword [r10]
test r10, r10
je 0x1403e6e22
mov r10d, dword [r10 + 0x14]
jmp 0x1403e6e25
xor r10d, r10d
mov r9d, ecx
rol r9d, 0xd
add r9d, ecx
mov ecx, r9d
xor ecx, r10d
inc eax
cmp r8d, eax
jg 0x1403e6e0f
mov eax, ecx
rol eax, 0xf
add eax, ecx
add rsp, 0x28
ret

Function at 0x1403e6e60
Capabilities:
Hash data using murmur3

Disassembly:
sub rsp, 0x28
xor eax, eax
mov r8d, dword [rdx + 8]
test r8d, r8d
jle 0x1403e6e9c
lea r10, [rdx + rax*8 + 0x10]
mov r10, qword [r10]
test r10, r10
je 0x1403e6e82
mov r10d, dword [r10 + 0x14]
jmp 0x1403e6e85
xor r10d, r10d
mov r9d, ecx
rol r9d, 0xd
add r9d, ecx
mov ecx, r9d
xor ecx, r10d
inc eax
cmp r8d, eax
jg 0x1403e6e6f
mov eax, ecx
rol eax, 0xf
add eax, ecx
add rsp, 0x28
ret
Function at 0x140403da0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x38
cmp r8d, 8
jl 0x140403f8a
movsx r10, dx
movd xmm0, r10d
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
mov rax, rcx
lea edx, [r8 - 8]
movsxd r10, edx
add r10, r10
lea rdx, [rax + r10]
movups xmm1, xmmword [rax]
pcmpeqw xmm1, xmm0
movaps xmmword [rsp + 0x20], xmm1
xorps xmm2, xmm2
pcmpeqw xmm1, xmm2
pmovmskb r9d, xmm1
cmp r9d, 0xffff
je 0x140403ebc
mov rdx, qword [rsp + 0x20]
mov qword [rsp + 0x18], rdx
movzx r8d, word [rsp + 0x18]
shr r8d, 0xf
movzx r10d, word [rsp + 0x1a]
shr r10d, 0xf
add r10d, r10d
or r8d, r10d
movzx edx, word [rsp + 0x1c]
shr edx, 0xf
shl edx, 2
or edx, r8d
mov r8d, edx
movzx edx, word [rsp + 0x1e]
shr edx, 0xf
shl edx, 3
or edx, r8d
mov r8d, edx
mov edx, r8d
mov r8, qword [rsp + 0x28]
mov qword [rsp + 0x10], r8
movzx r8d, word [rsp + 0x10]
shr r8d, 0xf
movzx r10d, word [rsp + 0x12]
shr r10d, 0xf
add r10d, r10d
or r8d, r10d
movzx r10d, word [rsp + 0x14]
shr r10d, 0xf
shl r10d, 2
or r10d, r8d
mov r8d, r10d
movzx r10d, word [rsp + 0x16]
shr r10d, 0xf
shl r10d, 3
or r10d, r8d
mov r8d, r10d
shl r8d, 4
or edx, r8d
bsf r8d, edx
mov r10d, 0x20
test edx, edx
cmove r8d, r10d
sub rax, rcx
shr rax, 1
add eax, r8d
jmp 0x140403fed
add rax, 0x10
cmp rax, rdx
jbe 0x140403dd1
mov r8d, r8d
test r8b, 7
je 0x140403ffa
movups xmm1, xmmword [rdx]
pcmpeqw xmm0, xmm1
movaps xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
pcmpeqw xmm0, xmm1
pmovmskb ecx, xmm0
cmp ecx, 0xffff
je 0x140403ffa
mov rax, qword [rsp + 0x20]
mov qword [rsp + 8], rax
movzx eax, word [rsp + 8]
shr eax, 0xf
movzx ecx, word [rsp + 0xa]
shr ecx, 0xf
add ecx, ecx
or eax, ecx
movzx ecx, word [rsp + 0xc]
shr ecx, 0xf
shl ecx, 2
or ecx, eax
mov eax, ecx
movzx ecx, word [rsp + 0xe]
shr ecx, 0xf
shl ecx, 3
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x28]
mov qword [rsp], rcx
movzx ecx, word [rsp]
shr ecx, 0xf
movzx edx, word [rsp + 2]
shr edx, 0xf
add edx, edx
or ecx, edx
movzx edx, word [rsp + 4]
shr edx, 0xf
shl edx, 2
or edx, ecx
mov ecx, edx
movzx edx, word [rsp + 6]
shr edx, 0xf
shl edx, 3
or edx, ecx
mov ecx, edx
shl ecx, 4
or eax, ecx
bsf ecx, eax
mov edx, 0x20
test eax, eax
cmove ecx, edx
shr r10, 1
lea eax, [r10 + rcx]
jmp 0x140403fed
xor eax, eax
cmp r8d, 4
jl 0x140403fd7
add r8d, 0xfffffffc
movsx r10, word [rcx + rax*2]
movsx r9, dx
cmp r10d, r9d
je 0x140403fed
movsx r10, word [rcx + rax*2 + 2]
cmp r10d, r9d
jne 0x140403fb3
inc eax
jmp 0x140403fed
movsx r10, word [rcx + rax*2 + 4]
cmp r10d, r9d
jne 0x140403fc3
add eax, 2
jmp 0x140403fed
movsx r10, word [rcx + rax*2 + 6]
cmp r10d, r9d
jne 0x140403fd3
add eax, 3
jmp 0x140403fed
add rax, 4
test r8d, r8d
jle 0x140403ffa
movsx r9, dx
dec r8d
movsx rdx, word [rcx + rax*2]
cmp edx, r9d
jne 0x140403ff2
add rsp, 0x38
ret
inc rax
test r8d, r8d
jg 0x140403fe0
mov eax, 0xffffffff
add rsp, 0x38
ret
Function at 0x1404116e0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x48
movaps xmmword [rsp + 0x30], xmm6
cmp r9d, 8
jl 0x14041191b
movzx r10d, dx
movd xmm0, r10d
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
sub r8d, r10d
movzx eax, r8w
movd xmm1, eax
punpcklwd xmm1, xmm1
pshufd xmm1, xmm1, 0
mov rax, rcx
add r9d, 0xfffffff8
mov edx, r9d
add rdx, rdx
lea r10, [rax + rdx]
movups xmm2, xmmword [0x140b2f2d0]
movaps xmm3, xmm1
psubw xmm3, xmm2
movups xmm4, xmmword [rax]
psubw xmm4, xmm0
movaps xmm5, xmm4
psubw xmm5, xmm2
movaps xmm6, xmm3
pcmpgtw xmm6, xmm5
pcmpeqw xmm4, xmm1
por xmm4, xmm6
movaps xmmword [rsp + 0x20], xmm4
xorps xmm5, xmm5
pcmpeqw xmm4, xmm5
pmovmskb r8d, xmm4
cmp r8d, 0xffff
jne 0x14041185b
add rax, 0x10
cmp rax, r10
jb 0x140411738
movups xmm4, xmmword [r10]
psubw xmm4, xmm0
movaps xmm0, xmm4
psubw xmm0, xmm2
pcmpgtw xmm3, xmm0
pcmpeqw xmm1, xmm4
por xmm1, xmm3
movaps xmmword [rsp + 0x20], xmm1
xorps xmm0, xmm0
pcmpeqw xmm0, xmm1
pmovmskb eax, xmm0
cmp eax, 0xffff
je 0x14041194b
mov rax, qword [rsp + 0x20]
mov qword [rsp + 8], rax
movzx eax, word [rsp + 8]
shr eax, 0xf
movzx ecx, word [rsp + 0xa]
shr ecx, 0xf
add ecx, ecx
or eax, ecx
movzx ecx, word [rsp + 0xc]
shr ecx, 0xf
shl ecx, 2
or ecx, eax
mov eax, ecx
movzx ecx, word [rsp + 0xe]
shr ecx, 0xf
shl ecx, 3
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x28]
mov qword [rsp], rcx
movzx ecx, word [rsp]
shr ecx, 0xf
movzx r8d, word [rsp + 2]
shr r8d, 0xf
add r8d, r8d
or ecx, r8d
movzx r8d, word [rsp + 4]
shr r8d, 0xf
shl r8d, 2
or r8d, ecx
mov ecx, r8d
movzx r8d, word [rsp + 6]
shr r8d, 0xf
shl r8d, 3
or r8d, ecx
mov ecx, r8d
shl ecx, 4
or eax, ecx
bsf ecx, eax
mov r8d, 0x20
test eax, eax
cmove ecx, r8d
mov eax, ecx
shr rdx, 1
add eax, edx
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
ret
mov rdx, qword [rsp + 0x20]
mov qword [rsp + 0x18], rdx
movzx edx, word [rsp + 0x18]
shr edx, 0xf
movzx r8d, word [rsp + 0x1a]
shr r8d, 0xf
add r8d, r8d
or edx, r8d
movzx r8d, word [rsp + 0x1c]
shr r8d, 0xf
shl r8d, 2
or r8d, edx
mov edx, r8d
movzx r8d, word [rsp + 0x1e]
shr r8d, 0xf
shl r8d, 3
or r8d, edx
mov edx, r8d
mov r8, qword [rsp + 0x28]
mov qword [rsp + 0x10], r8
movzx r8d, word [rsp + 0x10]
shr r8d, 0xf
movzx r10d, word [rsp + 0x12]
shr r10d, 0xf
add r10d, r10d
or r8d, r10d
movzx r10d, word [rsp + 0x14]
shr r10d, 0xf
shl r10d, 2
or r10d, r8d
mov r8d, r10d
movzx r10d, word [rsp + 0x16]
shr r10d, 0xf
shl r10d, 3
or r10d, r8d
mov r8d, r10d
shl r8d, 4
or edx, r8d
bsf r8d, edx
mov r10d, 0x20
test edx, edx
cmove r8d, r10d
sub rax, rcx
shr rax, 1
add eax, r8d
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
ret
movzx r10d, dx
mov eax, r8d
sub eax, r10d
movzx eax, ax
xor edx, edx
test r9d, r9d
jle 0x14041194b
nop
movsxd r8, edx
movzx r8d, word [rcx + r8*2]
sub r8d, r10d
movzx r8d, r8w
cmp r8d, eax
jle 0x14041195a
inc edx
cmp edx, r9d
jl 0x140411930
mov eax, 0xffffffff
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
ret
mov eax, edx
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
ret
Function at 0x140431720
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x28
mov rbx, r8
mov esi, edx
xor edi, edi
mov ebp, dword [rbx + 8]
test ebp, ebp
jle 0x140431752
mov rcx, qword [rbx + rdi*8 + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov ecx, esi
rol ecx, 0xd
add ecx, esi
mov esi, eax
xor esi, ecx
inc edi
cmp ebp, edi
jg 0x140431736
mov eax, esi
rol eax, 0xf
add eax, esi
add rsp, 0x28
pop rbx
pop rbp
pop rsi
pop rdi
ret
Function at 0x140001000
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 0x140001052
mov dword [rsp + 0x40], 0x78
lea r8, [rsp + 0x40]
mov rcx, rsi
lea rdx, [0x140006010]
call fcn.1400013e0
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 0x140001091
mov dword [rsp + 0x40], 0x78
lea rcx, [rsi + rbx*2]
lea r8, [rsp + 0x40]
lea rdx, [0x1400060e8]
call fcn.1400013e0
add rbx, rax
lea rdx, [0x1400060e8]
mov r8, rdi
lea rcx, [rsi + rbx*2]
call fcn.1400013e0
lea rdx, [rsp + 0x20]
mov ecx, 5
add rbx, rax
call fcn.140001bd0
mov r14d, eax
lea rcx, [rsi + rbx*2]
lea r8, [0x140006190]
lea rdx, [0x1400060f0]
test eax, eax
je 0x14000112c
mov r9d, dword [rsp + 0x20]
call qword [sym.imp.USER32.dll_wsprintfW]
movsxd rcx, eax
mov edi, 1
add rbx, rcx
jmp 0x140001125
mov r9d, dword [rsp + rdi*4 + 0x20]
lea rcx, [rsi + rbx*2]
lea r8, [0x140006040]
lea rdx, [0x1400060f0]
call qword [sym.imp.USER32.dll_wsprintfW]
movsxd rcx, eax
add rbx, rcx
inc rdi
cmp rdi, r14
jb 0x1400010ff
jmp 0x14000113b
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 0x14000115c
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 0x140001182
xor eax, eax
jmp 0x14000123c
movsxd rdi, dword [rcx + 0x3c]
add rdi, rbx
cmp dword [rdi], 0x4550
jne 0x14000117b
mov rdx, rdi
call fcn.14000124c
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 0x140001203
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 0x1400011e9
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 0x14000124c
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 0x140001298
lea rcx, [r11 + 0x10]
test dword [rcx + 0x14], 0x20000000
je 0x14000128c
mov eax, dword [rcx - 8]
cmp dword [rcx], eax
ja 0x1400012a0
inc r9d
add rcx, 0x28
cmp r9d, r8d
jb 0x14000127c
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 0x1400012ed
mov r8d, edx
rdtsc
shl rdx, 0x20
or rax, rdx
mov byte [rcx], al
inc rcx
sub r8, 1
jne 0x1400012d9
mov eax, 1
jmp 0x14000129a

Function at 0x1400012f4
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 0x14000135d
lea rdx, [0x140006180]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x14000136a
lea rdx, [0x14000607c]
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 0x1400013be
lea rdx, [0x1400060e4]
lea rcx, [rbx + 0x30e]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x1400013c5
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 0x140001bd0
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 0x140001d10
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 0x140001d10
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140001d10
mov eax, dword [rbp + 0x7f]
test eax, eax
je 0x140001d10
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 0x140001d10
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 0x140001cfc
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 0x140001ce4
test rdx, rdx
je 0x140001ce4
test r8, r8
je 0x140001ce4
sub rsi, rdx
mov cl, byte [rdx]
mov byte [rsi + rdx], cl
inc rdx
sub r8, 1
jne 0x140001cd6
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 0x140001d12
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 0x140001d28
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 0x140001d43
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 0x1400027c8
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 0x1400027d5
ret
Function at 0x140002ac4
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 0x140002b3d
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 0x140002b3d
cmp dword [rsp + 0x68], edi
jne 0x140002b3d
mov eax, 1
jmp 0x140002b3f
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x140002b50
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 0x140002b92
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.14000115c
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.140002ac4

Function at 0x140002bdc
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, [0x140006180]
test eax, eax
jne 0x140002c35
lea rdx, [0x14000607c]
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.140002ac4
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