joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140068d60
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov rdx, rcx
mov r8d, 0x10
add rcx, 0x28
mov eax, dword [rcx]
lea rcx, [rcx + 4]
bswap eax
mov dword [rcx - 4], eax
sub r8, 1
jne 0x140068d81
lea r8, [rdx + 0x68]
mov r9d, 0x40
lea rcx, [rdx + 0x30]
mov eax, dword [rcx + 0x2c]
lea r8, [r8 + 4]
xor eax, dword [rcx + 0x18]
xor eax, dword [rcx - 8]
xor eax, dword [rcx]
lea rcx, [rcx + 4]
rol eax, 1
mov dword [r8 - 4], eax
sub r9, 1
jne 0x140068da0
mov eax, dword [rdx + 0x14]
xor r8d, r8d
mov dword [rdx], eax
mov ebp, 0x8f1bbcdc
mov r10d, dword [rdx + 0x18]
mov dword [rdx + 4], r10d
mov r9d, dword [rdx + 0x1c]
lea edi, [r8 + 0x28]
mov dword [rdx + 8], r9d
mov r11d, dword [rdx + 0x20]
mov dword [rdx + 0xc], r11d
mov esi, dword [rdx + 0x24]
mov dword [rdx + 0x10], esi
nop
mov ebx, dword [rdx]
cmp r8d, 0x14
jae 0x140068e0a
mov eax, r10d
mov ecx, r9d
not eax
and ecx, r10d
and eax, r11d
or eax, ecx
jmp 0x140068e32
cmp r8d, 0x28
jb 0x140068e29
cmp r8d, 0x3c
jae 0x140068e29
mov eax, r11d
mov ecx, r11d
or eax, r9d
and ecx, r9d
and eax, r10d
or eax, ecx
jmp 0x140068e32
mov eax, r11d
xor eax, r9d
xor eax, r10d
cmp r8d, 0x14
jae 0x140068e3f
mov ecx, 0x5a827999
jmp 0x140068e58
cmp r8d, 0x28
jae 0x140068e4c
mov ecx, 0x6ed9eba1
jmp 0x140068e58
cmp r8d, 0x3c
mov ecx, 0xca62c1d6
cmovb ecx, ebp
rol ebx, 5
inc r8d
add ebx, dword [rdi + rdx]
add rdi, 4
add ebx, esi
mov dword [rdx + 0xc], r9d
add ebx, ecx
mov dword [rdx + 0x10], r11d
add ebx, eax
mov esi, r11d
mov r11d, r9d
mov r9d, r10d
mov r10d, dword [rdx]
ror r9d, 2
mov dword [rdx + 8], r9d
mov dword [rdx + 4], r10d
mov dword [rdx], ebx
cmp r8d, 0x50
jb 0x140068df0
add dword [rdx + 0x14], ebx
add dword [rdx + 0x18], r10d
add dword [rdx + 0x1c], r9d
mov eax, dword [rdx + 0xc]
add dword [rdx + 0x20], eax
mov eax, dword [rdx + 0x10]
add dword [rdx + 0x24], eax
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov dword [rdx + 0x168], 0
ret

Function at 0x140068ed0
Capabilities:
Hash data using sha1

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rdi
sub rsp, 0x1b0
mov rax, qword [0x1400d61c0]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
xor ebx, ebx
mov rdi, r8
mov qword [rsp + 0x20], rbx
mov r8, rdx
mov qword [rsp + 0x28], rbx
mov rdx, rcx
mov dword [rsp + 0x30], ebx
lea rcx, [rsp + 0x20]
mov dword [r11 - 0x30], ebx
mov qword [r11 - 0x28], rbx
mov dword [rsp + 0x34], 0x67452301
mov dword [rsp + 0x38], 0xefcdab89
mov dword [rsp + 0x3c], 0x98badcfe
mov dword [rsp + 0x40], 0x10325476
mov dword [rsp + 0x44], 0xc3d2e1f0
call fcn.140068a30
lea rcx, [rsp + 0x20]
call fcn.140068c20
lea rcx, [rsp + 0x20]
call fcn.140068d60
nop dword [rax + rax]
mov eax, dword [rsp + rbx*4 + 0x34]
bswap eax
mov dword [rsp + rbx*4 + 0x34], eax
inc rbx
cmp rbx, 5
jl 0x140068f60
movups xmm0, xmmword [rsp + 0x34]
mov eax, dword [rsp + 0x44]
movups xmmword [rdi], xmm0
mov dword [rdi + 0x10], eax
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1400812a0
mov rbx, qword [rsp + 0x1d8]
add rsp, 0x1b0
pop rdi
ret
Function at 0x14006c690
Capabilities:
Delete file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r14
push rbp
lea rbp, [rax - 0x38]
sub rsp, 0x130
mov rax, qword [0x1400d61c0]
xor rax, rsp
mov qword [rbp + 0x20], rax
lea rcx, [rsp + 0x20]
call fcn.14006c5b0
test al, al
je 0x14006c8e3
lea rcx, [rsp + 0x28]
call fcn.14006c420
test al, al
je 0x14006c8da
lea rcx, [rsp + 0x30]
call fcn.14006e1d0
test al, al
je 0x14006c8da
cmp qword [rsp + 0x30], 3
jb 0x14006c8da
call fcn.14006faa0
call fcn.14006f8e0
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.140076c40
and qword [rsp + 0x50], 0
lea rdx, str.crash_reporter
cmp byte [str.crash_reporter], 0
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
jne 0x14006c73a
xor r8d, r8d
jmp 0x14006c748
or r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x14006c73e
lea rcx, [rsp + 0x40]
call fcn.140003450
mov edi, 1
lea rdx, [rsp + 0x40]
mov r9b, dil
lea rcx, [rbp - 0x40]
mov r8d, edi
call fcn.140076ee0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x14006c786
mov rcx, qword [rsp + 0x40]
inc rdx
mov r8d, edi
call fcn.1400013b0
call fcn.14006fa90
lea rcx, [rbp - 0x80]
mov ebx, eax
call fcn.14001c820
lea rcx, [rbp - 0x80]
call fcn.140020d70
mov edx, ebx
lea rcx, [rbp - 0x60]
call fcn.14006f980
cmp qword [rax + 0x18], 0x10
jb 0x14006c7b6
mov rcx, qword [rax]
jmp 0x14006c7b9
mov rcx, rax
mov rax, qword [rax + 0x10]
lea r8, [rsp + 0x40]
mov qword [rsp + 0x40], rcx
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x48], rax
lea rcx, [rbp - 0x80]
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
call fcn.14001e0d0
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x14006c7fe
mov rcx, qword [rbp - 0x60]
inc rdx
mov r8, rdi
call fcn.1400013b0
mov ecx, 0x30
call fcn.140080c00
test rax, rax
je 0x14006c81a
mov rcx, rax
call fcn.14006f4b0
mov rdi, rax
jmp 0x14006c81c
xor edi, edi
mov rdx, qword [rsp + 0x28]
lea r8, [rsp + 0x60]
mov ecx, dword [rsp + 0x20]
mov r9d, 0x7d000
mov rbx, rdi
call fcn.14006f090
mov r14b, al
test al, al
je 0x14006c84b
mov ecx, dword [rsp + 0x20]
mov rdx, rdi
call fcn.14006d270
mov ecx, dword [rsp + 0x20]
call fcn.14006e870
test r14b, r14b
je 0x14006c8a7
call fcn.14006d760
xor r8d, r8d
mov qword [rsp + 0x28], rdi
lea rdx, [rsp + 0x28]
xor ebx, ebx
lea rcx, [rsp + 0x60]
call fcn.14006df10
test al, al
je 0x14006c890
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
lea rcx, [rsp + 0x40]
call fcn.14006e7f0
cmp qword [rsp + 0x78], 8
lea rcx, [rsp + 0x60]
cmovae rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test rbx, rbx
je 0x14006c8bc
mov rcx, rbx
call fcn.14006f520
mov rcx, rbx
call fcn.140080c40
lea rcx, [rsp + 0x60]
call fcn.140002120
lea rcx, [rbp - 0x80]
call fcn.140002120
lea rcx, [rbp - 0x40]
call fcn.140076cf0
jmp 0x14006c8e3
mov ecx, dword [rsp + 0x20]
call fcn.14006e870
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1400812a0
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r14, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x14006cb50
Capabilities:
Get memory capacity

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x1400d61c0]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov rbx, rdx
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x44]
lea r8d, [rdx + 0x3c]
call fcn.140082560
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x14006cc06
mov r8d, dword [rsp + 0x44]
lea rdx, str.mem_load
mov rcx, rbx
call fcn.14006f780
mov r8, qword [rsp + 0x60]
lea rdx, str.mem_page_file_avail
mov rcx, rbx
call fcn.14006f830
mov r8, qword [rsp + 0x58]
lea rdx, str.mem_page_file_total
mov rcx, rbx
call fcn.14006f830
mov r8, qword [rsp + 0x50]
lea rdx, str.mem_physical_avail
mov rcx, rbx
call fcn.14006f830
mov r8, qword [rsp + 0x48]
lea rdx, str.mem_physical_total
mov rcx, rbx
call fcn.14006f830
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
je 0x14006cc61
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14006cc61
mov r9d, 0x58
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea r8, [rbp - 0x30]
mov rcx, rdi
lea edx, [r9 - 0x55]
call rax
test eax, eax
js 0x14006cc61
mov r8, qword [rbp - 0x28]
lea rdx, str.mem_virtual_size
mov rcx, rbx
call fcn.14006f830
xor edx, edx
lea rcx, [rbp - 0x7c]
lea r8d, [rdx + 0x4c]
call fcn.140082560
mov r8d, 0x50
lea rdx, [rbp - 0x80]
mov rcx, rdi
mov dword [rbp - 0x80], r8d
call sub.PSAPI.DLL_GetProcessMemoryInfo
test eax, eax
je 0x14006cce9
mov r8, qword [rbp - 0x40]
lea rdx, str.process_page_file_peak_usage
mov rcx, rbx
call fcn.14006f830
mov r8, qword [rbp - 0x48]
lea rdx, str.process_page_file_usage
mov rcx, rbx
call fcn.14006f830
mov r8, qword [rbp - 0x38]
lea rdx, str.process_private_usage
mov rcx, rbx
call fcn.14006f830
mov r8, qword [rbp - 0x78]
lea rdx, str.process_working_set_peak_size
mov rcx, rbx
call fcn.14006f830
mov r8, qword [rbp - 0x70]
lea rdx, str.process_working_set_size
mov rcx, rbx
call fcn.14006f830
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.1400812a0
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret

Function at 0x14006d6f0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp byte [rcx + 0x29], 0
mov esi, edx
mov rbx, rcx
je 0x14006d71e
add rcx, 8
cmp qword [rcx + 0x18], 8
jb 0x14006d718
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rbx + 8]
call fcn.140002120
mov rdi, qword [rbx]
test rdi, rdi
je 0x14006d73f
mov rcx, rdi
call fcn.14006f520
mov rcx, rdi
call fcn.140080c40
test sil, 1
je 0x14006d74d
mov rcx, rbx
call fcn.140080c40
mov rsi, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14006de20
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rsi, rcx
jne 0x14006de59
test r8b, r8b
je 0x14006dee4
cmp qword [rdx + 0x18], 8
jb 0x14006de4b
mov rdx, qword [rdx]
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x14006dee4
mov ecx, 0x10
call fcn.140080c00
mov rdi, rax
test rax, rax
je 0x14006de85
mov rbx, qword [rsi]
and qword [rsi], 0
call fcn.14006fcc0
mov rcx, rax
call fcn.140001550
mov qword [rdi + 8], rbx
jmp 0x14006de87
xor edi, edi
test rdi, rdi
je 0x14006dee4
mov r8d, 0x10
lea rcx, [0x14006dfd0]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_QueueUserWorkItem]
test eax, eax
je 0x14006debc
mov rcx, qword [rsi]
test rcx, rcx
je 0x14006deb8
mov edx, 1
call fcn.14006d6f0
mov al, 1
jmp 0x14006def8
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14006decf
mov edx, 1
call fcn.14006d6f0
call fcn.14006fcc0
mov rcx, rax
call fcn.14006fe20
mov rcx, rdi
call fcn.140080c40
mov rcx, qword [rsi]
test rcx, rcx
je 0x14006def6
mov edx, 1
call fcn.14006d6f0
xor al, al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14006e1d0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1400d61c0]
xor rax, rsp
mov qword [rbp - 0x10], rax
and qword [rbp - 0x40], 0
mov rdi, rcx
lea rcx, [rbp - 0x40]
call fcn.14006e550
test al, al
je 0x14006e2ba
mov rcx, qword [rbp - 0x40]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp - 0x38]
mov dword [rbp - 0x30], 8
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.Last_crash_in_crash_reporter
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
jne 0x14006e26a
and qword [rbp - 0x38], 0
lea rax, [rbp - 0x38]
mov rcx, qword [rbp - 0x40]
lea rdx, str.Last_crash_in_crash_reporter
mov dword [rsp + 0x28], 8
mov r9d, 0xb
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x14006e2ba
lea rcx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
test eax, eax
je 0x14006e2ba
mov rax, qword [rbp - 0x28]
cmp rax, qword [rbp - 0x38]
jb 0x14006e2ba
sub rax, qword [rbp - 0x38]
xor edx, edx
movabs rcx, 0xc92a69c000
div rcx
or rcx, 0xffffffffffffffff
cmp rax, rcx
cmovae rax, rcx
mov qword [rdi], rax
mov dil, 1
jmp 0x14006e2bd
xor dil, dil
cmp qword [rbp - 0x40], 0
je 0x14006e2d3
call fcn.14001e9c0
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, dil
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400812a0
mov rdi, qword [rsp + 0x88]
add rsp, 0x70
pop rbp
ret
Function at 0x14006e720
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0xe8
xor edx, edx
lea rcx, [rsp + 0x78]
lea r8d, [rdx + 0x60]
call fcn.140082560
and qword [rsp + 0x50], 0
lea rdx, [0x1400d6020]
xor eax, eax
mov dword [rsp + 0x70], 0x68
cmp qword [0x1400d6038], 8
mov qword [rsp + 0x58], rax
cmovae rdx, qword [0x1400d6020]
xor r9d, r9d
mov qword [rsp + 0x60], rax
xor r8d, r8d
lea rax, [rsp + 0x50]
xor ecx, ecx
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14006e7e3
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x1400d89a0]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14006e7d8
mov edx, 0x4e20
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x14006e7e3
mov ecx, 0x4e20
call qword [sym.imp.KERNEL32.dll_Sleep]
add rsp, 0xe8
ret

Function at 0x14006e7f0
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
lea rdx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
test eax, eax
je 0x14006e866
mov rax, qword [rsp + 0x48]
lea rcx, [rsp + 0x48]
and qword [rsp + 0x48], 0
mov qword [rsp + 0x50], rax
call fcn.14006e550
test al, al
je 0x14006e84e
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x28], 8
lea rdx, str.Last_crash_in_crash_reporter
mov r9d, 0xb
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp qword [rsp + 0x48], 0
je 0x14006e866
call fcn.14001e9c0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x38
ret
Function at 0x14006eb80
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x1400d61c0]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
xor edx, edx
lea rcx, [0x1400d89a8]
call fcn.140027e30
lea rcx, [rbp - 0x78]
call fcn.1400718b0
cmp qword [rax + 0x18], 0x10
jb 0x14006ebc9
mov rcx, qword [rax]
jmp 0x14006ebcc
mov rcx, rax
mov rax, qword [rax + 0x10]
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x28], rax
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
call fcn.140028110
cmp qword [rax + 0x18], 0x10
jb 0x14006ec00
mov rcx, qword [rax]
jmp 0x14006ec03
mov rcx, rax
mov rax, qword [rax + 0x10]
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rax
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
call fcn.1400298c0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x14006ec48
mov rcx, qword [rsp + 0x68]
inc rdx
mov r8d, 1
call fcn.1400013b0
mov rdx, qword [rbp - 0x60]
xor ebx, ebx
mov qword [rbp - 0x80], 0xf
mov qword [rsp + 0x78], rbx
mov byte [rsp + 0x68], bl
cmp rdx, 0x10
jb 0x14006ec75
mov rcx, qword [rbp - 0x78]
lea r8d, [rbx + 1]
inc rdx
call fcn.1400013b0
mov r8d, 0x12
lea rdx, str._crashreporter.log
lea rcx, [rsp + 0x48]
call fcn.140006240
lea rdx, [rbp - 0x50]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edx, eax
test eax, eax
je 0x14006ecdd
mov rcx, qword [rsp + 0x58]
add rcx, rdx
cmp rcx, 0x105
ja 0x14006ecdd
cmp qword [rsp + 0x60], 8
lea rcx, [rsp + 0x48]
lea rdx, [rbp + rdx*2 - 0x50]
cmovae rcx, qword [rsp + 0x48]
movzx eax, word [rcx]
lea rcx, [rcx + 2]
mov word [rdx], ax
lea rdx, [rdx + 2]
test ax, ax
jne 0x14006ecc8
jmp 0x14006ece1
mov word [rbp - 0x50], bx
lea rcx, [rsp + 0x30]
call fcn.140024c90
movzx eax, word [rbp - 0x50]
neg ax
mov qword [rsp + 0x40], rbx
lea rax, [rbp - 0x50]
sbb ecx, ecx
mov qword [rsp + 0x38], rax
add ecx, 2
mov dword [rsp + 0x30], ecx
lea rcx, [rsp + 0x30]
call fcn.140024cb0
mov r9b, 1
mov r8b, r9b
mov dl, r9b
mov cl, r9b
call fcn.1400252c0
lea rcx, [0x14006ed70]
call fcn.1400252e0
xor ecx, ecx
call fcn.1400250a0
xor r8d, r8d
lea rcx, [rsp + 0x48]
mov dl, 1
call fcn.1400030f0
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1400812a0
mov rbx, qword [rsp + 0x2e0]
add rsp, 0x2d0
pop rbp
ret
Function at 0x14006f190
Capabilities:
Get file size

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x17]
sub rsp, 0xe8
mov rax, qword [0x1400d61c0]
xor rax, rsp
mov qword [rbp - 1], rax
mov r13, rcx
mov dword [rsp + 0x40], edx
lea rcx, str.dbghelp.dll
mov r15, r9
mov r14, r8
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor ebx, ebx
mov rsi, rax
test rax, rax
je 0x14006f3a4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rbx, rsi
call fcn.14001e9c0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rdx, str.MiniDumpWriteDump
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
test rax, rax
je 0x14006f3a4
mov ecx, dword [r14]
mov edi, 1
mov dword [rbp - 0x71], ecx
mov rcx, qword [r14 + 8]
mov qword [rbp - 0x6d], rcx
lea rcx, [rbp - 0x41]
mov dword [rbp - 0x65], edi
call fcn.140071950
mov r8b, 0x20
lea rcx, [rbp - 0x41]
mov edx, edi
call fcn.140004f80
call fcn.140071970
mov edx, eax
lea rcx, [rbp - 0x21]
call fcn.14006ee20
or r9, 0xffffffffffffffff
lea rdx, [rbp - 0x21]
xor r8d, r8d
lea rcx, [rbp - 0x41]
call fcn.1400037e0
mov rdx, qword [rbp - 9]
cmp rdx, 0x10
jb 0x14006f27d
mov rcx, qword [rbp - 0x21]
inc rdx
mov r8d, edi
call fcn.1400013b0
mov eax, dword [rbp - 0x31]
cmp qword [rbp - 0x29], 0x10
mov dword [rbp - 0x5d], eax
lea rax, [rbp - 0x41]
cmovae rax, qword [rbp - 0x41]
mov qword [rbp - 0x59], rax
mov rax, rdi
mov dword [rbp - 0x61], 0x10000
cmp dword [r14 + 0x314], edi
jne 0x14006f2c3
lea rax, [r14 + 0x10]
mov dword [rbp - 0x51], 0x10001
mov qword [rbp - 0x49], rax
mov eax, 2
mov dword [rbp - 0x4d], 0x308
and dword [rsp + 0x4c], 0
mov rsi, qword [rbp + 0x7f]
xor edi, edi
mov r14d, dword [rsp + 0x40]
mov dword [rsp + 0x50], eax
lea rax, [rbp - 0x61]
mov qword [rbp - 0x7d], rax
mov dword [rsp + 0x48], 0x60
and qword [rsp + 0x30], 0
lea rax, [rsp + 0x50]
mov r9d, dword [rsp + rdi*4 + 0x48]
mov r8, r15
mov qword [rsp + 0x28], rax
mov edx, r14d
lea rax, [rbp - 0x71]
mov rcx, r13
mov qword [rsp + 0x20], rax
call r12
cmp eax, 1
jne 0x14006f339
lea rdx, [rsp + 0x44]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsp + 0x40], eax
cmp eax, 0xffffffff
je 0x14006f372
cmp qword [rsp + 0x40], rsi
ja 0x14006f346
mov dil, 1
jmp 0x14006f375
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80070057
jne 0x14006f372
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x14006f365
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
inc rdi
cmp rdi, 2
jb 0x14006f2e7
xor dil, dil
mov rdx, qword [rbp - 0x29]
cmp rdx, 0x10
jb 0x14006f391
mov rcx, qword [rbp - 0x41]
inc rdx
mov r8d, 1
call fcn.1400013b0
and qword [rbp - 0x31], 0
mov qword [rbp - 0x29], 0xf
mov byte [rbp - 0x41], 0
jmp 0x14006f3a7
xor dil, dil
test rbx, rbx
je 0x14006f3ba
call fcn.14001e9c0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, dil
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.1400812a0
add rsp, 0xe8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14006f3e0
Capabilities:
Delete file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
cmp qword [r9 + 0x18], 8
mov rbx, r9
mov rdi, r8
mov ebp, edx
mov r14, rcx
jb 0x14006f410
mov rcx, qword [r9]
jmp 0x14006f413
mov rcx, rbx
and qword [rsp + 0x30], 0
xor r9d, r9d
and dword [rsp + 0x28], 0
mov edx, 0x40000000
mov dword [rsp + 0x20], 2
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14006f445
xor al, al
jmp 0x14006f486
mov rax, qword [rsp + 0x70]
mov r9, rsi
mov r8, rdi
mov qword [rsp + 0x20], rax
mov edx, ebp
mov rcx, r14
call fcn.14006f190
mov rcx, rsi
mov dil, al
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test dil, dil
jne 0x14006f483
cmp qword [rbx + 0x18], 8
jb 0x14006f47a
mov rbx, qword [rbx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov al, dil
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140070b20
Capabilities:
Get common file path

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x1400d61c0]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov r15, rcx
mov r14b, r9b
lea rcx, str.shell32.dll
mov r12, r8
mov edi, edx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [0x1400c2b00]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor r8d, r8d
xor ebx, ebx
mov rsi, rax
test rax, rax
je 0x140070c7e
lea r9, [rsp + 0x30]
mov qword [rsp + 0x30], rbx
xor edx, edx
mov rcx, r15
call rsi
test eax, eax
jns 0x140070bcb
test r14b, r14b
je 0x140070bb0
lea r9, [rsp + 0x30]
xor r8d, r8d
mov edx, 0x8800
mov rcx, r15
call rsi
test eax, eax
jns 0x140070bcb
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140070bc4
call qword [sym.imp.ole32.dll_CoTaskMemFree]
xor al, al
jmp 0x140070d28
mov rdx, qword [rsp + 0x30]
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], rbx
mov word [rsp + 0x50], bx
cmp word [rdx], bx
jne 0x140070bed
mov rax, rbx
jmp 0x140070bfa
or rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], bx
jne 0x140070bf1
mov r8, rax
lea rcx, [rsp + 0x50]
call fcn.14000b820
cmp qword [rsp + 0x68], 8
lea rax, [rsp + 0x50]
lea rdx, [rsp + 0x40]
cmovae rax, qword [rsp + 0x50]
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
call fcn.14001c840
mov rdx, rax
mov rcx, r12
call fcn.14000b100
lea rcx, [rsp + 0x70]
call fcn.140002120
xor r8d, r8d
lea rcx, [rsp + 0x50]
mov dl, 1
call fcn.1400030f0
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140070d26
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x140070d26
lea rax, [rbp - 0x70]
mov word [rbp - 0x70], bx
xor r9d, r9d
mov qword [rsp + 0x20], rax
mov edx, edi
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x140070ccf
cmp eax, 0x80070057
je 0x140070cc7
test r14b, r14b
je 0x140070cc7
or edi, 0xa000
lea rax, [rbp - 0x70]
mov edx, edi
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x140070bc4
lea rax, [rbp - 0x70]
mov qword [rsp + 0x40], rax
cmp word [rbp - 0x70], bx
je 0x140070cf2
lea rcx, [rbp - 0x70]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], bx
jne 0x140070ce6
mov rbx, rax
mov qword [rsp + 0x48], rbx
lea rdx, [rsp + 0x40]
movaps xmm0, xmmword [rsp + 0x40]
lea rcx, [rsp + 0x70]
movdqa xmmword [rsp + 0x40], xmm0
call fcn.14001c840
mov rdx, rax
mov rcx, r12
call fcn.14000b100
lea rcx, [rsp + 0x70]
call fcn.140002120
mov al, 1
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.1400812a0
add rsp, 0x2b0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret

Function at 0x140070dd0
Capabilities:
Get common file path

Disassembly:
mov r8, rcx
mov r9b, 1
lea rcx, [0x1400ae508]
mov edx, 5
jmp fcn.140070b20

Function at 0x140070df0
Capabilities:
Get common file path

Disassembly:
mov r8, rcx
mov r9b, 1
lea rcx, [0x1400ae4d8]
mov edx, 5
jmp fcn.140070b20