joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140056f20
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 0x140056f50
xor eax, eax
jmp 0x140057013
mov rbp, rbx
cmp word [rax], si
je 0x140056f75
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140056f5c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140056f58
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.140056dd0
movsxd r14, eax
test eax, eax
jne 0x140056fb3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140056f49
mov rcx, r14
call fcn.1400514c4
mov rdi, rax
test rax, rax
jne 0x140056fcc
xor ecx, ecx
call fcn.140051410
jmp 0x140056fa8
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.140056dd0
test eax, eax
jne 0x140056ffd
mov rcx, rdi
call fcn.140051410
jmp 0x140057007
xor ecx, ecx
call fcn.140051410
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 0x140057030
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1400570b7
mov rsi, rbx
cmp word [rax], bp
je 0x140057076
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140057060
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14005705c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400514c4
mov rdi, rax
test rax, rax
je 0x1400570a4
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14006d020
mov rbp, rdi
xor ecx, ecx
call fcn.140051410
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14006c1e0
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, qword [str.kernel32.dll]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edx, dword [0x14008ebf8]
xor ecx, ecx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov r8d, 0x104
xor ecx, ecx
mov rdx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov rcx, rbx
call fcn.14006d31e
invalid
dec dword [rax - 0x75]
sbb eax, 0x21852
xor ebp, ebp
cmp dword [rbx], ebp
je 0x14006d410
mov ecx, ebp
cmp word [rax], bp

Function at 0x140001d40
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], r9
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov ecx, 2
call fcn.140002290
lea rcx, str.Mingw_w64_runtime_failure:_n
mov edx, 0x1b
mov r8d, 1
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 2
call fcn.140002290
mov r8, qword [rsp + 0x28]
mov rcx, rax
mov rdx, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
int3

Function at 0x1400023b0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rax, qword [0x140009008]
movzx edx, word [rax]
cmp edx, 0x5a4d
jne 0x14000241c
movsxd rdx, dword [rax + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x14000241c
add rax, rdx
movzx edx, word [rax + 0x18]
cmp edx, 0x20b
jne 0x14000241c
movzx edx, word [rax + 6]
test edx, edx
je 0x14000241c
sub rcx, qword [0x140009008]
movzx r8d, word [rax + 0x14]
add rax, r8
add rax, 0x18
jmp 0x140002408
add rax, 0x28
dec edx
je 0x14000241c
mov r8d, dword [rax + 0xc]
cmp rcx, r8
jb 0x140002400
add r8d, dword [rax + 8]
cmp rcx, r8
jae 0x140002400
jmp 0x14000241e
xor eax, eax
ret

Function at 0x140002420
Capabilities:
Parse pe header

Disassembly:
mov rcx, qword [0x140009008]
movzx edx, word [rcx]
xor eax, eax
cmp edx, 0x5a4d
jne 0x140002455
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rcx + rdx], 0x4550
jne 0x140002455
movzx r8d, word [rcx + rdx + 0x18]
cmp r8d, 0x20b
jne 0x140002455
movzx eax, word [rcx + rdx + 6]
ret

Function at 0x1400024d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140009008]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x1400024fc
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x1400024fc
movzx ecx, word [rax + rcx + 0x18]
cmp ecx, 0x20b
je 0x1400024fe
xor eax, eax
ret
Function at 0xcea000
Capabilities:
Decompress data using aplib

Disassembly:
jmp 0xcea00a
jmp 0xcec00f
jmp fcn.00aba210
Function at 0x140020490
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x30
mov rbx, rdx
test rdx, rdx
jne 0x1400204b6
lea rcx, str.Couldnt_create_the_recordset_CompSet_
call fcn.14006b910
xor eax, eax
add rsp, 0x30
pop rbx
ret
lea rdx, str.SELECT__FROM_Components_WHERE_ParentID___0
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__4]
mov r10, qword [rbx]
xor r9d, r9d
mov r8, rax
lea edx, [r9 + 4]
mov rcx, rbx
call qword [r10 + VariantCopy]
nop
mov eax, 1
add rsp, 0x30
pop rbx
ret
Function at 0x14006d810
Capabilities:
Reference sql statements

Disassembly:
mov dword [rsp + 0x18], r8d
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2b0
mov rax, qword [0x140125310]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov r15, rdx
mov rsi, rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rdx
xor r14d, r14d
mov dword [rsp + 0x40], r14d
mov edi, r14d
mov dword [rsp + 0x44], r14d
lea ebx, [r14 + 9]
lea r13, str.PredMetID
cmp edi, 2
jge 0x14006da16
lea rdx, [0x1401274f8]
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__5]
nop
lea rcx, [rsi + 0xa38]
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x80], rcx
call qword [sym.imp.mfc140u.dll_CMFCToolBar::DrawButton]
mov r12d, 0x17
test edi, edi
cmove r12d, ebx
mov dword [rsp + 0x20], r12d
mov r9, r13
mov r8, r15
lea rdx, str.DELETE_FROM__s_WHERE__s___d
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]
nop
cmp dword [rsp + 0x300], 0
je 0x14006d8e6
mov rcx, qword [rsi + 0xcb0]
mov rax, qword [rcx]
mov r8d, 0x10
mov rdx, qword [rsp + 0x48]
call qword [rax + 0x28]
mov r8d, 5
lea rdx, [rsp + 0x70]
mov rcx, qword [rsi + 0x10a8]
call qword [sym.imp.BQRCommon.dll_public:_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_CRbdLicense::GetFilePWD_long_int____ptr64]
mov qword [rsp + 0x68], rax
lea rcx, [rsi + 0x828]
call qword [sym.imp.mfc140u.dll_CMFCRibbonUndoButton::GetIconSize]
mov rdx, rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_Ordinal_285]
or r14d, 1
mov dword [rsp + 0x40], r14d
mov r9, qword [0x140127508]
mov eax, dword [r9 - 0x10]
mov rdx, qword [rsi + 0x828]
mov dword [rsp + 0x20], eax
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_CMFCTasksPane::CollapseAllGroups]
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r15
mov rax, qword [rsp + 0x68]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x60]
mov r8, r15
lea rdx, str.INSERT_INTO__s_SELECT__FROM___s_s_._s_WHERE__s___d
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]
and r14d, 0xfffffffe
mov dword [rsp + 0x40], r14d
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rcx, qword [rsi + 0xcb0]
mov rax, qword [rcx]
mov r8d, 0x10
mov rdx, qword [rsp + 0x48]
call qword [rax + 0x28]
nop
jmp 0x14006d9d7
mov ebx, 9
mov rax, qword [rsp + 0x78]
mov rcx, qword [rax]
cmp dword [rcx - 0x10], 0
je 0x14006da00
xor edx, edx
call fcn.14006b910
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.mfc140u.dll_CMFCToolBar::DrawButton]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
inc edi
mov dword [rsp + 0x44], edi
jmp 0x14006d864
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.1400c5ea0
add rsp, 0x2b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400c68f8
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov edi, r8d
mov rsi, r9
mov r10b, bl
cmp r8d, 1
jbe 0x14000dd40
lea rcx, [rdx + 1]
lea r8d, [rdi - 1]
xor r10b, byte [rcx]
inc rcx
sub r8, 1
jne 0x14000dd34
cmp r10b, byte [rdx]
jne 0x14000dd7c
mov r8, rdi
or ecx, 0xffffffff
call fcn.140006380
lea rdx, [0x140048060]
not eax
mov rcx, rdx
cmp dword [rcx + 4], eax
jne 0x14000dd65
cmp dword [rcx], edi
je 0x14000dd72
inc ebx
add rcx, 0xc
cmp ebx, 6
jae 0x14000dd7c
jmp 0x14000dd5c
lea rcx, [rbx + rbx*2]
mov eax, dword [rdx + rcx*4 + 8]
mov dword [rsi], eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140010bcc
Capabilities:
Encode data using xor

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, 0x20
mov r10, qword [0x140052620]
xor ebx, ebx
movzx ebp, r9b
mov r14b, r8b
mov rdi, rdx
mov rsi, rcx
test r10, r10
jne 0x140010c6b
cmp byte [0x140052618], bl
jne 0x140010c6b
lea rcx, str.Crypt32.dll
call fcn.140012320
mov qword [0x140052610], rax
test rax, rax
je 0x140010c54
lea rdx, str.CryptProtectMemory
mov rcx, rax
call qword [0x140038118]
mov rcx, qword [0x140052610]
lea rdx, str.CryptUnprotectMemory
mov qword [0x140052620], rax
call qword [0x140038118]
mov qword [0x140052628], rax
jmp 0x140010c5b
mov rax, qword [0x140052628]
mov r10, qword [0x140052620]
mov byte [0x140052618], 1
jmp 0x140010c72
mov rax, qword [0x140052628]
mov rcx, rdi
mov r8d, ebp
and rcx, 0xfffffffffffffff0
test r14b, r14b
je 0x140010cc5
test r10, r10
je 0x140010ce2
mov edx, ecx
mov rax, r10
mov rcx, rsi
call qword [0x1400384e0]
test eax, eax
jne 0x140010cfd
lea rdx, str.CryptProtectMemory_failed
lea rbx, [0x14004b4d0]
mov rcx, rbx
call fcn.140007660
mov rcx, rbx
call fcn.1400078cc
mov edx, 2
mov rcx, rbx
call fcn.140007658
jmp 0x140010cfd
test rax, rax
je 0x140010ce2
mov edx, ecx
mov rcx, rsi
call qword [0x1400384e0]
test eax, eax
jne 0x140010cfd
lea rdx, str.CryptUnprotectMemory_failed
jmp 0x140010c9f
call qword [0x140038120]
test rdi, rdi
je 0x140010cfd
lea ecx, [rax + 0x4b]
add cl, bl
xor byte [rbx + rsi], cl
inc rbx
cmp rbx, rdi
jb 0x140010ced
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140012298
Capabilities:
Get token membership

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
and dword [rbp + 0x18], 0
lea rax, [rbp + 0x20]
mov qword [rsp + 0x50], rax
lea rcx, [rbp + 0x18]
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 + 0x1c], 0x500
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [rbp + 0x10], eax
test eax, eax
je 0x140012317
mov rdx, qword [rbp + 0x20]
lea r8, [rbp + 0x10]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
neg eax
sbb ecx, ecx
and dword [rbp + 0x10], ecx
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [rbp + 0x10]
test eax, eax
setne al
add rsp, 0x60
pop rbp
ret
Function at 0x14001cf64
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 [0x1400384e0]
mov ebx, eax
test eax, eax
js 0x14001d01f
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14001d02d
mov rax, qword [rcx]
lea r8, [rsp + 0x58]
lea rdx, [0x14003aaa0]
mov rax, qword [rax]
call qword [0x1400384e0]
mov ebx, eax
test eax, eax
js 0x14001d00d
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
call qword [0x1400384e0]
mov ebx, eax
test eax, eax
js 0x14001cffb
mov rcx, qword [rsp + 0x58]
mov rdx, rsi
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [0x1400384e0]
mov ebx, eax
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1400384e0]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1400384e0]
test ebx, ebx
js 0x14001d02d
mov rcx, qword [rsp + 0x68]
test rcx, rcx
jne 0x14001d09e
cmp qword [rdi + 0x10], 0
je 0x14001d09e
cmp qword [rdi + 0x40], 0
jne 0x14001d09e
mov rdx, qword [rdi + 0x38]
test rdx, rdx
je 0x14001d09e
mov rcx, rdi
call fcn.14001d7c0
mov rsi, rax
test rax, rax
je 0x14001d09e
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.1400282e4
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 0x14001eb4c
Capabilities:
Delete file

Disassembly:
push rbx
mov eax, 0x1070
call fcn.140023900
sub rsp, rax
xor ebx, ebx
cmp word [0x1400538e2], bx
je 0x14001ebf4
lea rcx, [0x1400538e2]
call fcn.14000d4e0
mov rdx, qword [str.RarSFX]
lea r8d, [rbx + 6]
mov rcx, rax
call fcn.140013da0
test eax, eax
jne 0x14001ebf4
lea rcx, [0x1400528e0]
call fcn.14001e91c
mov r8d, 0x800
lea rdx, [0x1400538e2]
lea rcx, [rsp + 0x60]
call fcn.140012090
lea rcx, [rsp + 0x60]
call fcn.1400282c8
xor edx, edx
lea r8d, [rbx + 0x38]
lea rcx, [rsp + 0x20]
mov word [rsp + rax*2 + 0x62], bx
call fcn.140024600
lea eax, [rbx + 0x14]
mov dword [rsp + 0x28], 3
mov word [rsp + 0x40], ax
lea rcx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
add rsp, 0x1070
pop rbx
ret
Function at 0x14001ef38
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x1f40]
mov eax, 0x2040
call fcn.140023900
sub rsp, rax
xor esi, esi
mov rdi, rdx
cmp byte [0x1400548e8], sil
mov rbx, rcx
je 0x14001f01f
mov r8d, 0x800
lea rdx, [rbp + 0xf40]
call fcn.140020884
lea rax, [rsp + 0x30]
xor r8d, r8d
lea r9d, [rsi + 1]
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareWinRAR_SFX
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001f01f
mov rcx, qword [rsp + 0x30]
lea rax, [rbp + 0x1f70]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x1f78]
lea rax, [rsp + 0x40]
mov dword [rbp + 0x1f70], 0x1000
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0xf40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001f014
mov eax, dword [rbp + 0x1f70]
lea rdx, [rsp + 0x40]
shr eax, 1
mov r8, rdi
mov ecx, eax
mov dword [rbp + 0x1f70], eax
mov eax, 0x7ff
cmp ecx, eax
cmovb eax, ecx
mov rcx, rbx
mov word [rsp + rax*2 + 0x40], si
call fcn.140012090
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x2060]
add rsp, 0x2040
pop rdi
pop rsi
pop rbp
ret

Function at 0x14001f230
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
mov ebx, edx
lea rcx, [rsp + 0x58]
call qword [sym.imp.SHELL32.dll_SHGetMalloc]
lea rax, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, ebx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderLocation]
xor ecx, ecx
test eax, eax
sete bl
test eax, eax
jne 0x14001f29c
mov rcx, qword [rsp + 0x50]
mov rdx, rdi
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov rcx, qword [rsp + 0x58]
cmp eax, 1
mov rdx, qword [rsp + 0x50]
sete bl
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [0x1400384e0]
jmp 0x14001f29f
mov word [rdi], cx
mov al, bl
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140021f04
Capabilities:
Hide graphical window

Disassembly:
push rbx
sub rsp, 0x20
and dword [0x1400528a0], 0
mov edx, 1
mov rbx, rcx
mov byte [0x1400528a5], 1
mov byte [0x1400528a6], 1
call qword [sym.imp.USER32.dll_ShowWindow]
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 2]
call fcn.140001374
cmp qword [0x14006a330], 0
jne 0x140021f4f
cmp byte [0x1400528bf], 0
je 0x140021f58
cmp dword [0x1400528b8], 0
jne 0x140021f6d
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 0x140022040
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x1050
call fcn.140023900
sub rsp, rax
xor edi, edi
mov rbx, rcx
cmp byte [0x1400548e8], dil
je 0x140022112
cmp word [0x1400548ea], di
je 0x140022112
mov r8d, 0x800
lea rdx, [rsp + 0x50]
lea rcx, [0x1400548ea]
call fcn.140020884
lea rax, [rsp + 0x1068]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rdx, str.SoftwareWinRAR_SFX
lea rax, [rsp + 0x1070]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140022112
mov rcx, rbx
call fcn.1400282c8
lea r9d, [rdi + 1]
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea ecx, [rax*2 + 2]
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0x1070]
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x1070]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x1060]
add rsp, 0x1050
pop rdi
ret
Function at 0x14002438c
Capabilities:
Parse pe header

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

Function at 0x14002c9e0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14002c744
Function at 0x140001000
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0xe338fad6
call fcn.140001bb0
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140001040
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x47c1414f
call fcn.140001bb0
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140001080
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x37853f20
call fcn.140001bb0
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x1400010c0
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x7c2b67ad
call fcn.140001bb0
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140001100
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x20b82624
call fcn.140001bb0
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret
Function at 0x140001140
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0x90
xor edi, edi
mov dword [rbp + 0x27], 0x65004b
lea rcx, [rbp - 9]
mov word [rbp + 0x3f], di
mov dword [rbp + 0x67], edi
mov dword [rbp + 0x2b], 0x6e0072
mov dword [rbp + 0x2f], 0x6c0065
mov dword [rbp + 0x33], 0x320033
mov dword [rbp + 0x37], 0x64002e
mov dword [rbp + 0x3b], 0x6c006c
mov qword [rbp + 0x77], 0x1000
mov dword [rbp - 9], 0x74006e
mov dword [rbp - 5], 0x6c0064
mov dword [rbp - 1], 0x2e006c
mov dword [rbp + 3], 0x6c0064
mov dword [rbp + 7], 0x6c
mov dword [rbp - 0x19], 0x45777445
mov dword [rbp - 0x15], 0x746e6576
mov dword [rbp - 0x11], 0x74697257
mov word [rbp - 0xd], 0x65
call fcn.1400019d8
mov rcx, rax
lea rdx, [rbp - 0x19]
call fcn.140001a3c
mov qword [rbp + 0x6f], rax
lea r9d, [rdi + 0x40]
lea rax, [rbp + 0x67]
or rbx, 0xffffffffffffffff
lea r8, [rbp + 0x77]
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x6f]
mov rcx, rbx
call fcn.140001040
mov rcx, qword [rbp + 0x6f]
lea r8d, [rdi + 4]
lea rdx, [0x1400052b4]
call fcn.1400012d4
mov r9d, dword [rbp + 0x67]
lea rax, [rbp + 0x67]
lea r8, [rbp + 0x77]
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x6f]
mov rcx, rbx
call fcn.140001040
movdqa xmm0, xmmword [0x140005440]
lea rcx, [rbp + 0x27]
movdqu xmmword [rbp + 0xf], xmm0
mov dword [rbp + 0x1f], 0x68636143
mov word [rbp + 0x23], 0x65
call fcn.1400019d8
mov rcx, rax
lea rdx, [rbp + 0xf]
call fcn.140001a3c
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdx, qword [rbp + 0x6f]
mov r8d, 0x1000
mov rcx, rax
call rbx
mov rbx, qword [rsp + 0xc8]
xor eax, eax
add rsp, 0x90
pop r14
pop rdi
pop rbp
ret