joyce8/EMBER2024-capa huggingface dataset:
Function at 0x720f10
Capabilities:
Terminate process

Disassembly:
push rbp
sub rsp, 0x2b0
mov rbp, rsp
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x2c0], rcx
mov rcx, qword [rbp + 0x2c0]
call fcn.0040f0e0
nop
mov dword [rbp + 0x2ac], 0
mov ecx, 2
xor rdx, rdx
call fcn.006fdcf0
mov qword [rbp + 0x2a0], rax
mov dword [rbp + 0x68], 0x238
mov rcx, qword [rbp + 0x2a0]
lea rdx, [rbp + 0x68]
call fcn.006fdd20
mov dword [rbp + 0x2a8], eax
jmp 0x721078
lea rcx, [rbp + 0x48]
lea rdx, [rbp + 0x94]
mov r8d, 0x104
call fcn.00410860
lea rcx, [rbp + 0x50]
mov rdx, qword [rbp + 0x48]
call fcn.004346c0
lea rcx, [rbp + 0x58]
mov rdx, qword [rbp + 0x50]
call fcn.00431aa0
lea rcx, [rbp + 0x40]
mov rdx, qword [rbp + 0x2c0]
call fcn.00431aa0
mov rcx, qword [rbp + 0x58]
mov rdx, qword [rbp + 0x40]
call fcn.00410dc0
test eax, eax
je 0x72103f
lea rcx, [rbp + 0x30]
lea rdx, [rbp + 0x94]
mov r8d, 0x104
call fcn.00410860
lea rcx, [rbp + 0x38]
mov rdx, qword [rbp + 0x30]
call fcn.00431aa0
lea rcx, [rbp + 0x28]
mov rdx, qword [rbp + 0x2c0]
call fcn.00431aa0
mov rcx, qword [rbp + 0x38]
mov rdx, qword [rbp + 0x28]
call fcn.00410dc0
test eax, eax
jne 0x721062
mov ecx, 1
xor rdx, rdx
mov r8d, dword [rbp + 0x70]
call sub.KERNEL32.DLL_OpenProcess
mov rcx, rax
xor rdx, rdx
call sub.KERNEL32.DLL_TerminateProcess
mov dword [rbp + 0x2ac], eax
mov rcx, qword [rbp + 0x2a0]
lea rdx, [rbp + 0x68]
call fcn.006fdd50
mov dword [rbp + 0x2a8], eax
cmp dword [rbp + 0x2a8], 0
jne 0x720fa8
mov rcx, qword [rbp + 0x2a0]
call sub.KERNEL32.DLL_CloseHandle
nop
lea rcx, [rbp + 0x28]
mov edx, 7
call fcn.0040f030
lea rcx, [rbp + 0x2c0]
call fcn.0040ef50
mov eax, dword [rbp + 0x2ac]
lea rsp, [rbp + 0x2b0]
pop rbp
ret
Function at 0x721460
Capabilities:
Create process on windows

Disassembly:
push rbp
sub rsp, 0xe0
mov rbp, rsp
mov qword [rbp + 0xf0], rcx
mov dword [rbp + 0xf8], edx
mov dword [rbp + 0x100], r8d
mov rcx, qword [rbp + 0xf0]
call fcn.0040f0e0
nop
lea rcx, [rbp + 0x70]
mov edx, 0x68
xor r8, r8
call fcn.0040aae0
mov dword [rbp + 0x70], 0x68
mov dword [rbp + 0xac], 1
movzx rax, word [rbp + 0x100]
mov word [rbp + 0xb0], ax
mov rcx, qword [rbp + 0xf0]
call fcn.00410760
xor rcx, rcx
mov rdx, rax
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0x30
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
lea rax, [rbp + 0x70]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x58]
mov qword [rsp + 0x48], rax
call sub.KERNEL32.DLL_CreateProcessW
test eax, eax
jne 0x72151f
mov dword [rbp + 0xdc], 0
jmp 0x721573
cmp dword [rbp + 0xf8], 0xffffffff
jne 0x721554
mov rcx, qword [rbp + 0x58]
mov edx, 0x64
call sub.KERNEL32.DLL_WaitForSingleObject
mov dword [rbp + 0x54], eax
mov rax, qword [0x008c9638]
mov rcx, qword [rax]
call fcn.006e66d0
cmp dword [rbp + 0x54], 0x102
je 0x721528
jmp 0x721563
mov rcx, qword [rbp + 0x58]
mov edx, dword [rbp + 0xf8]
call sub.KERNEL32.DLL_WaitForSingleObject
mov rcx, qword [rbp + 0x58]
lea rdx, [rbp + 0xdc]
call sub.KERNEL32.DLL_GetExitCodeProcess
nop
lea rcx, [rbp + 0xf0]
call fcn.0040ef50
mov eax, dword [rbp + 0xdc]
lea rsp, [rbp + 0xe0]
pop rbp
ret

Function at 0x7293e0
Capabilities:
Get common file path

Disassembly:
push rbp
sub rsp, 0x30
mov rbp, rsp
mov qword [rbp + 0x40], rcx
mov rcx, qword [rbp + 0x40]
mov edx, 0x104
call fcn.004109f0
mov dword [rbp + 0x2c], 0
mov rax, qword [rbp + 0x40]
cmp qword [rax], 0
je 0x729419
mov rax, qword [rbp + 0x40]
mov rax, qword [rax]
mov eax, dword [rax - 4]
mov dword [rbp + 0x2c], eax
mov rax, qword [rbp + 0x40]
mov rcx, qword [rax]
call fcn.00410760
mov ecx, dword [rbp + 0x2c]
mov rdx, rax
call sub.KERNEL32.DLL_GetTempPathW
mov rcx, qword [rbp + 0x40]
mov edx, eax
call fcn.004109f0
mov rax, qword [rbp + 0x40]
lea rsp, [rbp + 0x30]
pop rbp
ret

Function at 0x729600
Capabilities:
Get disk information

Disassembly:
push rbp
sub rsp, 0x40
mov rbp, rsp
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x20], 0
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x50], rcx
nop
lea rcx, [rbp + 0x30]
mov rdx, qword [rbp + 0x50]
call fcn.00434780
lea rcx, [0x00729724]
mov rdx, qword [rbp + 0x30]
call fcn.004594d0
test al, al
je 0x72965e
lea rcx, [rbp + 0x30]
mov edx, 1
mov r8d, 8
call fcn.00410e30
jmp 0x729688
lea rcx, [0x00729744]
mov rdx, qword [rbp + 0x30]
call fcn.004594d0
test al, al
je 0x729688
lea rcx, [rbp + 0x30]
mov edx, 1
mov r8d, 4
call fcn.00410e30
lea rcx, [rbp + 0x20]
mov rdx, qword [rbp + 0x30]
call fcn.004345a0
lea rcx, [rbp + 0x28]
mov rdx, qword [rbp + 0x20]
call fcn.00440c00
lea rcx, [rbp + 0x30]
mov rdx, qword [rbp + 0x28]
call fcn.0040f600
mov rcx, qword [rbp + 0x30]
call fcn.00410760
mov rcx, rax
call sub.KERNEL32.DLL_GetDriveTypeW
cmp eax, 2
sete al
mov byte [rbp + 0x3f], al
nop
lea rcx, [rbp + 0x20]
mov edx, 3
call fcn.0040f030
movzx rax, byte [rbp + 0x3f]
lea rsp, [rbp + 0x40]
pop rbp
ret
Function at 0x72af30
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rbp
sub rsp, 0x20
mov rbp, rsp
mov qword [rbp + 0x30], rcx
mov qword [rbp + 0x38], rdx
mov dword [rbp + 0x40], r8d
mov rax, qword [rbp + 0x38]
mov qword [rbp + 0x18], rax
mov rax, qword [rbp + 0x30]
mov eax, dword [rax]
mov dword [rbp + 0x10], eax
xor rax, rax
mov ecx, dword [rbp + 0x40]
sub ecx, 1
mov dword [rbp + 0x14], eax
cmp dword [rbp + 0x14], ecx
jg 0x72afa3
add ecx, 1
lea rax, [0x008b698c]
mov rdx, qword [rbp + 0x18]
movzx r8, byte [rbp + 0x10]
xor r8b, byte [rdx]
movzx r8, r8b
mov edx, dword [rbp + 0x10]
shr edx, 8
and edx, 0xffffff
mov eax, dword [rax + r8*4]
xor eax, edx
mov dword [rbp + 0x10], eax
add qword [rbp + 0x18], 1
add dword [rbp + 0x14], 1
cmp dword [rbp + 0x14], ecx
jne 0x72af69
nop
mov rax, qword [rbp + 0x30]
mov ecx, dword [rbp + 0x10]
mov dword [rax], ecx
lea rsp, [rbp + 0x20]
pop rbp
ret

Function at 0x72de20
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rbp
sub rsp, 0x20
mov rbp, rsp
mov qword [rbp + 0x30], rcx
mov qword [rbp + 0x38], rdx
mov dword [rbp + 0x40], r8d
mov rax, qword [rbp + 0x38]
mov qword [rbp + 0x10], rax
mov rax, qword [rbp + 0x30]
mov eax, dword [rax]
mov dword [rbp + 0x18], eax
xor rax, rax
mov ecx, dword [rbp + 0x40]
sub ecx, 1
mov dword [rbp + 0x1c], eax
cmp dword [rbp + 0x1c], ecx
jg 0x72de8d
add ecx, 1
mov rax, qword [0x008c88e8]
mov rdx, qword [rbp + 0x10]
movzx r8, byte [rbp + 0x18]
xor r8b, byte [rdx]
movzx r8, r8b
mov edx, dword [rbp + 0x18]
shr edx, 8
mov eax, dword [rax + r8*4]
xor eax, edx
mov dword [rbp + 0x18], eax
add qword [rbp + 0x10], 1
add dword [rbp + 0x1c], 1
cmp dword [rbp + 0x1c], ecx
jne 0x72de59
nop
mov rax, qword [rbp + 0x30]
mov ecx, dword [rbp + 0x18]
mov dword [rax], ecx
lea rsp, [rbp + 0x20]
pop rbp
ret
Function at 0x739d30
Capabilities:
Move file

Disassembly:
push rbp
push rbx
sub rsp, 0x58
mov rbp, rsp
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x70], rcx
nop
mov rax, qword [rbp + 0x70]
lea rax, [rax + 0x30]
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 0x40]
mov rax, qword [rax]
mov qword [rbp + 0x38], rax
mov rax, qword [rbp + 0x40]
mov qword [rax], 0
mov rcx, qword [rbp + 0x38]
call fcn.0040bcd0
mov rax, qword [rbp + 0x70]
lea rax, [rax + 0x20]
add dword [rax], 1
mov rax, qword [rbp + 0x70]
cmp qword [rax + 0x38], 0
jle 0x739dcd
mov rcx, qword [rbp + 0x70]
lea rdx, [rbp + 0x28]
mov rax, qword [rbp + 0x70]
mov r8d, dword [rax + 0x20]
call fcn.00739370
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x70]
mov rcx, qword [rax + 8]
call fcn.00410760
mov rbx, rax
mov rcx, qword [rbp + 0x30]
call fcn.00410760
mov rcx, rbx
mov rdx, rax
call sub.KERNEL32.DLL_MoveFileW
jmp 0x739e54
mov rax, qword [rbp + 0x70]
cmp qword [rax + 0x40], 0
je 0x739e23
mov byte [rbp + 0x4f], 0
mov rax, qword [rbp + 0x70]
lea rbx, [rax + 0x40]
mov rcx, qword [rbx + 8]
mov rdx, qword [rbp + 0x70]
lea r8, [rbp + 0x4f]
call qword [rbx]
cmp byte [rbp + 0x4f], 0
je 0x739e0e
mov rcx, qword [0x00723410]
mov dl, 1
call fcn.00726e20
mov rcx, rax
call fcn.0040e170
mov rax, qword [rbp + 0x70]
mov rcx, qword [rax + 8]
call fcn.00729750
cmp rax, 0xffffffffffffffff
je 0x739ddc
jmp 0x739e39
mov rcx, qword [0x00723410]
mov dl, 1
call fcn.00726e20
mov rcx, rax
call fcn.0040e170
mov rax, qword [rbp + 0x70]
mov rcx, qword [rax + 8]
call fcn.00729550
mov ecx, eax
mov rax, qword [rbp + 0x70]
mov edx, dword [rax + 0x20]
call fcn.0072b6c0
mov rcx, qword [0x004e2e58]
mov dl, 1
mov rax, qword [rbp + 0x70]
mov r8, qword [rax + 8]
mov r9w, 0xff20
call fcn.00517f70
mov rcx, qword [rbp + 0x70]
mov qword [rcx + 0x30], rax
mov rax, qword [rbp + 0x70]
mov qword [rax + 0x28], 0
nop
lea rcx, [rbp + 0x28]
call fcn.0040ef50
lea rsp, [rbp + 0x58]
pop rbx
pop rbp
ret
Function at 0x751770
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push rbp
sub rsp, 0x40
mov rbp, rsp
mov qword [rbp + 0x50], rcx
mov qword [rbp + 0x58], rdx
mov dword [rbp + 0x60], r8d
mov rax, qword [rbp + 0x50]
mov ecx, 8
mov eax, dword [rax + 0xc]
cdq
idiv ecx
test edx, edx
je 0x7517b2
lea rcx, [0x0075192c]
lea rdx, [0x007519e0]
mov r8d, 0x216
call fcn.0040ec80
mov rax, qword [rbp + 0x58]
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x50]
cmp dword [rax + 0xc], 0
jle 0x75181a
mov rax, qword [rbp + 0x50]
mov ecx, 8
mov eax, dword [rax + 0xc]
cdq
idiv ecx
mov dword [rbp + 0x2c], eax
xor rax, rax
mov ecx, dword [rbp + 0x2c]
sub ecx, 1
mov dword [rbp + 0x3c], eax
cmp dword [rbp + 0x3c], ecx
jg 0x751813
add ecx, 1
mov rax, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x50]
movzx rdx, byte [rdx + 8]
and dl, 0xff
mov byte [rax], dl
add qword [rbp + 0x30], 1
mov rax, qword [rbp + 0x50]
shr dword [rax + 8], 8
add dword [rbp + 0x3c], 1
cmp dword [rbp + 0x3c], ecx
jne 0x7517eb
nop
mov eax, dword [rbp + 0x2c]
sub dword [rbp + 0x60], eax
mov rax, qword [rbp + 0x50]
mov rcx, qword [rbp + 0x50]
mov eax, dword [rax + 0x10]
sub eax, dword [rcx + 0x20]
mov dword [rbp + 0x28], eax
mov eax, dword [rbp + 0x60]
cmp eax, dword [rbp + 0x28]
jg 0x75183b
mov eax, dword [rbp + 0x60]
mov dword [rbp + 0x2c], eax
jmp 0x751841
mov eax, dword [rbp + 0x28]
mov dword [rbp + 0x2c], eax
mov rax, qword [rbp + 0x50]
mov rcx, qword [rax + 0x20]
mov rdx, qword [rbp + 0x30]
movsxd r8, dword [rbp + 0x2c]
call fcn.00408b60
mov eax, dword [rbp + 0x2c]
sub dword [rbp + 0x60], eax
mov rax, qword [rbp + 0x50]
lea rax, [rax + 0x20]
movsxd rcx, dword [rbp + 0x2c]
add qword [rax], rcx
cmp dword [rbp + 0x60], 0
je 0x751902
movsxd rax, dword [rbp + 0x2c]
add qword [rbp + 0x30], rax
mov rcx, qword [rbp + 0x50]
call fcn.00750e00
test al, al
jne 0x7518a7
mov rcx, qword [0x0072c8b8]
mov dl, 1
lea r8, [0x00751a4c]
call fcn.0043e7c0
mov rcx, rax
call fcn.0040e170
mov rax, qword [rbp + 0x50]
mov rcx, qword [rbp + 0x50]
mov eax, dword [rax + 0x10]
sub eax, dword [rcx + 0x20]
mov dword [rbp + 0x28], eax
mov eax, dword [rbp + 0x60]
cmp eax, dword [rbp + 0x28]
jg 0x7518c8
mov eax, dword [rbp + 0x60]
mov dword [rbp + 0x2c], eax
jmp 0x7518ce
mov eax, dword [rbp + 0x28]
mov dword [rbp + 0x2c], eax
mov rax, qword [rbp + 0x50]
mov rcx, qword [rax + 0x20]
mov rdx, qword [rbp + 0x30]
movsxd r8, dword [rbp + 0x2c]
call fcn.00408b60
mov eax, dword [rbp + 0x2c]
sub dword [rbp + 0x60], eax
mov rax, qword [rbp + 0x50]
lea rax, [rax + 0x20]
movsxd rcx, dword [rbp + 0x2c]
add qword [rax], rcx
cmp dword [rbp + 0x60], 0
jne 0x751875
nop
mov rax, qword [rbp + 0x50]
mov dword [rax + 8], 0
mov rax, qword [rbp + 0x50]
mov dword [rax + 0xc], 0
lea rsp, [rbp + 0x40]
pop rbp
ret
Function at 0x754db0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
sub rsp, 0x48
mov rbp, rsp
mov qword [rbp + 0x60], rcx
mov qword [rbp + 0x68], rdx
mov dword [rbp + 0x70], r8d
mov rax, qword [rbp + 0x60]
cmp byte [rax + 8], 0
jne 0x754de9
lea rcx, [0x00754ec8]
lea rdx, [0x00754f60]
mov r8d, 0xc8
call fcn.0040ec80
mov rax, qword [rbp + 0x60]
mov eax, dword [rax + 0xc]
mov dword [rbp + 0x24], eax
mov rax, qword [rbp + 0x60]
mov eax, dword [rax + 0x10]
mov dword [rbp + 0x28], eax
mov rax, qword [rbp + 0x60]
mov eax, dword [rax + 0x14]
mov dword [rbp + 0x2c], eax
mov rax, qword [rbp + 0x68]
mov qword [rbp + 0x30], rax
xor rax, rax
mov ebx, dword [rbp + 0x70]
sub ebx, 1
mov dword [rbp + 0x3c], eax
cmp dword [rbp + 0x3c], ebx
jg 0x754e94
add ebx, 1
mov eax, dword [rbp + 0x2c]
and eax, 0xffff
or eax, 2
mov dword [rbp + 0x38], eax
mov rax, qword [rbp + 0x30]
mov ecx, dword [rbp + 0x38]
xor ecx, 1
mov edx, dword [rbp + 0x38]
imul edx, ecx
shr edx, 8
xor byte [rax], dl
mov rax, qword [rbp + 0x30]
movzx rcx, byte [rax]
mov edx, dword [rbp + 0x24]
call fcn.0072afc0
mov dword [rbp + 0x24], eax
mov eax, dword [rbp + 0x24]
and eax, 0xff
add dword [rbp + 0x28], eax
mov eax, dword [rbp + 0x28]
imul eax, eax, 0x8088405
add eax, 1
mov dword [rbp + 0x28], eax
mov ecx, dword [rbp + 0x28]
shr ecx, 0x18
mov edx, dword [rbp + 0x2c]
call fcn.0072afc0
mov dword [rbp + 0x2c], eax
add qword [rbp + 0x30], 1
add dword [rbp + 0x3c], 1
cmp dword [rbp + 0x3c], ebx
jne 0x754e23
nop
mov rax, qword [rbp + 0x60]
mov ecx, dword [rbp + 0x24]
mov dword [rax + 0xc], ecx
mov rax, qword [rbp + 0x60]
mov ecx, dword [rbp + 0x28]
mov dword [rax + 0x10], ecx
mov rax, qword [rbp + 0x60]
mov ecx, dword [rbp + 0x2c]
mov dword [rax + 0x14], ecx
lea rsp, [rbp + 0x48]
pop rbx
pop rbp
ret
Function at 0x754fc0
Capabilities:
Encode data using xor

Disassembly:
push rbp
sub rsp, 0x40
mov rbp, rsp
mov qword [rbp + 0x50], rcx
mov qword [rbp + 0x58], rdx
mov qword [rbp + 0x60], r8
mov dword [rbp + 0x68], r9d
cmp qword [rbp + 0x60], 0
jne 0x754ff9
lea rcx, [0x007550f4]
lea rdx, [0x00755168]
mov r8d, 0xf8
call fcn.0040ec80
mov rcx, qword [rbp + 0x50]
mov rdx, qword [rbp + 0x60]
call fcn.007551d0
mov dword [rbp + 0x38], 0
mov rax, qword [rbp + 0x50]
mov eax, dword [rax + 0x14]
and eax, 0xffff
or eax, 2
mov dword [rbp + 0x34], eax
movsxd rax, dword [rbp + 0x38]
mov rcx, qword [rbp + 0x58]
movsxd rdx, dword [rbp + 0x38]
mov r8d, dword [rbp + 0x34]
xor r8d, 1
mov r9d, dword [rbp + 0x34]
imul r9d, r8d
shr r9d, 8
movzx rcx, byte [rcx + rdx]
xor cl, r9b
mov byte [rax + rbp + 0x28], cl
movsxd rax, dword [rbp + 0x38]
movzx rcx, byte [rax + rbp + 0x28]
mov rax, qword [rbp + 0x50]
mov edx, dword [rax + 0xc]
call fcn.0072afc0
mov rcx, qword [rbp + 0x50]
mov dword [rcx + 0xc], eax
mov rax, qword [rbp + 0x50]
mov rcx, qword [rbp + 0x50]
mov ecx, dword [rcx + 0xc]
and ecx, 0xff
add dword [rax + 0x10], ecx
mov rax, qword [rbp + 0x50]
mov rcx, qword [rbp + 0x50]
mov ecx, dword [rcx + 0x10]
imul ecx, ecx, 0x8088405
add ecx, 1
mov dword [rax + 0x10], ecx
mov rax, qword [rbp + 0x50]
mov ecx, dword [rax + 0x10]
shr ecx, 0x18
mov rax, qword [rbp + 0x50]
mov edx, dword [rax + 0x14]
call fcn.0072afc0
mov rcx, qword [rbp + 0x50]
mov dword [rcx + 0x14], eax
add dword [rbp + 0x38], 1
cmp dword [rbp + 0x38], 0xc
jne 0x75500d
nop
movzx rax, byte [rbp + 0x33]
cmp al, byte [rbp + 0x6b]
sete al
mov byte [rbp + 0x3f], al
mov rax, qword [rbp + 0x50]
movzx rcx, byte [rbp + 0x3f]
mov byte [rax + 8], cl
movzx rax, byte [rbp + 0x3f]
lea rsp, [rbp + 0x40]
pop rbp
ret
Function at 0x791680
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax + 0x16c]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x3c]
mov ecx, 1
mov dword [rsp + 0x40], ecx
movzx ecx, al
mov eax, dword [rsp + 0x40]
shl eax, cl
dec eax
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax + 0x16d]
mov rcx, qword [rsp + 0x80]
movzx ecx, byte [rcx + 0x16e]
add eax, ecx
mov rcx, qword [rsp + 0x80]
movzx ecx, byte [rcx + 0x16f]
add eax, ecx
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x3c], 0
je 0x791905
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x24], eax
jmp 0x79172a
mov rax, qword [rsp + 0x30]
add rax, 4
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x24]
dec ecx
mov dword [rsp + 0x24], ecx
test eax, eax
je 0x791905
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x48], rcx
movzx ecx, al
mov rax, qword [rsp + 0x48]
mov eax, dword [rax]
sar eax, cl
and eax, dword [rsp + 0x28]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x154]
movzx ecx, al
mov eax, dword [rsp + 0x20]
shl eax, cl
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x158]
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x158], eax
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x3c]
mov eax, dword [rax + 0x154]
add eax, ecx
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x50]
mov dword [rax + 0x154], ecx
movsxd rax, dword [rsp + 0x50]
cmp rax, 0x10
jb 0x791900
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x140]
mov rcx, qword [rsp + 0x80]
movzx ecx, word [rcx + 0x158]
mov word [rax], cx
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x158]
shr eax, 0x10
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x158], eax
mov rax, qword [rsp + 0x80]
movsxd rax, dword [rax + 0x154]
sub rax, 0x10
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x58]
mov dword [rax + 0x154], ecx
movsxd rax, dword [rsp + 0x58]
cmp rax, 0x10
jbe 0x791886
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x154]
mov ecx, dword [rsp + 0x3c]
sub ecx, eax
mov eax, ecx
movzx ecx, al
mov eax, dword [rsp + 0x20]
sar eax, cl
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x158]
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x158], eax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x140]
add rax, 2
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
mov qword [rax + 0x140], rcx
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x138]
cmp qword [rsp + 0x60], rax
jne 0x7918e7
mov rax, qword [rsp + 0x80]
add rax, 0x130
mov rcx, rax
mov rax, qword [rsp + 0x80]
call qword [rax + 0x148]
mov rax, qword [rsp + 0x80]
movsxd rax, dword [rax + 0x154]
cmp rax, 0x10
jae 0x7917d2
jmp 0x79171c
add rsp, 0x78
ret
Function at 0x7bcd60
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
sub rsp, 0x48
mov rbp, rsp
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x20], 0
mov qword [rbp + 0x60], rcx
mov qword [rbp + 0x68], rdx
mov rcx, qword [rbp + 0x68]
call fcn.0040f100
nop
mov rcx, qword [rbp + 0x60]
call fcn.0040efa0
mov dword [rbp + 0x38], 0
mov dword [rbp + 0x30], 0
cmp qword [rbp + 0x68], 0
je 0x7bcdb3
mov rax, qword [rbp + 0x68]
mov eax, dword [rax - 4]
mov dword [rbp + 0x30], eax
mov eax, 1
mov ebx, dword [rbp + 0x30]
mov dword [rbp + 0x3c], eax
cmp dword [rbp + 0x3c], ebx
jg 0x7bce40
add ebx, 1
lea rcx, [rbp + 0x28]
mov rax, qword [rbp + 0x60]
mov rdx, qword [rax]
call fcn.004108b0
lea rcx, [rbp + 0x20]
mov rax, qword [rbp + 0x68]
movsxd rdx, dword [rbp + 0x3c]
lea r8, [0x008c30a4]
movsxd r9, dword [rbp + 0x38]
movzx rdx, byte [rax + rdx - 1]
xor dl, byte [r8 + r9]
movzx rdx, dl
mov r8d, 2
call fcn.00432ea0
lea rcx, [rbp + 0x28]
mov rdx, qword [rbp + 0x20]
call fcn.00410ad0
mov rcx, qword [rbp + 0x60]
mov rdx, qword [rbp + 0x28]
xor r8, r8
call fcn.004102a0
mov eax, dword [rbp + 0x38]
add eax, 1
mov ecx, 8
cdq
idiv ecx
mov dword [rbp + 0x38], edx
add dword [rbp + 0x3c], 1
cmp dword [rbp + 0x3c], ebx
jne 0x7bcdc7
nop
nop
lea rcx, [rbp + 0x20]
mov edx, 2
call fcn.0040f030
lea rcx, [rbp + 0x68]
call fcn.0040efa0
mov rax, qword [rbp + 0x60]
lea rsp, [rbp + 0x48]
pop rbx
pop rbp
ret

Function at 0x7bcec0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
sub rsp, 0x58
mov rbp, rsp
mov qword [rbp + 0x20], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x70], rcx
mov qword [rbp + 0x78], rdx
mov rcx, qword [rbp + 0x78]
call fcn.0040f100
nop
mov rcx, qword [rbp + 0x70]
call fcn.0040efa0
mov dword [rbp + 0x48], 0
mov dword [rbp + 0x40], 0
cmp qword [rbp + 0x78], 0
je 0x7bcf23
mov rax, qword [rbp + 0x78]
mov eax, dword [rax - 4]
mov dword [rbp + 0x40], eax
mov ecx, 1
mov r8d, 2
mov eax, dword [rbp + 0x40]
cdq
idiv r8d
mov rbx, rax
mov dword [rbp + 0x4c], ecx
cmp dword [rbp + 0x4c], ebx
jg 0x7bcfdb
add ebx, 1
lea rcx, [rbp + 0x30]
mov rdx, qword [rbp + 0x78]
mov r8d, dword [rbp + 0x4c]
add r8d, r8d
sub r8d, 1
mov r9d, 2
call fcn.00410090
lea rcx, [rbp + 0x38]
lea rdx, [0x007bd098]
mov r8, qword [rbp + 0x30]
call fcn.0040fe50
lea rcx, [rbp + 0x28]
mov rdx, qword [rbp + 0x38]
call fcn.004108b0
mov rcx, qword [rbp + 0x28]
call fcn.00432ee0
lea rcx, [rbp + 0x20]
lea rdx, [0x008c30a4]
movsxd r8, dword [rbp + 0x48]
xor al, byte [rdx + r8]
mov edx, eax
xor r8, r8
call fcn.0040fb80
mov rcx, qword [rbp + 0x70]
mov rdx, qword [rbp + 0x20]
call fcn.0040fd50
mov eax, dword [rbp + 0x48]
add eax, 1
mov ecx, 8
cdq
idiv ecx
mov dword [rbp + 0x48], edx
add dword [rbp + 0x4c], 1
cmp dword [rbp + 0x4c], ebx
jne 0x7bcf49
nop
nop
lea rcx, [rbp + 0x20]
call fcn.0040efa0
lea rcx, [rbp + 0x28]
call fcn.0040ef50
lea rcx, [rbp + 0x30]
mov edx, 2
call fcn.0040f060
lea rcx, [rbp + 0x78]
call fcn.0040efa0
mov rax, qword [rbp + 0x70]
lea rsp, [rbp + 0x58]
pop rbx
pop rbp
ret
Function at 0x7beda0
Capabilities:
Check if file exists

Disassembly:
push rbp
sub rsp, 0x50
mov rbp, rsp
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x60], rcx
mov qword [rbp + 0x68], rdx
mov rcx, qword [rbp + 0x68]
call fcn.0040f0e0
nop
mov rcx, qword [rbp + 0x60]
call fcn.0040ef50
mov dword [rbp + 0x4c], 0x5a
lea rcx, [rbp + 0x38]
movzx rdx, word [rbp + 0x4c]
call fcn.004107b0
mov rcx, qword [rbp + 0x38]
call fcn.006f8770
test al, al
je 0x7bee54
lea rcx, [rbp + 0x30]
movzx rdx, word [rbp + 0x4c]
call fcn.004107b0
lea rcx, [rbp + 0x40]
mov rdx, qword [rbp + 0x30]
lea r8, [0x007beee0]
call fcn.00410bc0
lea rcx, [rbp + 0x28]
mov rdx, qword [rbp + 0x40]
mov r8, qword [rbp + 0x68]
call fcn.00410bc0
mov rcx, qword [rbp + 0x28]
call sub.shlwapi.dll_PathFileExistsW_1
test eax, eax
je 0x7bee54
mov rcx, qword [rbp + 0x60]
mov rdx, qword [rbp + 0x40]
call fcn.0040f580
jmp 0x7bee60
sub dword [rbp + 0x4c], 1
cmp dword [rbp + 0x4c], 0x42
jne 0x7bedea
nop
nop
lea rcx, [rbp + 0x28]
mov edx, 4
call fcn.0040f030
lea rcx, [rbp + 0x68]
call fcn.0040ef50
mov rax, qword [rbp + 0x60]
lea rsp, [rbp + 0x50]
pop rbp
ret

Function at 0x7beef0
Capabilities:
Check if file exists
Get disk information

Disassembly:
push rbp
sub rsp, 0x50
mov rbp, rsp
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x60], rcx
mov qword [rbp + 0x68], rdx
mov rcx, qword [rbp + 0x68]
call fcn.0040f0e0
nop
mov rcx, qword [rbp + 0x60]
call fcn.0040ef50
mov dword [rbp + 0x4c], 0x5a
lea rcx, [rbp + 0x38]
movzx rdx, word [rbp + 0x4c]
call fcn.004107b0
lea rcx, [rbp + 0x38]
lea rdx, [0x007bf040]
call fcn.00410ad0
mov rcx, qword [rbp + 0x38]
call fcn.00410760
mov rcx, rax
call sub.KERNEL32.DLL_GetDriveTypeW
cmp eax, 5
jne 0x7befbd
lea rcx, [rbp + 0x30]
movzx rdx, word [rbp + 0x4c]
call fcn.004107b0
lea rcx, [rbp + 0x40]
mov rdx, qword [rbp + 0x30]
lea r8, [0x007bf054]
call fcn.00410bc0
lea rcx, [rbp + 0x28]
mov rdx, qword [rbp + 0x40]
mov r8, qword [rbp + 0x68]
call fcn.00410bc0
mov rcx, qword [rbp + 0x28]
call sub.shlwapi.dll_PathFileExistsW_1
test eax, eax
je 0x7befbd
mov rcx, qword [rbp + 0x60]
mov rdx, qword [rbp + 0x40]
call fcn.0040f580
jmp 0x7befcd
sub dword [rbp + 0x4c], 1
cmp dword [rbp + 0x4c], 0x42
jne 0x7bef3a
nop
nop
lea rcx, [rbp + 0x28]
mov edx, 4
call fcn.0040f030
lea rcx, [rbp + 0x68]
call fcn.0040ef50
mov rax, qword [rbp + 0x60]
lea rsp, [rbp + 0x50]
pop rbp
ret