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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x45a92f
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rsi, [0x0045a980]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.00462f00
xorps xmm15, xmm15
mov r14, qword [0x005c52f8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.00463020
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp fcn.0045a880
Function at 0x464e20
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4037e3
push rbp
mov rbp, rsp
sub rsp, 0x18
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
call fcn.00409580
add rsp, 0x18
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00463020
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x4037c0
cmp byte [0x005c50cb], 0
je 0x464e35
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x462060
jmp 0x4037c0

Function at 0x464e40
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005c53c0]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x005c50cb], 0
je 0x464e75
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x005c56e0]
aesenc xmm0, xmmword [0x005c56f0]
aesenc xmm0, xmmword [0x005c5700]
movq rax, xmm0
ret
jmp 0x4097a0

Function at 0x464e80
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005c53c0]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x005c50cb], 0
je 0x464eb6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x005c56e0]
aesenc xmm0, xmmword [0x005c56f0]
aesenc xmm0, xmmword [0x005c5700]
movq rax, xmm0
ret
jmp 0x409800

Function at 0x466c20
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
mov rbp, rsp
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x466c54
mov rcx, 0x28
jmp 0x466c5f
shl rcx, 3
add rcx, 0x1480
mov qword [0x005c52f8], rcx
pop rbp
ret
Function at 0x470520
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4705ea
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.00402d00
xorps xmm15, xmm15
mov r14, qword [0x005c52f8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x4705cf
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x0048e8c0]
xor ebx, ebx
mov rcx, rdx
call fcn.0044aba0
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call fcn.00470900
inc rbx
cmp rcx, rbx
jae 0x4705be
mov edi, 1
lea rsi, [0x0048e8c0]
call fcn.0044ac80
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x004c7478]
lea rsi, [0x004c7050]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00463020
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00470520

Function at 0x477f40
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x47867f
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
movabs rcx, 0xcbf29ce484222325
jmp 0x477f6d
lea rax, [rdx + 0x10]
dec rbx
mov rcx, rsi
test rbx, rbx
jle 0x4781f1
mov rdx, rax
mov rsi, qword [rax]
nop dword [rax]
test rsi, rsi
je 0x47821d
mov edi, dword [rsi + 0x10]
shr edi, 1
mov r8, qword [rax + 8]
and edi, 0x3f
lea rax, [0x004c8400]
jmp qword [rax + rdi*8]
mov rax, rcx
add rsp, 0x10
pop rbp
ret
lea rax, [0x0048e7c0]
lea rbx, [0x004c73e8]
call fcn.004356c0
inc rax
cmp rax, r8
jge 0x478242
mov r9, qword [rsi + rax*8]
xor r10d, r10d
nop
jmp 0x478277
lea rdi, [0x0048e840]
mov rsi, rcx
movabs rcx, 0x100000001b3
jmp 0x477f63
movzx r11d, r9b
xor rcx, r11
inc r10
shr r9, 8
movabs r11, 0x100000001b3
imul rcx, r11
cmp r10, 8
jl 0x47825b
jmp 0x478230
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.00463020
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.00477f40

Function at 0x478820
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x478837
inc rax
cmp rax, 4
jge 0x47884f
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x478834
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x478860
inc rax
cmp rax, 4
jge 0x47886e
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x478897
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x47887b
jmp 0x47885d
Function at 0x481dd0
Capabilities:
Encode data using xor

