joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140068ed4
Capabilities:
Hash data via bcrypt

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, r9
mov rdi, rcx
test rdx, rdx
je 0x140068f92
test r8d, r8d
je 0x140068f92
test rbx, rbx
je 0x140068f92
mov rcx, qword [rcx + 8]
xor r9d, r9d
call qword [sym.imp.bcrypt.dll_BCryptHashData]
lea rsi, str.8__r_
test eax, eax
jns 0x140068f46
mov rcx, qword [str.8__r_]
cmp rcx, rsi
je 0x140068f46
test byte [rcx + 0x1c], 1
je 0x140068f46
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400bc710]
mov edx, 0xf
mov r9d, eax
call fcn.140003d18
mov r8d, dword [rdi + 0x1c]
xor r9d, r9d
mov rcx, qword [rdi + 8]
mov rdx, rbx
call qword [sym.imp.bcrypt.dll_BCryptFinishHash]
mov ebx, eax
test eax, eax
jns 0x140068f8a
mov rcx, qword [str.8__r_]
cmp rcx, rsi
je 0x140068f8a
test byte [rcx + 0x1c], 1
je 0x140068f8a
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400bc710]
mov edx, 0x10
mov r9d, eax
call fcn.140003d18
bts ebx, 0x1c
mov eax, ebx
jmp 0x140068f97
mov eax, 0x80070057
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140069400
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push r14
sub rsp, 0x30
mov rdi, rdx
mov rbx, rcx
and qword [rcx], 0
and dword [rcx + 8], 0
lea r14, [rcx + 0x10]
xor edx, edx
lea r8d, [rdx + 0x58]
mov rcx, r14
call fcn.1400860f0
mov rcx, qword [rbx]
test rcx, rcx
je 0x14006944b
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
and qword [rbx], 0
mov r8d, 0x20
mov rdx, rdi
mov rcx, rbx
call fcn.140079ef8
test eax, eax
js 0x1400695b0
lea r8, str.PACKEDBINARY
lea rdx, str.ETWSRC
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rsi, rax
test rax, rax
je 0x1400695b8
mov rdx, rax
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400695fc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
test rax, rax
je 0x14006960a
mov rdx, rsi
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
cmp eax, 8
ja 0x1400694f2
lea rdx, str.8__r_
mov rcx, qword [str.8__r_]
cmp rcx, rdx
je 0x140069646
test byte [rcx + 0x1c], 1
je 0x140069646
mov edx, 0xb
mov r9d, eax
jmp 0x140069636
mov r9d, dword [rdi]
cmp r9d, 0x1fa2093b
je 0x14006952d
lea rdx, str.8__r_
mov rcx, qword [str.8__r_]
cmp rcx, rdx
je 0x140069646
test byte [rcx + 0x1c], 1
je 0x140069646
mov rcx, qword [rcx + 0x10]
call fcn.1400692cc
jmp 0x140069646
mov r9d, dword [rdi + 4]
mov dword [rbx + 8], r9d
add rdi, 8
add esi, 0xfffffff8
cmp r9d, esi
jb 0x140069618
mov rcx, r14
call fcn.140073948
test eax, eax
jne 0x140069574
mov qword [rbx + 0x50], r14
mov qword [r14], rdi
mov dword [rbx + 0x18], esi
mov rax, rbx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
lea rdx, str.8__r_
mov rcx, qword [str.8__r_]
cmp rcx, rdx
je 0x1400695a5
test byte [rcx + 0x1c], 1
je 0x1400695a5
mov edx, 0xe
mov r9d, eax
lea r8, [0x1400bc790]
mov rcx, qword [rcx + 0x10]
call fcn.140003d18
mov ecx, 0x8000ffff
call fcn.140079754
int3
mov ecx, eax
call fcn.140079754
int3
call fcn.1400692c4
mov ebx, eax
lea rdx, str.8__r_
mov rcx, qword [str.8__r_]
cmp rcx, rdx
je 0x1400695f4
test byte [rcx + 0x1c], 1
je 0x1400695f4
mov edx, 0xa
mov dword [rsp + 0x20], eax
mov r9, rdi
lea r8, [0x1400bc790]
mov rcx, qword [rcx + 0x10]
call fcn.140003c68
mov ecx, ebx
call fcn.140079754
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14007984c
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14007984c
int3
lea rdx, str.8__r_
mov rcx, qword [str.8__r_]
cmp rcx, rdx
je 0x140069646
test byte [rcx + 0x1c], 1
je 0x140069646
mov edx, 0xd
lea r8, [0x1400bc790]
mov rcx, qword [rcx + 0x10]
call fcn.140006560
mov ecx, 0x8007070c
call fcn.140079754
int3
Function at 0x140069e2c
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1400d7c88]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r13d, r8d
mov r14d, edx
mov rax, rcx
mov qword [rbp - 0x38], rcx
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rcx
mov dword [rbp - 0x18], ecx
xor esi, esi
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.14007ab04
mov edi, eax
mov ecx, eax
shr ecx, 0x1f
test cl, cl
je 0x140069e8f
mov r9d, eax
jmp 0x140069ffc
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r12d, eax
mov r15d, dword [rbp - 0x1c]
cmp dword [rbp - 0x2c], r14d
je 0x14006a015
mov ecx, 0x2710
mov eax, 0xcccccccd
mul dword [rbp - 0x18]
mov ebx, edx
shr ebx, 3
cmp ebx, 0x7d0
jae 0x140069ec7
mov ebx, 0x7d0
jmp 0x140069ecc
cmp ebx, ecx
cmova ebx, ecx
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_Sleep]
add esi, ebx
mov rdx, qword [rbp - 0x38]
lea rcx, [rbp - 0x30]
call fcn.14007ab04
mov edi, eax
shr eax, 0x1f
test al, al
jne 0x140069ff9
cmp dword [rbp - 0x2c], r14d
je 0x14006a015
cmp r13d, 0xffffffff
je 0x140069f09
cmp r13d, esi
jb 0x140069fc1
cmp dword [rbp - 0x1c], r15d
jbe 0x140069f1e
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r12d, eax
mov r15d, dword [rbp - 0x1c]
jmp 0x140069f62
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, r12d
mov r9d, dword [rbp - 0x18]
cmp eax, r9d
jbe 0x140069f62
mov rcx, qword [str.8__r_]
lea rdx, str.8__r_
cmp rcx, rdx
je 0x140069f62
test byte [rcx + 0x1c], 4
je 0x140069f62
mov edx, 0xb
mov dword [rsp + 0x20], eax
lea r8, [0x1400bc8d8]
mov rcx, qword [rcx + 0x10]
call fcn.140003d4c
and dword [rbp - 0x40], 0
call qword [sym.imp.mpclient.dll_MpClientUtilExportFunctions]
movabs r10, 0x839537915cdcb870
lea rcx, [rbp - 0x40]
mov rax, qword [rax + 0x98]
call qword [0x14009aae8]
nop
cmp dword [rbp - 0x40], 0
je 0x140069f9c
cmp esi, 0x1b7740
jbe 0x140069f9c
call qword [sym.imp.KERNEL32.dll_DebugBreak]
cmp dword [rbp - 0x2c], r14d
jne 0x140069ea6
test esi, esi
je 0x14006a015
mov eax, dword [rbp - 0x24]
test eax, eax
je 0x140069ff2
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x14006a017
mov rcx, qword [str.8__r_]
lea rax, str.8__r_
cmp rcx, rax
je 0x140069ff2
test byte [rcx + 0x1c], 1
je 0x140069ff2
mov edx, 0xa
mov r9d, r14d
lea r8, [0x1400bc8d8]
mov rcx, qword [rcx + 0x10]
call fcn.140004000
mov ebx, 0x800705b4
jmp 0x14006a017
mov r9d, edi
lea r8, str.HrQueryServiceStatus
lea rdx, str._S_failed__code__lx
xor ecx, ecx
call fcn.14006a698
mov ebx, edi
jmp 0x14006a017
xor ebx, ebx
test edi, edi
jns 0x14006a033
mov r9d, edi
lea r8, str.UtilWaitForServiceOp
lea rdx, str._S_failed__code__lx
xor ecx, ecx
call fcn.14006a698
mov eax, ebx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140083d20
mov rbx, qword [rsp + 0xc0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14006b718
Capabilities:
Delete file
Set file attributes

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14006b77c
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
cmp ecx, 0x80070005
jne 0x14006b77e
mov edx, 0x80
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x14006b76f
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
jmp 0x14006b77e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x14006b759
xor ecx, ecx
mov eax, ecx
add rsp, 0x20
pop rbx
ret

Function at 0x14006b788
Capabilities:
Copy file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, rdx
mov rsi, rcx
call fcn.14006b888
lea rbp, str.8__r_
test eax, eax
jns 0x14006b7e0
mov rcx, qword [str.8__r_]
cmp rcx, rbp
je 0x14006b7e0
test byte [rcx + 0x1c], 2
je 0x14006b7e0
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400bcc10]
mov edx, 0xe
mov dword [rsp + 0x20], eax
mov r9, rsi
call fcn.140003c68
mov r8d, 1
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x14006b832
call fcn.14007a89c
mov ebx, eax
mov rcx, qword [str.8__r_]
cmp rcx, rbp
je 0x14006b86e
test byte [rcx + 0x1c], 1
je 0x14006b86e
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400bcc10]
mov dword [rsp + 0x28], eax
mov edx, 0xf
mov r9, rsi
mov qword [rsp + 0x20], rdi
call fcn.140011338
jmp 0x14006b86e
mov rcx, rdi
call fcn.14006b888
mov ebx, eax
test eax, eax
jns 0x14006b86e
mov rcx, qword [str.8__r_]
cmp rcx, rbp
je 0x14006b86e
test byte [rcx + 0x1c], 1
je 0x14006b86e
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400bcc10]
mov edx, 0x10
mov dword [rsp + 0x20], eax
mov r9, rdi
call fcn.140003c68
mov rbp, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x14006b888
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rsi, rcx
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp eax, 0xffffffff
jne 0x14006b8e7
call fcn.14007a89c
mov ebx, eax
mov rcx, qword [str.8__r_]
lea rax, str.8__r_
cmp rcx, rax
je 0x14006b936
test byte [rcx + 0x1c], 1
je 0x14006b936
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400bcc10]
mov edx, 0x1c
mov dword [rsp + 0x20], ebx
mov r9, rsi
call fcn.140003c68
jmp 0x14006b936
test dil, 7
je 0x14006b936
and edi, 0xffffb1a8
mov rcx, rsi
mov edx, edi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x14006b936
call fcn.14007a89c
mov ebx, eax
mov rcx, qword [str.8__r_]
lea rax, str.8__r_
cmp rcx, rax
je 0x14006b936
test byte [rcx + 0x1c], 1
je 0x14006b936
mov rcx, qword [rcx + 0x10]
mov r9, rsi
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], edi
call fcn.140069234
mov rsi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140071f74
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x78
mov rdi, r8
mov rbx, rdx
mov rdx, rcx
lea r8, str.8__r_
mov rcx, qword [str.8__r_]
cmp rcx, r8
je 0x140071fe2
test byte [rcx + 0x1c], 4
je 0x140071fe2
mov rax, qword [rdi + 8]
add rax, qword [rdi]
mov r9, qword [rbx + 8]
add r9, qword [rbx]
mov edx, 0xf
mov qword [rsp + 0x20], rax
mov rcx, qword [rcx + 0x10]
call fcn.140071c74
mov rcx, qword [str.8__r_]
mov rdx, qword [rsp + 0xc0]
lea r8, str.8__r_
mov r12, qword [rbx + 8]
mov r13, qword [rbx]
lea rbp, [r12 + r13]
mov qword [rsp + 0xd8], rbp
mov rax, qword [rdi + 8]
mov qword [rsp + 0xc8], rax
mov r15, qword [rdi]
lea r14, [r15 + rax]
mov qword [rsp + 0x30], r14
cmp r14, rbp
je 0x140072038
xor esi, esi
cmp r14, rbp
jge 0x14007204b
cmp rcx, r8
je 0x140072038
test byte [rcx + 0x1c], 1
je 0x140072038
lea edx, [rsi + 0x10]
mov qword [rsp + 0x20], r14
mov r9, rbp
mov rcx, qword [rcx + 0x10]
call fcn.140071c74
xor eax, eax
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
add rdx, 0x10
mov r8, rbx
lea rcx, [rsp + 0x50]
call fcn.14007330c
nop
mov ecx, 0x400
call fcn.140084040
mov rbx, rax
mov qword [rsp + 0x38], rax
lea rdi, [rax + 0x400]
mov qword [rsp + 0x48], rdi
xor edx, edx
mov r8d, 0x400
mov rcx, rax
call fcn.1400860f0
mov qword [rsp + 0x40], rdi
sub r15, r13
sub r15, r12
add r15, qword [rsp + 0xc8]
mov qword [rsp + 0xc8], 0
je 0x140072170
mov r13, rdi
sub r13, rbx
mov rbp, qword [rsp + 0xc8]
mov r14, qword [rsp + 0xc0]
mov rax, r15
sub rax, rbp
cmp rax, r13
cmovae rax, r13
mov qword [rsp + 0xd0], rax
mov r8, rax
mov rdx, rbx
mov rcx, r14
call fcn.140072710
xor r12d, r12d
mov r8, r13
mov rdx, qword [rsp + 0xd0]
cmp rdx, r13
cmovbe r8, rdx
mov rax, r8
shr rax, 2
and r8d, 3
xor ecx, ecx
test rax, rax
je 0x14007211e
xor r12d, dword [rcx + rbx]
add rcx, 4
sub rax, 1
jne 0x140072110
test r8, r8
je 0x140072154
xor eax, eax
mov dword [rsp + 0xc8], eax
test r8, r8
je 0x140072151
lea rdx, [rcx + rbx]
lea rcx, [rsp + 0xc8]
call fcn.140091220
mov eax, dword [rsp + 0xc8]
mov rdx, qword [rsp + 0xd0]
xor r12d, eax
xor esi, r12d
add rbp, rdx
cmp rbp, r15
jb 0x1400720c6
mov rbp, qword [rsp + 0xd8]
mov r14, qword [rsp + 0x30]
test rbx, rbx
je 0x1400721a5
sub rdi, rbx
cmp rdi, 0x1000
jb 0x140072199
add rdi, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x1400721f2
mov rbx, rcx
mov rdx, rdi
mov rcx, rbx
call fcn.140084038
nop
mov rdx, qword [rsp + 0x58]
add rdx, qword [rsp + 0x60]
xor r8d, r8d
mov rcx, qword [rsp + 0x50]
call fcn.140072630
nop
mov rcx, qword [str.8__r_]
lea rax, str.8__r_
cmp rcx, rax
je 0x1400721eb
test byte [rcx + 0x1c], 4
je 0x1400721eb
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r14
mov r9, rbp
mov rcx, qword [rcx + 0x10]
call fcn.1400534e8
mov eax, esi
jmp 0x14007203a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140076028
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1400d7c88]
xor rax, rsp
mov qword [rsp + 0x18], rax
mov rax, qword [rcx + 0x148]
xor r9d, r9d
shr rcx, 4
mov r8d, r9d
mov qword [rsp], rcx
mov ecx, r9d
mov rdx, qword [rax + 8]
movups xmm0, xmmword [rdx - 0x10]
movdqu xmmword [rsp + 8], xmm0
movzx eax, byte [rsp + rcx + 8]
inc rcx
add eax, r8d
imul r8d, eax, 0x401
mov eax, r8d
shr eax, 6
xor r8d, eax
cmp rcx, 0x10
jb 0x140076061
movzx eax, byte [rsp + r9]
inc r9
add eax, r8d
imul r8d, eax, 0x401
mov eax, r8d
shr eax, 6
xor r8d, eax
cmp r9, 8
jb 0x140076082
lea eax, [r8 + r8*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
mov eax, 0x6fd91d85
imul r8d, ecx, 0x8001
mul r8d
shr edx, 0x12
imul ecx, edx, 0x927c0
sub r8d, ecx
lea eax, [r8 + 0x927c0]
mov rcx, qword [rsp + 0x18]
xor rcx, rsp
call fcn.140083d20
add rsp, 0x28
ret
Function at 0x140077f08
Capabilities:
Move file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x30
mov rsi, rcx
and qword [rax + 0x10], 0
mov r8, rcx
lea rdx, str._ls.bak
lea rcx, [rax + 0x10]
call fcn.14007a60c
mov ebx, eax
test eax, eax
jns 0x140077f4f
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140077f48
call fcn.140083d40
mov eax, ebx
jmp 0x140078028
mov rbx, qword [rsp + 0x48]
mov rcx, rbx
call fcn.140079370
mov edi, eax
cmp eax, 0x80070001
jle 0x140077fd5
lea ecx, [rax + 0x7ff8fffc]
cmp ecx, 0x7ff8fffb
jbe 0x140077fd5
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x140077fc4
call fcn.14007a89c
mov edi, eax
test eax, eax
jns 0x140077fc4
lea rax, str.8__r_
mov rcx, qword [str.8__r_]
cmp rcx, rax
je 0x140078019
test byte [rcx + 0x1c], 1
je 0x140078019
mov edx, 0x1d
mov r9d, edi
lea r8, [0x1400bedc8]
mov rcx, qword [rcx + 0x10]
call fcn.140004000
jmp 0x140078019
test rbx, rbx
je 0x140077fd1
mov rcx, rbx
call fcn.140083d40
xor eax, eax
jmp 0x140078028
lea rax, str.8__r_
mov rcx, qword [str.8__r_]
cmp rcx, rax
je 0x14007800b
test byte [rcx + 0x1c], 1
je 0x14007800b
mov edx, 0x1c
mov qword [rsp + 0x20], rbx
mov r9d, edi
lea r8, [0x1400bedc8]
mov rcx, qword [rcx + 0x10]
call fcn.140022d10
mov edx, edi
lea rcx, str.ERROR:_UtilDeletePathSafe___failed___X__n
call fcn.140077d60
test rbx, rbx
je 0x140078026
mov rcx, rbx
call fcn.140083d40
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x14007882c
Capabilities:
Check for time delay via gettickcount
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, edx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, edi
mov rcx, rbp
mov ebx, eax
call fcn.1400799fc
test al, al
je 0x1400788ad
lea esi, [rdi + 0x3a98]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, ebx
cmp esi, ecx
ja 0x140078875
sub ebx, eax
cmp esi, ebx
jbe 0x140078897
mov edx, edi
lea rcx, str.ERROR:_Process_Hand___timeout__lu_n
call fcn.140077d60
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0x5b4
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, edi
mov rcx, rbp
mov ebx, eax
call fcn.1400799fc
test al, al
jne 0x140078861
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140079b3c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov eax, edx
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
cmp rax, rdx
je 0x140079b65
mov eax, 0x80070057
jmp 0x140079beb
mov r8d, edx
jmp 0x140079b85
mov eax, dword [rsp + 0x48]
cmp eax, ebx
je 0x140079be9
test eax, eax
je 0x140079be2
cmp eax, ebx
ja 0x140079be2
sub ebx, eax
mov rcx, rsi
add rdi, rax
mov r8d, ebx
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
and dword [rsp + 0x48], 0
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140079b6a
call fcn.14007a89c
mov ebx, eax
test eax, eax
jns 0x140079be9
mov rcx, qword [str.8__r_]
lea rax, str.8__r_
cmp rcx, rax
je 0x140079bde
test byte [rcx + 0x1c], 1
je 0x140079bde
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400bf250]
mov edx, 0x13
mov r9d, ebx
call fcn.140004000
mov eax, ebx
jmp 0x140079beb
mov ebx, 0x8000ffff
jmp 0x140079bad
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x140079c5c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
and qword [rsp + 0x40], 0
mov rax, rdx
mov rbx, rcx
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x140079cbc
call fcn.14007a89c
mov ebx, eax
mov rcx, qword [str.8__r_]
lea rax, str.8__r_
cmp rcx, rax
je 0x140079cb8
test byte [rcx + 0x1c], 1
je 0x140079cb8
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400bf250]
mov edx, 0x15
mov r9d, ebx
call fcn.140004000
mov eax, ebx
jmp 0x140079cc6
mov rax, qword [rsp + 0x40]
mov qword [rbx], rax
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x140079ccc
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov edi, dword [rdx]
mov r10, r8
mov rbx, rdx
cmp rdi, qword [rdx]
je 0x140079ced
mov eax, 0x80070057
jmp 0x140079d70
and qword [rdx], 0
lea r9, [rsp + 0x48]
and dword [rsp + 0x48], 0
mov rdx, r10
and qword [rsp + 0x20], 0
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140079d5a
call fcn.14007a89c
mov edi, eax
cmp eax, 0x80070026
jne 0x140079d25
and qword [rbx], 0
jmp 0x140079d6e
mov rcx, qword [str.8__r_]
lea rax, str.8__r_
cmp rcx, rax
je 0x140079d56
test byte [rcx + 0x1c], 1
je 0x140079d56
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400bf250]
mov edx, 0x16
mov r9d, edi
call fcn.140004000
mov eax, edi
jmp 0x140079d70
cmp dword [rsp + 0x48], edi
jbe 0x140079d67
mov eax, 0x8000ffff
jmp 0x140079d70
mov eax, dword [rsp + 0x48]
mov qword [rbx], rax
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x14007a070
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
mov rdi, rdx
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14007a0d9
call fcn.14007a89c
mov ebx, eax
lea ecx, [rax + 0x7ff8fffe]
cmp ecx, 1
jbe 0x14007a0d5
mov rcx, qword [str.8__r_]
lea rax, str.8__r_
cmp rcx, rax
je 0x14007a0d5
test byte [rcx + 0x1c], 1
je 0x14007a0d5
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400bf250]
mov edx, 0x1e
mov dword [rsp + 0x20], ebx
mov r9, rdi
call fcn.140003c68
mov eax, ebx
jmp 0x14007a0dd
mov dword [rbx], eax
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x14007a1b8
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
xor edx, edx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x14007a1d5
xor eax, eax
jmp 0x14007a234
call fcn.14007a89c
mov ebx, eax
cmp eax, 0x800700b7
je 0x14007a220
mov rcx, qword [str.8__r_]
lea rax, str.8__r_
cmp rcx, rax
je 0x14007a21c
mov edx, 1
test byte [rcx + 0x1c], dl
je 0x14007a21c
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400bf250]
mov edx, 0x21
mov dword [rsp + 0x20], ebx
mov r9, rdi
call fcn.140003c68
mov eax, ebx
jmp 0x14007a234
mov rcx, rdi
call fcn.14007a0e8
test eax, eax
mov edx, 1
cmovs edx, eax
mov eax, edx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x14007a240
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x14007a25b
xor eax, eax
jmp 0x14007a2a4
call fcn.14007a89c
mov ebx, eax
lea ecx, [rax + 0x7ff8fffe]
cmp ecx, 1
jbe 0x14007a2a2
mov rcx, qword [str.8__r_]
lea rax, str.8__r_
cmp rcx, rax
je 0x14007a2a2
test byte [rcx + 0x1c], 1
je 0x14007a2a2
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400bf250]
mov edx, 0x25
mov dword [rsp + 0x20], ebx
mov r9, rdi
call fcn.140003c68
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x14007a2b0
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.14007a240
lea edx, [rax + 0x7ff8fffe]
cmp edx, 1
jbe 0x14007a2e9
cmp eax, 0x80070005
jne 0x14007a2ee
mov rcx, rbx
call fcn.14007a2f4
test eax, eax
js 0x14007a2ee
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.14007a240
mov eax, 1
add rsp, 0x20
pop rbx
ret

Function at 0x14007a2f4
Capabilities:
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov edx, 0x80
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x14007a358
call fcn.14007a89c
mov ebx, eax
mov rcx, qword [str.8__r_]
lea rax, str.8__r_
cmp rcx, rax
je 0x14007a354
test byte [rcx + 0x1c], 1
je 0x14007a354
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400bf250]
mov edx, 0x27
mov dword [rsp + 0x28], ebx
mov r9, rdi
mov dword [rsp + 0x20], 0x80
call fcn.1400798c0
mov eax, ebx
jmp 0x14007a35a
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret