joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140038ad0
Capabilities:
Send data
Send data on socket

Disassembly:
mov rax, qword [rcx]
mov r11, rcx
movsxd r10, edx
mov r9, qword [rax + 0x1f8]
mov r8d, dword [r9 + r10*4 + 0xc08]
sub r8d, 1
je 0x140038b60
sub r8d, 1
je 0x140038b31
cmp r8d, 1
jne 0x140038b77
mov ecx, dword [r9 + r10*4 + 0x1008]
test ecx, ecx
je 0x140038b55
cmp ecx, r8d
jne 0x140038b77
xor eax, eax
mov dword [r9 + r10*4 + 0xc08], 2
mov r8d, edx
mov dword [r9 + r10*4 + 0x1008], eax
mov edx, 0xfd
mov rcx, r11
jmp fcn.140037690
mov ecx, dword [r9 + r10*4 + 0x1008]
test ecx, ecx
je 0x140038b55
cmp ecx, 1
jne 0x140038b77
xor eax, eax
mov dword [r9 + r10*4 + 0xc08], eax
mov dword [r9 + r10*4 + 0x1008], eax
ret
xor eax, eax
mov dword [r9 + r10*4 + 0xc08], eax
ret
xor eax, eax
mov r8d, edx
mov edx, 0xfe
mov dword [r9 + r10*4 + 0xc08], eax
jmp fcn.140037690
ret

Function at 0x140038cb0
Capabilities:
Send data
Send data on socket

Disassembly:
mov rax, qword [rcx]
mov r11, rcx
movsxd r10, edx
mov r9, qword [rax + 0x1f8]
mov r8d, dword [r9 + r10*4 + 8]
sub r8d, 1
je 0x140038d34
sub r8d, 1
je 0x140038d0b
cmp r8d, 1
jne 0x140038d48
mov ecx, dword [r9 + r10*4 + 0x408]
test ecx, ecx
je 0x140038d2c
cmp ecx, r8d
jne 0x140038d48
xor eax, eax
mov dword [r9 + r10*4 + 8], 2
mov r8d, edx
mov dword [r9 + r10*4 + 0x408], eax
mov edx, 0xfb
mov rcx, r11
jmp fcn.140037690
mov ecx, dword [r9 + r10*4 + 0x408]
test ecx, ecx
je 0x140038d2c
cmp ecx, 1
jne 0x140038d48
xor eax, eax
mov dword [r9 + r10*4 + 8], eax
mov dword [r9 + r10*4 + 0x408], eax
ret
xor eax, eax
mov dword [r9 + r10*4 + 8], eax
ret
xor eax, eax
mov r8d, edx
mov edx, 0xfc
mov dword [r9 + r10*4 + 8], eax
jmp fcn.140037690
ret
Function at 0x14003a870
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x1400bfbc8]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0x8f8]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
lea rsi, [rbx + 0x168]
mov rdx, qword [rsi]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x14003a914
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call fcn.14004cf90
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r9d, dword [rbx + 0x154]
cmp r9d, 4
jge 0x14003a963
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.1400192a0
mov dword [rbx + 0xc], 7
xor eax, eax
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14004bcc0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
mov rcx, rsi
call fcn.140039f50
movzx r8d, ax
mov dword [rbx + 0xc], r8d
sub r8d, 3
je 0x14003a9f2
sub r8d, 1
je 0x14003aa61
sub r8d, 1
je 0x14003a9ca
cmp r8d, 1
je 0x14003a9aa
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x1400bcf84]
call fcn.1400192a0
jmp 0x14003aa61
mov rdx, qword [rsi]
lea r8d, [r9 - 2]
add rdx, 2
mov rcx, rbx
call fcn.14003a080
test eax, eax
je 0x14003aa61
jmp 0x14003a939
mov rcx, rsi
call fcn.140039f70
movzx r8d, ax
lea rdx, [0x1400bcf4c]
mov dword [rbx + 8], r8d
mov rcx, rdi
mov r8, qword [rsi]
add r8, 4
call fcn.1400191f0
jmp 0x14003aa61
cmp r9d, 4
jle 0x14003aa61
mov rcx, rsi
call fcn.140039f70
movzx ecx, word [rbx + 0x48]
inc ecx
cmp cx, ax
jne 0x14003aa61
mov r8, qword [rsi]
lea eax, [r9 - 4]
movsxd r9, eax
add r8, 4
mov edx, 1
mov rcx, r14
call fcn.140019540
mov esi, eax
test eax, eax
je 0x14003aa40
mov edx, 5
mov rcx, rbx
call fcn.14003a7f0
mov eax, esi
jmp 0x14003a939
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.140023e00
mov rcx, r14
call fcn.140023f20
test eax, eax
je 0x14003a937
mov edx, 5
mov rcx, rbx
call fcn.14003a7f0
mov eax, Ordinal_45
jmp 0x14003a939

