joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400328e0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x280
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x2b0], rbx
mov rax, qword [0x14023c048]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rsi, rdx
mov rdi, rcx
xor ebp, ebp
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x58], rbp
mov r9d, dword [rcx + 8]
or r9d, 0x2001f
mov r8, rdx
mov rdx, qword [rcx]
lea rcx, [rsp + 0x48]
call fcn.140032cd0
nop
mov ebx, eax
mov rcx, qword [rsp + 0x48]
test eax, eax
jne 0x140032a83
mov dword [rsp + 0x60], 0x100
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x70]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
nop
test eax, eax
jne 0x1400329e7
nop dword [rax + rax]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.1400328e0
nop
mov ebx, eax
mov rcx, qword [rsp + 0x48]
test eax, eax
jne 0x140032a83
mov dword [rsp + 0x60], 0x100
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x70]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
nop
test eax, eax
je 0x140032990
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400329fd
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov qword [rsp + 0x48], rbp
mov dword [rsp + 0x50], ebp
mov rbx, qword [rdi + 0x10]
test rbx, rbx
je 0x140032ab5
mov rdi, qword [rdi]
cmp qword [rbx], 0
je 0x140032a69
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
nop
test rax, rax
jne 0x140032a31
mov ebx, 1
jmp 0x140032a7e
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop
test rax, rax
je 0x140032a2a
mov qword [rsp + 0x28], rbp
mov rcx, qword [rbx]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call qword [case.0x140024b66.0]
nop
jmp 0x140032a7c
cmp dword [rbx + 8], 0
je 0x140032a2a
mov rcx, rdi
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
nop
mov ebx, eax
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140032a8f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov eax, ebx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140149290
nop
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
cmp byte [0x1402572d0], 0
jne 0x140032b02
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
nop
test rax, rax
je 0x140032af2
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop
mov qword [0x1402572c8], rax
mov byte [0x1402572d0], 1
jmp 0x140032b09
mov rax, qword [0x1402572c8]
mov byte [0x1402572d0], 1
jmp 0x140032b09
mov rax, qword [0x1402572c8]
mov rcx, qword [rdi]
test rax, rax
je 0x140032a72
xor r9d, r9d
mov r8d, dword [rdi + 8]
mov rdx, rsi
call qword [case.0x140024b66.0]
nop
jmp 0x140032a7c
Function at 0x140032e10
Capabilities:
Get file attributes

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x14023c048]
xor rax, rsp
mov qword [rsp + 0x40], rax
cmp qword [rcx + 0x10], 0
mov ebx, 0xffffffff
je 0x140032e95
mov rdx, rcx
lea rcx, [rsp + 0x20]
call fcn.140032eb0
cmp qword [rsp + 0x38], 8
lea rcx, [rsp + 0x20]
cmovae rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov rdx, qword [rsp + 0x38]
mov ebx, eax
cmp rdx, 8
jb 0x140032e95
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140032e90
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140032eaa
call fcn.140148ec0
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140149290
add rsp, 0x50
pop rbx
ret
call fcn.14016ae5c
int3

Function at 0x140032eb0
Capabilities:
Query environment variable

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x60
mov qword [r11 - 0x40], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
mov rax, qword [0x14023c048]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rdi, rdx
mov rsi, rcx
mov qword [r11 - 0x38], rcx
xor eax, eax
mov dword [rsp + 0x24], eax
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], 7
mov word [rcx], ax
mov dword [rsp + 0x24], 1
mov qword [r11 - 0x30], rax
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x20], rax
lea r8, [r11 - 0x48]
mov edx, 0x800
lea rcx, [r11 - 0x30]
call fcn.14002dc00
nop
mov rax, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
sub rax, rbx
sar rax, 1
cmp qword [rdi + 0x18], 8
jb 0x140032f37
mov rdi, qword [rdi]
mov r8d, eax
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x140032f68
mov r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], 0
jne 0x140032f51
mov rdx, rbx
mov rcx, rsi
call fcn.14001f5f0
nop
test rbx, rbx
je 0x140032fa4
mov rdx, qword [rsp + 0x48]
sub rdx, rbx
sar rdx, 1
add rdx, rdx
mov rax, rbx
cmp rdx, 0x1000
jb 0x140032f9c
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140032fc6
mov rcx, rbx
call fcn.140148ec0
mov rax, rsi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140149290
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.14016ae5c
int3
Function at 0x140032fd0
Capabilities:
Copy file
Get file attributes

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x90
mov qword [r11 - 0x78], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
mov rax, qword [0x14023c048]
xor rax, rsp
mov qword [rsp + 0x88], rax
movzx edi, r8b
mov rbx, rdx
mov rdx, rcx
lea rcx, [r11 - 0x30]
call fcn.140032eb0
nop
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.140032eb0
nop
xor esi, esi
test dil, dil
jne 0x1400330a0
cmp qword [rsp + 0x38], rsi
je 0x1400330a0
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x48]
call fcn.140032eb0
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x140033097
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140033092
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140033197
call fcn.140148ec0
cmp ebx, 0xffffffff
je 0x1400330a0
mov eax, esi
jmp 0x1400330ce
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x68]
cmp qword [rsp + 0x80], 8
cmovae rcx, qword [rsp + 0x68]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
setne bl
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x140033115
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140033110
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003319d
call fcn.140148ec0
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], si
mov rdx, qword [rsp + 0x80]
cmp rdx, 8
jb 0x140033169
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140033164
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140033191
call fcn.140148ec0
movzx eax, bl
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140149290
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.14016ae5c
nop
call fcn.14016ae5c
nop
call fcn.14016ae5c
int3
Function at 0x14003f140
Capabilities:
Download url
Receive data

Disassembly:
push rbx
sub rsp, 0x30
xor bl, bl
cmp qword [rdx + 0x18], 8
jb 0x14003f152
mov rdx, qword [rdx]
cmp qword [rcx + 0x18], 8
jb 0x14003f15c
mov rcx, qword [rcx]
mov r8, rdx
mov qword [rsp + 0x20], 0
mov rdx, rcx
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
movzx ecx, bl
mov edx, 1
test eax, eax
cmovns ecx, edx
movzx eax, cl
add rsp, 0x30
pop rbx
ret
Function at 0x140048630
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x90
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rsp + 0xe0], rbx
mov rax, qword [0x14023c048]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r12, rdx
mov rdi, rcx
mov qword [rbp - 0x11], rcx
xor ebx, ebx
mov dword [rbp - 0x39], ebx
mov qword [rcx], rbx
mov qword [rcx + 8], rbx
xor r8d, r8d
xor edx, edx
call fcn.140049960
mov qword [rdi], rax
mov dword [rbp - 0x39], 1
xor eax, eax
mov qword [rbp - 1], rax
mov qword [rbp + 7], rax
mov qword [rbp + 0xf], rax
lea rcx, [rbp - 1]
call fcn.140049860
nop
mov dword [rbp - 9], ebx
test r12, r12
je 0x140048776
mov rax, qword [rbp + 7]
mov rdx, qword [rbp - 1]
sub rax, rdx
sar rax, 3
lea r8d, [rax*8]
mov dword [rsp + 0x20], 3
lea r9, [rbp - 9]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModulesEx]
test eax, eax
je 0x140048776
mov edx, dword [rbp - 9]
shr rdx, 3
lea rcx, [rbp - 1]
call fcn.140049d20
mov rbx, qword [rbp - 1]
mov r15, qword [rbp + 7]
cmp rbx, r15
je 0x14004877a
movabs r13, 0x666666666666665
nop
mov rax, qword [rbx]
mov qword [rbp - 0x31], r12
mov qword [rbp - 0x29], rax
mov byte [rbp - 0x21], 0
mov rsi, qword [rdi]
mov r14, qword [rsi + 8]
lea r9, [rbp - 0x31]
mov r8, r14
mov rdx, rsi
call fcn.14004a0a0
mov rdx, qword [rdi + 8]
mov rcx, r13
sub rcx, rdx
cmp rcx, 1
jb 0x1400487dd
lea rcx, [rdx + 1]
mov qword [rdi + 8], rcx
mov qword [rsi + 8], rax
mov qword [r14], rax
cmp byte [rbp - 0x21], 0
je 0x14004876d
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x14004876d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 8
cmp rbx, r15
jne 0x140048710
mov rbx, qword [rbp - 1]
test rbx, rbx
je 0x1400487b3
mov rdx, qword [rbp + 0xf]
sub rdx, rbx
and rdx, 0xfffffffffffffff8
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400487ab
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400487ea
mov rcx, rbx
call fcn.140148ec0
mov rax, rdi
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140149290
mov rbx, qword [rsp + 0xe0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.list_T__too_long
call fcn.140126d64
nop
call fcn.14016ae5c
int3

Function at 0x140048ba0
Capabilities:
Enumerate process modules

Disassembly:
push rbx
sub rsp, 0x50
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x14023c048]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, rcx
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x20], 0
xor eax, eax
mov qword [rcx], rax
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rax
mov edx, 0x1000
call fcn.14002bbd0
mov dword [rsp + 0x20], 1
mov dword [rsp + 0x38], 0
mov rcx, qword [rbx]
mov rdx, qword [rbx + 8]
sub rdx, rcx
and edx, 0xfffffffc
lea r8, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x140048c21
mov edx, dword [rsp + 0x38]
shr rdx, 2
mov rcx, rbx
call fcn.140049ee0
mov rax, rbx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140149290
add rsp, 0x50
pop rbx
ret
Function at 0x140048c40
Capabilities:
Create process on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0xb0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov rax, qword [0x14023c048]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov rsi, r9
mov rbx, r8
mov rbp, rcx
mov r14, qword [rsp + 0x100]
mov rdi, qword [rsp + 0x108]
lea r8, [0x1401e7008]
lea rcx, [rsp + 0x68]
call fcn.1400387e0
nop
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 8
jb 0x140048ca2
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.14002c360
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x88], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x98], xmm1
xor ebx, ebx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
mov rdx, qword [rsp + 0x80]
cmp rdx, 8
jb 0x140048d1a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140048d15
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140048e37
call fcn.140148ec0
test rbp, rbp
je 0x140048d6e
lea r8, [rsp + 0x88]
cmp qword [rsp + 0xa0], 8
cmovae r8, qword [rsp + 0x88]
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor edx, edx
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
jmp 0x140048db6
lea rdx, [rsp + 0x88]
cmp qword [rsp + 0xa0], 8
cmovae rdx, qword [rsp + 0x88]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ecx, eax
test eax, eax
je 0x140048dc9
test rdi, rdi
je 0x140048dc7
mov rax, qword [rsi]
mov qword [rdi], rax
test ecx, ecx
setne bl
mov rdx, qword [rsp + 0xa0]
cmp rdx, 8
jb 0x140048e10
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140048e0b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140048e31
call fcn.140148ec0
movzx eax, bl
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140149290
add rsp, 0xb0
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.14016ae5c
int3
call fcn.14016ae5c
int3
Function at 0x1400497e0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
test rcx, rcx
je 0x1400497f9
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
setne al
add rsp, 0x28
ret
xor al, al
add rsp, 0x28
ret
push rbx
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
lea rcx, [0x140249ab0]
call fcn.140127188
test eax, eax
je 0x1400b8be6
mov ecx, eax
call fcn.1401272b8
movzx ebx, byte [0x1402499e2]
lea rcx, [0x140249ab0]
call fcn.1401271ac
test eax, eax
je 0x1400b8c05
mov ecx, eax
call fcn.1401272b8
nop
test bl, bl
je 0x1400b8c24
mov rcx, qword [0x1402499e8]
test rcx, rcx
je 0x1400b8c24
mov edx, 0xffffffff
add rsp, 0x30
pop rbx
jmp 0x1400497e0
xor al, al
add rsp, 0x30
pop rbx
ret
Function at 0x140096c80
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0xa0
mov qword [rax - 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x14023c048]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rsi, rcx
mov qword [rsp + 0x58], rcx
mov r9, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 8
jb 0x140096cc7
mov rdx, qword [rdx]
xor ebp, ebp
movabs r8, 0xcbf29ce484222325
mov ecx, ebp
add r9, r9
je 0x140096d03
movabs r10, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + rdx]
xor r8, rax
imul r8, r10
inc rcx
cmp rcx, r9
jb 0x140096cf0
lea r9, [rsp + 0x8a]
movabs r10, 0xcccccccccccccccd
nop word [rax + rax]
sub r9, 2
mov rax, r10
mul r8
shr rdx, 3
movzx eax, dx
shl ax, 2
lea ecx, [rax + rdx]
add cx, cx
sub r8w, cx
add r8w, 0x30
mov word [r9], r8w
mov r8, rdx
test rdx, rdx
jne 0x140096d20
movdqa xmm0, xmmword [0x1401e87c0]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], bp
lea rax, [rsp + 0x8a]
cmp r9, rax
je 0x140096d8c
lea r8, [rsp + 0x8a]
sub r8, r9
sar r8, 1
mov rdx, r9
lea rcx, [rsp + 0x30]
call fcn.14001f5f0
nop
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
mov rax, rdx
sub rax, rcx
cmp rax, 4
jb 0x140096ddb
lea rdi, [rcx + 4]
mov qword [rsp + 0x40], rdi
lea rbx, [rsp + 0x30]
cmp rdx, 8
cmovae rbx, qword [rsp + 0x30]
lea rcx, [rbx + rcx*2]
mov r8d, 8
lea rdx, str..png
call fcn.1401679c0
mov word [rbx + rdi*2], bp
lea rax, [rsp + 0x30]
jmp 0x140096dfc
mov qword [rsp + 0x20], 4
lea r9, str..png
xor r8d, r8d
lea edx, [r8 + 4]
lea rcx, [rsp + 0x30]
call fcn.14002c6d0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], 7
mov word [rax], bp
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x140096e5e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140096e59
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140096eef
call fcn.140148ec0
movdqa xmm0, xmmword [0x1401e87c0]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], bp
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.1400977f0
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x140096ebd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140096eb8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140096ee9
call fcn.140148ec0
mov rax, rsi
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140149290
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.14016ae5c
nop
call fcn.14016ae5c
nop
int3
Function at 0x1400b8bc0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
test rcx, rcx
je 0x1400497f9
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
setne al
add rsp, 0x28
ret
xor al, al
add rsp, 0x28
ret
push rbx
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
lea rcx, [0x140249ab0]
call fcn.140127188
test eax, eax
je 0x1400b8be6
mov ecx, eax
call fcn.1401272b8
movzx ebx, byte [0x1402499e2]
lea rcx, [0x140249ab0]
call fcn.1401271ac
test eax, eax
je 0x1400b8c05
mov ecx, eax
call fcn.1401272b8
nop
test bl, bl
je 0x1400b8c24
mov rcx, qword [0x1402499e8]
test rcx, rcx
je 0x1400b8c24
mov edx, 0xffffffff
add rsp, 0x30
pop rbx
jmp 0x1400497e0
xor al, al
add rsp, 0x30
pop rbx
ret

Function at 0x1400c1a40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov r12, r9
movzx r15d, r8b
mov r14, rdx
mov r10, rcx
mov r13, qword [rcx]
mov rdi, r13
mov rbx, qword [r13 + 8]
mov sil, 1
cmp byte [rbx + 0x19], 0
jne 0x1400c1ac9
mov rdi, rbx
test r15b, r15b
je 0x1400c1aa1
lea rcx, [rbx + 0x20]
mov rdx, r12
call fcn.14002c080
movzx esi, al
xor sil, 1
jmp 0x1400c1ab0
lea rdx, [rbx + 0x20]
mov rcx, r12
call fcn.14002c080
movzx esi, al
test sil, sil
je 0x1400c1aba
mov rbx, qword [rbx]
jmp 0x1400c1abe
mov rbx, qword [rbx + 0x10]
cmp byte [rbx + 0x19], 0
je 0x1400c1a84
mov r10, qword [rsp + 0x70]
mov rbx, rdi
mov rcx, rdi
test sil, sil
je 0x1400c1b90
cmp rdi, qword [r13]
jne 0x1400c1b16
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
mov r9, rdi
mov r8b, 1
lea rdx, [rsp + 0x38]
mov rcx, r10
call fcn.1400c15c0
mov rax, qword [rax]
mov qword [r14], rax
mov byte [r14 + 8], 1
mov rax, r14
jmp 0x1400c1bf0
cmp byte [rdi + 0x19], 0
je 0x1400c1b22
mov rbx, qword [rdi + 0x10]
jmp 0x1400c1b8d
mov rax, qword [rdi]
cmp byte [rax + 0x19], 0
je 0x1400c1b6f
mov rax, qword [rdi + 8]
cmp byte [rax + 0x19], 0
jne 0x1400c1b61
mov rdx, rdi
nop dword [rax + rax]
mov r8, rax
mov r9, rax
mov rcx, rdx
cmp rdx, qword [rax]
jne 0x1400c1b61
mov rbx, rax
mov rax, qword [rax + 8]
mov rdx, rbx
mov rcx, rbx
cmp byte [rax + 0x19], 0
je 0x1400c1b40
cmp byte [rbx + 0x19], 0
jne 0x1400c1b90
mov rbx, rax
mov rcx, rax
jmp 0x1400c1b90
mov rbx, rax
mov rax, qword [rax + 0x10]
cmp byte [rax + 0x19], 0
jne 0x1400c1b8d
nop dword [rax]
mov rbx, rax
mov rax, qword [rax + 0x10]
cmp byte [rax + 0x19], 0
je 0x1400c1b80
mov rcx, rbx
add rcx, 0x20
mov rdx, r12
call fcn.14002c080
mov rcx, qword [rsp + 0x70]
test al, al
je 0x1400c1bd8
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
mov r9, rdi
movzx r8d, sil
lea rdx, [rsp + 0x38]
call fcn.1400c15c0
mov rax, qword [rax]
mov qword [r14], rax
mov byte [r14 + 8], 1
mov rax, r14
jmp 0x1400c1bf0
mov rdx, qword [rsp + 0x90]
call fcn.1400cbb00
mov qword [r14], rbx
mov byte [r14 + 8], 0
mov rax, r14
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140107040
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x490
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x14023c048]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov r15, r9
mov rsi, r8
mov rbx, rdx
xor r14d, r14d
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x58], r14
xor edx, edx
mov r8d, 0x408
lea rcx, [rsp + 0x70]
call fcn.140167e60
mov qword [rsp + 0x70], r14
xor edx, edx
lea r8d, [r14 + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x1401070e0
xor edx, edx
lea r8d, [r14 + 2]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x1401070e0
call fcn.14003a1d0
mov ebx, eax
jmp 0x140107205
mov r8, r15
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x140107101
call fcn.14003a1d0
jmp 0x1401071f4
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x140107124
call fcn.14003a1d0
jmp 0x1401071f4
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, ebx
jae 0x140107146
mov ebx, 0x8007000e
jmp 0x1401071f6
mov ecx, eax
test eax, eax
je 0x14010717b
xor edx, edx
mov rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x14010723d
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x14010717b
lea rcx, [rsp + 0x70]
call fcn.1401043a0
jmp 0x140107185
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
jmp 0x140107198
cmp qword [rsp + 0x70], 0
jne 0x1401071a7
mov ebx, 0x8007000e
jmp 0x1401071f6
mov dword [rsp + 0x28], ebx
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, rsi
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x1401071d1
call fcn.14003a1d0
jmp 0x1401071f4
mov ecx, eax
mov rax, qword [rsp + 0x70]
mov word [rax + rcx*2], r14w
mov r8d, dword [rsp + 0x4e0]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x58]
call fcn.140106b60
mov ebx, eax
test rdi, rdi
je 0x140107205
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x14010721c
lea rcx, [rsp + 0x70]
call fcn.140104f30
nop
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.140149290
add rsp, 0x490
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
mov ecx, 0x80070216
call fcn.14003a200
int3
Function at 0x140123840
Capabilities:
Access the windows event log

Disassembly:
sub rsp, 0x28
sub edx, 1
je 0x1401238ab
sub edx, 1
je 0x1401238b4
sub edx, 1
je 0x1401238b4
sub edx, 1
je 0x1401238b4
cmp edx, 1
je 0x14012386d
lea rdx, str.Bad_service_request
add rsp, 0x28
jmp fcn.140123eb0
test rcx, rcx
jne 0x1401238ab
mov ecx, 0x274
mov eax, 3
xchg dword [rcx], eax
lea edx, [rcx - 4]
mov rcx, qword [0x268]
call qword [sym.imp.ADVAPI32.dll_SetServiceStatus]
mov ecx, dword [0x290]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x12]
add rsp, 0x28
jmp qword [sym.imp.USER32.dll_PostThreadMessageW]
add rsp, 0x28
jmp fcn.140124000
add rsp, 0x28
ret