Disassembly:
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdx, qword [rsp + 0x20]
test rdx, 0xf
jne 0x481e4a
mov rax, 0
nop word [rax + rax]
nop dword [rax]
movdqu xmm0, xmmword [rsi + rax]
movdqu xmm1, xmmword [rcx + rax]
pxor xmm0, xmm1
movdqu xmmword [rbx + rax], xmm0
add rax, 0x10
cmp rdx, rax
jne 0x481e00
ret
sub rdx, 1
mov dil, byte [rsi + rdx]
mov al, byte [rcx + rdx]
xor dil, al
mov byte [rbx + rdx], dil
test rdx, 7
jne 0x481e20
cmp rdx, 0
je 0x481e6c
test rdx, 0xf
je 0x481ded
test rdx, 7
jne 0x481e20
sub rdx, 8
mov rdi, qword [rsi + rdx]
mov rax, qword [rcx + rdx]
xor rdi, rax
mov qword [rbx + rdx], rdi
cmp rdx, 0x10
jge 0x481ded
ret
Function at 0x483820
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
mov rcx, qword [rsp + 8]
mov rax, qword [rsp + 0x10]
mov rdx, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x20]
movups xmm1, xmmword [rax]
movups xmm0, xmmword [rbx]
add rax, 0x10
pxor xmm0, xmm1
sub rcx, 0xc
je 0x48385f
jb 0x483874
movups xmm1, xmmword [rax]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesdec xmm0, xmm1
add rax, 0x20
movups xmm1, xmmword [rax]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesdec xmm0, xmm1
add rax, 0x20
movups xmm1, xmmword [rax]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x20]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x30]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x40]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x50]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x60]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x70]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x80]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x90]
aesdeclast xmm0, xmm1
movups xmmword [rdx], xmm0
ret
Function at 0x4838e0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push rbp
mov rbp, rsp
mov rcx, qword [rsp + 0x10]
mov rax, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
add rbx, 0x10
pxor xmm4, xmm4
cmp ecx, 0xc
je 0x4839b4
jb 0x483a13
movups xmm2, xmmword [rax + 0x10]
movups xmmword [rbx], xmm2
add rbx, 0x10
aeskeygenassist xmm1, xmm2, 1
call fcn.004837c0
aeskeygenassist xmm1, xmm0, 1
call fcn.004837e0
aeskeygenassist xmm1, xmm2, 2
call fcn.004837c0
aeskeygenassist xmm1, xmm0, 2
call fcn.004837e0
aeskeygenassist xmm1, xmm2, 4
call fcn.004837c0
aeskeygenassist xmm1, xmm0, 4
call fcn.004837e0
aeskeygenassist xmm1, xmm2, 8
call fcn.004837c0
aeskeygenassist xmm1, xmm0, 8
call fcn.004837e0
aeskeygenassist xmm1, xmm2, 0x10
call fcn.004837c0
aeskeygenassist xmm1, xmm0, 0x10
call fcn.004837e0
aeskeygenassist xmm1, xmm2, 0x20
call fcn.004837c0
aeskeygenassist xmm1, xmm0, 0x20
call fcn.004837e0
aeskeygenassist xmm1, xmm2, 0x40
call fcn.004837c0
jmp 0x483a81
movq xmm2, qword [rax + 0x10]
aeskeygenassist xmm1, xmm2, 1
call fcn.00483720
aeskeygenassist xmm1, xmm2, 2
call fcn.00483780
aeskeygenassist xmm1, xmm2, 4
call fcn.00483720
aeskeygenassist xmm1, xmm2, 8
call fcn.00483780
aeskeygenassist xmm1, xmm2, 0x10
call fcn.00483720
aeskeygenassist xmm1, xmm2, 0x20
call fcn.00483780
aeskeygenassist xmm1, xmm2, 0x40
call fcn.00483720
aeskeygenassist xmm1, xmm2, 0x80
call fcn.00483780
jmp 0x483a81
aeskeygenassist xmm1, xmm0, 1
call fcn.004836e0
aeskeygenassist xmm1, xmm0, 2
call fcn.004836e0
aeskeygenassist xmm1, xmm0, 4
call fcn.004836e0
aeskeygenassist xmm1, xmm0, 8
call fcn.004836e0
aeskeygenassist xmm1, xmm0, 0x10
call fcn.004836e0
aeskeygenassist xmm1, xmm0, 0x20
call fcn.004836e0
aeskeygenassist xmm1, xmm0, 0x40
call fcn.004836e0
aeskeygenassist xmm1, xmm0, 0x80
call fcn.004836e0
aeskeygenassist xmm1, xmm0, 0x1b
call fcn.004836e0
aeskeygenassist xmm1, xmm0, 0x36
call fcn.004836e0
sub rbx, 0x10
movups xmm1, xmmword [rbx]
movups xmmword [rdx], xmm1
dec rcx
movups xmm1, xmmword [rbx - 0x10]
aesimc xmm0, xmm1
movups xmmword [rdx + 0x10], xmm0
sub rbx, 0x10
add rdx, 0x10
dec rcx
jne 0x483a8e
movups xmm0, xmmword [rbx - 0x10]
movups xmmword [rdx + 0x10], xmm0
pop rbp
ret
Function at 0x1400112b2
Capabilities:
Terminate process

Disassembly:
jmp 0x140014430
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x140011366
Capabilities:
Parse pe header

