joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001a9e0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov rax, qword [0x140055038]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rdi, rcx
mov edx, 0x104
lea rcx, [rbp - 0x29]
call fcn.140001da4
nop
lea rcx, [rbp - 0x29]
call fcn.140001aec
mov rdx, rax
lea rcx, [rbp - 0x29]
call fcn.140001adc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor ebx, ebx
test eax, eax
je 0x14001aaac
lea rcx, [rbp - 0x11]
call fcn.1400026bc
nop
mov rdx, rdi
lea rcx, [rbp + 0x2f]
call fcn.1400020b4
nop
lea rcx, [rbp - 0x29]
call fcn.140001adc
mov rdx, rax
lea rcx, [rbp + 0xf]
call fcn.1400020b4
nop
lea r8, [rbp - 0x11]
lea rdx, [rbp + 0x2f]
lea rcx, [rbp + 0xf]
call fcn.140013680
nop
lea rcx, [rbp + 0xf]
call fcn.140002254
nop
lea rcx, [rbp + 0x2f]
call fcn.140002254
lea rcx, [rbp - 0x11]
call fcn.14000128c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
lea rcx, [rbp - 0x11]
call fcn.140002254
nop
lea rcx, [rbp - 0x29]
call fcn.140001af8
mov rax, rbx
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140028990
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret

Function at 0x14001aadc
Capabilities:
Get token membership

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140055038]
xor rax, rsp
mov qword [rbp - 8], rax
and dword [rbp - 0x10], 0
lea rax, [rbp - 0x18]
mov qword [rsp + 0x50], rax
lea rcx, [rbp - 0x10]
and dword [rsp + 0x48], 0
mov r9d, 0x220
and dword [rsp + 0x40], 0
mov r8d, 0x20
and dword [rsp + 0x38], 0
mov dl, 2
and dword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
mov word [rbp - 0xc], 0x500
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [rbp - 0x20], eax
test eax, eax
je 0x14001ab6c
mov rdx, qword [rbp - 0x18]
lea r8, [rbp - 0x20]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
neg eax
sbb ecx, ecx
and dword [rbp - 0x20], ecx
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [rbp - 0x20]
test eax, eax
setne al
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140028990
add rsp, 0x80
pop rbp
ret

Function at 0x14001ac20
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x30
lea rax, [rsp + 0x40]
mov r9, rdx
mov qword [rsp + 0x28], rax
lea r8, [0x14001af20]
and dword [rsp + 0x20], 0
mov edx, 0x10000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
jne 0x14001ac7f
lea rdx, str.CreateThread_failed
lea rcx, [0x1400573e0]
call fcn.14000b72c
call fcn.14000ba78
lea edx, [rbx + 2]
lea rcx, [0x1400573e0]
call fcn.14000b988
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x140020114
Capabilities:
Hide graphical window

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x80
mov rax, qword [0x140055038]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, rdx
mov qword [rcx + 0x10], r8
mov r14, rcx
mov byte [rcx + 0x72], 0
xor edx, edx
mov rcx, r8
mov rdi, r9
mov rbp, r8
call qword [sym.imp.USER32.dll_ShowWindow]
mov rdx, rbx
mov rcx, r14
call fcn.1400202dc
mov rcx, qword [r14 + 0x40]
test rcx, rcx
je 0x140020169
call fcn.140034238
test rdi, rdi
jne 0x140020172
xor eax, eax
jmp 0x14002017a
mov rcx, rdi
call fcn.140034e28
and qword [r14 + 0x48], 0
lea rdx, [rsp + 0x60]
mov rcx, rbp
mov qword [r14 + 0x40], rax
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetParent]
mov r9d, 2
lea r8, [rsp + 0x60]
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_MapWindowPoints]
mov rcx, qword [r14 + 8]
test rcx, rcx
je 0x1400201bf
call qword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [rsp + 0x60]
mov rcx, rbp
mov edi, dword [rsp + 0x68]
mov rbx, qword [r14]
sub edi, eax
sub edi, 2
lea esi, [rax + 1]
call qword [sym.imp.USER32.dll_GetParent]
mov edx, dword [rsp + 0x64]
mov r9d, 0x40000000
mov ecx, dword [rsp + 0x6c]
xor r8d, r8d
mov qword [rsp + 0x58], r14
sub ecx, edx
mov qword [rsp + 0x50], rbx
and qword [rsp + 0x48], 0
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], ecx
xor ecx, ecx
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edx
lea rdx, str.RarHtmlClassName
mov dword [rsp + 0x20], esi
call qword [sym.imp.USER32.dll_CreateWindowExW]
cmp byte [r14 + 0x38], 0
mov qword [r14 + 8], rax
jne 0x14002027a
cmp qword [r14 + 0x20], 0
jne 0x14002027a
test rbp, rbp
je 0x140020297
cmp qword [r14 + 0x48], 0
jne 0x140020297
mov rdx, qword [r14 + 0x40]
test rdx, rdx
je 0x140020297
call fcn.1400208cc
mov rbx, rax
test rax, rax
je 0x140020297
mov edx, 5
mov rcx, rbp
call qword [sym.imp.USER32.dll_ShowWindow]
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rcx, rbx
call fcn.140034238
jmp 0x140020297
test rax, rax
je 0x140020297
mov edx, 5
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [r14 + 8]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140028990
add rsp, 0x80
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400205cc
Capabilities:
Hide graphical window

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [rdx]
mov r9, rdx
and qword [r11 + 0x20], 0
lea rdx, [r11 + 0x20]
and qword [r11 + 0x10], 0
mov rdi, rcx
mov rcx, r9
mov rsi, r8
mov rax, qword [rax + 0x90]
call qword [0x140043520]
mov ebx, eax
test eax, eax
js 0x140020687
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140020695
mov rax, qword [rcx]
lea r8, [rsp + 0x58]
lea rdx, [0x140043aa0]
mov rax, qword [rax]
call qword [0x140043520]
mov ebx, eax
test eax, eax
js 0x140020675
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
call qword [0x140043520]
mov ebx, eax
test eax, eax
js 0x140020663
mov rcx, qword [rsp + 0x58]
mov rdx, rsi
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [0x140043520]
mov ebx, eax
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140043520]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140043520]
test ebx, ebx
js 0x140020695
mov rcx, qword [rsp + 0x68]
test rcx, rcx
jne 0x140020703
cmp qword [rdi + 0x10], 0
je 0x140020703
cmp qword [rdi + 0x48], 0
jne 0x140020703
mov rdx, qword [rdi + 0x40]
test rdx, rdx
je 0x140020703
call fcn.1400208cc
mov rsi, rax
test rax, rax
je 0x140020703
mov rcx, qword [rdi + 8]
xor r9d, r9d
mov dword [rsp + 0x30], 0x204
xor r8d, r8d
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea edx, [r9 + 1]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [rdi + 0x10]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rdi + 0x10]
mov rdx, rsi
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rcx, rsi
call fcn.140034238
mov rsi, qword [rsp + 0x60]
shr ebx, 0x1f
xor bl, 1
mov al, bl
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400216ac
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x20
mov rdx, rcx
lea r8, [0x14004d6e0]
mov rcx, qword [0x140057300]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
je 0x1400217f1
mov rcx, qword [0x140057300]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test eax, eax
je 0x1400217f1
mov rcx, qword [0x140057300]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400217f1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
test rax, rax
je 0x1400217f1
and qword [rsp + 0x58], 0
mov edx, edi
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbx, rax
test rax, rax
je 0x1400217ea
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x1400217e1
mov r8d, edi
mov rdx, rsi
mov rcx, rax
call fcn.14002ab70
and qword [rsp + 0x50], 0
lea r8, [rsp + 0x50]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x1400217d8
mov rcx, qword [rsp + 0x50]
call fcn.140021e2c
mov rcx, qword [rsp + 0x50]
mov rdi, rax
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x10]
call qword [0x140043520]
test rdi, rdi
je 0x1400217d8
mov rcx, rdi
call fcn.140021cb4
test eax, eax
jne 0x1400217c4
lea rcx, [rsp + 0x48]
call fcn.140021c74
lea r8, [rsp + 0x58]
mov rcx, rdi
lea rdx, [rsp + 0x48]
call fcn.140021c80
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
mov rax, qword [rax]
call qword [0x140043520]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rax, qword [rsp + 0x58]
jmp 0x1400217f3
xor eax, eax
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret

Function at 0x140021b68
Capabilities:
Get memory capacity

Disassembly:
sub rsp, 0x78
mov rax, qword [0x140055038]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor edx, edx
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 0x40]
call fcn.14002b220
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rax, qword [rsp + 0x28]
shr rax, 0x1e
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140028990
add rsp, 0x78
ret

Function at 0x140022014
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x108
mov rax, qword [0x140055038]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov r9d, 0x64
lea r8, [rsp + 0x20]
mov ecx, 0x400
lea edx, [r9 - 0x55]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
movzx eax, word [rsp + 0x20]
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.140028990
add rsp, 0x108
ret
Function at 0x1400224a8
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x100
mov rax, qword [0x140055038]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rbx, rcx
lea rcx, [rbp - 9]
call fcn.1400223dc
test al, al
je 0x14002258f
and qword [rbp - 0x49], 0
lea rax, [rbp - 9]
and dword [rbp - 0x4d], 0
lea r9, [rsp + 0x20]
and qword [rsp + 0x20], 0
lea rdx, [rbp - 0x69]
xor r8d, r8d
mov dword [rbp - 0x69], 0x11060000
xorps xmm0, xmm0
mov dword [rbp - 0x65], 1
movdqu xmmword [rbp - 0x5d], xmm0
mov dword [rbp - 0x61], 3
lea ecx, [r8 + 1]
mov qword [rbp - 0x41], rax
call qword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
test eax, eax
jne 0x14002258f
lea edx, [rax + 1]
lea rcx, [rbp - 0x39]
call qword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x14002257f
mov r8, qword [rsp + 0x20]
lea rcx, [rbp - 0x39]
xor r9d, r9d
lea edx, [r9 + 1]
call qword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x14002257f
and dword [rbp - 0x71], 0
lea rax, [rbp - 0x39]
mov rcx, rbx
mov qword [rbp - 0x79], rax
mov dword [rsp + 0x28], 0x18
call fcn.14000128c
mov rcx, rax
lea rdx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x14002258f
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140028990
mov rbx, qword [rsp + 0x118]
add rsp, 0x100
pop rbp
ret
Function at 0x1400225ac
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], r14
mov qword [rax + 0x20], r15
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rsi, r9
mov r14, r8
mov r10, rcx
xor r15d, r15d
mov bl, r15b
mov rcx, rdx
call fcn.14000128c
mov rdx, rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
lea r9d, [r15 + 1]
xor r8d, r8d
mov rcx, r10
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400226f0
mov rcx, r14
call fcn.14000128c
lea rcx, [rbp - 0x2c]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400226e2
mov edx, dword [rbp - 0x2c]
shr rdx, 1
mov rcx, qword [rbp + 0x30]
call fcn.140001ae4
cmp rax, rdx
jbe 0x14002264f
call fcn.140001ae4
mov rdx, rax
lea rax, [rdx + 1]
mov edx, 0x10000
cmp rax, rdx
cmovb rdx, rax
lea rcx, [rbp - 0x18]
call fcn.140001da4
nop
lea rcx, [rbp - 0x18]
call fcn.140001aec
add eax, eax
mov dword [rbp - 0x28], eax
lea rcx, [rbp - 0x18]
call fcn.140001adc
mov rdx, rax
mov rcx, r14
call fcn.14000128c
lea rcx, [rbp - 0x28]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x24]
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400226d9
mov word [rbp - 0x30], r15w
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x18]
call fcn.140026ed0
lea rcx, [rbp - 0x18]
call fcn.140001adc
mov rdx, rax
mov rcx, rsi
call fcn.14000129c
mov bl, 1
lea rcx, [rbp - 0x18]
call fcn.140001af8
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
jne 0x1400226fc
mov rdx, qword [rbp + 0x30]
mov rcx, rsi
call fcn.140003be4
mov al, bl
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov r14, qword [r11 + 0x20]
mov r15, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret

Function at 0x140022718
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x140055038]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, rcx
lea rax, [rsp + 0x30]
xor ecx, ecx
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea rdx, [rsp + 0x30]
mov rcx, rdi
mov ebx, eax
lea rax, str.unknown_folder
test ebx, ebx
cmovne rdx, rax
call fcn.14000129c
test ebx, ebx
sete al
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140028990
mov rbx, qword [rsp + 0x270]
add rsp, 0x250
pop rdi
ret
Function at 0x140023d48
Capabilities:
Set environment variable

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x140055038]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, rcx
call fcn.14000128c
mov rdx, rax
lea rcx, str.sfxcmd
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
lea rcx, [rsp + 0x28]
call fcn.1400026bc
nop
and qword [rsp + 0x20], 0
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400199a0
test al, al
je 0x140023dd3
mov rdx, qword [rsp + 0x20]
jmp 0x140023da6
inc rdx
mov rcx, rbx
call fcn.140002908
movzx ecx, word [rax]
call fcn.1400197cc
test al, al
jne 0x140023da3
mov rcx, rbx
call fcn.140002908
mov rdx, rax
lea rcx, str.sfxpar
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
nop
lea rcx, [rsp + 0x28]
call fcn.140002254
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140028990
add rsp, 0x50
pop rbx
ret
Function at 0x1400268d8
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x140055038]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor ebx, ebx
mov dword [rbp - 0x19], ebx
lea rcx, [0x140057548]
call fcn.14000694c
test al, al
jne 0x140026958
lea rdx, [0x14004d7c0]
lea rcx, [rbp - 0x11]
call fcn.1400020b4
nop
mov dword [rbp - 0x19], 1
lea rdx, [0x140057548]
lea rcx, [rbp + 0xf]
call fcn.14001319c
mov ebx, 3
lea r8d, [rbx + 3]
lea rdx, [rbp - 0x11]
mov rcx, rax
call fcn.1400275d4
test eax, eax
jne 0x140026958
mov dil, 1
jmp 0x14002695b
xor dil, dil
test bl, 2
je 0x14002696d
and ebx, 0xfffffffd
lea rcx, [rbp + 0xf]
call fcn.140002254
nop
test bl, 1
je 0x14002697b
lea rcx, [rbp - 0x11]
call fcn.140002254
test dil, dil
je 0x1400269ee
lea rcx, [0x140057520]
call fcn.140014778
lea rdx, [0x140057548]
lea rcx, [rbp - 0x11]
call fcn.14000a0d8
nop
xor edx, edx
lea rcx, [rbp - 0x11]
call fcn.14000974c
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0xf], xmm0
movups xmmword [rbp + 0x1f], xmm0
movups xmmword [rbp + 0x2f], xmm0
mov qword [rbp + 0x3f], rax
mov dword [rbp + 0x17], 3
mov eax, 0x14
mov word [rbp + 0x2f], ax
lea rcx, [rbp - 0x11]
call fcn.14000128c
mov qword [rbp + 0x1f], rax
lea rcx, [rbp + 0xf]
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
nop
lea rcx, [rbp - 0x11]
call fcn.140002254
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140028990
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret

Function at 0x140026b48
Capabilities:
Hide graphical window

Disassembly:
push rbx
sub rsp, 0x20
and dword [0x140057338], 0
mov edx, 1
mov rbx, rcx
mov byte [0x140057315], 1
mov byte [0x140057316], 1
call qword [sym.imp.USER32.dll_ShowWindow]
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 2]
call fcn.1400026d8
lea rcx, [0x140057aa0]
call fcn.14000694c
test al, al
je 0x140026b99
cmp byte [0x14005733f], 0
je 0x140026ba2
cmp dword [0x140057340], 0
jne 0x140026bb7
xor r9d, r9d
mov edx, 0x111
mov rcx, rbx
lea r8d, [r9 + 1]
call qword [sym.imp.USER32.dll_SendMessageW]
add rsp, 0x20
pop rbx
ret
Function at 0x140026c34
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x140055038]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rbx, rcx
cmp byte [0x140057570], 0
je 0x140026d2d
lea rcx, [0x140057578]
call fcn.14000694c
test al, al
jne 0x140026d2d
lea rcx, [rsp + 0x60]
call fcn.1400026bc
nop
lea rdx, [rsp + 0x60]
lea rcx, [0x140057578]
call fcn.140026bc0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x20006
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareWinRAR_SFX
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140026d23
mov rcx, rbx
call fcn.140001ae4
lea r8d, [rax*2 + 2]
call fcn.14000128c
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.14000128c
mov dword [rsp + 0x28], r8d
mov qword [rsp + 0x20], rdx
mov r9d, 1
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rsp + 0x60]
call fcn.140002254
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140028990
add rsp, 0x90
pop rbx
ret

Function at 0x140027fd4
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x14000003c]
lea rsi, [0x140000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x14002804c
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x14002804c
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x14002804c
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x140028040
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x14002805e
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x14002802e
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x14002804e

Function at 0x1400299a0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400299ea
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400299ea
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400299ea
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400299ea
cmp dword [rcx + 0x84], 0xe
jbe 0x1400299ea
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400299ec
xor al, al
add rsp, 0x28
ret

Function at 0x14003560c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140035408
Function at 0x14003a688
Capabilities:
Query environment variable

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, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14003a6b8
xor eax, eax
jmp 0x14003a77b
mov rbp, rbx
cmp word [rax], si
je 0x14003a6dd
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14003a6c4
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14003a6c0
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14003a5a8
movsxd r14, eax
test eax, eax
jne 0x14003a71b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14003a6b1
mov rcx, r14
call fcn.140036e34
mov rdi, rax
test rax, rax
jne 0x14003a734
xor ecx, ecx
call fcn.140036df8
jmp 0x14003a710
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14003a5a8
test eax, eax
jne 0x14003a765
mov rcx, rdi
call fcn.140036df8
jmp 0x14003a76f
xor ecx, ecx
call fcn.140036df8
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140041080
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400410a8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400410a8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14000720c
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.14000719c
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021170]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400205b8]
jmp 0x140007248
cmp qword [rbx + 0x18], rdi
je 0x14000724f
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14000723f
jmp 0x140007269
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x1400205b8]
call fcn.140011c68
lea rcx, [0x140021170]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
and eax, 0xd80cd91b
fidiv dword [rdi + 0xf]
int3
lodsb al, byte [rsi]
cmp eax, edx
cmp byte [rax + rsi*4 + 0x24], dh
fisttp word [rcx + 0x6e]
nop
push rsi
add eax, 0x9a558eb3
loop 0x14003f626
cmp ebx, dword [rsi]
insd dword [rdi], dx
push rax
and dword [rdi + 0x72ebba3e], edx
scasd eax, dword [rdi]
mov esp, 0xa7552e55
mov cl, 0xa5
cmp edx, ecx
wait
jrcxz 0x14003f5eb
jp 0x14003f67f
sbb r10b, cl
mov bl, 0xe3
int 0xed
in eax, dx
in eax, dx
pop rax
and esp, dword [rbx + rbx*4]
retf 0x28b7
leave
lodsd eax, dword [rsi]
push r11
xor ebp, dword [rbp - 0x581764eb]
sal byte [rsi], 0x85
fnstcw word [rdi + 0x22db9dd8]
invalid
and bh, ch
rcr ebx, 1
mov cl, 0xf3
invalid
cmp dl, dl
mov esi, 0x2f8d4faa
xchg edx, eax
push rbp
je 0x14003f694
pop rdi
cmpsd dword [esi], dword [edi]
mov bpl, 0x47
mov ch, 0x47
mov ch, 0x47
stosb byte [rdi], al
cmp esp, dword [rsi + 0x5b]
pop bx
xor eax, edx
mov bh, 0x45
scasb al, byte [rdi]
mov ebx, 0x7f5096d1
test dword [r8 + 0x5f], r12d
mov bl, 0xda
pushfq
insd dword [rdi], dx
popfq
mov ah, 0x20
insd dword [rdi], dx
sbb ch, al
cmp dword [rsi + 0x52c812e9], esp
cmpsb byte [rsi], byte [rdi]
invalid
adc cl, al
push rdx
adc cl, al
push rdx
lodsb al, byte [rsi]
and rax, 0xffffffffe3f299d4
xchg edi, eax
pop rsp
xor eax, 0x548cbbb1
xchg ebp, eax
add al, 0x42
insb byte [rdi], dx
fdivp st(7)
sbb r15, qword [rdx + rax*8 + 0x66b1ff54]
movsb byte [rdi], byte [rsi]
test al, 0xf4
cli
pop rbx
cmc
pushfq
push 0x198fa08e
outsd dx, dword [rsi]
stosb byte [rdi], al
invalid