joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d4020
Capabilities:
Clear file content

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r13
sub rsp, 0x20
mov rbp, rdx
xor edi, edi
xor edx, edx
lea r8d, [rdi + 1]
mov esi, ecx
call fcn.004c9930
cmp rax, 0xffffffffffffffff
mov r13, rax
je 0x4d41c4
lea r8d, [rdi + 2]
xor edx, edx
mov ecx, esi
call fcn.004c9930
cmp rax, 0xffffffffffffffff
je 0x4d41c4
mov qword [rsp + 0x40], rbx
mov rbx, rbp
mov qword [rsp + 0x50], r14
sub rbx, rax
test rbx, rbx
jle 0x4d4143
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r14d, 0x1000
lea edx, [rdi + 8]
mov rcx, rax
mov r8, r14
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
mov rbp, rax
jne 0x4d40c9
call fcn.004b2620
mov dword [rax], 0xc
call fcn.004b2620
mov eax, dword [rax]
mov rbx, qword [rsp + 0x40]
mov r14, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r13
pop rdi
pop rsi
ret
mov edx, 0x8000
mov ecx, esi
mov qword [rsp + 0x48], r12
call fcn.004d41e0
mov r12d, eax
nop
mov r8d, ebx
cmp rbx, r14
mov rdx, rbp
cmovge r8d, r14d
mov ecx, esi
call fcn.004c3cd0
cmp eax, 0xffffffff
je 0x4d4105
cdqe
sub rbx, rax
test rbx, rbx
jg 0x4d40e0
jmp 0x4d411e
call fcn.004b2650
cmp dword [rax], 5
jne 0x4d411a
call fcn.004b2620
mov dword [rax], 0xd
or rdi, 0xffffffffffffffff
mov edx, r12d
mov ecx, esi
call fcn.004d41e0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbp
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r12, qword [rsp + 0x48]
jmp 0x4d419c
test rbx, rbx
jns 0x4d41a6
xor r8d, r8d
mov rdx, rbp
mov ecx, esi
call fcn.004c9930
cmp rax, 0xffffffffffffffff
je 0x4d40aa
mov ecx, esi
call fcn.004cdf30
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
neg eax
sbb rdi, rdi
neg rdi
sub rdi, 1
cmp rdi, 0xffffffffffffffff
jne 0x4d41a6
call fcn.004b2620
mov dword [rax], 0xd
call fcn.004b2650
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx], eax
cmp rdi, 0xffffffffffffffff
je 0x4d40aa
xor r8d, r8d
mov rdx, r13
mov ecx, esi
call fcn.004c9930
cmp rax, 0xffffffffffffffff
je 0x4d40aa
xor eax, eax
jmp 0x4d40b1
call fcn.004b2620
mov rbp, qword [rsp + 0x58]
mov eax, dword [rax]
add rsp, 0x20
pop r13
pop rdi
pop rsi
ret
Function at 0x4e0610
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test rdx, rdx
mov r11d, r8d
mov r10, rdx
mov r9d, ecx
jne 0x4e0621
xor eax, eax
ret
cmp r11d, 8
mov qword [rsp + 0x20], rdi
not r9d
lea rdi, [0x004fe490]
jb 0x4e070a
mov qword [rsp + 0x18], rbx
mov rbx, r11
shr rbx, 3
nop
nop
nop
movzx ecx, byte [r10]
add r10, 8
add r11d, 0xfffffff8
xor cl, r9b
shr r9d, 8
movzx eax, cl
movzx ecx, byte [r10 - 7]
mov edx, dword [rdi + rax*4]
xor edx, r9d
xor cl, dl
shr edx, 8
movzx eax, cl
movzx ecx, byte [r10 - 6]
mov r8d, dword [rdi + rax*4]
xor r8d, edx
xor cl, r8b
shr r8d, 8
movzx eax, cl
movzx ecx, byte [r10 - 5]
mov edx, dword [rdi + rax*4]
xor edx, r8d
xor cl, dl
shr edx, 8
movzx eax, cl
movzx ecx, byte [r10 - 4]
mov r8d, dword [rdi + rax*4]
xor r8d, edx
xor cl, r8b
shr r8d, 8
movzx eax, cl
movzx ecx, byte [r10 - 3]
mov edx, dword [rdi + rax*4]
xor edx, r8d
xor cl, dl
shr edx, 8
movzx eax, cl
movzx ecx, byte [r10 - 2]
mov r8d, dword [rdi + rax*4]
xor r8d, edx
xor cl, r8b
shr r8d, 8
movzx eax, cl
movzx ecx, byte [r10 - 1]
mov edx, dword [rdi + rax*4]
xor edx, r8d
xor cl, dl
shr edx, 8
movzx eax, cl
mov r9d, dword [rdi + rax*4]
xor r9d, edx
sub rbx, 1
jne 0x4e0650
mov rbx, qword [rsp + 0x18]
test r11d, r11d
je 0x4e0731
nop
movzx ecx, byte [r10]
mov eax, r9d
add r10, 1
xor cl, r9b
shr eax, 8
movzx edx, cl
mov r9d, dword [rdi + rdx*4]
xor r9d, eax
add r11d, 0xffffffff
jne 0x4e0710
mov rdi, qword [rsp + 0x20]
not r9d
mov eax, r9d
ret
Function at 0x1800018a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r12
sub rsp, 0x20
cmp byte [rcx + 8], 0
mov r12, r9
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x180001a5d
test r9, r9
je 0x180001a5d
movsxd r8, dword [rcx + 0x3d0]
xor edx, edx
mov rax, r9
div r8
test rdx, rdx
jne 0x180001a5d
mov ecx, dword [rsp + 0x60]
mov qword [rsp + 0x40], rbp
xor ebp, ebp
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r15
cmp ecx, 1
jne 0x18000198a
mov r15d, ebp
test rax, rax
je 0x180001a4e
lea r14, [rbx + 0x3f8]
mov rax, r14
cmp byte [rbx + 8], bpl
je 0x180001945
mov edx, ebp
test r8d, r8d
jle 0x180001945
mov r8, rsi
sub r8, r14
nop dword [rax + rax]
movzx ecx, byte [r8 + rax]
inc edx
xor byte [rax], cl
lea rax, [rax + 1]
cmp edx, dword [rbx + 0x3d0]
jl 0x180001930
mov r8, rdi
mov rdx, r14
mov rcx, rbx
call fcn.180001a70
movsxd r8, dword [rbx + 0x3d0]
mov rdx, rdi
mov rcx, r14
call fcn.180047dd0
movsxd r8, dword [rbx + 0x3d0]
xor edx, edx
mov rax, r12
inc r15d
div r8
add rsi, r8
mov ecx, r15d
add rdi, r8
cmp rcx, rax
jb 0x180001915
jmp 0x180001a4e
cmp ecx, 2
jne 0x180001a1d
mov r14d, ebp
test rax, rax
je 0x180001a4e
nop
mov r8, rdi
lea rdx, [rbx + 0x3f8]
mov rcx, rbx
call fcn.180001a70
mov rcx, rdi
cmp byte [rbx + 8], bpl
je 0x1800019e5
mov edx, ebp
cmp dword [rbx + 0x3d0], edx
jle 0x1800019e5
mov r8, rsi
sub r8, rdi
nop dword [rax + rax]
movzx eax, byte [r8 + rcx]
inc edx
xor byte [rcx], al
lea rcx, [rcx + 1]
cmp edx, dword [rbx + 0x3d0]
jl 0x1800019d0
movsxd r8, dword [rbx + 0x3d0]
lea rcx, [rbx + 0x3f8]
mov rdx, rdi
call fcn.180047dd0
movsxd rcx, dword [rbx + 0x3d0]
xor edx, edx
mov rax, r12
inc r14d
div rcx
add rsi, rcx
add rdi, rcx
mov ecx, r14d
cmp rcx, rax
jb 0x1800019a0
jmp 0x180001a4e
test rax, rax
je 0x180001a4e
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call fcn.180001a70
movsxd rcx, dword [rbx + 0x3d0]
xor edx, edx
mov rax, r12
inc ebp
div rcx
add rsi, rcx
add rdi, rcx
mov ecx, ebp
cmp rcx, rax
jb 0x180001a22
mov r14, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov r15, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r12
pop rdi
pop rsi
ret
Function at 0x180003dd0
Capabilities:
Get file version info

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x40
xor bl, bl
xor ebp, ebp
mov r12, r8
mov rdi, rdx
mov rsi, rcx
cmp qword [rcx + 0x10], rbp
je 0x180003f4f
cmp qword [rdx + 0x10], rbp
je 0x180003f4f
cmp qword [rdx + 0x18], 0x10
mov rcx, rdx
mov qword [rsp + 0x80], r15
jb 0x180003e11
mov rcx, qword [rdx]
lea rdx, [rsp + 0x70]
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov r15d, eax
test eax, eax
je 0x180003f4a
mov ecx, r15d
mov qword [rsp + 0x78], r14
lea rdx, [0x1800a5c84]
call fcn.18002a790
mov r14, rax
test rax, rax
je 0x180003f2f
cmp qword [rdi + 0x18], 0x10
jb 0x180003e50
mov rdi, qword [rdi]
mov edx, dword [rsp + 0x70]
mov r9, r14
mov r8d, r15d
mov rcx, rdi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x180003f1a
lea r9, [rsp + 0x88]
mov rcx, r14
lea r8, [rsp + 0x30]
lea rdx, str.VarFileInfoTranslation
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x180003f1a
mov rax, qword [rsp + 0x30]
lea rdx, [0x1800a5c84]
mov ecx, 0x80
movzx edi, word [rax]
movzx eax, word [rax + 2]
shl edi, 0x10
or edi, eax
call fcn.18002a790
mov rbp, rax
test rax, rax
je 0x180003f1a
cmp qword [rsi + 0x18], 0x10
jb 0x180003ec2
mov rsi, qword [rsi]
mov r9d, edi
mov qword [rsp + 0x20], rsi
lea r8, str.StringFileInfo_08lx_s
mov edx, 0x80
mov rcx, rbp
call fcn.180004300
lea r9, [rsp + 0x88]
mov rdx, rbp
lea r8, [rsp + 0x38]
mov rcx, r14
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x180003f18
mov rdx, qword [rsp + 0x38]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x180003f06
mov rcx, r12
call fcn.180002460
mov bl, 1
mov rcx, r14
call fcn.180029f54
test rbp, rbp
je 0x180003f2f
mov rcx, rbp
call fcn.180029f54
mov r14, qword [rsp + 0x78]
movzx eax, bl
mov r15, qword [rsp + 0x80]
add rsp, 0x40
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
movzx eax, bl
jmp 0x180003f37
movzx eax, bl
add rsp, 0x40
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180006ae0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x260
mov rax, qword [0x1800a21e8]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov r15, r8
mov qword [rsp + 0x38], rcx
mov rsi, rdx
mov r14, rcx
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
mov rbp, r9
call fcn.180048230
xor r12d, r12d
mov edi, 0x20019
nop
lea rax, [rsp + 0x38]
mov r9d, edi
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x180006bb8
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r12
mov rdx, rbp
mov dword [rsp + 0x30], 0x104
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x180006bad
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
xor r9d, r9d
lea rax, [rsp + 0x40]
xor r8d, r8d
mov rdx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebx, 2
jne 0x180006bd8
cmp rsi, 0xffffffff80000002
jne 0x180006bd8
cmp edi, 0x20019
jne 0x180006bd8
mov edi, 0x20219
jmp 0x180006b30
mov qword [r14 + 0x10], r12
lea rax, [rsp + 0x40]
mov qword [r14 + 0x18], 7
mov r8, 0xffffffffffffffff
mov word [r14], r12w
inc r8
cmp word [rax + r8*2], r12w
jne 0x180006bf4
lea rdx, [rsp + 0x40]
mov rcx, r14
call fcn.1800041c0
mov rax, r14
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.18002a070
add rsp, 0x260
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x180007e60
Capabilities:
Check if file exists
Create directory

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x20
mov rbp, rcx
mov rcx, 0xffffffffffffffff
mov rdi, rcx
nop dword [rax]
inc rdi
cmp word [rbp + rdi*2], 0
jne 0x180007e80
lea eax, [rdi + 1]
movsxd rbx, eax
mov eax, 2
mul rbx
cmovo rax, rcx
mov rcx, rax
call fcn.180029fcc
lea r8, [rbx + rbx]
xor edx, edx
mov rcx, rax
mov rsi, rax
call fcn.180048230
mov r8, rbp
mov rdx, rbx
mov rcx, rsi
call fcn.18004bd98
movsxd rdi, edi
mov bpl, 1
test rdi, rdi
js 0x180007f29
mov qword [rsp + 0x40], r14
xor r14d, r14d
mov qword [rsp + 0x48], r15
mov ebx, r14d
mov r15d, 0x5c
cmp word [rsi + rbx*2], r15w
jne 0x180007f12
mov rcx, rsi
mov word [rsi + rbx*2], r14w
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x180007f0d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x180007f1c
mov word [rsi + rbx*2], r15w
inc rbx
cmp rbx, rdi
jle 0x180007ee5
jmp 0x180007f1f
xor bpl, bpl
mov r14, qword [rsp + 0x40]
mov r15, qword [rsp + 0x48]
mov rcx, rsi
call fcn.180029f54
mov rbx, qword [rsp + 0x50]
movzx eax, bpl
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800081f0
Capabilities:
Get common file path
Get startup folder

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x1800a21e8]
xor rax, rsp
mov qword [rsp + 0x250], rax
movzx ebx, r8b
mov qword [rsp + 0x30], rcx
mov edi, edx
mov rsi, rcx
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call fcn.180048230
mov edx, edi
lea rax, [rsp + 0x40]
bts edx, 0xf
mov qword [rsp + 0x20], rax
test bl, bl
cmove edx, edi
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov qword [rsi + 0x18], 7
mov r8, 0xffffffffffffffff
test eax, eax
je 0x180008281
xor eax, eax
mov qword [rsi + 0x10], rax
mov word [rsi], ax
inc r8
cmp word [rax + r8*2], ax
jne 0x180008273
xor edx, edx
jmp 0x1800082a0
xor eax, eax
mov qword [rsi + 0x10], rax
mov word [rsi], ax
lea rax, [rsp + 0x40]
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x180008290
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1800041c0
mov rax, rsi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.18002a070
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x1800086a0
Capabilities:
Enumerate process modules
Get process image filename

Disassembly:
push rbx
push r14
mov eax, 0x1258
call fcn.18002aaf0
sub rsp, rax
mov rax, qword [0x1800a21e8]
xor rax, rsp
mov qword [rsp + 0x1240], rax
mov r14, rcx
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x1000
call fcn.180048230
xor eax, eax
lea r8, [rsp + 0x20]
xor ebx, ebx
mov word [rsp + 0x1238], ax
mov edx, 0x1000
mov dword [rsp + 0x20], ebx
lea rcx, [rsp + 0x30]
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x180008805
mov qword [rsp + 0x1280], rsi
mov esi, dword [rsp + 0x20]
shr esi, 2
test esi, esi
je 0x180008801
mov qword [rsp + 0x1278], rbp
mov qword [rsp + 0x1288], rdi
lea rdi, [rsp + 0x30]
mov qword [rsp + 0x1250], r15
mov r15d, ebx
nop dword [rax + rax]
xor edx, edx
lea rcx, [rsp + 0x1030]
mov r8d, 0x208
call fcn.180048230
mov r8d, dword [rdi]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r8d, 0x104
lea rdx, [rsp + 0x1030]
mov rcx, rax
mov rbp, rax
call sub.PSAPI.DLL_GetProcessImageFileNameW
test rbp, rbp
je 0x18000878c
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0x104
lea rcx, [rsp + 0x1030]
call fcn.180053c6c
mov rdx, r14
lea rcx, [rsp + 0x1030]
call fcn.180048fd4
test rax, rax
jne 0x1800087fb
inc ebx
add rdi, 4
cmp ebx, esi
jb 0x180008740
mov eax, r15d
mov rdi, qword [rsp + 0x1288]
mov rbp, qword [rsp + 0x1278]
mov r15, qword [rsp + 0x1250]
mov rsi, qword [rsp + 0x1280]
mov rcx, qword [rsp + 0x1240]
xor rcx, rsp
call fcn.18002a070
add rsp, 0x1258
pop r14
pop rbx
ret
mov eax, dword [rsp + rbx*4 + 0x30]
jmp 0x1800087c0
mov eax, ebx
jmp 0x1800087d8
mov eax, ebx
jmp 0x1800087e0
Function at 0x180008ad0
Capabilities:
Delete registry key

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x78
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x1800a21e8]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, r9
mov r14, r8
mov rbp, rdx
mov r15, rcx
test rdx, rdx
jne 0x180008b0d
xor al, al
jmp 0x180008d23
cmp qword [rcx + 0x18], 0
ja 0x180008b93
lea rcx, [rsp + 0x48]
call fcn.180008490
mov rbx, rax
lea rdi, [r15 + 8]
cmp rdi, rax
je 0x180008b51
mov rcx, rdi
call fcn.180003f60
movups xmm0, xmmword [rbx]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rdi + 0x10], xmm1
xor eax, eax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], 7
mov word [rbx], ax
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x180008b93
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180008b8e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180008d43
call fcn.180029f54
lea rdi, [r15 + 8]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov r15, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 8
jb 0x180008bae
mov rdi, qword [rdi]
cmp r15, 8
jae 0x180008bc7
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x40], 7
jmp 0x180008c0a
mov rbx, r15
or rbx, 7
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
cmova rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x28]
call fcn.180003fd0
mov qword [rsp + 0x28], rax
lea r8, [r15*2 + 2]
mov rdx, rdi
mov rcx, rax
call fcn.180047dd0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], r15
mov r8d, 0xa
lea rdx, str.Software_
lea rcx, [rsp + 0x28]
call fcn.180004040
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp word [rbp + r8*2], 0
jne 0x180008c30
mov rdx, rbp
lea rcx, [rsp + 0x28]
call fcn.180004040
test r14, r14
je 0x180008c88
mov r8d, 1
lea rdx, [0x18007836c]
lea rcx, [rsp + 0x28]
call fcn.180004040
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp word [r14 + r8*2], 0
jne 0x180008c70
mov rdx, r14
lea rcx, [rsp + 0x28]
call fcn.180004040
test rsi, rsi
je 0x180008cbe
mov r8d, 1
lea rdx, [0x18007836c]
lea rcx, [rsp + 0x28]
call fcn.180004040
inc rbx
cmp word [rsi + rbx*2], 0
jne 0x180008ca4
mov r8, rbx
mov rdx, rsi
lea rcx, [rsp + 0x28]
call fcn.180004040
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rdx, qword [rsp + 0x28]
mov rcx, 0xffffffff80000003
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x180008d21
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180008d1c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180008d3d
call fcn.180029f54
mov al, 1
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.18002a070
add rsp, 0x78
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.18004bb24
int3
call fcn.18004bb24
int3
Function at 0x180020630
Capabilities:
Move file

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x90
mov qword [rax - 0x78], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1800a21e8]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rdi, rcx
mov ecx, dword [rcx + 0x30]
cmp ecx, 0xffffffff
je 0x180020674
call fcn.18005a214
mov dword [rdi + 0x30], 0xffffffff
mov r8d, dword [rdi + 0x48]
dec r8d
lea rdx, [rsp + 0x68]
mov rcx, rdi
call fcn.18001cfb0
nop
lea rcx, [rsp + 0x68]
cmp qword [rsp + 0x80], 8
cmovae rcx, qword [rsp + 0x68]
call fcn.180054270
mov ebx, dword [rdi + 0x48]
sub ebx, 2
js 0x18002079a
xor esi, esi
mov r8d, ebx
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.18001cfb0
nop
lea r8d, [rbx + 1]
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.18001cfb0
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x18002073c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180020737
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002081b
call fcn.180029f54
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], si
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x180020791
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002078c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002080f
call fcn.180029f54
sub ebx, 1
jns 0x1800206b0
mov rcx, rdi
call fcn.18001fa70
mov byte [rdi + 0x90], 0
mov rdx, qword [rsp + 0x80]
cmp rdx, 8
jb 0x1800207ea
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800207e5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180020815
call fcn.180029f54
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.18002a070
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.18004bb24
nop
call fcn.18004bb24
nop
call fcn.18004bb24
int3
Function at 0x180020830
Capabilities:
Move file

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x90
mov qword [rax - 0x78], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1800a21e8]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rdi, rcx
mov ecx, dword [rcx + 0x30]
cmp ecx, 0xffffffff
je 0x180020874
call fcn.18005a214
mov dword [rdi + 0x30], 0xffffffff
mov r8d, dword [rdi + 0x48]
dec r8d
lea rdx, [rsp + 0x68]
mov rcx, rdi
call fcn.18001cfb0
nop
lea rcx, [rsp + 0x68]
cmp qword [rsp + 0x80], 8
cmovae rcx, qword [rsp + 0x68]
call fcn.180054270
mov ebx, dword [rdi + 0x48]
sub ebx, 2
js 0x18002099a
xor esi, esi
mov r8d, ebx
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.18001cfb0
nop
lea r8d, [rbx + 1]
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.18001cfb0
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x18002093c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180020937
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180020a1b
call fcn.180029f54
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], si
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x180020991
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002098c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180020a0f
call fcn.180029f54
sub ebx, 1
jns 0x1800208b0
mov rcx, rdi
call fcn.18001fcd0
mov byte [rdi + 0x90], 0
mov rdx, qword [rsp + 0x80]
cmp rdx, 8
jb 0x1800209ea
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800209e5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180020a15
call fcn.180029f54
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.18002a070
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.18004bb24
nop
call fcn.18004bb24
nop
call fcn.18004bb24
int3
Function at 0x1800220f0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0xc0
mov rax, qword [0x1800a21e8]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov r14d, dword [rsp + 0x110]
mov rbp, rcx
mov rcx, rdx
mov edi, r9d
mov ebx, r8d
mov rsi, rdx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x18002213b
mov eax, 2
jmp 0x180022226
mov rdx, rbp
lea rcx, [rsp + 0x90]
call fcn.180021e00
xor edx, edx
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 0x70]
call fcn.180048230
test r14d, r14d
mov dword [rsp + 0x20], 0x70
lea rcx, str.runas
mov qword [rsp + 0x38], rsi
lea rax, [0x180078b38]
mov dword [rsp + 0x24], 0x40
cmovne rax, rcx
cmp qword [rsp + 0xa8], 8
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x20]
lea rax, [rsp + 0x90]
cmovae rax, qword [rsp + 0x90]
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], eax
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x88]
mov esi, eax
test rcx, rcx
je 0x1800221e0
test ebx, ebx
je 0x1800221e0
mov edx, edi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rdx, qword [rsp + 0xa8]
cmp rdx, 8
jb 0x180022224
mov rcx, qword [rsp + 0x90]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002221f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180022244
call fcn.180029f54
mov eax, esi
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.18002a070
add rsp, 0xc0
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.18004bb24
int3
Function at 0x180023ae0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, qword [rcx + 0x10]
mov rsi, rdx
mov rbx, rcx
test rdi, rdi
je 0x180023b95
cmp qword [rdi], 0
mov rbx, qword [rcx]
je 0x180023b61
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180023b80
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180023b80
mov rdx, qword [rdi]
xor r9d, r9d
mov qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rdx
mov rcx, rbx
mov rdx, rsi
call rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp dword [rdi + 8], 0
je 0x180023b80
mov rcx, rbx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp byte [0x1800a5a80], 0
jne 0x180023be0
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180023bd0
lea rdx, [0x18007b808]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800a5a78], rax
mov byte [0x1800a5a80], 1
jmp 0x180023be7
mov rax, qword [0x1800a5a78]
mov byte [0x1800a5a80], 1
jmp 0x180023be7
mov rax, qword [0x1800a5a78]
mov rcx, qword [rbx]
mov rdx, rsi
test rax, rax
je 0x180023b6a
mov r8d, dword [rbx + 8]
xor r9d, r9d
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp rax