Function at 0x14003df30
Capabilities:
Query environment variable

Disassembly:
jmp 0x14003df40
sub rsp, 0x148
mov rax, qword [0x1400bfbc8]
xor rax, rsp
mov qword [rsp + 0x130], rax
call fcn.140061d68
mov byte [rsp + 0x20], 0
test rax, rax
je 0x14003dfa6
mov r8d, 0x104
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [rsp + 0x20], 0
je 0x14003dfa6
lea rcx, [rsp + 0x20]
call qword [case.0x14000d816.0]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.14004bcc0
add rsp, 0x148
ret
xor eax, eax
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.14004bcc0
add rsp, 0x148
ret
Function at 0x14003df40
Capabilities:
Query environment variable

Disassembly:
jmp 0x14003df40
sub rsp, 0x148
mov rax, qword [0x1400bfbc8]
xor rax, rsp
mov qword [rsp + 0x130], rax
call fcn.140061d68
mov byte [rsp + 0x20], 0
test rax, rax
je 0x14003dfa6
mov r8d, 0x104
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [rsp + 0x20], 0
je 0x14003dfa6
lea rcx, [rsp + 0x20]
call qword [case.0x14000d816.0]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.14004bcc0
add rsp, 0x148
ret
xor eax, eax
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.14004bcc0
add rsp, 0x148
ret
Function at 0x140040e60
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rdi, r8
mov rcx, qword [rcx]
mov rsi, rdx
cmp dword [rcx + 8], 3
jne 0x140040eaa
mov rax, qword [rbx + 0x18]
test rax, rax
jne 0x140040e9a
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov r9, qword [rcx + 0x10]
mov edx, 1
mov rcx, rsi
call rax
jmp 0x140040ef2
cmp qword [rbx + 0x10], 0
jne 0x140040ede
mov rcx, qword [rcx + 0x10]
lea rdx, [0x1400be56c]
call fcn.14005c4a0
mov qword [rbx + 0x10], rax
test rax, rax
jne 0x140040ede
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov r9, qword [rbx + 0x10]
mov r8, rdi
mov edx, 1
mov rcx, rsi
call fcn.140060710
mov rdi, rax
test rax, rax
jne 0x140040f15
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140040f0c
call fcn.1400546a0
mov qword [rbx + 0x10], rdi
mov rax, qword [rbx]
mov rcx, qword [rax]
mov qword [rbx], rcx
mov rbx, qword [rsp + 0x30]
mov rax, rdi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140047500
Capabilities:
Hash data using md4
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rbp, r8
mov rdi, rdx
or rbx, 0xffffffffffffffff
nop
inc rbx
cmp byte [rdx + rbx], 0
jne 0x140047520
lea rcx, [rbx + rbx]
call qword [section..data]
mov rsi, rax
test rax, rax
jne 0x140047543
lea eax, [rsi + 0x1b]
jmp 0x1400475ff
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call fcn.140047810
mov r9d, 1
mov dword [rsp + 0x20], 0xf0000000
xor r8d, r8d
lea rcx, [rsp + 0x38]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x1400475ec
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x8002
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1400475df
mov rcx, qword [rsp + 0x30]
lea r8d, [rbx + rbx]
xor r9d, r9d
mov dword [rsp + 0x68], reloc.WS2_32.dll_recv
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov rcx, qword [rsp + 0x30]
lea r9, [rsp + 0x68]
mov r8, rbp
mov dword [rsp + 0x20], 0
mov edx, 2
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x38]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
mov rcx, rsi
mov dword [rbp + 0x10], eax
mov byte [rbp + 0x14], al
call qword [fcn.14005470c]
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1400476c0
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using des via winapi
Encrypt or decrypt via wincrypt

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x1400bfbc8]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rsi, r8
mov dword [rsp + 0x40], 8
mov rbx, rdx
mov dword [rsp + 0x20], 0xf0000000
mov rdi, rcx
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x48]
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x140047791
xor eax, eax
lea rdx, [rsp + 0x64]
mov qword [rsp + 0x58], rax
mov rcx, rsi
mov qword [rsp + 0x60], rax
mov word [rsp + 0x58], 0x208
mov dword [rsp + 0x5c], 0x6601
mov dword [rsp + 0x60], 8
mov dword [rsp + 0x68], eax
call fcn.140047620
lea rcx, [rsp + 0x64]
mov edx, 8
call fcn.14004a200
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x58]
mov dword [rsp + 0x20], 0
lea r8d, [r9 + 0x14]
call qword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
jne 0x140047795
mov rcx, qword [rsp + 0x48]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor al, al
jmp 0x1400477df
mov rax, qword [rdi]
xor r9d, r9d
mov rcx, qword [rsp + 0x50]
xor r8d, r8d
mov qword [rbx], rax
xor edx, edx
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_CryptEncrypt]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov rcx, qword [rsp + 0x48]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov al, 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14004bcc0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14004a260
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [section..data]
mov rdi, rax
test rax, rax
jne 0x14004a2a2
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x14004a2e5
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov ebp, dword [rbx + 0x20]
mov rcx, qword [rdi + 8]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x14004a342
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x14004a300
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x14004a383
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x14008f2e8]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x14008f2e9]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x14004a350
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x140055370
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x140055144
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140055144
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140055144
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140055144
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140055144
cmp dword [rcx + 0x84], 0xe
jbe 0x140055144
cmp dword [rcx + 0xf8], esi
je 0x140055144
mov ecx, r14d
call fcn.14005528c
mov ecx, 2
call fcn.14006216c
nop
cmp byte [0x1400c1f18], 0
jne 0x14005520e
mov r15d, 1
mov eax, r15d
xchg dword [0x1400c1f0c], eax
test ebx, ebx
jne 0x1400551b7
mov rdi, qword [0x1400bfbc8]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x1400c1f10]
cmp rcx, rax
je 0x1400551ae
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.140002370]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x1400c2268]
jmp 0x1400551c3
cmp ebx, r15d
jne 0x1400551c9
lea rcx, [0x1400c2280]
call fcn.140065148
nop
test ebx, ebx
jne 0x1400551e0
lea rdx, [0x14008d8d0]
lea rcx, [0x14008d8b0]
call fcn.140065410
lea rdx, [0x14008d8e0]
lea rcx, [0x14008d8d8]
call fcn.140065410
movzx eax, byte [0x1400c1f18]
test esi, esi
cmove eax, r15d
mov byte [0x1400c1f18], al
jmp 0x14005520e
mov ecx, 2
call fcn.1400621c0
test esi, esi
jne 0x140055225
mov ecx, r14d
call fcn.140055240
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x1400550d4
Function at 0x140068710
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x1400685b0
call fcn.140054148
mov dword [rax], reloc.WLDAP32.dll_Ordinal_22
call fcn.140050400
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x140068598
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x140068598
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x1400685e2
lock or dword [rax + 0x14], 0x10
jmp 0x140068598
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x1400685ff
mov rcx, qword [rbp + 0x10]
call fcn.140068b68
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.140068540
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.140066f70
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x140068656
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x140068598
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x1400686c2
mov rcx, qword [rbp + 0x10]
call fcn.140068540
cmp eax, 0xffffffff
je 0x1400686a9
mov rcx, qword [rbp + 0x10]
call fcn.140068540
cmp eax, 0xfffffffe
je 0x1400686a9
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.140068540
movsxd rdi, eax
lea rsi, [0x1400c22f0]
mov rcx, rbx
sar rdi, 6
call fcn.140068540
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x1400686b0
lea rax, [0x1400bff10]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1400686c2
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x1400686f8
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x1400686f4
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x1400686f4
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x14006859b
jmp 0x140068568
Function at 0x1400776b0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, r8
call fcn.140077900
test eax, eax
js 0x1400778ee
mov eax, dword [rbx + 0xf0]
xor r10d, r10d
shl eax, 2
movsxd r9, eax
test eax, eax
jle 0x14007773d
lea r8, [rbx + 8]
lea r8, [r8 + r9*4]
lea rax, [rbx + 8]
nop word [rax + rax]
mov edx, dword [rax - 8]
add r10, 4
mov ecx, dword [r8 - 8]
lea r8, [r8 - 0x10]
mov dword [rax - 8], ecx
lea rax, [rax + 0x10]
mov ecx, dword [r8 + 0xc]
sub r9, 4
mov dword [r8 + 8], edx
mov edx, dword [rax - 0x14]
mov dword [rax - 0x14], ecx
mov ecx, dword [r8 + 0x10]
mov dword [r8 + 0xc], edx
mov edx, dword [rax - 0x10]
mov dword [rax - 0x10], ecx
mov ecx, dword [r8 + 0x14]
mov dword [r8 + 0x10], edx
mov edx, dword [rax - 0xc]
mov dword [rax - 0xc], ecx
mov dword [r8 + 0x14], edx
cmp r10, r9
jl 0x1400776f0
mov r11d, 1
cmp dword [rbx + 0xf0], r11d
jle 0x1400778ec
mov qword [rsp + 0x30], rdi
lea r10, [rbx + 2]
lea rdi, [0x140000000]
mov r8d, dword [r10 + 0xe]
lea r10, [r10 + 0x10]
mov eax, r8d
inc r11d
shr rax, 0x18
movzx edx, byte [rdi + rax*4 + 0x9efb0]
movzx eax, byte [r10 - 1]
mov r9d, dword [rdi + rdx*4 + 0x9ebb0]
movzx ecx, byte [rdi + rax*4 + 0x9efb0]
movzx eax, r8b
xor r9d, dword [rdi + rcx*4 + 0x9e3b0]
movzx ecx, byte [rdi + rax*4 + 0x9efb0]
movzx eax, byte [r10]
xor r9d, dword [rdi + rcx*4 + 0x9dfb0]
movzx ecx, byte [rdi + rax*4 + 0x9efb0]
movzx eax, byte [r10 + 3]
xor r9d, dword [rdi + rcx*4 + 0x9e7b0]
movzx edx, byte [rdi + rax*4 + 0x9efb0]
movzx eax, byte [r10 + 4]
mov dword [r10 - 2], r9d
mov r9d, dword [r10 + 2]
mov r8d, dword [rdi + rdx*4 + 0x9e3b0]
movzx ecx, byte [rdi + rax*4 + 0x9efb0]
mov eax, r9d
shr rax, 0x18
xor r8d, dword [rdi + rcx*4 + 0x9e7b0]
movzx ecx, byte [rdi + rax*4 + 0x9efb0]
movzx eax, r9b
mov r9d, dword [r10 + 6]
xor r8d, dword [rdi + rcx*4 + 0x9ebb0]
movzx ecx, byte [rdi + rax*4 + 0x9efb0]
movzx eax, byte [r10 + 7]
xor r8d, dword [rdi + rcx*4 + 0x9dfb0]
movzx edx, byte [rdi + rax*4 + 0x9efb0]
movzx eax, byte [r10 + 8]
mov dword [r10 + 2], r8d
mov r8d, dword [rdi + rdx*4 + 0x9e3b0]
movzx ecx, byte [rdi + rax*4 + 0x9efb0]
mov eax, r9d
shr rax, 0x18
xor r8d, dword [rdi + rcx*4 + 0x9e7b0]
movzx ecx, byte [rdi + rax*4 + 0x9efb0]
movzx eax, r9b
mov r9d, dword [r10 + 0xa]
xor r8d, dword [rdi + rcx*4 + 0x9ebb0]
movzx ecx, byte [rdi + rax*4 + 0x9efb0]
movzx eax, byte [r10 + 0xb]
xor r8d, dword [rdi + rcx*4 + 0x9dfb0]
movzx edx, byte [rdi + rax*4 + 0x9efb0]
movzx eax, byte [r10 + 0xc]
mov dword [r10 + 6], r8d
mov r8d, dword [rdi + rdx*4 + 0x9e3b0]
movzx ecx, byte [rdi + rax*4 + 0x9efb0]
mov eax, r9d
shr rax, 0x18
xor r8d, dword [rdi + rcx*4 + 0x9e7b0]
movzx ecx, byte [rdi + rax*4 + 0x9efb0]
movzx eax, r9b
xor r8d, dword [rdi + rcx*4 + 0x9ebb0]
movzx ecx, byte [rdi + rax*4 + 0x9efb0]
xor r8d, dword [rdi + rcx*4 + 0x9dfb0]
mov dword [r10 + 0xa], r8d
cmp r11d, dword [rbx + 0xf0]
jl 0x140077760
mov rdi, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x140079070
Capabilities:
Hash data with md5

Disassembly:
push rbx
sub rsp, 0x20
xor edx, edx
mov rbx, rcx
lea r8d, [rdx + 0x5c]
call fcn.14004d3e0
mov eax, 1
mov dword [rbx], 0x67452301
mov dword [rbx + 4], 0xefcdab89
mov dword [rbx + 8], 0x98badcfe
mov dword [rbx + 0xc], 0x10325476
add rsp, 0x20
pop rbx
ret

Function at 0x140079d50
Capabilities:
Get common file path
Get program files directory

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x1400bfbc8]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, rdx
mov dword [rsp + 0x20], 0
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x104
call fcn.14004d3e0
xor r9d, r9d
lea rdx, [rsp + 0x30]
xor ecx, ecx
lea r8d, [r9 + 0x26]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140006450
mov rax, rbx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14004bcc0
add rsp, 0x150
pop rbx
ret

Function at 0x14007a0c0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x1400bfbc8]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, rdx
mov dword [rsp + 0x20], 0
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x104
call fcn.14004d3e0
xor r9d, r9d
lea rdx, [rsp + 0x30]
xor ecx, ecx
lea r8d, [r9 + 0x26]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140006450
mov rax, rbx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14004bcc0
add rsp, 0x150
pop rbx
ret

Function at 0x14007a4c0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x1400bfbc8]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, rdx
mov dword [rsp + 0x20], 0
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x104
call fcn.14004d3e0
xor r9d, r9d
lea rdx, [rsp + 0x30]
xor ecx, ecx
lea r8d, [r9 + 0x26]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140006450
mov rax, rbx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14004bcc0
add rsp, 0x150
pop rbx
ret

Function at 0x14007a580
Capabilities:
Get common file path
Get program files directory

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x1400bfbc8]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, rdx
mov dword [rsp + 0x20], 0
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x104
call fcn.14004d3e0
xor r9d, r9d
lea rdx, [rsp + 0x30]
xor ecx, ecx
lea r8d, [r9 + 0x26]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140006450
mov rax, rbx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14004bcc0
add rsp, 0x150
pop rbx
ret
Function at 0x14007aea0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x180
mov rax, qword [0x1400bfbc8]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov r14d, edx
mov dword [rsp + 0x30], 4
xor edx, edx
mov dword [rsp + 0x40], 0x130
xor r15d, r15d
mov rdi, r8
xor bpl, bpl
mov dword [rsp + 0x34], r15d
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14007afe1
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, 1
jne 0x14007afd8
mov qword [rsp + 0x1a0], rbx
lea rdx, [rsp + 0x6c]
lea rcx, str.explorer.exe
call fcn.14005bc20
test eax, eax
jne 0x14007afab
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x14007afab
mov r8, rdi
mov edx, 0xa
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14007af91
mov r9d, dword [rsp + 0x30]
lea rax, [rsp + 0x30]
mov rcx, qword [rdi]
lea r8, [rsp + 0x34]
mov edx, ntohl
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x14007af91
cmp r14d, dword [rsp + 0x34]
je 0x14007afc4
mov rcx, qword [rdi]
test rcx, rcx
je 0x14007afa2
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi], r15
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
je 0x14007af20
jmp 0x14007afd0
mov rcx, rbx
mov bpl, 1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x1a0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, bpl
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.14004bcc0
lea r11, [rsp + 0x180]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret