joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2fc4de0d0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4dead2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc503108]
test eax, eax
je 0x2fc4deb6a
lea rax, [0x2fc5030e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc503110]
mov qword [rbp - 8], rax
jmp 0x2fc4deb4e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4deb42
cmp qword [rbp - 0x10], 0
je 0x2fc4deb42
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4deb08
lea rax, [0x2fc5030e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4deb6b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4dec70
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4dec98
mov eax, 0
jmp 0x2fc4dece6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4decc1
mov eax, 0
jmp 0x2fc4dece6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4dece1
mov eax, 0
jmp 0x2fc4dece6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4decec
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4ded6a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4ded61
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4ded61
mov rax, qword [rbp - 8]
jmp 0x2fc4ded7f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4ded34
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x14001120d
Capabilities:
Terminate process

Disassembly:
jmp 0x140013290
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]
nop
add rsp, 0x28
ret

Function at 0x14001129e
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400145e0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014600
xor al, al
jmp 0x140014681
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014613
xor al, al
jmp 0x140014681
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 0x14001463d
xor al, al
jmp 0x140014681
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014651
xor al, al
jmp 0x140014681
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014663
xor al, al
jmp 0x140014681
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001467f
xor al, al
jmp 0x140014681
mov al, 1
add rsp, 0x38
ret
Function at 0x1400124d0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400113cf
movzx eax, al
test eax, eax
jne 0x1400124f0
mov ecx, 7
call fcn.140011343
nop
mov byte [rsp + 0x20], 0
call fcn.140011357
mov byte [rsp + 0x21], al
cmp dword [0x14001e038], 1
jne 0x140012514
mov ecx, 7
call fcn.140011343
nop
jmp 0x14001256c
cmp dword [0x14001e038], 0
jne 0x140012567
mov dword [0x14001e038], 1
lea rdx, [0x14001a660]
lea rcx, [0x14001a330]
call fcn.1400111b8
test eax, eax
je 0x140012548
mov eax, 0xff
jmp 0x140012671
lea rdx, [0x14001a220]
lea rcx, [section..rdata]
call fcn.14001134d
mov dword [0x14001e038], 2
jmp 0x14001256c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.14001132a
call fcn.1400112c1
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x1400125c9
mov rcx, qword [rsp + 0x30]
call fcn.140011168
movzx eax, al
test eax, eax
je 0x1400125c9
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140024020]
nop
call fcn.1400112f3
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x1400125fd
mov rcx, qword [rsp + 0x38]
call fcn.140011168
movzx eax, al
test eax, eax
je 0x1400125fd
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011384
nop
call fcn.140012720
mov dword [rsp + 0x28], eax
call fcn.14001129e
movzx eax, al
test eax, eax
jne 0x14001261c
mov ecx, dword [rsp + 0x28]
call fcn.14001105f
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001262b
call fcn.140011393
nop
xor edx, edx
mov cl, 1
call fcn.140011159
mov eax, dword [rsp + 0x28]
jmp 0x140012671
add rsp, 0x68
ret
Function at 0x7ff2f1e3058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x7ff2f1e31df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x7ff2f1e3089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x7ff2f1e306f
add dl, dl
jne 0x7ff2f1e3096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x7ff2f1e30f6
xor eax, eax
add dl, dl
jne 0x7ff2f1e30a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x7ff2f1e31ad
add dl, dl
jne 0x7ff2f1e30b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7ff2f1e30c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7ff2f1e30d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7ff2f1e30dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x7ff2f1e30ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x7ff2f1e307e
mov eax, 1
add dl, dl
jne 0x7ff2f1e3106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7ff2f1e3113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x7ff2f1e30fb
sub eax, ebx
mov ebx, 1
jne 0x7ff2f1e314c
mov ecx, 1
add dl, dl
jne 0x7ff2f1e312e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x7ff2f1e313b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x7ff2f1e3123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x7ff2f1e307e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x7ff2f1e3168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x7ff2f1e3175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x7ff2f1e315d
cmp eax, 0x7d00
jae 0x7ff2f1e319b
cmp eax, 0x500
jb 0x7ff2f1e3196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x7ff2f1e307e
cmp eax, 0x7f
ja 0x7ff2f1e319e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x7ff2f1e307e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x7ff2f1e31d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x7ff2f1e307e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x180004050
Capabilities:
Encode data using xor

Disassembly:
imul edx, dword [0x1084334ed], 0x25ec211d
push rcx
sub byte [rsi - 0x799edac5], dl
push rsp
sub eax, 0x301f15e1
xchg byte [rdx - 0x66], bh
scasb al, byte [rdi]
add dword [rdi], ecx
sub ecx, esi
xor dword [0x174df0382], ebp
jno 0x180004034
invalid

Function at 0x18067e058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x18067e1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x18067e089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18067e06f
add dl, dl
jne 0x18067e096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18067e0f6
xor eax, eax
add dl, dl
jne 0x18067e0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18067e1ad
add dl, dl
jne 0x18067e0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18067e0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18067e0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18067e0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x18067e0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x18067e07e
mov eax, 1
add dl, dl
jne 0x18067e106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18067e113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18067e0fb
sub eax, ebx
mov ebx, 1
jne 0x18067e14c
mov ecx, 1
add dl, dl
jne 0x18067e12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x18067e13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18067e123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18067e07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x18067e168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x18067e175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18067e15d
cmp eax, 0x7d00
jae 0x18067e19b
cmp eax, 0x500
jb 0x18067e196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18067e07e
cmp eax, 0x7f
ja 0x18067e19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18067e07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x18067e1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x18067e07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001940
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x140001973
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, rax
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x1400019b9
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x1400019b4
nop
cmp rbx, rcx
jae 0x1400019b9
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
dec edi
jne 0x1400019a0
cmp rbx, rcx
jb 0x1400019bd
xor eax, eax
jmp 0x1400019c9
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140002320
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [0x1401ddd80]
lea eax, [rcx + 1]
lea r8d, [rcx + 2]
imul r8d, eax
mov eax, 0x2e8ba2e9
imul r8d, ecx
imul r8d
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x16
sub r8d, edx
cmp r8d, 9
jne 0x1400023f4
xor r8d, r8d
nop word [rax + rax]
mov edx, r8d
mov eax, r8d
inc r8d
sar eax, 1
and edx, 1
dec edx
not edx
and edx, ecx
xor edx, eax
mov eax, edx
sar edx, 1
and eax, 1
dec eax
not eax
and eax, ecx
xor eax, edx
mov edx, eax
sar eax, 1
and edx, 1
dec edx
not edx
and edx, ecx
xor edx, eax
mov eax, edx
sar edx, 1
and eax, 1
dec eax
not eax
and eax, ecx
xor eax, edx
mov edx, eax
sar eax, 1
and edx, 1
dec edx
not edx
and edx, ecx
xor edx, eax
mov eax, edx
sar edx, 1
and eax, 1
dec eax
not eax
and eax, ecx
xor eax, edx
mov edx, eax
sar eax, 1
and edx, 1
dec edx
not edx
and edx, ecx
xor edx, eax
mov eax, edx
sar edx, 1
and eax, 1
dec eax
not eax
and eax, ecx
xor eax, edx
add ecx, eax
cmp r8d, 0x100
jl 0x140002360
mov dword [0x1401ddd80], ecx
mov eax, 0x80004005
ret
Function at 0x14000bbf0
Capabilities:
Get disk size

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x50
mov qword [rax - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
movaps xmmword [rax - 0x28], xmm6
mov r14, rcx
add rcx, 8
call fcn.140005560
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, eax
call fcn.140005020
mov r10, rax
mov r9d, dword [0x1401ddd80]
mov r8d, r9d
imul r8d, r9d
mov eax, 0x2e8ba2e9
imul r8d
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul edx, edx, 0xb
sub r8d, edx
cmp r8d, 8
jne 0x14000bcad
movsd xmm3, qword [0x14016a2b8]
xorps xmm2, xmm2
movd xmm4, r9d
cvtdq2pd xmm4, xmm4
movsd xmm5, qword [0x14016a2e0]
movsd xmm6, qword [0x14016a2b0]
nop word [rax + rax]
addsd xmm2, xmm3
movaps xmm0, xmm2
mulsd xmm0, xmm2
comisd xmm0, xmm4
jbe 0x14000bc99
subsd xmm2, xmm3
divsd xmm3, xmm5
movaps xmm1, xmm2
mulsd xmm1, xmm2
movaps xmm0, xmm4
subsd xmm0, xmm1
comisd xmm0, xmm6
ja 0x14000bc80
xor ebp, ebp
test r14, r14
je 0x14000bcc2
lea rax, [r14 + 0x48]
mov qword [rsp + 0x88], rax
jmp 0x14000bcca
mov qword [rsp + 0x88], rbp
lea rcx, [r10 + 8]
lea rdx, [rsp + 0x88]
call fcn.14000fe20
mov r8d, dword [0x1401ddd80]
imul r8d, r8d
mov eax, 0x78787879
imul r8d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x11
sub r8d, edx
cmp r8d, 6
jne 0x14000bd19
mov qword [rsp + 0x20], rbp
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
mov edx, 0x3e8
mov rcx, qword [r14 + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rbx, rax
call fcn.14000ae50
lea rsi, [r14 + 0xa0]
test rsi, rsi
jne 0x14000bd43
mov edi, 0x80004003
jmp 0x14000bd99
mov qword [rsi], rbp
mov qword [rsp + 0x30], rbp
xor r9d, r9d
xor r8d, r8d
mov edx, dword [0x1401dfc90]
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
mov qword [rsp + 0x30], rax
mov edi, 0x80004005
test rax, rax
cmovne edi, ebp
test edi, edi
js 0x14000bd8b
mov rax, qword [rax]
mov r8, rsi
lea rdx, [0x140168720]
mov rcx, rbx
call qword [rax]
mov edi, eax
test rbx, rbx
je 0x14000bd99
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
cmp qword [rsi], 0
jne 0x14000bdf8
lea rcx, [0x1401d59a8]
mov rax, qword [0x1401d59a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x70], rax
mov r8d, edi
lea rdx, str.OnInitDialog_QueryControl__d
lea rcx, [rsp + 0x70]
call fcn.140012d30
mov rax, qword [r14]
lea rdx, [rsp + 0x70]
mov rcx, r14
call qword [rax + RegisterTypeLib]
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000bdf8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, 1
mov rbx, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
Function at 0x140011a30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2a0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x1401d5e90]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov r14, rcx
mov edi, 1
mov rbx, qword [0x1401dc4f0]
mov edx, 0x81
lea r8d, [rdx + 0x6f]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x140011bed
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140011bed
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140011bed
xor r15d, r15d
mov r13d, 0x403
mov r12d, 0x1234
nop dword [rax]
movzx esi, word [rbx]
cmp r15w, si
je 0x140011bed
movzx eax, word [rbx + 2]
mov ebp, dword [rbx + 4]
add rbx, 8
cmp r13w, ax
jne 0x140011b51
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
mov r8d, 3
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.140011e30
nop
movzx edx, si
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x143
mov rcx, qword [r14 + 8]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
cmp rax, 0xffffffffffffffff
cmove edi, r15d
lea rax, [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
cmp rcx, rax
je 0x140011be2
call fcn.1400d7d50
jmp 0x140011be2
cmp r12w, ax
jne 0x140011be2
mov dword [rsp + 0x38], 1
mov qword [rsp + 0x40], 0xffffffffffffffff
lea rax, [rsp + 0x188]
mov qword [rsp + 0x180], rax
mov r8d, 3
mov rdx, rbx
lea rcx, [rsp + 0x180]
call fcn.140011e30
nop
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x188]
mov rcx, qword [rsp + 0x180]
cmp rcx, rax
je 0x140011bba
call fcn.1400d7d50
movzx edx, si
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x40b
mov rcx, qword [r14 + 8]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
cmp rax, 0xffffffffffffffff
cmove edi, r15d
add rbx, rbp
test edi, edi
jne 0x140011ad0
mov eax, edi
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.1400d72a0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14001d090
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x14001d104
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001d126
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14001d126
mov rcx, qword [rbx]
mov qword [rsp + 0x28], 0
xor r9d, r9d
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp dword [rcx + 8], 0
je 0x14001d126
mov rdx, r8
mov rcx, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov eax, 1
add rsp, 0x30
pop rdi
ret
Function at 0x14001d240
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rsp + 0x2c0], rbx
mov rax, qword [0x1401d5e90]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov rsi, rdx
mov rdi, rcx
xor ecx, ecx
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x50], ecx
mov qword [rsp + 0x58], rcx
mov r9d, dword [rdi + 8]
or r9d, 0x2001f
mov rax, qword [rdi]
mov qword [rsp + 0x60], rcx
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14001d2c4
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], r9d
mov r8, rsi
mov rdx, rax
call fcn.14001ce90
jmp 0x14001d2da
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x14001d3e3
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14001d2ff
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, eax
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x50], 0
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x48], rcx
test ebx, ebx
jne 0x14001d3e3
mov dword [rsp + 0x40], 0x100
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x40]
lea r8, [rbp - 0x80]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14001d3a6
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x48]
call fcn.14001d240
mov ebx, eax
test eax, eax
jne 0x14001d3e3
mov dword [rsp + 0x40], 0x100
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x40]
lea r8, [rbp - 0x80]
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x14001d351
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14001d3bb
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x50], ebx
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x14001d3d5
mov r8, rsi
mov rdx, qword [rdi]
call fcn.14001d090
jmp 0x14001d3e1
mov rdx, rsi
mov rcx, qword [rdi]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ebx, eax
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14001d400
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], eax
jmp 0x14001d408
mov dword [rsp + 0x50], 0
mov eax, ebx
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.1400d72a0
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x290
pop rdi
pop rsi
pop rbp
ret
Function at 0x14002d830
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp - 0x31], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1401d5e90]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rbx, rcx
mov qword [rbp - 0x29], rcx
xor r15d, r15d
mov dword [rbp - 0x39], r15d
mov dword [rbp - 0x19], 0x5f005f
mov dword [rbp - 0x15], 0x520043
mov dword [rbp - 0x11], 0x40005f
mov dword [rbp - 0xd], 0x410046
mov dword [rbp - 9], 0x4c0049
mov dword [rbp - 5], 0x440045
mov dword [rbp - 1], 0x44005f
mov dword [rbp + 3], 0x57004f
mov dword [rbp + 7], 0x4c004e
mov dword [rbp + 0xb], 0x41004f
mov dword [rbp + 0xf], 0x5f0044
mov dword [rbp + 0x13], 0x450052
mov dword [rbp + 0x17], 0x440041
mov dword [rbp + 0x1b], 0x5f0040
mov dword [rbp + 0x1f], 0x520043
mov dword [rbp + 0x23], 0x5f005f
mov word [rbp + 0x27], r15w
lea rcx, [0x1401d59a8]
mov rax, qword [0x1401d59a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx], rax
lea rcx, [rbp - 0x19]
lea rax, [rbp - 0x19]
test rax, 0xffffffffffff0000
jne 0x14002d92f
movzx edi, cx
mov ecx, edi
call fcn.1400019e0
test rax, rax
je 0x14002d95a
mov r8d, edi
mov rdx, rax
mov rcx, rbx
call fcn.140002a60
jmp 0x14002d95a
lea rax, [rbp - 0x19]
or rcx, 0xffffffffffffffff
nop word [rax + rax]
inc rcx
cmp word [rax + rcx*2], 0
jne 0x14002d940
mov r8d, ecx
lea rdx, [rbp - 0x19]
mov rcx, rbx
call fcn.140002770
nop
mov dword [rbp - 0x39], 1
mov rax, rbx
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1400d72a0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret