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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov rax, qword [0x14004de28]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rbx, rcx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x29], xmm0
xor edi, edi
mov qword [rbp - 0x19], rdi
mov edx, 0x104
lea rcx, [rbp - 0x29]
call fcn.1400013c4
nop
mov rdx, qword [rbp - 0x21]
mov rcx, qword [rbp - 0x29]
sub rdx, rcx
sar rdx, 1
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov esi, 0x1000
test eax, eax
jne 0x14000dc75
mov ebx, edi
jmp 0x14000ddd5
mov qword [rbp - 0x11], rdi
movdqa xmm0, xmmword [0x14003b930]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], di
mov qword [rbp + 0x2f], rdi
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x3f], xmm0
mov rcx, rbx
call fcn.14002ae3c
mov r8, rax
mov rdx, rbx
lea rcx, [rbp + 0x2f]
call fcn.1400012bc
nop
mov rbx, qword [rbp - 0x29]
mov qword [rbp + 0xf], rdi
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x1f], xmm0
mov rcx, rbx
call fcn.14002ae3c
mov r8, rax
mov rdx, rbx
lea rcx, [rbp + 0xf]
call fcn.1400012bc
nop
lea r8, [rbp - 0x11]
lea rdx, [rbp + 0x2f]
lea rcx, [rbp + 0xf]
call fcn.1400088f8
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x14000dd24
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, rsi
jb 0x14000dd1f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000de3b
call fcn.140025a4c
movdqa xmm0, xmmword [0x14003b930]
movdqu xmmword [rbp + 0x1f], xmm0
mov word [rbp + 0xf], di
mov rdx, qword [rbp + 0x47]
cmp rdx, 8
jb 0x14000dd71
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, rsi
jb 0x14000dd6c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000de41
call fcn.140025a4c
lea rcx, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rcx, qword [rbp - 0x11]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x14000ddc4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, rsi
jb 0x14000ddbf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000de47
call fcn.140025a4c
movdqa xmm0, xmmword [0x14003b930]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], di
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x14000de0d
mov rdx, qword [rbp - 0x19]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, rsi
jb 0x14000de08
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000de35
call fcn.140025a4c
mov rax, rbx
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140025b60
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.14002adc4
nop
call fcn.14002adc4
nop
call fcn.14002adc4
nop
call fcn.14002adc4
int3
Function at 0x140015048
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [0x1400680a8], 0
je 0x140015063
or eax, 0xffffffff
jmp 0x14001516b
mov rax, qword [0x140057f58]
test rax, rax
jg 0x140015083
dec rax
mov qword [0x140057f58], rax
and qword [0x140067fb8], 0
jmp 0x14001505b
mov rbx, qword [0x140067fb8]
test rbx, rbx
jg 0x1400150d7
mov rcx, qword [0x140067fa8]
mov ebx, 0x2000
mov edx, ebx
call fcn.1400152e8
movsxd rcx, eax
mov qword [0x140067fb8], rcx
test eax, eax
je 0x140015079
cmp rcx, 0xffffffffffffffff
je 0x14001510d
mov rax, qword [0x140067fa8]
add qword [0x140067ff8], rbx
mov qword [0x140067fb0], rax
call fcn.140014964
mov rbx, qword [0x140067fb8]
mov rax, qword [0x140057f90]
test byte [rax + 0x90], 1
je 0x140015150
cmp byte [0x1400681ec], 0
je 0x140015125
test rbx, rbx
je 0x140015150
mov rdx, qword [0x140067fb0]
lea rcx, [0x1400681f8]
mov r8, rbx
call fcn.140018c9c
jmp 0x140015149
lea rdx, [0x140068780]
lea rcx, [0x140068cf0]
call fcn.140003df0
jmp 0x140015079
mov rdi, qword [0x140067fb0]
test rbx, rbx
je 0x140015150
call fcn.1400189f0
xor byte [rdi], al
movzx ecx, byte [rdi]
call fcn.140018b64
inc rdi
sub rbx, 1
jne 0x140015131
mov rbx, qword [0x140067fb8]
mov rax, qword [0x140067fb0]
dec rbx
mov qword [0x140067fb8], rbx
movzx eax, byte [rax]
inc qword [0x140067fb0]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140018a5c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14004de28]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, rcx
mov dil, r8b
mov rcx, rdx
call fcn.140018a10
mov r8d, 0xc
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.140026d40
xor ebx, ebx
mov ecx, dword [0x140068130]
and ecx, 0xfffd
or ecx, 2
mov eax, ecx
xor eax, 1
imul eax, ecx
shr eax, 8
xor byte [rsp + rbx + 0x20], al
movzx ecx, byte [rsp + rbx + 0x20]
call fcn.140018b64
inc rbx
cmp rbx, 0xc
jl 0x140018a98
mov rax, qword [0x140057f90]
movzx ecx, byte [0x140068027]
test byte [rax + 0x90], 2
movzx eax, byte [0x14006801f]
cmovne ecx, eax
movzx eax, byte [rsp + 0x2b]
cmp eax, ecx
je 0x140018af6
or eax, 0xffffffff
jmp 0x140018b4b
test dil, dil
je 0x140018b49
mov rbx, qword [0x140067fb8]
mov rax, qword [0x140057f58]
mov rdi, qword [0x140067fb0]
movsxd rcx, ebx
cmp rcx, rax
cmovg ebx, eax
test ebx, ebx
je 0x140018b49
mov ecx, dword [0x140068130]
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.140018b64
inc rdi
sub ebx, 1
jne 0x140018b1d
xor eax, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140025b60
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140018b64
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov r8, qword [0x140068128]
mov eax, ecx
mov r9d, ecx
mov rdx, r8
mov rcx, qword [0x140068130]
xor rdx, rax
movzx eax, dl
lea rdx, [0x140057b30]
shr r8d, 8
xor r8d, dword [rdx + rax*4]
movzx eax, r8b
add eax, dword [0x14006812c]
imul eax, eax, 0x8088405
mov dword [0x140068128], r8d
inc eax
mov dword [0x14006812c], eax
shr rax, 0x18
xor rax, rcx
shr ecx, 8
movzx eax, al
xor ecx, dword [rdx + rax*4]
mov eax, r9d
mov dword [0x140068130], ecx
ret

Function at 0x140018e34
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x14004de28]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r14, qword [rsp + 0xa0]
mov r12, rdx
lea rdx, [rsp + 0x20]
mov rsi, r9
mov r15, r8
mov rbx, rcx
call fcn.140019334
xor edi, edi
test rsi, rsi
je 0x140018eac
cmp byte [r14], dil
je 0x140018eac
movups xmm0, xmmword [rsi]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rbx + 0x10], xmm1
movups xmm0, xmmword [rsi + 0x20]
movups xmmword [rbx + 0x20], xmm0
movups xmm1, xmmword [rsi + 0x30]
movups xmmword [rbx + 0x30], xmm1
movups xmm0, xmmword [rsi + 0x40]
movups xmmword [rbx + 0x40], xmm0
movups xmm1, xmmword [rsi + 0x50]
movups xmmword [rbx + 0x50], xmm1
jmp 0x140018ee0
lea rax, [rbx + 0x60]
mov ecx, 0x40
xor byte [rax], 0x6a
inc rax
sub rcx, 1
jne 0x140018eb5
mov rcx, rbx
call fcn.14000c820
mov r8d, 0x40
lea rdx, [rbx + 0x60]
mov rcx, rbx
call fcn.14000c848
test rsi, rsi
je 0x140018f17
cmp byte [r14], dil
jne 0x140018f17
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsi + 0x10], xmm1
movups xmm0, xmmword [rbx + 0x20]
movups xmmword [rsi + 0x20], xmm0
movups xmm1, xmmword [rbx + 0x30]
movups xmmword [rsi + 0x30], xmm1
movups xmm0, xmmword [rbx + 0x40]
movups xmmword [rsi + 0x40], xmm0
movups xmm1, xmmword [rbx + 0x50]
movups xmmword [rsi + 0x50], xmm1
mov byte [r14], 1
mov r8d, 0x14
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14000c848
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140019334
test r15, r15
je 0x140018f50
mov rcx, rdi
mov al, byte [rsp + rcx + 0x20]
inc edi
mov byte [rcx + r12], al
mov ecx, edi
cmp rcx, r15
jb 0x140018f3f
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140025b60
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140018f6c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
lea rbp, [rcx + 0x60]
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
cmp r8, 0x40
jbe 0x140018fb8
call fcn.14000c820
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call fcn.14000c848
mov rdx, rbp
mov rcx, rbx
call fcn.140019334
mov edi, 0x14
jmp 0x140018fc0
mov rcx, rbp
call fcn.140026d40
xor eax, eax
mov qword [rbx + 0xa0], rdi
lea edx, [rax + 0x36]
test rdi, rdi
je 0x140018fe7
mov ecx, eax
xor byte [rcx + rbx + 0x60], dl
inc eax
mov rdi, qword [rbx + 0xa0]
mov ecx, eax
cmp rcx, rdi
jb 0x140018fd3
mov r8d, 0x40
lea rcx, [rbx + 0x60]
sub r8, rdi
add rcx, rdi
call fcn.1400273f0
mov rcx, rbx
call fcn.14000c820
mov r8d, 0x40
mov rdx, rbp
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.14000c848
Function at 0x140019ce0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x14004de28]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov rax, qword [rcx]
xor r8d, r8d
xor edx, edx
mov rbx, rcx
mov rax, qword [rax + 0x20]
call qword [0x14003b4b0]
mov rax, qword [rbx]
lea rdx, [rsp + 0x20]
mov r8d, 0x40
mov rcx, rbx
mov rax, qword [rax + 0x18]
call qword [0x14003b4b0]
cmp eax, 0x40
jne 0x140019dd6
cmp byte [rsp + 0x20], 0x4d
jne 0x140019dd6
cmp byte [rsp + 0x21], 0x5a
jne 0x140019dd6
mov rax, qword [rbx]
xor r8d, r8d
mov edx, dword [rsp + 0x5c]
mov rcx, rbx
mov rax, qword [rax + 0x20]
call qword [0x14003b4b0]
mov rax, qword [rbx]
lea rdx, [rsp + 0x20]
mov r8d, 0x108
mov rcx, rbx
mov rax, qword [rax + 0x18]
call qword [0x14003b4b0]
cmp eax, 0x108
jne 0x140019dd6
cmp byte [rsp + 0x20], 0x50
jne 0x140019dd6
cmp byte [rsp + 0x21], 0x45
jne 0x140019dd6
cmp byte [rsp + 0x22], 0
jne 0x140019dd6
cmp byte [rsp + 0x23], 0
jne 0x140019dd6
cmp byte [rsp + 0x38], 0xb
jne 0x140019dd6
cmp byte [rsp + 0x39], 1
jne 0x140019dbd
cmp dword [rbp - 0x6c], 4
jbe 0x140019dbd
mov eax, dword [rbp - 0x48]
jmp 0x140019dd8
cmp byte [rsp + 0x38], 0xb
jne 0x140019dd6
cmp byte [rsp + 0x39], 2
jne 0x140019dd6
cmp dword [rbp - 0x5c], 4
jbe 0x140019dd6
mov eax, dword [rbp - 0x38]
jmp 0x140019dd8
xor eax, eax
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.140025b60
mov rbx, qword [rsp + 0x158]
add rsp, 0x140
pop rbp
ret
Function at 0x14001a8d4
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x14004de28]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rsi, r8
mov r8, rdx
mov rdi, rcx
and qword [rbp - 0x38], 0
and qword [rbp - 0x40], 0
mov rax, qword [rdx]
lea rdx, [rbp - 0x38]
mov rcx, r8
mov rax, qword [rax + 0x90]
call qword [0x14003b4b0]
mov ebx, eax
test eax, eax
js 0x14001a999
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x14001a9a6
mov rax, qword [rcx]
lea r8, [rbp - 0x40]
lea rdx, [0x14003d9b0]
mov rax, qword [rax]
call qword [0x14003b4b0]
mov ebx, eax
test eax, eax
js 0x14001a988
mov rcx, qword [rbp - 0x40]
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
call qword [0x14003b4b0]
mov ebx, eax
test eax, eax
js 0x14001a977
mov rcx, qword [rbp - 0x40]
mov rax, qword [rcx]
mov rdx, rsi
mov rax, qword [rax + 0x28]
call qword [0x14003b4b0]
mov ebx, eax
mov rcx, qword [rbp - 0x40]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x14003b4b0]
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x14003b4b0]
test ebx, ebx
js 0x14001a9a6
mov rcx, qword [rbp - 0x38]
test rcx, rcx
jne 0x14001aa16
cmp qword [rdi + 0x10], 0
je 0x14001aa16
cmp qword [rdi + 0x48], 0
jne 0x14001aa16
mov r8, qword [rdi + 0x40]
test r8, r8
je 0x14001aa16
lea rdx, [rbp - 0x30]
mov rcx, rdi
call fcn.14001b460
nop
mov dword [rsp + 0x30], 0x204
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov edx, 5
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.USER32.dll_ShowWindow]
lea rdx, [rbp - 0x30]
mov rcx, qword [rdi + 0x10]
call fcn.140002120
nop
lea rcx, [rbp - 0x30]
call fcn.140001b70
shr ebx, 0x1f
xor bl, 1
mov al, bl
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140025b60
mov rbx, qword [rsp + 0xb8]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001c190
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x20
mov rdx, rcx
lea r8, [0x14003ca78]
mov rcx, qword [0x140068550]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
je 0x14001c30e
mov rcx, qword [0x140068550]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test eax, eax
je 0x14001c30e
mov rcx, qword [0x140068550]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14001c30e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x14001c30e
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 0x14001c307
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x14001c2fe
mov r8d, esi
mov rdx, rbx
mov rcx, rax
call fcn.140026d40
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 0x14001c2f5
mov rsi, qword [rsp + 0x48]
lea ecx, [rax + 0x18]
call sub.gdiplus.dll_GdipAlloc
mov rbx, rax
test rax, rax
je 0x14001c2a2
and qword [rsp + 0x50], 0
lea rax, [0x14003ca48]
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 0x14001c2a4
xor ebx, ebx
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x14003b4b0]
test rbx, rbx
je 0x14001c2f5
mov eax, dword [rbx + 0x10]
and dword [rbx + 0x10], 0
test eax, eax
jne 0x14001c2e1
mov rcx, qword [rbx + 8]
lea rdx, [rsp + 0x58]
mov r8d, 0xffffff
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
test eax, eax
je 0x14001c2e1
mov dword [rbx + 0x10], eax
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
mov rax, qword [rax]
call qword [0x14003b4b0]
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]
jmp 0x14001c310
xor eax, eax
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret
Function at 0x14001d838
Capabilities:
Create directory

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x28]
sub rsp, 0x120
mov rax, qword [0x14004de28]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x40]
mov edx, 0x20008
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14001d9ce
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x30]
and dword [rsp + 0x30], 0
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea r14d, [r9 + 1]
mov edx, r14d
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x14001d8bf
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14001d9ce
mov ecx, dword [rsp + 0x30]
call fcn.14002d554
mov r9d, dword [rsp + 0x30]
mov rdi, rax
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x30]
mov r8, rdi
mov qword [rsp + 0x20], rax
mov edx, r14d
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x14001d8fc
mov rcx, rdi
call fcn.14002d54c
jmp 0x14001d9ce
mov r8, qword [rdi]
lea rdx, [rbp - 0x40]
mov ecx, 0x44
call qword [sym.imp.ADVAPI32.dll_CopySid]
mov rcx, rdi
call fcn.14002d54c
and qword [rbp - 0x80], 0
lea rax, [rbp - 0x40]
and dword [rsp + 0x7c], 0
lea r9, [rsp + 0x38]
and qword [rsp + 0x38], 0
lea rdx, [rsp + 0x60]
xorps xmm0, xmm0
mov qword [rbp - 0x78], rax
xor r8d, r8d
mov dword [rsp + 0x60], 0x11060000
mov ecx, r14d
mov dword [rsp + 0x64], r14d
movdqu xmmword [rsp + 0x6c], xmm0
mov dword [rsp + 0x68], 3
call qword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
test eax, eax
jne 0x14001d9ce
mov edx, r14d
lea rcx, [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x14001d9be
mov r8, qword [rsp + 0x38]
lea rcx, [rbp - 0x70]
xor r9d, r9d
mov edx, r14d
call qword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x14001d9be
and dword [rsp + 0x58], 0
lea rax, [rbp - 0x70]
cmp qword [rbx + 0x18], 8
mov dword [rsp + 0x48], 0x18
mov qword [rsp + 0x50], rax
jb 0x14001d9b0
mov rbx, qword [rbx]
lea rdx, [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14001d9ce
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140025b60
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14001d9f4
Capabilities:
Delete file

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 rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov rax, qword [0x14004de28]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor r14d, r14d
mov ebx, r14d
mov dword [rbp - 0x19], ebx
lea rsi, [0x140068438]
cmp qword [0x140068448], r14
je 0x14001daad
mov rbx, qword [str.RarSFX]
mov qword [rbp - 0x11], r14
xorps xmm0, xmm0
movdqu xmmword [rbp - 1], xmm0
mov rcx, rbx
call fcn.14002ae3c
mov r8, rax
mov rdx, rbx
lea rcx, [rbp - 0x11]
call fcn.1400012bc
nop
mov dword [rbp - 0x19], 1
mov rdx, rsi
lea rcx, [rbp + 0xf]
call fcn.140008b28
nop
lea ebx, [r14 + 3]
mov dword [rbp - 0x19], ebx
lea rdx, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rdx, qword [rbp - 0x11]
cmp qword [rax + 0x18], 8
jb 0x14001da98
mov rax, qword [rax]
mov r8d, 6
mov rcx, rax
call fcn.1400109f0
test eax, eax
mov dil, 1
je 0x14001dab0
mov dil, r14b
test bl, 2
je 0x14001dac2
and ebx, 0xfffffffd
lea rcx, [rbp + 0xf]
call fcn.140001b70
nop
test bl, 1
je 0x14001db07
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x14001db07
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001db02
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001dc32
call fcn.140025a4c
test dil, dil
je 0x14001dc03
lea rcx, [0x140068410]
call fcn.140008cf8
mov qword [rbp - 0x11], r14
mov qword [rbp - 1], r14
mov qword [rbp + 7], r14
cmp qword [0x140068450], 8
cmovae rsi, qword [0x140068438]
mov r8, qword [0x140068448]
mov rdx, rsi
lea rcx, [rbp - 0x11]
call fcn.140002314
nop
mov rcx, qword [rbp - 1]
cmp rcx, qword [rbp + 7]
jae 0x14001db72
lea rax, [rcx + 1]
mov qword [rbp - 1], rax
lea rax, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rax, qword [rbp - 0x11]
mov dword [rax + rcx*2], r14d
jmp 0x14001db85
xor r9d, r9d
mov r8b, r14b
lea edx, [r9 + 1]
lea rcx, [rbp - 0x11]
call fcn.140001734
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 rax, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rax, qword [rbp - 0x11]
mov qword [rbp + 0x1f], rax
lea rcx, [rbp + 0xf]
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
nop
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x14001dc03
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001dbfe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001dc2c
call fcn.140025a4c
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140025b60
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.14002adc4
int3
call fcn.14002adc4
int3
Function at 0x14001dd74
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x180
mov rax, qword [0x14004de28]
xor rax, rsp
mov qword [rsp + 0x170], rax
xor ebp, ebp
mov rdi, r8
cmp qword [0x14004dd78], rbp
mov rbx, rdx
mov rsi, rcx
jne 0x14001dde7
lea r9d, [rbp + 0x64]
mov ecx, 0x400
lea r8, [rsp + 0xa0]
lea edx, [rbp + 0xf]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
movzx eax, word [rsp + 0xa0]
mov word [0x140068518], ax
lea rax, [0x140068518]
mov qword [0x14004dd78], rax
mov word [0x14006851a], bp
mov r8d, 0x32
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14000d62c
lea r9, [0x14004dd60]
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]
mov word [rbx + rdi*2 - 2], bp
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140025b60
mov rbx, qword [rsp + 0x1b8]
add rsp, 0x180
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001e2b4
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov r14, r9
mov rbx, r8
xor r15d, r15d
mov sil, r15b
cmp qword [rdx + 0x18], 8
jb 0x14001e2e5
mov rdx, qword [rdx]
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rdi, qword [rbp + 0x40]
test eax, eax
jne 0x14001e444
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14001e316
mov rdx, qword [rbx]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001e435
mov eax, dword [rbp - 0x30]
shr rax, 1
mov rcx, qword [rdi + 0x10]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], r15
cmp rcx, rax
cmovbe rcx, rax
inc rcx
mov edx, 0x10000
cmp rcx, rdx
cmovb rdx, rcx
lea rcx, [rbp - 0x18]
call fcn.1400013c4
nop
mov rax, qword [rbp - 0x10]
mov rcx, qword [rbp - 0x18]
sub rax, rcx
sar rax, 1
add eax, eax
mov dword [rbp - 0x2c], eax
cmp qword [rbx + 0x18], 8
jb 0x14001e38f
mov rbx, qword [rbx]
lea rax, [rbp - 0x2c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x28]
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001e3f9
mov word [rbp + 0x28], r15w
mov rdx, qword [rbp - 0x10]
cmp rdx, qword [rbp - 8]
je 0x14001e3cf
mov word [rdx], r15w
add qword [rbp - 0x10], 2
jmp 0x14001e3dc
lea r8, [rbp + 0x28]
lea rcx, [rbp - 0x18]
call fcn.14001d32c
mov rbx, qword [rbp - 0x18]
mov rcx, rbx
call fcn.14002ae3c
mov r8, rax
mov rdx, rbx
mov rcx, r14
call fcn.140001c80
mov sil, 1
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x14001e435
mov rdx, qword [rbp - 8]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001e430
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e47f
call fcn.140025a4c
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test sil, sil
jne 0x14001e462
cmp r14, rdi
je 0x14001e462
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14001e456
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, r14
call fcn.140001c80
mov al, sil
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.14002adc4
int3