joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000b478
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [0x140052d88], 0
je 0x14000b493
or eax, 0xffffffff
jmp 0x14000b597
mov rax, qword [0x140042c38]
test rax, rax
jg 0x14000b4b3
dec rax
mov qword [0x140042c38], rax
and qword [0x140052c98], 0
jmp 0x14000b48b
mov rbx, qword [0x140052c98]
test rbx, rbx
jg 0x14000b507
mov rcx, qword [0x140052c88]
mov ebx, 0x2000
mov edx, ebx
call fcn.14000b6fc
movsxd rcx, eax
mov qword [0x140052c98], rcx
test eax, eax
je 0x14000b4a9
cmp rcx, 0xffffffffffffffff
je 0x14000b539
mov rax, qword [0x140052c88]
add qword [0x140052cd8], rbx
mov qword [0x140052c90], rax
call fcn.14000aee8
mov rbx, qword [0x140052c98]
mov rax, qword [0x140042c70]
test byte [rax + 0x40], 1
je 0x14000b57c
cmp byte [0x140053f81], 0
je 0x14000b551
test rbx, rbx
je 0x14000b57c
mov rcx, qword [0x140052c90]
lea r8, [0x140053f88]
mov edx, ebx
call fcn.14000e678
jmp 0x14000b575
lea rdx, [0x1400616fa]
lea rcx, [0x1400582f0]
call fcn.140001bc4
jmp 0x14000b4a9
mov rdi, qword [0x140052c90]
test rbx, rbx
je 0x14000b57c
call fcn.14000e234
xor byte [rdi], al
movzx ecx, byte [rdi]
call fcn.14000e388
inc rdi
sub rbx, 1
jne 0x14000b55d
mov rbx, qword [0x140052c98]
mov rax, qword [0x140052c90]
dec rbx
mov qword [0x140052c98], rbx
movzx eax, byte [rax]
inc qword [0x140052c90]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14000e2a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
mov rcx, rdx
call fcn.14000e254
mov r8d, 0xc
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.140017040
xor ebx, ebx
mov ecx, dword [0x140053de8]
and ecx, 0xfffd
or ecx, 2
mov eax, ecx
xor eax, 1
imul eax, ecx
shr eax, 8
movzx ecx, al
movzx eax, byte [rsp + rbx + 0x20]
xor ecx, eax
mov byte [rsp + rbx + 0x20], cl
movzx ecx, cl
call fcn.14000e388
inc rbx
cmp rbx, 0xc
jl 0x14000e2ca
mov rax, qword [0x140042c70]
movzx ecx, byte [0x140052d07]
test byte [rax + 0x40], 2
movzx eax, byte [0x140052cff]
cmovne ecx, eax
movzx eax, byte [rsp + 0x2b]
cmp eax, ecx
je 0x14000e32d
or eax, 0xffffffff
jmp 0x14000e37d
mov rbx, qword [0x140052c98]
mov rax, qword [0x140042c38]
mov rdi, qword [0x140052c90]
movsxd rcx, ebx
cmp rcx, rax
cmovg ebx, eax
test ebx, ebx
je 0x14000e37b
mov ecx, dword [0x140053de8]
and ecx, 0xfffd
or ecx, 2
mov eax, ecx
xor eax, 1
imul eax, ecx
shr eax, 8
xor byte [rdi], al
movzx ecx, byte [rdi]
call fcn.14000e388
inc rdi
sub ebx, 1
jne 0x14000e34f
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x14000e388
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov rdx, qword [0x140053de0]
lea r10, [0x140042810]
mov eax, ecx
mov r9d, ecx
xor rdx, rax
mov eax, dword [0x140053de0]
shr eax, 8
movzx r8d, dl
mov edx, dword [r10 + r8*4]
xor edx, eax
movzx eax, dl
add eax, dword [0x140053de4]
imul ecx, eax, 0x8088405
mov dword [0x140053de0], edx
inc ecx
mov eax, ecx
mov dword [0x140053de4], ecx
mov ecx, dword [0x140053de8]
shr rax, 0x18
xor rax, qword [0x140053de8]
movzx eax, al
shr ecx, 8
mov eax, dword [r10 + rax*4]
xor eax, ecx
mov dword [0x140053de8], eax
mov eax, r9d
ret
Function at 0x14000e3f8
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x268]
sub rsp, 0x340
mov r14, r8
mov ebx, edx
mov rdi, rcx
mov r15d, 0xa8
mov r8d, r15d
lea rcx, [rsp + 0x70]
xor edx, edx
mov esi, r9d
call fcn.140016530
lea r8, [rsp + 0x70]
mov edx, ebx
mov rcx, rdi
call fcn.14000eb84
mov r8d, r15d
mov byte [rsp + 0x30], 0
lea rdx, [rsp + 0x70]
mov byte [rsp + 0x31], 0
lea rcx, [rbp + 0x130]
call fcn.140017040
lea rax, [rsp + 0x30]
mov edx, esi
lea r9, [rbp + 0xd0]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x130]
mov rcx, r14
call fcn.14000e818
mov esi, dword [rbp + 0x2a0]
mov eax, 0xcccccccd
lea ecx, [rsi - 1]
mul ecx
mov r13d, edx
shr r13d, 4
add r13d, 1
je 0x14000e5d1
mov r12, qword [rbp + 0x298]
xor edi, edi
mov r14d, dword [rbp + 0x290]
lea ebx, [rdi + 1]
xor edx, edx
lea rcx, [rsp + 0x50]
lea r8d, [rdx + 0x14]
call fcn.140016530
mov r8, r15
lea rdx, [rbp + 0x130]
lea rcx, [rbp + 0x20]
call fcn.140017040
mov eax, ebx
mov byte [rsp + 0x3b], bl
shr eax, 0x18
mov r15d, 4
mov byte [rsp + 0x38], al
mov eax, ebx
shr eax, 0x10
mov byte [rsp + 0x39], al
mov eax, ebx
shr eax, 8
mov byte [rsp + 0x3a], al
test r14d, r14d
je 0x14000e595
mov rsi, r14
lea rax, [rsp + 0x30]
mov edx, r15d
lea r9, [rbp + 0xd0]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x20]
lea rcx, [rsp + 0x38]
call fcn.14000e818
lea rax, [rsp + 0x31]
mov r15d, 0x14
mov edx, r15d
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1e0]
lea r8, [rbp + 0x20]
lea rcx, [rsp + 0x38]
call fcn.14000e9b8
xor ecx, ecx
mov edx, r15d
mov al, byte [rsp + rcx + 0x38]
xor byte [rsp + rcx + 0x50], al
inc rcx
sub rdx, 1
jne 0x14000e564
mov r8d, 0xa8
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x20]
call fcn.140017040
sub rsi, 1
jne 0x14000e515
mov esi, dword [rbp + 0x2a0]
mov edx, edi
lea r9, [rsp + 0x50]
xor r8d, r8d
cmp edx, esi
jae 0x14000e5ba
mov al, byte [r9]
inc r8d
mov ecx, edx
inc r9
inc edx
mov byte [rcx + r12], al
cmp r8d, 0x14
jb 0x14000e59f
inc ebx
add edi, 0x14
mov r15d, 0xa8
lea eax, [rbx - 1]
cmp eax, r13d
jb 0x14000e4c1
lea r11, [rsp + 0x340]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x14000e818
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov eax, dword [r8 + 0xa0]
mov rdi, r9
mov ebp, edx
mov rsi, r8
mov r15, rcx
cmp eax, 0xffffffff
je 0x14000e989
cmp eax, 0x40
jbe 0x14000e8a2
lea rcx, [r8 + 0x40]
lea rdx, [r11 - 0x38]
call fcn.140006d50
mov ecx, dword [rsp + 0x20]
call fcn.14001c504
mov ecx, dword [rsp + 0x24]
mov dword [rsi], eax
call fcn.14001c504
mov ecx, dword [rsp + 0x28]
mov dword [rsi + 4], eax
call fcn.14001c504
mov ecx, dword [rsp + 0x2c]
mov dword [rsi + 8], eax
call fcn.14001c504
mov ecx, dword [rsp + 0x30]
mov dword [rsi + 0xc], eax
call fcn.14001c504
mov dword [rsi + 0x10], eax
mov dword [rsi + 0xa0], 0x14
mov r14, qword [rsp + 0x80]
test rdi, rdi
je 0x14000e8e9
cmp byte [r14], 0
je 0x14000e8e9
movups xmm0, xmmword [rdi]
lea rbx, [rsi + 0x40]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbx + 0x10], xmm1
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [rbx + 0x20], xmm0
movups xmm1, xmmword [rdi + 0x30]
movups xmmword [rbx + 0x30], xmm1
movups xmm0, xmmword [rdi + 0x40]
movups xmmword [rbx + 0x40], xmm0
movups xmm1, xmmword [rdi + 0x50]
movups xmmword [rbx + 0x50], xmm1
jmp 0x14000e945
mov ecx, dword [rsi + 0xa0]
mov r8d, 0x40
sub r8d, ecx
xor edx, edx
add rcx, rsi
call fcn.140016530
mov rax, rsi
mov ecx, 4
movdqa xmm1, xmmword [str.6666666666666666jjjjjjjjjjjjjjjj_]
movdqu xmm0, xmmword [rax]
pxor xmm1, xmm0
movdqu xmmword [rax], xmm1
lea rax, [rax + 0x10]
sub rcx, 1
jne 0x14000e90a
lea rbx, [rsi + 0x40]
mov rcx, rbx
call fcn.140006e64
mov r8d, 0x40
mov rdx, rsi
mov rcx, rbx
call fcn.140006e8c
test rdi, rdi
je 0x14000e982
cmp byte [r14], 0
jne 0x14000e982
movups xmm0, xmmword [rbx]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rdi + 0x10], xmm1
movups xmm0, xmmword [rbx + 0x20]
movups xmmword [rdi + 0x20], xmm0
movups xmm1, xmmword [rbx + 0x30]
movups xmmword [rdi + 0x30], xmm1
movups xmm0, xmmword [rbx + 0x40]
movups xmmword [rdi + 0x40], xmm0
movups xmm1, xmmword [rbx + 0x50]
movups xmmword [rdi + 0x50], xmm1
mov byte [r14], 1
or dword [rsi + 0xa0], 0xffffffff
test ebp, ebp
je 0x14000e99c
mov r8, rbp
lea rcx, [rsi + 0x40]
mov rdx, r15
call fcn.140006e8c
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x14000e9b8
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
cmp dword [r8 + 0xa0], 0xffffffff
mov rdi, r9
mov rsi, r8
mov r15d, edx
mov r12, rcx
je 0x14000e9fe
and qword [rax - 0x58], 0
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call fcn.14000e818
lea rbx, [rsi + 0x40]
mov rcx, rbx
lea rdx, [rbp - 0x18]
call fcn.140006d50
mov ecx, dword [rbp - 0x18]
call fcn.14001c504
mov ecx, dword [rbp - 0x14]
mov dword [rbp - 0x30], eax
call fcn.14001c504
mov ecx, dword [rbp - 0x10]
mov dword [rbp - 0x2c], eax
call fcn.14001c504
mov ecx, dword [rbp - 0xc]
mov dword [rbp - 0x28], eax
call fcn.14001c504
mov ecx, dword [rbp - 8]
mov dword [rbp - 0x24], eax
call fcn.14001c504
mov r14, qword [rbp + 0x40]
mov dword [rbp - 0x20], eax
test rdi, rdi
je 0x14000ea84
cmp byte [r14], 0
je 0x14000ea84
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbx + 0x10], xmm1
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [rbx + 0x20], xmm0
movups xmm1, xmmword [rdi + 0x30]
movups xmmword [rbx + 0x30], xmm1
movups xmm0, xmmword [rdi + 0x40]
movups xmmword [rbx + 0x40], xmm0
movups xmm1, xmmword [rdi + 0x50]
movups xmmword [rbx + 0x50], xmm1
jmp 0x14000eabf
mov rax, rsi
mov ecx, 4
movdqu xmm0, xmmword [rax]
pxor xmm0, xmmword [0x14002a400]
movdqu xmmword [rax], xmm0
lea rax, [rax + 0x10]
sub rcx, 1
jne 0x14000ea8c
mov rcx, rbx
call fcn.140006e64
mov r8d, 0x40
mov rdx, rsi
mov rcx, rbx
call fcn.140006e8c
test rdi, rdi
je 0x14000eafc
cmp byte [r14], 0
jne 0x14000eafc
movups xmm0, xmmword [rbx]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rdi + 0x10], xmm1
movups xmm0, xmmword [rbx + 0x20]
movups xmmword [rdi + 0x20], xmm0
movups xmm1, xmmword [rbx + 0x30]
movups xmmword [rdi + 0x30], xmm1
movups xmm0, xmmword [rbx + 0x40]
movups xmmword [rdi + 0x40], xmm0
movups xmm1, xmmword [rbx + 0x50]
movups xmmword [rdi + 0x50], xmm1
mov byte [r14], 1
mov r8d, 0x14
lea rdx, [rbp - 0x30]
mov rcx, rbx
call fcn.140006e8c
lea rdx, [rbp - 0x18]
mov rcx, rbx
call fcn.140006d50
mov ecx, dword [rbp - 0x18]
call fcn.14001c504
mov ecx, dword [rbp - 0x14]
mov dword [rbp - 0x30], eax
call fcn.14001c504
mov ecx, dword [rbp - 0x10]
mov dword [rbp - 0x2c], eax
call fcn.14001c504
mov ecx, dword [rbp - 0xc]
mov dword [rbp - 0x28], eax
call fcn.14001c504
mov ecx, dword [rbp - 8]
mov dword [rbp - 0x24], eax
call fcn.14001c504
mov dword [rbp - 0x20], eax
test r15d, r15d
je 0x14000eb65
mov r8, r15
lea rdx, [rbp - 0x30]
mov rcx, r12
call fcn.140017040
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14000f444
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
call qword [rax + 0x90]
mov ebx, eax
test eax, eax
js 0x14000f4e3
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14000f4da
mov rax, qword [rcx]
lea r8, [rsp + 0x58]
lea rdx, [0x14002b870]
call qword [rax]
mov ebx, eax
test eax, eax
js 0x14000f4ca
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov ebx, eax
test eax, eax
js 0x14000f4bf
mov rcx, qword [rsp + 0x58]
mov rdx, rsi
mov rax, qword [rcx]
call qword [rax + 0x28]
mov ebx, eax
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x68]
test ebx, ebx
js 0x14000f4e3
test rcx, rcx
jne 0x14000f554
cmp qword [rdi + 0x10], 0
je 0x14000f554
cmp qword [rdi + 0x40], 0
jne 0x14000f554
mov rdx, qword [rdi + 0x38]
test rdx, rdx
je 0x14000f554
mov rcx, rdi
call fcn.14000fc28
mov rsi, rax
test rax, rax
je 0x14000f554
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.14001955c
mov rsi, qword [rsp + 0x60]
not ebx
shr ebx, 0x1f
mov al, bl
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x140010630
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x28
mov rax, rdx
mov rdx, rcx
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
setne al
add rsp, 0x28
ret
Function at 0x140010690
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x20
mov rdx, rcx
lea r8, [0x14002a950]
mov rcx, qword [0x1400541c8]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x1400106be
xor eax, eax
jmp 0x1400107f5
mov rcx, qword [0x1400541c8]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test eax, eax
je 0x1400106b7
mov rcx, qword [0x1400541c8]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400106b7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x1400106b7
and qword [rsp + 0x58], 0
mov edx, edi
mov ecx, 2
mov esi, edi
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
je 0x1400107f0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x1400107e7
mov r8d, esi
mov rdx, rbx
mov rcx, rax
call fcn.140017040
and qword [rsp + 0x48], 0
lea r8, [rsp + 0x48]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x1400107de
mov rsi, qword [rsp + 0x48]
lea ecx, [rax + 0x18]
call sub.gdiplus.dll_GdipAlloc
mov rbx, rax
test rax, rax
je 0x140010799
and qword [rsp + 0x50], 0
lea rax, [0x14002a920]
lea rdx, [rsp + 0x50]
mov qword [rbx], rax
mov rcx, rsi
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov dword [rbx + 0x10], eax
mov rax, qword [rsp + 0x50]
mov qword [rbx + 8], rax
jmp 0x14001079b
xor ebx, ebx
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 0x10]
test rbx, rbx
je 0x1400107de
mov eax, dword [rbx + 0x10]
and dword [rbx + 0x10], 0
test eax, eax
jne 0x1400107d1
mov rcx, qword [rbx + 8]
lea rdx, [rsp + 0x58]
mov r8d, 0xffffff
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
test eax, eax
je 0x1400107d1
mov dword [rbx + 0x10], eax
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rax, qword [rsp + 0x58]
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret

Function at 0x140010c04
Capabilities:
Set current directory

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
setne al
add rsp, 0x28
ret

Function at 0x140010d1c
Capabilities:
Delete file

Disassembly:
push rbx
mov eax, 0x1070
call fcn.140015800
sub rsp, rax
xor ebx, ebx
cmp word [0x1400551e2], bx
je 0x140010dc4
lea rcx, [0x1400551e2]
call fcn.140003db8
mov rdx, qword [str.RarSFX]
lea r8d, [rbx + 6]
mov rcx, rax
call fcn.140008b0c
test eax, eax
jne 0x140010dc4
lea rcx, [0x1400541e0]
call fcn.140010c04
mov r8d, 0x800
lea rdx, [0x1400551e2]
lea rcx, [rsp + 0x60]
call fcn.1400074ac
lea rcx, [rsp + 0x60]
call fcn.140019540
xor edx, edx
lea r8d, [rbx + 0x38]
lea rcx, [rsp + 0x20]
mov word [rsp + rax*2 + 0x62], bx
call fcn.140016530
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 0x140010e2c
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x170
xor ebp, ebp
mov rdi, r8
cmp qword [0x1400386b0], rbp
mov rbx, rdx
mov rsi, rcx
jne 0x140010e94
lea r9d, [rbp + 0x64]
mov ecx, 0x400
lea r8, [rax - 0xd8]
lea edx, [rbp + 0xf]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
movzx eax, word [rsp + 0xa0]
mov word [0x14006ad18], ax
lea rax, [0x14006ad18]
mov qword [0x1400386b0], rax
mov word [0x14006ad1a], bp
mov r8d, 0x32
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140007314
lea r9, [0x140038698]
mov dword [rsp + 0x28], edi
lea r8, [rsp + 0x30]
mov word [rbx], bp
xor edx, edx
mov qword [rsp + 0x20], rbx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetNumberFormatW]
lea r11, [rsp + 0x170]
mov word [rbx + rdi*2 - 2], bp
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x14001116c
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.140015800
sub rsp, rax
xor esi, esi
mov rdi, rdx
cmp byte [0x1400561e8], sil
mov rbx, rcx
je 0x140011253
mov r8d, 0x800
lea rdx, [rbp + 0xf40]
call fcn.140012a4c
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 0x140011253
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 0x140011248
mov edx, dword [rbp + 0x1f70]
mov ecx, 0x7ff
shr edx, 1
mov r8, rdi
cmp edx, ecx
mov eax, edx
mov dword [rbp + 0x1f70], edx
lea rdx, [rsp + 0x40]
cmovb ecx, eax
mov word [rsp + rcx*2 + 0x40], si
mov rcx, rbx
call fcn.1400074ac
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 0x140011340
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
mov eax, 0x2020
call fcn.140015800
sub rsp, rax
xor r14d, r14d
mov rsi, r8
mov rbx, rcx
test r9, r9
je 0x140011373
mov byte [r9], r14b
mov rcx, qword [rsp + 0x2050]
test rcx, rcx
je 0x140011383
mov byte [rcx], r14b
test rbx, rbx
je 0x140011438
movzx eax, word [rbx]
test ax, ax
je 0x140011438
movsxd rbp, dword [rsp + 0x2058]
mov rdi, r14
mov r8d, r14d
add rbx, 2
cmp ax, 0x3d
jne 0x1400113c8
test rsi, rsi
je 0x1400113d4
test rdi, rdi
jne 0x1400113d4
test r9, r9
je 0x1400113c3
mov byte [r9], 1
mov rdi, rdx
jmp 0x1400113e3
cmp ax, 0xd
je 0x1400113f5
cmp ax, 0xa
je 0x1400113f9
mov word [rdx], ax
add rdx, 2
lea eax, [rbp - 2]
cmp r8d, eax
jge 0x1400113f0
movzx eax, word [rbx]
inc r8d
test ax, ax
jne 0x1400113a6
jmp 0x1400113f9
mov byte [rcx], 1
jmp 0x1400113f9
add rbx, 2
mov word [rdx], r14w
test rsi, rsi
je 0x140011433
mov word [rsi], r14w
test rdi, rdi
je 0x140011433
mov r8d, 0x1000
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov r8, rbp
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1400074ac
mov word [rdi], r14w
mov rax, rbx
jmp 0x14001143a
xor eax, eax
lea r11, [rsp + 0x2020]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret

Function at 0x140011458
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 bl, bl
je 0x1400114bd
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]
call qword [rax + 0x28]
jmp 0x1400114c0
mov word [rdi], cx
mov al, bl
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140013f94
Capabilities:
Hide graphical window

Disassembly:
push rbx
sub rsp, 0x20
and dword [0x1400541c0], 0
mov edx, 1
mov rbx, rcx
mov byte [0x1400541b0], 1
mov byte [0x1400541b1], 1
call qword [sym.imp.USER32.dll_ShowWindow]
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 2]
call fcn.1400011d0
cmp qword [0x140054188], 0
jne 0x140013fdf
cmp byte [0x1400541b6], 0
je 0x140013fe8
cmp dword [0x1400541a4], 0
jne 0x140013ffd
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 0x1400140a8
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x1050
call fcn.140015800
sub rsp, rax
xor edi, edi
mov rbx, rcx
cmp byte [0x1400561e8], dil
je 0x14001417a
cmp word [0x1400561ea], di
je 0x14001417a
mov r8d, 0x800
lea rdx, [rsp + 0x50]
lea rcx, [0x1400561ea]
call fcn.140012a4c
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 0x14001417a
mov rcx, rbx
call fcn.140019540
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 0x14001418c
Capabilities:
Set environment variable

Disassembly:
push rbx
mov eax, 0x2020
call fcn.140015800
sub rsp, rax
mov rbx, rcx
mov rdx, rcx
lea rcx, str.sfxcmd
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov r8d, 0x1000
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140007178
mov rbx, rax
test rax, rax
je 0x1400141ee
movzx ecx, word [rax]
jmp 0x1400141d5
add rbx, 2
movzx ecx, word [rbx]
call fcn.1400072b0
test al, al
jne 0x1400141ce
mov rdx, rbx
lea rcx, str.sfxpar
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
add rsp, 0x2020
pop rbx
ret
Function at 0x14001db88
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x14001d95c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001d95c
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001d95c
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001d95c
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001d95c
cmp dword [rcx + 0x84], 0xe
jbe 0x14001d95c
cmp dword [rcx + 0xf8], esi
je 0x14001d95c
mov ecx, r14d
call fcn.14001daa4
mov ecx, 2
call fcn.1400211e0
nop
cmp byte [0x14006cfc0], 0
jne 0x14001da26
mov r15d, 1
mov eax, r15d
xchg dword [0x14006cfb0], eax
test ebx, ebx
jne 0x14001d9cf
mov rdi, qword [0x140038748]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x14006cfb8]
cmp rcx, rax
je 0x14001d9c6
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.1400194e4]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x14006d0f8]
jmp 0x14001d9db
cmp ebx, r15d
jne 0x14001d9e1
lea rcx, [0x14006d110]
call fcn.14001e518
nop
test ebx, ebx
jne 0x14001d9f8
lea rdx, [0x140029530]
lea rcx, [0x140029510]
call fcn.14001e8d0
lea rdx, [0x140029540]
lea rcx, [0x140029538]
call fcn.14001e8d0
movzx eax, byte [0x14006cfc0]
test esi, esi
cmove eax, r15d
mov byte [0x14006cfc0], al
jmp 0x14001da26
mov ecx, 2
call fcn.140021234
test esi, esi
jne 0x14001da3d
mov ecx, r14d
call fcn.14001da58
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x14001d8ec