joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1404df8ad
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
shl r8d, 0xb6
shl r8b, cl
sbb r8d, r11d
sub r9d, r9d
mov r8, rcx
test edx, edx
jmp 0x1404df8c9
jne 0x1404df93b
mov rdx, rcx
jmp 0x1404df8d8
and r8d, 0xf
stc
and rdx, 0xfffffffffffffff0
cmp r14w, ax
or r10d, 0xffffffff
jmp 0x1404df8ee
xorps xmm0, xmm0
mov ecx, r8d
cmc
clc
shl r10d, cl
jmp 0x1404df8fe
pcmpeqb xmm0, xmmword [rdx]
pmovmskb eax, xmm0
and eax, r10d
jne 0x1404df930
add rdx, 0x10
jmp 0x1404df918
xorps xmm0, xmm0
pcmpeqb xmm0, xmmword [rdx]
pmovmskb eax, xmm0
test eax, eax
jmp 0x1404df92a
je 0x1404df90f
bsf eax, eax
add rax, rdx
jmp 0x1404dfa85
cmp dword [reloc.d2d1.dll_Ordinal_1], 2
jge 0x1404dfab9
movzx eax, dl
shrd r11, r15, 0x89
sbb r11b, r14b
xor cx, 0x795b
or r10d, 0xffffffff
btr cx, r14w
xadd r11w, cx
mov ecx, eax
movzx r11, r8w
add r11, rdx
mov r11, r8
cmp rdi, 0x68fe45ed
stc
shl ecx, 8
stc
clc
jmp 0x1404df984
and r11, 0xfffffffffffffff0
or ecx, eax
sub ax, r13w
bsr ax, ax
and r8d, 0xf
mov eax, r10d
jmp 0x1404df99e
movd xmm0, ecx
mov ecx, r8d
jmp 0x1404df9aa
pshuflw xmm1, xmm0, 0
xorps xmm0, xmm0
pcmpeqb xmm0, xmmword [r11]
pmovmskb ebx, xmm0
shl r10d, cl
jmp 0x1404df9c3
pshufd xmm2, xmm1, 0
movdqa xmm0, xmm2
shl eax, cl
jmp 0x1404df9d3
pcmpeqb xmm0, xmmword [r11]
pmovmskb edx, xmm0
and edx, r10d
jmp 0x1404df9ea
and ebx, eax
jmp 0x1404df9f1
jne 0x1404dfa3d
bsr ecx, edx
jmp 0x1404df9ff
xorps xmm1, xmm1
movdqa xmm0, xmm2
add rcx, r11
clc
test edx, edx
jmp 0x1404dfa11
cmovne r9, rcx
add r11, 0x10
jmp 0x1404dfa1e
pcmpeqb xmm1, xmmword [r11]
pcmpeqb xmm0, xmmword [r11]
pmovmskb ebx, xmm1
pmovmskb edx, xmm0
test ebx, ebx
jmp 0x1404dfa37
je 0x1404df9f7
mov eax, ebx
ror cl, cl
bsr cx, r9w
not cl
neg eax
rol ecx, cl
and eax, ebx
dec eax
xchg rbx, rcx
and edx, eax
shr bx, 0xb9
rcl rcx, 0x9b
movsx rbx, cx
bsr ecx, edx
add rcx, r11
add ebx, r14d
xchg ebx, eax
mov rbx, rbp
test edx, edx
cmovne r9, rcx
cmovl rbx, rcx
cwde
mov rax, r9
setg bl
xchg bh, bh
movzx rbx, di
mov rbx, qword [rsp + 8]
jmp 0x1404dfa8f
ret
movsx eax, byte [r8]
cmp eax, edx
cmove r9, r8
test cx, 0x7811
cmp r10b, r11b
cmp byte [r8], 0
jmp 0x1404dfaab
je 0x1404dfa79
inc r8
clc
cmc
test r13b, r9b
test r8b, 0xf
jmp 0x1404dfac2
jne 0x1404dfa90
movzx eax, dl
jmp 0x1404dfad0
movd xmm0, eax
pcmpistri xmm0, xmmword [r8], 0x40
jae 0x1404dfaf7
movsxd r9, ecx
cmp r10b, 0x94
add r9, r8
jmp 0x1404dfaf0
pcmpistri xmm0, xmmword [r8], 0x40
je 0x1404dfa79
add r8, 0x10
jmp 0x1404dfb06
jmp 0x1404dfad4
Function at 0x1400293ac
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001ca74
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001ca74
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1400294fc
cmp rax, 0xffffffffffffffff
je 0x1400294fc
xor edi, edi
test rbp, rbp
jle 0x1400294a7
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001f3a0
mov rbx, rax
test rax, rax
jne 0x140029434
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14002949d
mov edx, 0x8000
mov ecx, r14d
call fcn.14001a3a8
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001d750
cmp eax, 0xffffffff
je 0x14002947d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140029444
mov edx, r15d
mov ecx, r14d
call fcn.14001a3a8
jmp 0x14002949d
cmp byte [rsi + 0x38], dil
je 0x140029494
cmp dword [rsi + 0x34], 5
jne 0x140029494
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14002949d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001b13c
jmp 0x140029510
jns 0x140029510
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001ca74
cmp rax, 0xffffffffffffffff
jne 0x1400294c8
cmp byte [rsi + 0x30], dil
je 0x140029510
mov edi, dword [rsi + 0x2c]
jmp 0x140029510
mov ecx, r14d
call fcn.140018864
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140029510
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140029510
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140029509
mov eax, dword [rsi + 0x2c]
jmp 0x14002950e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001ca74
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x180005058
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
movsxd r10, dword [rcx + 0x3c]
mov r11d, edx
add r10, rcx
movzx eax, word [r10 + 0x14]
lea r9, [r10 + 0x18]
movzx ebx, word [r10 + 6]
add r9, rax
xor r8d, r8d
cmp r11d, dword [r9 + 0xc]
jb 0x18000509c
mov ecx, dword [r10 + 0x3c]
lea edx, [rcx - 1]
add edx, dword [r9 + 0x10]
lea eax, [rcx - 1]
not eax
and edx, eax
add edx, dword [r9 + 0xc]
cmp r11d, edx
jb 0x1800050ac
add r9, 0x28
mov eax, 0xffff
add bx, ax
je 0x1800050b7
jmp 0x18000507b
mov r8d, dword [r9 + 0x14]
sub r8d, dword [r9 + 0xc]
add r8d, r11d
mov rbx, qword [rsp + 8]
mov eax, r8d
ret
Function at 0x140011249
Capabilities:
Terminate process

Disassembly:
jmp 0x140013a90
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 0x1400112e9
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014de0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014e00
xor al, al
jmp 0x140014e81
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014e13
xor al, al
jmp 0x140014e81
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 0x140014e3d
xor al, al
jmp 0x140014e81
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014e51
xor al, al
jmp 0x140014e81
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014e63
xor al, al
jmp 0x140014e81
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140014e7f
xor al, al
jmp 0x140014e81
mov al, 1
add rsp, 0x38
ret
Function at 0x140001000
Capabilities:
Delete file
Get common file path
Set file attributes

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x240
mov rax, qword [0x14009a150]
xor rax, rsp
mov qword [rsp + 0x230], rax
cmp qword [rsp + 0x250], 0
je 0x140001049
mov rcx, qword [rsp + 0x250]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rsp + 0x250], 0
mov byte [rsp + 0x130], 0
lea rdi, [rsp + 0x131]
xor eax, eax
mov ecx, 0xfe
rep stosb byte [rdi], al
mov byte [rsp + 0x30], 0
lea rdi, [rsp + 0x31]
xor eax, eax
mov ecx, 0xfe
rep stosb byte [rdi], al
mov edx, 0xff
lea rcx, [rsp + 0x130]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x30]
call fcn.140006c50
lea rdx, [0x140079d60]
lea rcx, [rsp + 0x30]
call fcn.140006c50
mov rdx, qword [rsp + 0x258]
lea rcx, [rsp + 0x30]
call fcn.140006c50
mov edx, 0x80
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, 1
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140006dc0
add rsp, 0x240
pop rdi
ret
Function at 0x1400011f0
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x290
mov rax, qword [0x14009a150]
xor rax, rsp
mov qword [rsp + 0x280], rax
lea r8, str.RESFILE
mov rdx, qword [rsp + 0x2a8]
mov rcx, qword [rsp + 0x2a0]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x14000124a
xor eax, eax
jmp 0x1400013fc
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x2a0]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x14000126f
xor eax, eax
jmp 0x1400013fc
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x2a0]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x140001296
xor eax, eax
jmp 0x1400013fc
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x1400012b5
xor eax, eax
jmp 0x1400013fc
mov dword [rsp + 0x70], 1
lea rcx, [rsp + 0x70]
call fcn.140001100
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov r8d, 3
mov edx, 0xc0000000
mov rcx, qword [rsp + 0x2b0]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0xffffffffffffffff
jne 0x14000136e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x74], eax
mov byte [rsp + 0x80], 0
lea rdi, [rsp + 0x81]
xor eax, eax
mov ecx, 0x1ff
rep stosb byte [rdi], al
mov r9d, dword [rsp + 0x74]
mov r8, qword [rsp + 0x2b0]
lea rdx, str.Create__s_error_:win_error_code:_d
lea rcx, [rsp + 0x80]
call fcn.140006de0
xor r9d, r9d
lea r8, [0x140079d6b]
lea rdx, [rsp + 0x80]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x1400013fc
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x50]
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400013c5
xor r9d, r9d
lea r8, [0x140079d6c]
lea rdx, str.Write_File_error_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x1400013fc
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x40], eax
je 0x1400013ec
xor r9d, r9d
lea r8, [0x140079d6d]
lea rdx, str.File_size_error_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x1400013fc
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140006dc0
add rsp, 0x290
pop rdi
ret
Function at 0x1400014a0
Capabilities:
Get common file path

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x150
mov rax, qword [0x14009a150]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov byte [rsp + 0x40], 0
lea rdi, [rsp + 0x41]
xor eax, eax
mov ecx, 0xfe
rep stosb byte [rdi], al
mov byte [rsp + 0x28], 0
mov edx, 0xff
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea rcx, [rsp + 0x40]
call fcn.1400075d0
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
sub eax, 1
mov dword [rsp + 0x20], eax
jmp 0x140001511
mov eax, dword [rsp + 0x20]
sub eax, 1
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jl 0x14000153a
movsxd rax, dword [rsp + 0x20]
movsx eax, byte [rsp + rax + 0x40]
cmp eax, 0x5c
jne 0x140001538
mov byte [rsp + 0x28], 1
movsxd rax, dword [rsp + 0x20]
mov byte [rsp + rax + 0x40], 0
jmp 0x14000153a
jmp 0x140001506
movzx eax, byte [rsp + 0x28]
test eax, eax
jne 0x140001547
xor eax, eax
jmp 0x14000156f
lea rcx, [rsp + 0x40]
call fcn.1400075d0
mov r8, rax
add r8, 1
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x160]
call fcn.140007280
mov eax, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140006dc0
add rsp, 0x150
pop rdi
ret

Function at 0x140001860
Capabilities:
Create thread

Disassembly:
sub rsp, 0x48
mov dword [rsp + 0x38], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x140001810]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x30], rax
add rsp, 0x48
ret
Function at 0x1400018b0
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x380
mov qword [rsp + 0x368], 0xfffffffffffffffe
mov rax, qword [0x14009a150]
xor rax, rsp
mov qword [rsp + 0x370], rax
xor edx, edx
lea rcx, [rsp + 0x130]
call fcn.140001f20
nop
lea rax, [0x140079f00]
mov qword [rsp + 0x258], rax
mov byte [rsp + 0x260], 0
lea rdi, [rsp + 0x261]
xor eax, eax
mov ecx, 0xfe
rep stosb byte [rdi], al
mov byte [rsp + 0x30], 0
lea rdi, [rsp + 0x31]
xor eax, eax
mov ecx, 0xfe
rep stosb byte [rdi], al
mov byte [rsp + 0x254], 0
call fcn.140001860
mov r8d, 4
xor edx, edx
lea rcx, [0x14009cea8]
call fcn.140007810
mov edx, 0xff
lea rcx, [rsp + 0x260]
call fcn.1400014a0
lea rdx, [rsp + 0x260]
lea rcx, [rsp + 0x30]
call fcn.140006c50
lea rdx, str._system32_
lea rcx, [rsp + 0x30]
call fcn.140006c50
mov rdx, qword [rsp + 0x258]
lea rcx, [rsp + 0x30]
call fcn.140006c50
lea r8, [rsp + 0x30]
mov rdx, qword [rsp + 0x258]
mov rcx, qword [rsp + 0x390]
mov rcx, qword [rcx + 0x88]
call fcn.1400011f0
test eax, eax
jne 0x1400019b8
jmp 0x140001a94
mov rcx, qword [rsp + 0x390]
call fcn.140001af0
test eax, eax
jne 0x1400019ce
jmp 0x140001a94
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov qword [rsp + 0x20], rax
mov rdx, qword [rsp + 0x20]
lea rcx, [0x14009cea8]
call qword [0x14009ce90]
mov dword [rsp + 0x250], eax
cmp dword [rsp + 0x250], 0
jne 0x140001a01
jmp 0x140001a94
mov eax, dword [0x14009cea8]
and eax, 0x400
cmp eax, 0x400
jne 0x140001a15
jmp 0x140001a94
mov eax, dword [0x14009cea8]
and eax, 1
cmp eax, 1
jne 0x140001a3a
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x254]
call qword [0x14009cec8]
jmp 0x140001a94
mov eax, dword [0x14009cea8]
and eax, 2
cmp eax, 2
jne 0x140001a5d
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x254]
call qword [0x14009cec8]
jmp 0x140001a94
mov eax, dword [0x14009cea8]
or eax, 0x10
mov dword [0x14009cea8], eax
mov rcx, qword [rsp + 0x390]
lea rax, [rsp + 0x130]
mov qword [rcx + 0x40], rax
lea rcx, [rsp + 0x130]
call fcn.140032320
mov dword [rsp + 0x250], eax
mov rdx, qword [rsp + 0x258]
mov rcx, qword [0x14009cea0]
call entry0
mov dword [rsp + 0x360], 0
lea rcx, [rsp + 0x130]
call fcn.140001e50
mov eax, dword [rsp + 0x360]
mov rcx, qword [rsp + 0x370]
xor rcx, rsp
call fcn.140006dc0
add rsp, 0x380
pop rdi
ret
Function at 0x140001af0
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
lea rcx, [0x140079f20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x14009cea0], rax
cmp qword [0x14009cea0], 0
jne 0x140001b1e
xor eax, eax
jmp 0x140001c20
lea rdx, str.Rk4Setup
mov rcx, qword [0x14009cea0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14009cec8], rax
lea rdx, str.Rk4ParseCmdLine
mov rcx, qword [0x14009cea0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14009ce90], rax
lea rdx, str.Rk4IsHaveInstall
mov rcx, qword [0x14009cea0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14009ce98], rax
lea rdx, str.Rk4GetVersion
mov rcx, qword [0x14009cea0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14009ce88], rax
lea rdx, str.WinGetVersion
mov rcx, qword [0x14009cea0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14009ce80], rax
lea rdx, str.ReBoot
mov rcx, qword [0x14009cea0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14009cec0], rax
lea rdx, str.WinGetProcessor
mov rcx, qword [0x14009cea0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14009ceb0], rax
cmp qword [0x14009cec8], 0
je 0x140001c17
cmp qword [0x14009ce90], 0
je 0x140001c17
cmp qword [0x14009ce98], 0
je 0x140001c17
cmp qword [0x14009ce88], 0
je 0x140001c17
cmp qword [0x14009ce80], 0
je 0x140001c17
cmp qword [0x14009cec0], 0
jne 0x140001c1b
xor eax, eax
jmp 0x140001c20
mov eax, 1
add rsp, 0x28
ret

Function at 0x140002050
Capabilities:
Acquire debug privileges

Disassembly:
sub rsp, 0x58
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x30]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140002078
mov byte [rsp + 0x49], 1
jmp 0x14000207d
mov byte [rsp + 0x49], 0
movzx eax, byte [rsp + 0x49]
mov byte [rsp + 0x48], al
movzx eax, byte [rsp + 0x48]
test eax, eax
jne 0x140002098
mov al, byte [rsp + 0x48]
jmp 0x14000212b
lea r8, [rsp + 0x3c]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x1400020b7
mov byte [rsp + 0x4a], 1
jmp 0x1400020bc
mov byte [rsp + 0x4a], 0
movzx eax, byte [rsp + 0x4a]
mov byte [rsp + 0x48], al
movzx eax, byte [rsp + 0x48]
test eax, eax
jne 0x1400020d4
mov al, byte [rsp + 0x48]
jmp 0x14000212b
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x44], 2
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0x10
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x140002119
mov byte [rsp + 0x4b], 1
jmp 0x14000211e
mov byte [rsp + 0x4b], 0
movzx eax, byte [rsp + 0x4b]
mov byte [rsp + 0x48], al
mov al, byte [rsp + 0x48]
add rsp, 0x58
ret
Function at 0x140002140
Capabilities:
Log keystrokes via application hook
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rcx, qword [rsp + 0x40]
call fcn.140032a10
call fcn.140002050
movzx eax, al
test eax, eax
jne 0x140002182
mov r9d, 0x10
lea r8, [0x14007a4c1]
lea rdx, [0x14007a4f8]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x1400022c7
call fcn.1400427d0
mov edx, 0x80
mov rcx, rax
call fcn.140041cb0
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call fcn.1400418d0
call qword [0x14009ce98]
movzx r11d, al
mov rax, qword [rsp + 0x40]
mov byte [rax + 0xfe], r11b
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
mov r11d, eax
mov rax, qword [rsp + 0x40]
mov dword [rax + 0xf8], r11d
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rsp + 0x20], eax
call fcn.1400427d0
mov r9d, dword [rsp + 0x20]
mov r8, qword [rax + 0x88]
lea rdx, [0x140001ec0]
mov ecx, 2
call qword [sym.imp.USER32.dll_SetWindowsHookExA]
mov r11, rax
mov rax, qword [rsp + 0x40]
mov qword [rax + 0xe8], r11
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0xe8], 0
jne 0x140002251
mov r9d, 0x10
lea r8, [0x14007a4c2]
lea rdx, str.Hook_Error
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
lea rdx, [0x14007a518]
mov rcx, qword [0x14009cea0]
call entry0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0xf8], 0x804
jne 0x140002284
mov rax, qword [rsp + 0x40]
mov dword [rax + 0xf4], 1
lea rdx, [0x14007a528]
mov rcx, qword [rsp + 0x40]
call fcn.140042130
jmp 0x1400022a4
mov rax, qword [rsp + 0x40]
mov dword [rax + 0xf4], 2
lea rdx, str.Setup_Wizard
mov rcx, qword [rsp + 0x40]
call fcn.140042130
mov rcx, qword [rsp + 0x40]
call fcn.140004ba0
mov rcx, qword [rsp + 0x40]
call fcn.140003660
mov rcx, qword [rsp + 0x40]
call fcn.140003590
mov eax, 1
add rsp, 0x38
ret
Function at 0x14000a007
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14009a150]
jne 0x140006dda
rol rcx, 0x10
test cx, 0xffff
jne 0x140006dd6
repz ret
ror rcx, 0x10
jmp 0x140009f60
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14009d0e0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x14009d1d8]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140009fe5
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x14009d0e0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14000a007
mov rax, qword [rsp + 0x88]
mov qword [0x14009d1d8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14009d178], rax
mov rax, qword [0x14009d1d8]
mov qword [0x14009d050], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14009d160], rax
mov dword [0x14009d040], 0xc0000409
mov dword [0x14009d044], 1
mov rax, qword [0x14009a150]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14009a158]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14009d0d8], eax
mov ecx, 1
call fcn.140018390
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14007b758]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14009d0d8], 0
jne 0x14000a08e
mov ecx, 1
call fcn.140018390
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x1400318f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [rsp + 0x58]
shr rax, 0x10
test rax, rax
je 0x14003193c
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x58]
call fcn.14004edc0
test eax, eax
jne 0x14003193c
mov edx, 0x98
lea rcx, str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcdlgcore.cpp
call fcn.1400495f0
test eax, eax
je 0x14003193c
int3
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x58]
mov qword [rcx + 0xb0], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0xb0]
shr rax, 0x10
test rax, rax
jne 0x140031990
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0xa8], 0
jne 0x140031990
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0xb0]
and rax, 0xffff
movzx ecx, ax
mov rax, qword [rsp + 0x50]
mov dword [rax + 0xa8], ecx
xor edx, edx
mov rcx, qword [rsp + 0x58]
call fcn.140032fb0
test eax, eax
jne 0x1400319d5
xor eax, eax
test eax, eax
jne 0x1400319be
mov edx, 0xa1
lea rcx, str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcdlgcore.cpp
call fcn.1400495f0
test eax, eax
je 0x1400319be
int3
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x50]
call qword [rax + 0x248]
xor eax, eax
jmp 0x140031a3b
call fcn.140042830
mov qword [rsp + 0x28], rax
mov r8d, 5
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x28]
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
call fcn.140031a70
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [rsp + 0x30]
add rsp, 0x48
ret