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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4182e6
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00437aa0
xorps xmm15, xmm15
mov r14, qword [0x005a97e8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x4181ab
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x4181c7
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
call fcn.004520e0
mov rbx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x38]
sub rbx, rcx
test rbx, rbx
jbe 0x4181eb
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x4181ff
cmp rbx, 0x1000
jae 0x4181b5
jmp 0x418269
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x418211
xor edx, edx
jmp 0x418260
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00437aa0
xorps xmm15, xmm15
mov r14, qword [0x005a97e8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
test dl, dl
jne 0x4181f5
jmp 0x4181e0
call fcn.004684e0
xorps xmm15, xmm15
mov r14, qword [0x005a97e8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.0043c1c0
lea rax, [0x004c499f]
mov ebx, 0x18
call fcn.0043cac0
mov rax, qword [rsp + 0x38]
call fcn.0043c7c0
lea rax, [0x004c4a5f]
mov ebx, 0x19
call fcn.0043cac0
mov rax, qword [rsp + 0x30]
nop
call fcn.0043c7c0
call fcn.0043c420
call fcn.0043c240
lea rax, [0x004c6d0f]
mov ebx, 0x21
nop dword [rax + rax]
call fcn.0043a980
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00464940
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp fcn.00418140
Function at 0x418320
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41854a
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.00437b40
xorps xmm15, xmm15
mov r14, qword [0x005a97e8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x418399
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x4183c0
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
mov rax, rcx
call fcn.004520e0
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
sub rbx, rcx
mov rcx, rax
mov rax, qword [rsp + 0x68]
test rbx, rbx
jbe 0x4183e5
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x4183f9
cmp rbx, 0x1000
jae 0x4183a3
nop dword [rax]
jmp 0x418474
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop
cmp rbx, 0x1000
jae 0x41840d
xor esi, esi
jmp 0x41846a
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
call fcn.00437b40
xorps xmm15, xmm15
mov r14, qword [0x005a97e8]
mov r14, qword gs:[r14]
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]
test sil, sil
jne 0x4183ef
jmp 0x4183d4
call fcn.004684e0
xorps xmm15, xmm15
mov r14, qword [0x005a97e8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x4184ec
call fcn.0043c1c0
lea rax, [0x004c4e47]
mov ebx, 0x19
call fcn.0043cac0
mov rax, qword [rsp + 0x68]
call fcn.0043c7c0
lea rax, [0x004c4a5f]
mov ebx, 0x19
call fcn.0043cac0
mov eax, dword [rsp + 0x34]
call fcn.0043c7c0
call fcn.0043c420
call fcn.0043c240
lea rax, [0x004c19e6]
mov ebx, 0xd
call fcn.0043a980
cmp eax, 0x5af
je 0x418497
call fcn.0043c1c0
lea rax, [0x004c4e47]
mov ebx, 0x19
call fcn.0043cac0
mov rax, qword [rsp + 0x38]
call fcn.0043c7c0
lea rax, [0x004c4a5f]
mov ebx, 0x19
nop
call fcn.0043cac0
mov eax, dword [rsp + 0x34]
call fcn.0043c7c0
call fcn.0043c420
call fcn.0043c240
lea rax, [0x004c6623]
mov ebx, 0x1f
call fcn.0043a980
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00464940
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00418320
Function at 0x4237a0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x42389e
sub rsp, 0x48
mov qword [rsp + 0x40], rbp
lea rbp, [rsp + 0x40]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rbx
mov qword [rsp + 8], 0
jmp 0x4237e0
mov rax, qword [rsp + 0x50]
mov rcx, rdx
mov rbx, qword [rsp + 0x58]
nop
cmp qword [rsp + 8], rbx
jae 0x42388f
test byte [rax], al
lea rcx, [rax + 0x100b8]
mov rax, rcx
call fcn.00424300
nop dword [rax]
test rax, rax
je 0x42388f
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x30], xmm15
lea rcx, [0x004238e0]
mov qword [rsp + 0x10], rcx
lea rdx, [rsp + 8]
mov qword [rsp + 0x18], rdx
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rbx
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
lea rbx, [rsp + 0x10]
mov qword [rsp], rbx
call fcn.00464800
xorps xmm15, xmm15
mov r14, qword [0x005a97e8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x60]
test rdx, rdx
jne 0x42387d
xor eax, eax
jmp 0x423887
mov rax, qword [rdx]
call rax
mov rdx, qword [rsp + 0x60]
test al, al
je 0x4237d2
mov rax, qword [rsp + 8]
mov rbp, qword [rsp + 0x40]
add rsp, 0x48
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.00464940
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.004237a0

Function at 0x45cb20
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x45cbd9
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
mov qword [rsp + 0x70], rbx
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 rdx, [0x0045cc20]
mov qword [rsp + 0x10], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x18], rdx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x20], rdx
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x28], rdx
mov rdx, r14
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.00464800
xorps xmm15, xmm15
mov r14, qword [0x005a97e8]
mov r14, qword gs:[r14]
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
call fcn.00464940
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.0045cb20
Function at 0x4669e0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x402f8f
sub rsp, 0x20
mov qword [rsp + 0x18], rbp
lea rbp, [rsp + 0x18]
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
nop
call fcn.00409bc0
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00464940
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x402f60
cmp byte [0x005a960f], 0
je 0x4669f5
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x463a40
jmp 0x402f60

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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x40a02f
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
mov qword [rsp + 0x28], rbx
call fcn.0040a120
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
mov rbx, qword [rsp + 0x28]
xor rbx, rax
xor rbx, qword [0x005a98e0]
movabs rdx, 0xa0761d6478bd642f
xor rbx, rdx
mov rax, rcx
call fcn.0040a100
mov rbx, rax
movabs rax, 0x1d8e4e27c47d124b
nop dword [rax]
call fcn.0040a100
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00464940
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x409fc0
cmp byte [0x005a960f], 0
je 0x466a35
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x005a9c20]
aesenc xmm0, xmmword [0x005a9c30]
aesenc xmm0, xmmword [0x005a9c40]
movq rax, xmm0
ret
jmp 0x409fc0

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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x40a0cf
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
mov qword [rsp + 0x28], rbx
call fcn.0040a160
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
mov rbx, qword [rsp + 0x28]
xor rbx, rax
xor rbx, qword [0x005a98e0]
movabs rdx, 0xa0761d6478bd642f
xor rbx, rdx
mov rax, rcx
call fcn.0040a100
mov rbx, rax
movabs rax, 0x1d8e4e27c47d1247
nop dword [rax]
call fcn.0040a100
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00464940
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x40a060
cmp byte [0x005a960f], 0
je 0x466a76
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x005a9c20]
aesenc xmm0, xmmword [0x005a9c30]
aesenc xmm0, xmmword [0x005a9c40]
movq rax, xmm0
ret
jmp 0x40a060

Function at 0x468460
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, [0x005a9ba0]
mov qword [rsp + 8], rdx
lea r8d, [0x005a9628]
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.00466920
add rsp, 0x30
ret
Function at 0x4689a0
Capabilities:
Allocate thread local storage

Disassembly:
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 0x4689d0
mov rcx, 0x28
jmp 0x4689db
shl rcx, 3
add rcx, 0x1480
mov qword [0x005a97e8], rcx
ret
Function at 0x497520
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x497774
sub rsp, 0x68
mov qword [rsp + 0x60], rbp
lea rbp, [rsp + 0x60]
mov qword [rsp + 0x70], rax
xor ecx, ecx
xor edx, edx
xor esi, esi
xor edi, edi
xor r8d, r8d
jmp 0x497563
dec rbx
mov r10, rbx
neg rbx
sar rbx, 0x3f
and ebx, 1
add rax, rbx
mov rbx, r10
mov rcx, r9
test rbx, rbx
je 0x497748
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rax
mov byte [rsp + 0x46], r8b
movzx r9d, byte [rax]
mov byte [rsp + 0x47], r9b
cmp r9b, 0x20
jbe 0x497690
cmp r9b, 0x22
je 0x4975a7
cmp r9b, 0x5c
jne 0x4976a5
lea r9, [rcx + 1]
jmp 0x497700
mov qword [rsp + 0x48], rcx
mov r8, rcx
shr rcx, 0x3f
lea r9, [r8 + rcx]
sar r9, 1
mov rax, rdi
mov rbx, rsi
mov rcx, rdx
mov rdi, r9
call fcn.00497480
mov rdx, qword [rsp + 0x48]
bt edx, 0
jb 0x497647
movzx edx, byte [rsp + 0x46]
test dl, dl
je 0x497638
mov r8, qword [rsp + 0x50]
cmp r8, 1
jle 0x497631
mov r9, qword [rsp + 0x58]
cmp byte [r9 + 1], 0x22
jne 0x49762c
inc rbx
cmp rcx, rbx
jae 0x49761e
mov edi, 1
lea rsi, [0x004abd00]
call fcn.0044d1c0
movzx edx, byte [rsp + 0x46]
mov r8, qword [rsp + 0x50]
mov r9, qword [rsp + 0x58]
mov byte [rbx + rax - 1], 0x22
lea rsi, [r9 + 1]
dec r8
jmp 0x497642
mov rsi, r9
jmp 0x497642
mov rsi, qword [rsp + 0x58]
jmp 0x497642
mov r8, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
xor edx, 1
jmp 0x497679
inc rbx
cmp rcx, rbx
jae 0x497665
mov edi, 1
lea rsi, [0x004abd00]
nop dword [rax + rax]
call fcn.0044d1c0
mov byte [rbx + rax - 1], 0x22
mov r8, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
movzx edx, byte [rsp + 0x46]
xor r9d, r9d
mov rdi, rax
mov rax, rsi
mov rsi, rbx
mov rbx, r8
mov r8d, edx
mov rdx, rcx
jmp 0x497700
cmp r9b, 9
je 0x4976a0
cmp r9b, 0x20
jne 0x4976a5
nop dword [rax]
test r8b, r8b
je 0x49770c
mov rax, rdi
mov rbx, rsi
mov rdi, rcx
mov rcx, rdx
call fcn.00497480
inc rbx
cmp rcx, rbx
jae 0x4976cf
mov edi, 1
lea rsi, [0x004abd00]
call fcn.0044d1c0
movzx r10d, byte [rsp + 0x47]
mov byte [rbx + rax - 1], r10b
mov rsi, rbx
mov rdx, rcx
xor r9d, r9d
mov rdi, rax
movzx r8d, byte [rsp + 0x46]
mov rbx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x58]
nop word [rax + rax]
nop
cmp rbx, 1
jae 0x49754a
jmp 0x497767
mov rax, rdi
mov rbx, rsi
mov rdi, rcx
mov rcx, rdx
call fcn.00497480
mov rsi, qword [rsp + 0x50]
dec rsi
mov rdx, rsi
neg rsi
sar rsi, 0x3f
and esi, 1
mov r8, qword [rsp + 0x58]
lea rdi, [rsi + r8]
mov rsi, rdx
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
mov rax, rdi
mov rbx, rsi
mov rdi, rcx
mov rcx, rdx
call fcn.00497480
xor edi, edi
xor esi, esi
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
mov eax, 1
xor ecx, ecx
call fcn.00467060
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
nop
call fcn.00464940
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00497520
Function at 0x498e40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x499048
sub rsp, 0x28
mov qword [rsp + 0x20], rbp
lea rbp, [rsp + 0x20]
mov qword [rsp + 0x30], rax
nop dword [rax]
cmp rbx, 2
jl 0x498f2b
movzx edx, byte [rax]
cmp byte [rax + 1], 0x3a
jne 0x498e9e
lea esi, [rdx - 0x30]
cmp sil, 9
jbe 0x498e8f
lea esi, [rdx - 0x61]
nop
cmp sil, 0x19
jbe 0x498e8f
lea esi, [rdx - 0x41]
cmp sil, 0x19
ja 0x498e9e
mov ebx, 2
mov rbp, qword [rsp + 0x20]
add rsp, 0x28
ret
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rax
cmp rbx, 5
jge 0x498eb2
xor ecx, ecx
jmp 0x498ec5
mov eax, edx
call fcn.00498c80
mov rbx, qword [rsp + 0x38]
mov ecx, eax
mov rax, qword [rsp + 0x30]
test cl, cl
jne 0x498ecd
xor ecx, ecx
jmp 0x498ee4
movzx ecx, byte [rax + 1]
mov eax, ecx
call fcn.00498c80
mov rbx, qword [rsp + 0x38]
mov ecx, eax
mov rax, qword [rsp + 0x30]
test cl, cl
je 0x498f0e
cmp rbx, 2
jbe 0x49903a
movzx ecx, byte [rax + 2]
mov eax, ecx
call fcn.00498c80
xor eax, 1
mov rbx, qword [rsp + 0x38]
mov ecx, eax
mov rax, qword [rsp + 0x30]
jmp 0x498f10
xor ecx, ecx
test cl, cl
je 0x498f39
cmp rbx, 2
jbe 0x49902d
cmp byte [rax + 2], 0x2e
je 0x498f39
mov ecx, 3
jmp 0x498f59
xor eax, eax
xor ebx, ebx
mov rbp, qword [rsp + 0x20]
add rsp, 0x28
ret
xor eax, eax
xor ebx, ebx
mov rbp, qword [rsp + 0x20]
add rsp, 0x28
ret
mov rcx, qword [rsp + 0x10]
inc rcx
mov rax, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
lea rdx, [rbx - 1]
nop dword [rax]
cmp rcx, rdx
jge 0x498f39
mov qword [rsp + 0x10], rcx
movzx edx, byte [rcx + rax]
mov eax, edx
call fcn.00498c80
test al, al
je 0x498f47
mov rax, qword [rsp + 0x10]
lea rdx, [rax + 1]
mov rcx, qword [rsp + 0x38]
cmp rcx, rdx
jbe 0x499025
mov qword [rsp + 0x18], rdx
mov rcx, qword [rsp + 0x30]
movzx edx, byte [rax + rcx + 1]
mov eax, edx
call fcn.00498c80
test al, al
jne 0x498f39
mov rax, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x10]
movzx esi, byte [rsi + rax + 1]
nop dword [rax]
cmp sil, 0x2e
je 0x498f39
mov rcx, qword [rsp + 0x18]
jmp 0x498fde
mov rcx, qword [rsp + 0x10]
inc rcx
mov rax, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
cmp rdx, rcx
jle 0x49900e
mov qword [rsp + 0x10], rcx
movzx edx, byte [rcx + rax]
mov eax, edx
call fcn.00498c80
test al, al
je 0x498fd1
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x10]
cmp rdx, rcx
mov rax, qword [rsp + 0x30]
jb 0x49901d
mov rbx, rcx
mov rbp, qword [rsp + 0x20]
add rsp, 0x28
ret
nop dword [rax]
call fcn.00466fe0
mov rax, rdx
call fcn.00466fa0
mov eax, 2
mov rcx, rax
call fcn.00466fa0
mov eax, 2
mov rcx, rax
call fcn.00466fa0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00464940
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00498e40
Function at 0x1800027b8
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rbx, qword [rcx + 0x10]
mov rdi, rdx
mov rsi, qword [rcx]
test rbx, rbx
je 0x18000282e
cmp qword [rbx], 0
je 0x180002821
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180002827
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180002827
mov rdx, qword [rbx]
xor r9d, r9d
and qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rdx
mov rcx, rsi
mov rdx, rdi
call rax
jmp 0x180002837
cmp dword [rbx + 8], 0
jne 0x18000282e
mov eax, 1
jmp 0x180002837
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x180002aa8
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x198]
sub rsp, 0x280
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x18008d0c0]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rsi, rdx
mov rdi, rcx
xor r14d, r14d
mov qword [rsp + 0x48], r14
mov dword [rsp + 0x50], r14d
mov qword [rsp + 0x58], r14
mov r9d, dword [rcx + 8]
or r9d, 0x2001f
mov r8, rdx
mov rdx, qword [rcx]
lea rcx, [rsp + 0x48]
call fcn.180002960
jmp 0x180002b23
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.180002aa8
test eax, eax
mov ebx, eax
jne 0x180002b8c
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
mov dword [rsp + 0x40], 0x100
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x180002b14
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x180002b7a
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], r14
mov dword [rsp + 0x50], r14d
mov rdx, rsi
mov rcx, rdi
call fcn.1800027b8
mov ebx, eax
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x180002ba1
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], r14
mov dword [rsp + 0x50], r14d
mov eax, ebx
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.180037600
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 0x180003120
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x490
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x18008d0c0]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov r15, r9
mov r14, r8
mov rbx, rdx
xor edi, edi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x70], 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 0x1800031ad
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 0x1800031ad
call fcn.1800023c8
mov ebx, eax
jmp 0x1800032b6
mov r8, r15
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x1800031ce
call fcn.1800023c8
jmp 0x1800032a5
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 0x1800031c4
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 0x180003209
mov ebx, 0x8007000e
jmp 0x1800032a7
mov ecx, eax
test eax, eax
je 0x18000323b
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x1800032ee
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x18000323b
lea rcx, [rsp + 0x70]
call fcn.18000607c
jmp 0x180003245
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
jmp 0x180003257
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x1800031ff
mov dword [rsp + 0x28], ebx
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 0x1800031c4
mov ecx, eax
mov rax, qword [rsp + 0x70]
mov word [rax + rcx*2], di
mov r8d, dword [rsp + 0x4e0]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.180003e70
mov ebx, eax
test rsi, rsi
je 0x1800032b6
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x1800032cd
lea rcx, [rsp + 0x70]
call fcn.180006074
nop
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.180037600
add rsp, 0x490
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
mov ecx, 0x80070216
call fcn.1800023a4
int3
Function at 0x180006a80
Capabilities:
Check mutex on windows

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov rax, qword [0x18008d0c0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, rdx
mov rdi, rcx
mov rcx, qword [rcx]
xor ebp, ebp
test rcx, rcx
je 0x180006abe
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi], rbp
mov word [rdi + 8], bp
mov qword [rsp + 0x28], rbp
lea rcx, [rsp + 0x28]
call fcn.18001ab80
nop
mov rbx, qword [rsp + 0x28]
cmp qword [rbx], 0
lea rcx, [rbx + 0x10]
jne 0x180006ae4
mov rcx, rbp
cmp qword [rsi + 0x10], 0
je 0x180006af7
cmp qword [rsi + 0x18], 8
jb 0x180006afa
mov rsi, qword [rsi]
jmp 0x180006afa
mov rsi, rbp
mov r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rdi], rax
test rax, rax
je 0x180006b1e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x180006b1e
mov byte [rdi + 9], 1
cmp qword [rdi], 0
setne sil
mov rdi, qword [rbx]
test rdi, rdi
je 0x180006b45
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rbx], rbp
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x180006b58
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rbx + 8], rbp
mov edx, 0x58
mov rcx, rbx
call fcn.180037624
mov qword [rsp + 0x28], rbp
movzx eax, sil
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.180037600
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret