joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413740
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41396a
sub rsp, 0x58
mov qword [rsp + 0x50], rbp
lea rbp, [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.0042c780
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x4137bb
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x4137ce
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x4137f0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x413804
cmp rbx, 0x1000
jae 0x4137c5
jmp 0x41388e
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x413816
xor esi, esi
jmp 0x413880
mov rax, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
nop dword [rax]
call fcn.0042c780
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
test sil, sil
jne 0x4137fa
jmp 0x4137e2
call fcn.00459120
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x413909
call fcn.00431560
lea rax, [0x0048001b]
mov ebx, 0x19
call fcn.00431e60
mov rax, qword [rsp + 0x68]
call fcn.00431b60
lea rax, [0x0047fcc9]
mov ebx, 0x19
nop
call fcn.00431e60
mov eax, dword [rsp + 0x34]
call fcn.00431b60
call fcn.004317c0
call fcn.004315e0
lea rax, [0x0047d4ed]
mov ebx, 0xd
call fcn.0042fde0
cmp eax, 0x5af
je 0x4138b3
call fcn.00431560
lea rax, [0x0048001b]
mov ebx, 0x19
call fcn.00431e60
mov rax, qword [rsp + 0x38]
call fcn.00431b60
lea rax, [0x0047fcc9]
mov ebx, 0x19
nop dword [rax]
call fcn.00431e60
mov eax, dword [rsp + 0x34]
call fcn.00431b60
call fcn.004317c0
call fcn.004315e0
lea rax, [0x0048142d]
mov ebx, 0x1f
call fcn.0042fde0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.004555e0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00413740
Function at 0x41a240
Capabilities:
Hash data using murmur3

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
cmp byte [0x0053f272], 0
jne 0x41a339
nop
nop
nop
nop
sub rbx, qword [rax + 0x18]
nop
mov edx, dword [rax + 0x5c]
imul rbx, rdx
mov rdx, rbx
shr rbx, 0x20
nop
shr rdx, 0x23
and rbx, 7
mov rsi, rcx
mov rcx, rbx
mov r8d, 1
shl r8d, cl
nop
add rdx, qword [rax + 0x50]
lock or byte [rdx], r8b
nop
nop
mov rcx, qword [rax + 0x18]
nop
movabs rdx, 0x800000000000
lea rax, [rdx + rcx]
mov rdx, rax
shr rax, 0x2a
cmp rax, 0x40
jae 0x41a32f
lea rbx, [0x005116d8]
mov rax, qword [rbx + rax*8]
shr rdx, 0x16
and rdx, 0xfffff
mov rdx, qword [rax + rdx*8]
test byte [rdx], al
test byte [rax], al
mov rax, rcx
shr rcx, 0x10
and rcx, 0x3f
movzx ebx, byte [rdx + rcx + 0x21040]
lea rdx, [rdx + rcx]
lea rdx, [rdx + 0x21040]
shr rax, 0xd
and rax, 7
mov rcx, rax
mov eax, 1
shl eax, cl
test al, bl
jne 0x41a30a
lock or byte [rdx], al
mov rax, qword [r14 + 0x30]
mov rax, qword [rax + 0xa0]
test byte [rax], al
add qword [rax + 0x16a8], rsi
add qword [rax + 0x16b0], rdi
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov ecx, 0x40
call fcn.00457ce0
lea rax, [0x004829d2]
mov ebx, 0x2c
call fcn.0042fde0
nop
int3
Function at 0x428f00
Capabilities:
Hash data using murmur3

Disassembly:
cmp rsp, qword [r14 + 0x18]
jbe 0x4291a6
sub rsp, 0x40
mov qword [rsp + 0x38], rbp
lea rbp, [rsp + 0x38]
test byte [rax], al
lea rsi, [rax + 0x16d0]
mov rcx, qword [rax + 0x16c0]
sub rcx, rsi
shr rcx, 3
cmp rcx, 0x200
ja 0x42919a
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], rcx
mov qword [rax + 0x16c0], 0
cmp byte [0x0053f272], 0
jne 0x428f62
xor edx, edx
xor ebx, ebx
nop
jmp 0x428fab
xor edx, edx
jmp 0x428f8e
mov qword [rsp + 0x28], rdx
mov rcx, qword [rax + rdx*8 + 0x16d0]
mov rax, rcx
call fcn.00419a60
mov rcx, qword [rsp + 0x28]
lea rdx, [rcx + 1]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
cmp rdx, rcx
jl 0x428f66
add rax, 0x16c0
call fcn.00428dc0
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
inc rdx
cmp rdx, rcx
jge 0x429132
mov rsi, qword [rax + rdx*8 + 0x16d0]
nop dword [rax]
cmp rsi, 0x1000
jb 0x428fa8
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rbx
mov rax, rsi
xor ebx, ebx
mov rcx, rbx
nop dword [rax + rax]
call fcn.0040f5a0
test rax, rax
jne 0x429002
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop
jmp 0x428fa8
nop
mov rsi, rcx
shr rcx, 3
and rsi, 7
mov rdx, rcx
mov rcx, rsi
mov r8d, 1
shl r8d, cl
nop
add rdx, qword [rbx + 0x50]
movzx esi, byte [rdx]
test r8b, sil
je 0x429045
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop
jmp 0x428fa8
nop
lock or byte [rdx], r8b
nop
nop
mov rcx, qword [rbx + 0x18]
nop
movabs rsi, 0x800000000000
lea r8, [rsi + rcx]
mov r9, r8
shr r8, 0x2a
cmp r8, 0x40
jae 0x42918d
lea r10, [0x005116d8]
mov r8, qword [r10 + r8*8]
shr r9, 0x16
and r9, 0xfffff
mov r9, qword [r8 + r9*8]
test byte [r9], al
test byte [r8], al
mov r8, rcx
shr rcx, 0x10
and rcx, 0x3f
movzx r10d, byte [r9 + rcx + 0x21040]
lea r9, [r9 + rcx]
lea r9, [r9 + 0x21040]
shr r8, 0xd
and r8, 7
mov rcx, r8
mov r8d, 1
shl r8d, cl
test r8b, r10b
jne 0x4290cc
lock or byte [r9], r8b
movzx r8d, byte [rbx + 0x62]
test r8b, 1
je 0x429105
mov r8, qword [rsp + 0x48]
mov r9, qword [r8 + 0x16a8]
add r9, qword [rbx + 0x68]
mov qword [r8 + 0x16a8], r9
mov rax, r8
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x428fa8
mov r8, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
cmp r8, rcx
jae 0x429185
mov r9, qword [rsp + 0x48]
mov qword [r9 + r8*8 + 0x16d0], rax
lea rbx, [r8 + 1]
mov rax, r9
mov rdx, qword [rsp + 0x28]
jmp 0x428fa8
cmp rbx, 0x200
ja 0x429177
lea rdx, [rax + 0x16d0]
lea rsi, [rax + 0x1698]
mov rcx, rbx
mov edi, 0x200
mov rbx, rdx
mov rax, rsi
call fcn.0041f120
mov rdx, qword [rsp + 0x48]
lea rax, [rdx + 0x16c0]
call fcn.00428dc0
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
mov rcx, rbx
mov edx, 0x200
nop
call fcn.00457d40
mov rax, r8
call fcn.00457cc0
mov rax, r8
mov ecx, 0x40
call fcn.00457ce0
mov edx, 0x200
nop
call fcn.00457d20
nop
mov qword [rsp + 8], rax
call fcn.00459c80
mov rax, qword [rsp + 8]
jmp fcn.00428f00
Function at 0x447660
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x4477d8
movzx edx, byte [rax]
nop
test edx, edx
jne 0x44769c
test r8b, r8b
jne 0x44769c
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
bt edx, 7
jae 0x4476af
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x447798
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
cmp rbx, r8
jb 0x447786
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rcx
sar rcx, 0x3f
and r8, rcx
lea rsi, [rax + r8]
test rbx, rbx
jbe 0x44777c
movzx r8d, byte [rax + r8]
bt r8d, 7
jae 0x447703
xor eax, eax
xor ecx, ecx
xor r8d, r8d
jmp 0x447746
mov eax, 1
cmp rax, rbx
ja 0x447735
add qword [rdi], r8
sub rdx, rax
sub rbx, rax
mov rcx, rdx
neg rdx
sar rdx, 0x3f
and rax, rdx
add rax, rsi
mov edi, 1
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov rcx, rbx
call fcn.00457d80
lea r8d, [rcx + 7]
mov ecx, eax
mov eax, r10d
cmp rax, rbx
jae 0x447774
movzx r9d, byte [rax + rsi]
lea r10d, [rax + 1]
mov r11d, r9d
and r9d, 0x7f
mov eax, ecx
mov ecx, r8d
shl r9d, cl
or eax, r9d
test r11b, 0x80
jne 0x44773d
mov r8d, eax
mov eax, r10d
jmp 0x447708
mov rcx, rbx
call fcn.00457cc0
xor eax, eax
mov rcx, rbx
call fcn.00457cc0
mov eax, r8d
mov rcx, rbx
call fcn.00457d80
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x4477ce
movzx r10d, byte [rdx + rax]
inc edx
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
or r8d, r10d
test r11b, 0x80
jne 0x447791
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x4476b5
mov eax, edx
mov rcx, rbx
call fcn.00457cc0
xor eax, eax
mov rcx, rbx
nop dword [rax]
call fcn.00457cc0
nop
int3
Function at 0x44ec20
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x44ecea
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 8], 0
mov qword [rsp + 0x10], 0
lea rdx, [rsp + 0x18]
movups xmmword [rdx], xmm15
lea rdx, [rsp + 0x28]
movups xmmword [rdx], xmm15
lea rdx, [rsp + 0x38]
movups xmmword [rdx], xmm15
lea rdx, [rsp + 0x48]
movups xmmword [rdx], xmm15
lea rdx, [0x0044ed20]
mov qword [rsp + 0x10], rdx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x18], rdx
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rdi
lea rax, [rsp + 8]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.004554a0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
nop
call fcn.004555e0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.0044ec20

Function at 0x4541e0
Capabilities:
Access peb ldr_data

Disassembly:
sub rsp, 0x30
mov qword [rsp + 0x28], rbp
lea rbp, [rsp + 0x28]
mov r13, 0
mov qword [rsp + 0x20], r13
mov byte [rsp + 0x17], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
mov rcx, qword [rcx + 0x30]
nop
inc dword [rcx + 0x244]
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
mov rdx, qword [rcx + 0x30]
nop
mov rsi, rcx
mov qword [rdx + 0x138], rcx
mov rcx, qword [rsi + 0x30]
mov qword [rsi + 0xe8], rcx
lea rcx, fcn.0043b120
mov qword [rsp + 0x20], rcx
mov byte [rsp + 0x17], 1
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
mov rcx, qword [rcx + 0x30]
mov qword [rsp + 0x18], rcx
mov rdx, qword [rsp + 0x38]
mov qword [rcx + 0x2e0], rdx
mov rdx, qword [rsp + 0x40]
mov qword [rcx + 0x2e8], rdx
lea rdx, [rsp + 0x48]
mov qword [rcx + 0x2f0], rdx
lea rbx, [rcx + 0x2e0]
mov rax, qword [0x004eada0]
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
call fcn.004029e0
mov rcx, qword [rsp + 0x18]
mov rdx, qword [rcx + 0x2f8]
mov rsi, qword [rcx + 0x300]
mov rcx, qword [rcx + 0x308]
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rcx
mov byte [rsp + 0x17], 0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
call fcn.0043b120
mov rbp, qword [rsp + 0x28]
add rsp, 0x30
ret
Function at 0x457780
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x0053f4e0]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x0053f271], 0
je 0x4577b6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x0053f760]
aesenc xmm0, xmmword [0x0053f770]
aesenc xmm0, xmmword [0x0053f780]
movq rax, xmm0
ret
jmp 0x408240

Function at 0x4590a0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x30
mov rcx, 0xfffffffffffffff4
mov qword [rsp], rcx
mov rax, qword [sym.imp.kernel32.dll_GetStdHandle]
call rax
mov rcx, rax
mov qword [rsp], rcx
lea rdx, [0x0053f6e0]
mov qword [rsp + 8], rdx
lea r8d, [0x0053f288]
mov qword [rsp + 0x10], r8
lea r9, [rsp + 0x28]
mov qword [r9], 0
mov qword [rsp + 0x18], r9
mov qword [rsp + 0x20], 0
mov rax, qword [sym.imp.kernel32.dll_WriteFile]
call rax
call fcn.00457680
add rsp, 0x30
ret

Function at 0x459ee0
Capabilities:
Access peb ldr_data

Disassembly:
sub rsp, 0x78
mov qword [rsp + 0x70], rbp
lea rbp, [rsp + 0x70]
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x30], r9
mov qword [rsp + 0x38], r10
mov qword [rsp + 0x40], r11
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x50], rax
call fcn.004544c0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x78
ret
Function at 0x18000193d
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x180069d44
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x18008f2b0]
mov ecx, 3
lea r8, [0x18008f2a8]
lea rdx, str.FlsAlloc
call fcn.1800693f0
test rax, rax
je 0x180069d80
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x180148020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x180001f50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x18007a7b8
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x18013bbc8]
xor rax, rsp
mov qword [rsp + 0x30], rax
xor r10d, r10d
lea r11, [0x18013e638]
test r9, r9
lea rdi, [0x18008a6fc]
mov rax, rdx
mov r15, rdx
cmovne r11, r9
test rdx, rdx
lea ebp, [r10 + 1]
cmovne rdi, rdx
mov r14d, ebp
cmovne r14, r8
neg rax
sbb rsi, rsi
and rsi, rcx
test r14, r14
jne 0x18007a821
mov rax, 0xfffffffffffffffe
jmp 0x18007a96f
cmp word [r11 + 6], r10w
jne 0x18007a890
movzx r9d, byte [rdi]
inc rdi
test r9b, r9b
js 0x18007a84b
test rsi, rsi
je 0x18007a83c
mov dword [rsi], r9d
test r9b, r9b
setne r10b
mov rax, r10
jmp 0x18007a96f
mov al, r9b
and al, 0xe0
cmp al, 0xc0
jne 0x18007a859
mov r8b, 2
jmp 0x18007a877
mov al, r9b
and al, 0xf0
cmp al, 0xe0
jne 0x18007a867
mov r8b, 3
jmp 0x18007a877
mov al, r9b
and al, 0xf8
cmp al, 0xf0
jne 0x18007a95d
mov r8b, 4
movzx eax, r8b
mov ecx, 7
sub ecx, eax
mov edx, ebp
shl edx, cl
mov bl, r8b
sub edx, ebp
and edx, r9d
jmp 0x18007a8b9
mov r8b, byte [r11 + 4]
mov edx, dword [r11]
mov bl, byte [r11 + 6]
lea eax, [r8 - 2]
cmp al, 2
ja 0x18007a95d
cmp bl, bpl
jb 0x18007a95d
cmp bl, r8b
jae 0x18007a95d
movzx ebp, bl
cmp rbp, r14
mov r9d, ebp
cmovae r9, r14
jmp 0x18007a8e6
movzx ecx, byte [rdi]
inc rdi
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x18007a95d
mov eax, edx
and ecx, 0x3f
shl eax, 6
mov edx, ecx
or edx, eax
mov rax, rdi
sub rax, r15
cmp rax, r9
jb 0x18007a8c8
cmp r9, rbp
jae 0x18007a912
movzx eax, r8b
sub bl, r9b
mov word [r11 + 4], ax
movzx eax, bl
mov word [r11 + 6], ax
mov dword [r11], edx
jmp 0x18007a815
lea eax, [rdx - 0xd800]
cmp eax, 0x7ff
jbe 0x18007a95d
cmp edx, 0x110000
jae 0x18007a95d
movzx eax, r8b
mov dword [rsp + 0x20], 0x80
mov dword [rsp + 0x24], 0x800
mov dword [rsp + 0x28], 0x10000
cmp edx, dword [rsp + rax*4 + 0x18]
jb 0x18007a95d
test rsi, rsi
je 0x18007a950
mov dword [rsi], edx
neg edx
mov qword [r11], r10
sbb rax, rax
and rax, rbp
jmp 0x18007a96f
mov qword [r11], r10
call fcn.18000229d
mov dword [rax], 0x2a
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.18000285b
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800023c9
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x18000a958
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x180000000], ax
jne 0x18000a9e5
movsxd rcx, dword [0x18000003c]
lea rdx, [0x180000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x18000a9e5
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x18000a9e5
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x18000a9cc
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x18000a9c6
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x18000a9ce
add rdx, 0x28
jmp 0x18000a9ab
xor edx, edx
test rdx, rdx
jne 0x18000a9d7
xor al, al
jmp 0x18000a9eb
cmp dword [rdx + 0x24], 0
jge 0x18000a9e1
xor al, al
jmp 0x18000a9eb
mov al, 1
jmp 0x18000a9eb
xor al, al
jmp 0x18000a9eb
add rsp, 0x18
ret

Function at 0x1800026c1
Capabilities:
Encode data using xor

Disassembly:
jmp 0x18001f6d0
mov rax, rcx
neg rcx
test rax, 7
je 0x18001f6ed
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x18001f748
test al, 7
jne 0x18001f6e0
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x18001f701
mov rdx, qword [rax - 8]
test dl, dl
je 0x18001f772
test dh, dh
je 0x18001f76c
shr rdx, 0x10
test dl, dl
je 0x18001f766
test dh, dh
je 0x18001f760
shr rdx, 0x10
test dl, dl
je 0x18001f75a
test dh, dh
je 0x18001f754
shr edx, 0x10
test dl, dl
je 0x18001f74e
test dh, dh
jne 0x18001f701
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret

Function at 0x1800029d2
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x180019050
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x18008b6b8]
mov ecx, 2
lea r8, [0x18008b6b0]
lea rdx, str.FlsGetValue
call fcn.180018b20
mov ecx, ebx
test rax, rax
je 0x18001908a
add rsp, 0x20
pop rbx
jmp qword [0x180148020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x180002b26
Capabilities:
Query environment variable

Disassembly:
jmp 0x180067a90
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 r14d, r14d
mov rbx, rax
test rax, rax
je 0x180067b62
mov rsi, rax
cmp word [rax], r14w
je 0x180067ae3
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], r14w
jne 0x180067acb
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], r14w
jne 0x180067ac7
mov qword [rsp + 0x38], r14
sub rsi, rbx
mov qword [rsp + 0x30], r14
add rsi, 2
sar rsi, 1
mov r8, rbx
mov r9d, esi
mov dword [rsp + 0x28], r14d
xor edx, edx
mov qword [rsp + 0x20], r14
xor ecx, ecx
call fcn.18000354e
movsxd rbp, eax
test eax, eax
je 0x180067b62
mov rcx, rbp
call fcn.180001023
mov rdi, rax
test rax, rax
je 0x180067b55
mov qword [rsp + 0x38], r14
mov r9d, esi
mov qword [rsp + 0x30], r14
mov r8, rbx
mov dword [rsp + 0x28], ebp
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
call fcn.18000354e
test eax, eax
je 0x180067b55
mov rsi, rdi
mov rdi, r14
jmp 0x180067b58
mov rsi, r14
mov rcx, rdi
call fcn.18000116d
jmp 0x180067b65
mov rsi, r14
test rbx, rbx
je 0x180067b73
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rbx, qword [rsp + 0x50]
mov rax, rsi
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x180002b3a
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x180018fa0
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x18008b678]
xor ecx, ecx
lea r8, [0x18008b670]
lea rdx, str.FlsAlloc
call fcn.180018b20
test rax, rax
je 0x180018fd9
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x180148020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x180002bb2
Capabilities:
Get geographical location

Disassembly:
jmp 0x180069fe4
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov ebx, r9d
mov rdi, r8
mov esi, edx
lea r9, [0x18008f398]
mov rbp, rcx
lea r8, [0x18008f390]
lea rdx, str.GetLocaleInfoEx
mov ecx, 0xb
call fcn.1800693f0
mov rcx, rbp
test rax, rax
je 0x18006a03a
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [0x180148020]
jmp 0x18006a051
xor edx, edx
call fcn.18000241e
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x180002bbc
Capabilities:
Terminate process

Disassembly:
jmp 0x18000bba0
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]

Function at 0x180002d2e
Capabilities:
Parse pe header

Disassembly:
jmp 0x1800530f8
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x180052e4c
Function at 0x1800036ca
Capabilities:
Terminate process

Disassembly:
jmp 0x18005c400
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x18005c41a
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
lea ecx, [r8 + 1]
call fcn.180003e45
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]

Function at 0x180003774
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x180069df8
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x18008f2d0]
mov ecx, 5
lea r8, [0x18008f2c8]
lea rdx, str.FlsGetValue
call fcn.1800693f0
mov ecx, ebx
test rax, rax
je 0x180069e32
add rsp, 0x20
pop rbx
jmp qword [0x180148020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x18000394a
Capabilities:
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
jmp 0x180008200
push rbp
push rdi
sub rsp, 0x178
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x22
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
lea rcx, [0x180147005]
call fcn.1800041f1
mov eax, dword [0x18013cd68]
mov dword [rbp + 0x64], eax
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 0x18
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
lea rax, [rbp + 0x28]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x800e
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
xor r9d, r9d
mov r8d, 0x20
lea rdx, str.1L2NRhWkcNKE7EwaZXQeLoBJHZOgU1gd
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
lea rax, [rbp + 0x48]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8, qword [rbp + 0x28]
mov edx, 0x6610
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
lea rax, [rbp + 0x64]
mov qword [rsp + 0x28], rax
mov rax, qword [0x18013cd60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 1
xor edx, edx
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea rcx, [rbp - 0x30]
lea rdx, [0x1800890e0]
call fcn.1800038eb
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret