joyce8/EMBER2024-capa huggingface dataset:
Function at 0x484750
Capabilities:
Query or enumerate registry key

Disassembly:
push rbp
sub rsp, 0xb0
mov rbp, rsp
mov qword [rbp + 0x60], 0
mov qword [rbp + 0xa8], 0
mov qword [rbp + 0x80], 0
mov qword [rbp + 0x68], rbp
mov qword [rbp + 0xc0], rcx
mov qword [rbp + 0xc8], rdx
mov byte [rbp + 0xd0], r8b
nop
mov byte [rbp + 0x9f], 0
lea rcx, [0x00484afc]
mov rdx, qword [rbp + 0xc8]
call fcn.0040cc00
test eax, eax
je 0x484a03
cmp byte [rbp + 0xd0], 0
je 0x4849e9
nop
mov dword [rbp + 0x7c], 0
mov rax, qword [0x0053fa28]
cmp byte [rax], 0
je 0x484802
call fcn.00410c40
cmp byte [rax + 0x1b1], 0
je 0x4847ed
mov dword [rbp + 0x7c], pe_nt_image_headers64
jmp 0x484802
call fcn.00410c40
cmp byte [rax + 0x1b0], 0
je 0x484802
mov dword [rbp + 0x7c], 0x200
nop
mov rcx, qword [rbp + 0xc8]
call fcn.0040c300
mov rcx, qword [rbp + 0xc0]
mov rdx, rax
xor r8, r8
mov r9d, dword [rbp + 0x7c]
or r9d, 0x2000f
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x20], rax
call sub.advapi32.dll_RegOpenKeyExW_1
mov dword [rbp + 0x98], eax
nop
cmp dword [rbp + 0x98], 0
jne 0x4849c3
mov dword [rbp + 0x90], 0
mov rcx, qword [rbp + 0xa0]
xor rdx, rdx
xor r8, r8
xor r9, r9
lea rax, [rbp + 0x90]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
call sub.advapi32.dll_RegQueryInfoKeyW
test eax, eax
jne 0x4849c3
mov eax, dword [rbp + 0x90]
sub eax, 1
mov dword [rbp + 0x8c], eax
cmp dword [rbp + 0x8c], 0
jl 0x4849c2
mov eax, dword [0x0052f788]
mov dword [rbp + 0x94], eax
lea rcx, [rbp + 0xa8]
mov edx, dword [rbp + 0x94]
call fcn.0040c570
lea rcx, [rbp + 0xa8]
call fcn.0040b340
mov rcx, qword [rbp + 0xa0]
mov edx, dword [rbp + 0x8c]
mov r8, rax
lea r9, [rbp + 0x94]
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
call sub.advapi32.dll_RegEnumKeyExW
test eax, eax
jne 0x4849ae
lea rcx, [rbp + 0xa8]
mov edx, dword [rbp + 0x94]
call fcn.0040c570
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0xc8]
call fcn.00431cb0
lea rcx, [rbp + 0x80]
mov rdx, qword [rbp + 0x60]
mov r8, qword [rbp + 0xa8]
call fcn.0040c720
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0x80]
movzx r8, byte [rbp + 0xd0]
call fcn.00484750
test al, al
jne 0x4849ae
xor rcx, rcx
mov rdx, qword [rbp + 0x68]
call fcn.00484a40
jmp 0x484a03
sub dword [rbp + 0x8c], 1
cmp dword [rbp + 0x8c], 0xffffffff
jne 0x4848da
nop
nop
lea rcx, [rbp + 0xa8]
xor rdx, rdx
call fcn.0040c570
mov rcx, qword [rbp + 0xa0]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x4849e9
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0xc8]
call fcn.00484600
mov byte [rbp + 0x9f], al
nop
lea rcx, [rbp + 0x60]
call fcn.0040aa00
lea rcx, [rbp + 0x80]
call fcn.0040aa00
lea rcx, [rbp + 0xa8]
call fcn.0040aa00
movzx rax, byte [rbp + 0x9f]
lea rsp, [rbp + 0xb0]
pop rbp
ret
Function at 0x484b00
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x88
mov rbp, rsp
mov qword [rbp + 0x58], rcx
mov qword [rbp + 0x48], r8
mov byte [rbp + 0x57], r9b
mov qword [rbp + 0x78], 0
mov qword [rbp + 0xb8], rdx
mov rcx, qword [rbp + 0xb8]
call fcn.0040ab90
mov rcx, qword [rbp + 0xd0]
call fcn.0040ab90
nop
xor rax, rax
mov byte [rbp + 0x47], al
mov rcx, qword [rbp + 0x48]
call fcn.0040aa00
xor rbx, rbx
mov rax, qword [0x0053fa28]
cmp byte [rax], 0
je 0x484b8a
call fcn.00410c40
cmp byte [rax + 0x1b1], 0
je 0x484b76
mov ebx, pe_nt_image_headers64
jmp 0x484b8a
call fcn.00410c40
cmp byte [rax + 0x1b0], 0
je 0x484b8a
mov ebx, 0x200
nop
mov rcx, qword [rbp + 0xb8]
call fcn.0040c300
mov rcx, qword [rbp + 0x58]
mov rdx, rax
xor r8, r8
mov r9d, ebx
or r9d, 0x20019
lea rax, [rbp + 0x70]
mov qword [rsp + 0x20], rax
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x484ce7
mov al, 1
mov byte [rbp + 0x47], al
mov dword [rbp + 0x6c], 0x800
mov ecx, dword [rbp + 0x6c]
call fcn.00405990
mov rdi, rax
xor rbx, rbx
mov dword [rbp + 0x6c], 0x800
movzx rax, byte [rbp + 0x57]
test al, al
je 0x484c25
mov rcx, qword [rbp + 0x70]
mov edx, ebx
mov r8, rdi
lea r9, [rbp + 0x6c]
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
call sub.advapi32.dll_RegEnumKeyExW
mov esi, eax
jmp 0x484c5d
mov rcx, qword [rbp + 0x70]
mov edx, ebx
mov r8, rdi
lea r9, [rbp + 0x6c]
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
call sub.advapi32.dll_RegEnumValueW
mov esi, eax
test esi, esi
jne 0x484ccd
cmp dword [rbp + 0x6c], 0
jbe 0x484cca
cmp qword [rbp + 0xd8], 0
je 0x484c7b
mov rax, qword [rbp + 0xd8]
add dword [rax], 1
lea rcx, [rbp + 0x78]
mov rdx, rdi
mov r8d, dword [rbp + 0x6c]
call fcn.0040ace0
mov rax, qword [rbp + 0x48]
cmp qword [rax], 0
jne 0x484ca4
mov rcx, qword [rbp + 0x48]
mov rdx, qword [rbp + 0x78]
call fcn.0040b050
jmp 0x484cca
mov rcx, qword [rbp + 0x48]
mov edx, 3
mov rax, qword [rbp + 0x48]
mov r8, qword [rax]
mov r9, qword [rbp + 0xd0]
mov rax, qword [rbp + 0x78]
mov qword [rsp + 0x20], rax
call fcn.0040c850
add ebx, 1
test esi, esi
je 0x484bdb
nop
mov rcx, rdi
call fcn.004059c0
mov rcx, qword [rbp + 0x70]
call sub.advapi32.dll_RegCloseKey_1
nop
lea rcx, [rbp + 0x78]
call fcn.0040aa00
lea rcx, [rbp + 0xb8]
call fcn.0040aa00
lea rcx, [rbp + 0xd0]
call fcn.0040aa00
movzx rax, byte [rbp + 0x47]
lea rsp, [rbp + 0x88]
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x485c40
Capabilities:
Check os version

Disassembly:
push rbp
sub rsp, 0x150
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov byte [rbp + 0x14f], 7
nop
mov dword [rbp + 0x30], 0x11c
lea rcx, [rbp + 0x30]
call sub.kernel32.dll_GetVersionExW
cmp dword [rbp + 0x40], 2
jne 0x485d0c
mov byte [rbp + 0x14f], 5
cmp dword [rbp + 0x34], 6
jb 0x485cde
mov byte [rbp + 0x14f], 0xa
cmp byte [rbp + 0x14a], 1
jne 0x485cb6
cmp dword [rbp + 0x38], 2
jb 0x485ca0
mov byte [rbp + 0x14f], 0xe
jmp 0x485d52
cmp dword [rbp + 0x38], 1
jb 0x485d52
mov byte [rbp + 0x14f], 0xd
jmp 0x485d52
mov byte [rbp + 0x14f], 0xb
cmp dword [rbp + 0x38], 2
jb 0x485ccf
mov byte [rbp + 0x14f], 0xf
jmp 0x485d52
cmp dword [rbp + 0x38], 1
jb 0x485d52
mov byte [rbp + 0x14f], 0xc
jmp 0x485d52
cmp dword [rbp + 0x34], 5
jb 0x485d52
mov byte [rbp + 0x14f], 6
cmp dword [rbp + 0x38], 1
jb 0x485d52
cmp byte [rbp + 0x14a], 1
jne 0x485d03
mov byte [rbp + 0x14f], 7
jmp 0x485d52
mov byte [rbp + 0x14f], 9
jmp 0x485d52
cmp dword [rbp + 0x40], 1
jne 0x485d41
mov byte [rbp + 0x14f], 1
cmp dword [rbp + 0x34], 4
jne 0x485d2c
cmp dword [rbp + 0x38], 0xa
jne 0x485d2c
mov byte [rbp + 0x14f], 2
cmp dword [rbp + 0x34], 4
jne 0x485d52
cmp dword [rbp + 0x38], 0x5a
jne 0x485d52
mov byte [rbp + 0x14f], 3
jmp 0x485d52
mov byte [rbp + 0x14f], 1
jmp 0x485d52
movzx rax, byte [rbp + 0x14f]
lea rsp, [rbp + 0x150]
pop rbp
ret
Function at 0x486c20
Capabilities:
Query environment variable

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x50
mov rbp, rsp
mov qword [rbp + 0x38], rcx
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x78], rdx
mov rcx, qword [rbp + 0x78]
call fcn.0040ab90
nop
mov rcx, qword [rbp + 0x38]
call fcn.0040aa00
lea rcx, [0x00486e34]
mov rdx, qword [rbp + 0x78]
call fcn.0040cc00
test eax, eax
jne 0x486d30
lea rcx, [rbp + 0x48]
mov edx, 1
call fcn.0040c570
mov rcx, qword [rbp + 0x78]
call fcn.0040c300
mov rbx, rax
mov rcx, qword [rbp + 0x48]
call fcn.0040c300
xor rcx, rcx
mov rdx, rbx
xor r8, r8
xor r9, r9
mov qword [rsp + 0x20], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], rax
call sub.kernel32.dll_SearchPathW
mov ebx, eax
add ebx, 1
lea rcx, [rbp + 0x48]
mov edx, ebx
call fcn.0040c570
mov rcx, qword [rbp + 0x78]
call fcn.0040c300
mov rsi, rax
mov rcx, qword [rbp + 0x48]
call fcn.0040c300
xor rcx, rcx
mov rdx, rsi
xor r8, r8
mov r9d, ebx
mov qword [rsp + 0x20], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], rax
call sub.kernel32.dll_SearchPathW
test eax, eax
je 0x486d1e
mov rcx, qword [rbp + 0x48]
call fcn.0040c300
mov rcx, rax
call fcn.0040b260
lea rcx, [rbp + 0x48]
mov edx, eax
call fcn.0040c570
mov rcx, qword [rbp + 0x38]
mov rdx, qword [rbp + 0x48]
call fcn.0040b050
jmp 0x486dd1
mov rcx, qword [rbp + 0x38]
mov rdx, qword [rbp + 0x78]
call fcn.0040b050
jmp 0x486dd1
lea rcx, [rbp + 0x48]
mov edx, 1
call fcn.0040c570
mov rcx, qword [rbp + 0x78]
call fcn.0040c300
mov rbx, rax
mov rcx, qword [rbp + 0x48]
call fcn.0040c300
mov rcx, rbx
mov rdx, rax
xor r8, r8
call sub.kernel32.dll_ExpandEnvironmentStringsW
mov ebx, eax
add ebx, 1
lea rcx, [rbp + 0x48]
mov edx, ebx
call fcn.0040c570
mov rcx, qword [rbp + 0x78]
call fcn.0040c300
mov rsi, rax
mov rcx, qword [rbp + 0x48]
call fcn.0040c300
mov rcx, rsi
mov rdx, rax
mov r8d, ebx
call sub.kernel32.dll_ExpandEnvironmentStringsW
test eax, eax
je 0x486dc4
mov rcx, qword [rbp + 0x48]
call fcn.0040c300
mov rcx, rax
call fcn.0040b260
lea rcx, [rbp + 0x48]
mov edx, eax
call fcn.0040c570
mov rcx, qword [rbp + 0x38]
mov rdx, qword [rbp + 0x48]
call fcn.0040b050
jmp 0x486dd1
mov rcx, qword [rbp + 0x38]
mov rdx, qword [rbp + 0x78]
call fcn.0040b050
nop
lea rcx, [rbp + 0x48]
call fcn.0040aa00
lea rcx, [rbp + 0x78]
call fcn.0040aa00
mov rax, qword [rbp + 0x38]
lea rsp, [rbp + 0x50]
pop rbx
pop rsi
pop rbp
ret
Function at 0x4876e0
Capabilities:
Get common file path

Disassembly:
push rbp
sub rsp, 0x250
mov rbp, rsp
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x38], rbp
mov qword [rbp + 0x260], rcx
nop
mov rcx, qword [rbp + 0x260]
call fcn.0040aa00
nop
mov ecx, 0xff
lea rdx, [rbp + 0x50]
call sub.kernel32.dll_GetTempPathW
test eax, eax
je 0x4877da
mov rcx, qword [rbp + 0x260]
lea rdx, [rbp + 0x50]
call fcn.0040c380
lea rcx, [rbp + 0x30]
mov rax, qword [rbp + 0x260]
mov rdx, qword [rax]
call fcn.00489020
mov rcx, qword [rbp + 0x260]
mov rdx, qword [rbp + 0x30]
call fcn.0040b050
lea rcx, [rbp + 0x28]
mov rax, qword [rbp + 0x260]
mov rdx, qword [rax]
call fcn.00487550
mov rcx, qword [rbp + 0x260]
mov rdx, qword [rbp + 0x28]
call fcn.0040b050
mov rax, qword [rbp + 0x260]
mov rax, qword [rax]
mov qword [rbp + 0x48], rax
mov dword [rbp + 0x44], 0
cmp qword [rbp + 0x48], 0
je 0x4877a7
mov rax, qword [rbp + 0x48]
mov eax, dword [rax - 4]
mov dword [rbp + 0x44], eax
mov rax, qword [rbp + 0x260]
mov rax, qword [rax]
movsxd rcx, dword [rbp + 0x44]
cmp word [rax + rcx*2 - 2], 0x5c
je 0x4877da
mov rcx, qword [rbp + 0x260]
lea rdx, [0x00487844]
call fcn.0040c650
jmp 0x4877da
nop
lea rcx, [rbp + 0x28]
mov edx, 2
call fcn.0040aae0
mov rax, qword [rbp + 0x260]
lea rsp, [rbp + 0x250]
pop rbp
ret
Function at 0x487850
Capabilities:
Get common file path

Disassembly:
push rbp
sub rsp, 0x90
mov rbp, rsp
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0x48], rbp
mov qword [rbp + 0xa0], rcx
nop
nop
call fcn.00485d80
cmp al, 0xa
jb 0x487965
lea rcx, [rbp + 0x88]
mov edx, 0x104
call fcn.0040c570
nop
mov rcx, qword [rbp + 0x88]
call fcn.0040c300
xor rcx, rcx
mov edx, 0x1a
xor r8, r8
xor r9, r9
mov qword [rsp + 0x20], rax
call sub.SHFolder.dll_SHGetFolderPathW
test eax, eax
jne 0x487955
mov rcx, qword [rbp + 0x88]
call fcn.0040c300
mov rcx, qword [rbp + 0xa0]
mov rdx, rax
call fcn.00428d20
mov rax, qword [rbp + 0xa0]
mov rax, qword [rax]
mov qword [rbp + 0x80], rax
mov dword [rbp + 0x7c], 0
cmp qword [rbp + 0x80], 0
je 0x48791b
mov rax, qword [rbp + 0x80]
mov eax, dword [rax - 4]
mov dword [rbp + 0x7c], eax
cmp dword [rbp + 0x7c], 0
jle 0x487944
lea rcx, [rbp + 0x40]
mov rax, qword [rbp + 0xa0]
mov rdx, qword [rax]
call fcn.00431cb0
mov rcx, qword [rbp + 0xa0]
mov rdx, qword [rbp + 0x40]
call fcn.0040b050
xor rcx, rcx
mov rdx, qword [rbp + 0x48]
call fcn.00487a70
jmp 0x487a3a
nop
lea rcx, [rbp + 0x88]
xor rdx, rdx
call fcn.0040c570
mov rax, qword [0x0053fd68]
mov rcx, qword [rax]
lea rdx, [0x00487afc]
lea r8, [0x00487b8c]
mov r9, qword [rbp + 0xa0]
call fcn.00484130
test al, al
je 0x487a39
lea rcx, [rbp + 0x38]
mov rax, qword [rbp + 0xa0]
mov rdx, qword [rax]
call fcn.00487550
mov rcx, qword [rbp + 0xa0]
mov rdx, qword [rbp + 0x38]
call fcn.0040b050
mov rax, qword [rbp + 0xa0]
mov rax, qword [rax]
mov qword [rbp + 0x70], rax
mov dword [rbp + 0x6c], 0
cmp qword [rbp + 0x70], 0
je 0x4879da
mov rax, qword [rbp + 0x70]
mov eax, dword [rax - 4]
mov dword [rbp + 0x6c], eax
cmp dword [rbp + 0x6c], 0
jle 0x487a39
mov rax, qword [rbp + 0xa0]
mov rax, qword [rax]
mov qword [rbp + 0x60], rax
mov dword [rbp + 0x5c], 0
cmp qword [rbp + 0x60], 0
je 0x487a06
mov rax, qword [rbp + 0x60]
mov eax, dword [rax - 4]
mov dword [rbp + 0x5c], eax
mov rax, qword [rbp + 0xa0]
mov rax, qword [rax]
movsxd rcx, dword [rbp + 0x5c]
cmp word [rax + rcx*2 - 2], 0x5c
je 0x487a39
mov rcx, qword [rbp + 0xa0]
lea rdx, [0x00487ba8]
call fcn.0040c650
jmp 0x487a39
nop
lea rcx, [rbp + 0x38]
mov edx, 2
call fcn.0040aae0
lea rcx, [rbp + 0x88]
call fcn.0040aa00
mov rax, qword [rbp + 0xa0]
lea rsp, [rbp + 0x90]
pop rbp
ret
Function at 0x4883f0
Capabilities:
Create directory

Disassembly:
push rbp
sub rsp, 0x70
mov rbp, rsp
mov qword [rbp + 0x28], rcx
mov byte [rbp + 0x26], dl
mov byte [rbp + 0x27], r8b
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x48], 0
nop
mov al, 1
mov byte [rbp + 0x25], al
mov qword [rbp + 0x58], 0
movzx rax, byte [rbp + 0x26]
test al, al
je 0x488453
call fcn.00486ac0
mov qword [rbp + 0x58], rax
xor rax, rax
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x488466
mov rax, qword [rbp + 0x28]
mov eax, dword [rax - 4]
test eax, eax
jne 0x488475
xor rax, rax
mov byte [rbp + 0x25], al
jmp 0x4885cb
movzx rax, byte [rbp + 0x27]
test al, al
je 0x4885ad
lea rcx, [rbp + 0x50]
mov rdx, qword [rbp + 0x28]
call fcn.0040b0d0
lea rcx, [rbp + 0x48]
mov rdx, qword [rbp + 0x50]
call fcn.00431d10
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0x48]
call fcn.0040b0d0
lea rcx, [rbp + 0x68]
mov rdx, qword [rbp + 0x60]
call fcn.00428370
xor rax, rax
cmp qword [rbp + 0x60], 0
je 0x4884c7
mov rax, qword [rbp + 0x60]
mov eax, dword [rax - 4]
cmp eax, 2
jne 0x4884fe
lea rcx, [rbp + 0x38]
mov rdx, qword [rbp + 0x60]
mov r8d, 2
mov r9d, 1
call fcn.0040c930
mov rcx, qword [rbp + 0x38]
lea rdx, [0x00488678]
call fcn.0040c920
test eax, eax
sete al
jmp 0x488501
xor rax, rax
test al, al
je 0x488509
mov al, 1
jmp 0x488514
mov rcx, qword [rbp + 0x60]
mov dl, 1
call fcn.00427a70
test al, al
je 0x48851c
mov al, 1
jmp 0x48852e
mov rcx, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x60]
call fcn.0040c920
test eax, eax
sete al
test al, al
jne 0x4885cb
cmp qword [rbp + 0x68], 0
jne 0x48855c
mov rcx, qword [rbp + 0x60]
call fcn.0040c300
mov rcx, rax
mov rdx, qword [rbp + 0x58]
call sub.kernel32.dll_CreateDirectoryW
test eax, eax
setne al
mov byte [rbp + 0x25], al
jmp 0x4885ca
mov rcx, qword [rbp + 0x68]
call fcn.0040c300
lea rcx, [rbp + 0x30]
mov rdx, rax
call fcn.0040c380
mov rcx, qword [rbp + 0x30]
movzx rdx, byte [rbp + 0x26]
movzx r8, byte [rbp + 0x27]
call fcn.004883f0
test al, al
je 0x4885a1
mov rcx, qword [rbp + 0x60]
call fcn.0040c300
mov rcx, rax
mov rdx, qword [rbp + 0x58]
call sub.kernel32.dll_CreateDirectoryW
test eax, eax
jne 0x4885a6
xor rax, rax
jmp 0x4885a8
mov al, 1
mov byte [rbp + 0x25], al
jmp 0x4885ca
mov rcx, qword [rbp + 0x28]
call fcn.0040c300
mov rcx, rax
lea rdx, [rbp + 0x58]
call sub.kernel32.dll_CreateDirectoryW
test eax, eax
setne al
mov byte [rbp + 0x25], al
nop
lea rcx, [rbp + 0x30]
mov edx, 2
call fcn.0040aae0
lea rcx, [rbp + 0x48]
mov edx, 2
call fcn.0040aae0
lea rcx, [rbp + 0x60]
mov edx, 2
call fcn.0040aae0
movzx rax, byte [rbp + 0x25]
lea rsp, [rbp + 0x70]
pop rbp
ret

Function at 0x488680
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
call fcn.0040c300
mov rcx, rax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x48869e
test eax, 0x10
jne 0x4886a3
xor rax, rax
jmp 0x4886a5
mov al, 1
add rsp, 0x28
ret
Function at 0x488f00
Capabilities:
Copy file

Disassembly:
push r14
push r13
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rsi, rdx
mov edi, r8d
mov r13d, r9d
xor r14, r14
mov rcx, rbx
call fcn.00488ff0
test al, al
je 0x488f7c
mov rcx, rsi
call fcn.00488ff0
test al, al
je 0x488f43
test r13b, r13b
je 0x488f7c
mov rcx, rsi
call fcn.00488f90
test al, al
je 0x488f7c
mov rcx, rbx
call fcn.0040c300
mov rbx, rax
mov rcx, rsi
call fcn.0040c300
mov rcx, rbx
mov rdx, rax
xor r8, r8
call sub.kernel32.dll_CopyFileW
test eax, eax
setne r14b
test r14b, r14b
je 0x488f7c
test dil, dil
je 0x488f7c
mov rcx, rsi
call fcn.00488e00
mov eax, r14d
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop r13
pop r14
ret

Function at 0x488f90
Capabilities:
Set file attributes

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
xor rsi, rsi
mov rcx, rbx
call fcn.00488ff0
test al, al
je 0x488fe1
mov rcx, rbx
call fcn.004280c0
mov esi, eax
test sil, sil
jne 0x488fe1
mov rcx, rbx
call fcn.00488e00
mov rcx, rbx
call fcn.0040c300
mov rcx, rax
mov edx, 0x80
call sub.kernel32.dll_SetFileAttributesW
mov rcx, rbx
call fcn.004280c0
mov esi, eax
mov eax, esi
add rsp, 0x28
pop rbx
pop rsi
ret

Function at 0x488ff0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
call fcn.0040c300
mov rcx, rax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x48900e
test eax, 0x10
je 0x489013
xor rax, rax
jmp 0x489015
mov al, 1
add rsp, 0x28
ret

Function at 0x48a4b0
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push rbp
sub rsp, 0x70
mov rbp, rsp
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x48], rbp
mov qword [rbp + 0x80], rcx
mov rcx, qword [rbp + 0x80]
call fcn.0040ab90
nop
nop
cmp byte [0x0054a705], 2
jne 0x48a5cd
cmp qword [rbp + 0x80], 0
je 0x48a5cd
lea rcx, [rbp + 0x80]
lea rdx, [0x0048a690]
call fcn.0040c650
cmp qword [0x00530878], 0
je 0x48a5eb
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0x80]
xor r8, r8
call fcn.0040bd40
lea rcx, [rbp + 0x60]
call fcn.0040b350
mov qword [rbp + 0x50], rax
mov dword [rbp + 0x5c], 0
cmp qword [rbp + 0x60], 0
je 0x48a55d
mov rax, qword [rbp + 0x60]
mov eax, dword [rax - 4]
mov dword [rbp + 0x5c], eax
mov rcx, qword [0x00530878]
mov rdx, qword [rbp + 0x50]
mov r8d, dword [rbp + 0x5c]
lea r9, [rbp + 0x6c]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile_1
cmp dword [rbp + 0x6c], 0
jne 0x48a5eb
call sub.kernel32.dll_GetCurrentThreadId_1
lea rcx, [rbp + 0x38]
mov edx, eax
call fcn.00426d20
lea rcx, [rbp + 0x40]
mov edx, 3
mov r8, qword [rbp + 0x38]
lea r9, [0x0048a6a4]
mov rax, qword [rbp + 0x80]
mov qword [rsp + 0x20], rax
call fcn.0040c850
mov rcx, qword [rbp + 0x40]
call fcn.0040c300
mov rcx, rax
call sub.kernel32.dll_OutputDebugStringW
jmp 0x48a5eb
mov rcx, qword [rbp + 0x80]
call fcn.0040c300
mov rcx, rax
call sub.kernel32.dll_OutputDebugStringW
jmp 0x48a5eb
nop
lea rcx, [rbp + 0x38]
mov edx, 2
call fcn.0040aae0
lea rcx, [rbp + 0x60]
call fcn.0040aa50
lea rcx, [rbp + 0x80]
call fcn.0040aa00
lea rsp, [rbp + 0x70]
pop rbp
ret
Function at 0x48b3a0
Capabilities:
Encode data using xor

Disassembly:
push rbp
add rsp, 0xffffffffffffff80
mov rbp, rsp
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x48], rbp
mov qword [rbp + 0x90], rcx
mov byte [rbp + 0x98], dl
nop
mov dword [rbp + 0x7c], 0
nop
cmp byte [rbp + 0x98], 0
je 0x48b407
lea rcx, [rbp + 0x40]
mov rdx, qword [rbp + 0x90]
call fcn.00425dd0
lea rcx, [rbp + 0x70]
mov rdx, qword [rbp + 0x40]
mov r8w, 0xfde9
call fcn.0040bd40
jmp 0x48b41c
lea rcx, [rbp + 0x70]
mov rdx, qword [rbp + 0x90]
mov r8w, 0xfde9
call fcn.0040bd40
mov dword [rbp + 0x64], 1
mov dword [rbp + 0x6c], 0
mov dword [rbp + 0x5c], 0
cmp qword [rbp + 0x70], 0
je 0x48b442
mov rax, qword [rbp + 0x70]
mov eax, dword [rax - 4]
mov dword [rbp + 0x5c], eax
mov eax, 1
mov ecx, dword [rbp + 0x5c]
mov dword [rbp + 0x68], eax
cmp dword [rbp + 0x68], ecx
jg 0x48b48a
add ecx, 1
mov eax, dword [rbp + 0x68]
mov dword [rbp + 0x6c], eax
imul eax, dword [rbp + 0x64], 0x5517e877
mov dword [rbp + 0x64], eax
lea rax, [0x00530a54]
mov rdx, qword [rbp + 0x70]
movsxd r8, dword [rbp + 0x68]
movzx rdx, byte [rdx + r8 - 1]
mov eax, dword [rax + rdx*4]
xor dword [rbp + 0x64], eax
add dword [rbp + 0x68], 1
cmp dword [rbp + 0x68], ecx
jne 0x48b456
nop
mov eax, dword [rbp + 0x64]
mov dword [rbp + 0x7c], eax
jmp 0x48b4d7
nop
lea rcx, [rbp + 0x38]
mov edx, 2
call fcn.0040aae0
lea rcx, [rbp + 0x70]
call fcn.0040aa50
mov eax, dword [rbp + 0x7c]
lea rsp, [rbp + 0x80]
pop rbp
ret

Function at 0x48b5a0
Capabilities:
Encode data using xor

Disassembly:
push rbp
sub rsp, 0x60
mov rbp, rsp
mov qword [rbp + 0x20], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x70], rcx
mov byte [rbp + 0x78], dl
nop
mov qword [rbp + 0x58], 0
nop
cmp byte [rbp + 0x78], 0
je 0x48b5f4
lea rcx, [rbp + 0x20]
mov rdx, qword [rbp + 0x70]
call fcn.00425dd0
lea rcx, [rbp + 0x50]
mov rdx, qword [rbp + 0x20]
mov r8w, 0xfde9
call fcn.0040bd40
jmp 0x48b606
lea rcx, [rbp + 0x50]
mov rdx, qword [rbp + 0x70]
mov r8w, 0xfde9
call fcn.0040bd40
mov qword [rbp + 0x40], 1
mov dword [rbp + 0x38], 0
cmp qword [rbp + 0x50], 0
je 0x48b626
mov rax, qword [rbp + 0x50]
mov eax, dword [rax - 4]
mov dword [rbp + 0x38], eax
mov eax, 1
mov ecx, dword [rbp + 0x38]
mov dword [rbp + 0x4c], eax
cmp dword [rbp + 0x4c], ecx
jg 0x48b66f
add ecx, 1
mov rax, qword [rbp + 0x40]
imul rax, rax, 0x5517e877
mov qword [rbp + 0x40], rax
lea rax, [0x00530e58]
mov rdx, qword [rbp + 0x50]
movsxd r8, dword [rbp + 0x4c]
movzx rdx, byte [rdx + r8 - 1]
mov rax, qword [rax + rdx*8]
xor qword [rbp + 0x40], rax
add dword [rbp + 0x4c], 1
cmp dword [rbp + 0x4c], ecx
jne 0x48b63a
nop
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x58], rax
jmp 0x48b682
nop
lea rcx, [rbp + 0x20]
call fcn.0040aa00
lea rcx, [rbp + 0x50]
call fcn.0040aa50
mov rax, qword [rbp + 0x58]
lea rsp, [rbp + 0x60]
pop rbp
ret