Disassembly:
jmp 0x140015780
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400157a0
xor al, al
jmp 0x140015821
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400157b3
xor al, al
jmp 0x140015821
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400157dd
xor al, al
jmp 0x140015821
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400157f1
xor al, al
jmp 0x140015821
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140015803
xor al, al
jmp 0x140015821
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001581f
xor al, al
jmp 0x140015821
mov al, 1
add rsp, 0x38
ret
Function at 0x140006320
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r12, r9
mov r13, r8
mov rbx, rdx
mov rsi, rcx
call fcn.1400128bc
xor r14d, r14d
mov rdx, rbx
mov rcx, rsi
lea r8d, [r14 + 5]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x140006431
mov r8d, 0xf0
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
xor r15d, r15d
test rax, rax
je 0x14000639e
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r15, rax
mov rdx, rdi
mov rcx, rsi
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14000641d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbp, rax
test rax, rax
je 0x14000641d
mov rdx, r15
mov rcx, rax
call fcn.140011028
mov rdi, rax
mov r9, r12
mov rax, qword [rsp + 0x80]
mov rdx, rdi
mov r8, r13
mov qword [rsp + 0x20], rax
mov rcx, rsi
call qword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov r14, rax
test rax, rax
jne 0x1400063ff
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp rdi, rbp
je 0x140006425
test rdi, rdi
je 0x140006425
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalHandle]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x140006425
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
je 0x140006431
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [rsp + 0x60]
mov rax, r14
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14000b774
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
mov rdi, rdx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x14000b79a
mov r8, rdx
mov rdx, qword [rbx]
call fcn.14000f91c
jmp 0x14000b805
cmp byte [0x14008c158], 0
jne 0x14000b7de
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000b7ce
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14008c150], rax
jmp 0x14000b7d5
mov rax, qword [0x14008c150]
mov byte [0x14008c158], 1
jmp 0x14000b7e5
mov rax, qword [0x14008c150]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x14000b7ff
mov r8d, dword [rbx + 8]
xor r9d, r9d
call qword [0x140064a18]
jmp 0x14000b805
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x14000f4d8
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x140088e00]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov r9d, dword [rcx + 8]
xor r14d, r14d
mov rsi, rdx
mov qword [rsp + 0x48], r14
mov r8, rdx
mov qword [rsp + 0x40], r14
mov rdx, qword [rcx]
mov rdi, rcx
or r9d, 0x2001f
mov qword [rsp + 0x50], r14
lea rcx, [rsp + 0x40]
call fcn.14000e2ec
jmp 0x14000f54a
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.14000f4d8
mov ebx, eax
test eax, eax
jne 0x14000f5b3
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x58]
mov qword [rsp + 0x30], r14
lea r8, [rsp + 0x70]
mov qword [rsp + 0x28], r14
xor edx, edx
mov qword [rsp + 0x20], r14
mov dword [rsp + 0x58], 0x100
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x14000f53b
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14000f5a1
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], r14
mov rdx, rsi
mov dword [rsp + 0x48], r14d
mov rcx, rdi
call fcn.14000b774
mov ebx, eax
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14000f5c3
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.14002ab60
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x14000f91c
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
cmp qword [rcx], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x14000f983
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000f997
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000f997
mov rcx, qword [rbx]
xor r9d, r9d
and qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rdx, rdi
mov rcx, rsi
call qword [0x140064a18]
jmp 0x14000f99c
cmp dword [rcx + 8], 0
je 0x14000f997
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x14000f99c
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x14000fc8c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x480
mov rax, qword [0x140088e00]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov r15, r9
mov r14, r8
mov rbx, rdx
xor edi, edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x50], rdi
xor edx, edx
mov r8d, 0x408
lea rcx, [rsp + 0x60]
call fcn.14002e400
mov qword [rsp + 0x60], rdi
xor edx, edx
lea r8d, [rdi + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x14000fd22
xor edx, edx
lea r8d, [rdi + 2]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x14000fd22
call fcn.140008f38
mov ebx, eax
jmp 0x14000fe33
mov r8, r15
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x14000fd43
call fcn.140008f38
jmp 0x14000fe22
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r14, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14000fd39
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, ebx
jae 0x14000fd7e
mov ebx, 0x8007000e
jmp 0x14000fe24
mov ecx, eax
test eax, eax
je 0x14000fdb3
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x14000fe6b
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x14000fdb3
lfence
lea rcx, [rsp + 0x60]
call fcn.1400082e4
jmp 0x14000fdbd
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
jmp 0x14000fdcf
cmp qword [rsp + 0x60], rdi
je 0x14000fd74
lfence
mov dword [rsp + 0x28], ebx
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, r14
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x14000fd39
mov ecx, eax
mov rax, qword [rsp + 0x60]
mov word [rax + rcx*2], di
mov r8d, dword [rsp + 0x4d0]
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x50]
call fcn.14000fa68
mov ebx, eax
test rsi, rsi
je 0x14000fe33
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x68]
cmp qword [rsp + 0x60], rax
je 0x14000fe4a
lea rcx, [rsp + 0x60]
call fcn.14000bd54
nop
mov eax, ebx
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.14002ab60
add rsp, 0x480
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
lfence
mov ecx, 0x80070216
call fcn.140009a24
int3
Function at 0x140010b48
Capabilities:
Set registry value

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
xor ebx, ebx
mov rdi, r8
mov rbp, rdx
mov r14, rcx
test r8, r8
jne 0x140010b76
lea eax, [rbx + 0xd]
jmp 0x140010bab
mov rsi, rdi
mov rcx, rsi
call fcn.1400344b4
inc eax
lea rsi, [rsi + rax*2]
lea ebx, [rbx + rax*2]
cmp eax, 1
jne 0x140010b79
mov rcx, qword [r14]
lea r9d, [rax + 6]
mov dword [rsp + 0x28], ebx
xor r8d, r8d
mov rdx, rbp
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
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 0x140011310
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140088e00]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
xor r9d, r9d
xor ecx, ecx
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x50], rax
test rax, rax
je 0x140011381
lea rax, [rsp + 0x30]
mov r9, rbx
mov qword [rsp + 0x28], rax
lea r8, [0x14000d680]
and dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
jne 0x14001137e
mov rcx, qword [rbx + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rbx + 0x50], rdi
mov rax, rdi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14002ab60
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x140011c10
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp byte [0x14008c010], 0
mov esi, edx
mov rdi, rcx
je 0x140011c32
or eax, 0xffffffff
jmp 0x140011c9d
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov dword [rsp + 0x40], eax
mov ebx, eax
test eax, eax
jns 0x140011c5f
cmp eax, 0x80010106
jne 0x140011c9b
lea rcx, str.Mscoree.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140011c9b
jmp 0x140011c63
mov byte [rdi + 0x62], 1
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea r8, [rsp + 0x40]
mov rcx, rdi
mov rdx, rax
call fcn.14000e390
cmp al, 1
jne 0x140011c8b
mov edx, esi
mov rcx, rdi
call fcn.140010954
mov ebx, eax
jmp 0x140011c8f
mov ebx, dword [rsp + 0x40]
cmp byte [rdi + 0x62], 0
je 0x140011c9b
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140012afc
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor edi, edi
lea r8, str.EM47D2CDD9E9E7
xor ecx, ecx
mov esi, r9d
lea edx, [rdi + 1]
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140012b4e
lea ecx, [rdi + 1]
call fcn.14000d1b8
test al, al
je 0x140012b4e
mov edx, esi
lea rcx, [0x14008c2c0]
call fcn.140011c10
mov edi, eax
test rbx, rbx
je 0x140012b5c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140012ba0
Capabilities:
Hash data via bcrypt

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x140088e00]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, rcx
xor r13d, r13d
mov ecx, r13d
mov r14d, r8d
mov rbp, rdx
mov qword [rsp + 0x40], rcx
mov ebx, 0x80004005
cmp dword [rdi + 0x38], 1
jne 0x140012bfb
lea rsi, str.585BF6B5_D7F1_4A35_9FB7_F7FBF163FE0A
mov rcx, rsi
lea r15, [rsp + 0x40]
call fcn.140039e90
mov rdx, rax
jmp 0x140012c1b
cmp dword [rdi + 0x38], 2
jne 0x140012c5e
lea rcx, str.9A0E3427_FC52_4A9D_B824_18952E11754A
lea r15, [rsp + 0x40]
lea rsi, str.585BF6B5_D7F1_4A35_9FB7_F7FBF163FE0A
call fcn.140039e90
mov edx, eax
mov eax, 0x30
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], edx
mov r9, rdi
mov r11, rdi
mov qword [rsp + 0x20], rsi
mov r10d, r13d
mov rdx, r15
mov r9d, dword [rax + rdi]
lea r8d, [rax - 0x10]
mov r8, qword [r8 + rdi]
lea ecx, [rax - 0x20]
mov rcx, qword [rcx + rdi]
mov r12, rdi
call sub.bcrypt.dll_BCryptCreateHash
test eax, eax
jne 0x140012c95
mov rcx, qword [rsp + 0x40]
xor r9d, r9d
mov r8d, r14d
mov rdx, rbp
call sub.bcrypt.dll_BCryptHashData
test eax, eax
jne 0x140012c8b
mov r8d, dword [rdi + 0x34]
xor r9d, r9d
mov rdx, qword [rdi + 0x28]
mov rcx, qword [rsp + 0x40]
call sub.bcrypt.dll_BCryptFinishHash
test eax, eax
cmove ebx, r13d
mov rcx, qword [rsp + 0x40]
call sub.bcrypt.dll_BCryptDestroyHash
mov eax, ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14002ab60
mov rbx, qword [rsp + 0xa8]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret