joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005c910
Capabilities:
Delete directory

Disassembly:
jmp 0x14005c910
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
mov rdi, rsp
mov ecx, 0x20
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x90]
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov rax, qword [0x1402840e8]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x90]
call fcn.140004fac
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x14005c96a
mov al, 1
jmp 0x14005c9cf
lea rcx, [rsp + 0x28]
call fcn.1400051eb
nop
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x90]
call fcn.1400038cd
movzx eax, al
test eax, eax
je 0x14005c9bb
lea rcx, [rsp + 0x28]
call fcn.140004fac
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x14005c9bb
mov byte [rsp + 0x60], 1
lea rcx, [rsp + 0x28]
call fcn.1400073ce
movzx eax, byte [rsp + 0x60]
jmp 0x14005c9cf
mov byte [rsp + 0x61], 0
lea rcx, [rsp + 0x28]
call fcn.1400073ce
movzx eax, byte [rsp + 0x61]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1401f69e0]
call fcn.14000849f
mov rax, rdi
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400030d0
add rsp, 0x80
pop rdi
ret

Function at 0x14005ca00
Capabilities:
Create directory

Disassembly:
jmp 0x14005ca00
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
mov rdi, rsp
mov ecx, 0x20
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x90]
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov rax, qword [0x1402840e8]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x90]
call fcn.140004fac
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x14005ca5c
mov al, 1
jmp 0x14005cac3
lea rcx, [rsp + 0x28]
call fcn.1400051eb
nop
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x90]
call fcn.1400038cd
movzx eax, al
test eax, eax
je 0x14005caaf
lea rcx, [rsp + 0x28]
call fcn.140004fac
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x14005caaf
mov byte [rsp + 0x60], 1
lea rcx, [rsp + 0x28]
call fcn.1400073ce
movzx eax, byte [rsp + 0x60]
jmp 0x14005cac3
mov byte [rsp + 0x61], 0
lea rcx, [rsp + 0x28]
call fcn.1400073ce
movzx eax, byte [rsp + 0x61]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1401f6a70]
call fcn.14000849f
mov rax, rdi
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400030d0
add rsp, 0x80
pop rdi
ret
Function at 0x14005cb40
Capabilities:
Delete file

Disassembly:
jmp 0x14005cb40
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x110
mov rdi, rsp
mov ecx, 0x44
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x120]
mov qword [rsp + 0xf0], 0xfffffffffffffffe
mov rax, qword [0x1402840e8]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov rcx, qword [rsp + 0x120]
call fcn.140004fac
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x14005cba8
mov al, 1
jmp 0x14005cd42
mov rcx, qword [rsp + 0x120]
call fcn.140004fac
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140001faa
nop
lea rcx, [rsp + 0x28]
call fcn.1400029c3
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x28]
call fcn.1400073ce
cmp dword [rsp + 0x20], 0xffffffff
jne 0x14005cbe9
xor al, al
jmp 0x14005cd42
mov rcx, qword [rsp + 0x120]
call fcn.140004fac
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140001faa
nop
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.140002266
movzx eax, al
test eax, eax
jne 0x14005cc24
mov dword [rsp + 0xf8], 1
jmp 0x14005cc2f
mov dword [rsp + 0xf8], 0
movzx eax, byte [rsp + 0xf8]
mov byte [rsp + 0xe8], al
lea rcx, [rsp + 0x50]
call fcn.1400073ce
movzx eax, byte [rsp + 0xe8]
test eax, eax
je 0x14005cc5b
xor al, al
jmp 0x14005cd42
mov rcx, qword [rsp + 0x120]
call fcn.140004fac
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x14005cc81
mov al, 1
jmp 0x14005cd42
lea rcx, [rsp + 0x88]
call fcn.1400051eb
nop
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x120]
call fcn.1400038cd
movzx eax, al
test eax, eax
je 0x14005cce4
lea rcx, [rsp + 0x88]
call fcn.140004fac
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x14005cce4
mov byte [rsp + 0xe9], 1
lea rcx, [rsp + 0x88]
call fcn.1400073ce
movzx eax, byte [rsp + 0xe9]
jmp 0x14005cd42
mov rcx, qword [rsp + 0x120]
call fcn.140004fac
mov rdx, rax
lea rcx, [rsp + 0xb8]
call fcn.140001faa
nop
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0xb8]
call fcn.140002266
nop
lea rcx, [rsp + 0xb8]
call fcn.1400073ce
mov byte [rsp + 0xea], 0
lea rcx, [rsp + 0x88]
call fcn.1400073ce
movzx eax, byte [rsp + 0xea]
jmp 0x14005cd42
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1401f6b00]
call fcn.14000849f
mov rax, rdi
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.1400030d0
add rsp, 0x110
pop rdi
ret
Function at 0x14005cde0
Capabilities:
Get common file path

Disassembly:
jmp 0x14005cde0
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x6e0
mov rdi, rsp
mov ecx, 0x1b8
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x6f0]
mov qword [rsp + 0x6d0], 0xfffffffffffffffe
mov rax, qword [0x1402840e8]
xor rax, rsp
mov qword [rsp + 0x6d8], rax
mov edx, 8
lea rcx, [rsp + 0x28]
call fcn.1400026b7
call fcn.140005100
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.14000467e
nop
lea rcx, [0x140285a50]
call fcn.14000179e
movzx eax, al
test eax, eax
jne 0x14005ce8a
lea rdx, [0x140285a50]
mov rcx, qword [rsp + 0x6f0]
call fcn.140003bf2
mov byte [rsp + 0x6b0], 1
lea rcx, [rsp + 0x28]
call fcn.140002595
movzx eax, byte [rsp + 0x6b0]
jmp 0x14005cfec
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0x20c
rep stosb byte [rdi], al
lea rdx, [rsp + 0x50]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [rsp + 0x264], eax
cmp dword [rsp + 0x264], 0
jbe 0x14005cfd2
cmp dword [rsp + 0x264], 0x104
ja 0x14005cfd2
mov eax, 2
imul rax, rax, 0x105
mov qword [rsp + 0x6b8], rax
cmp qword [rsp + 0x6b8], 0x20c
jae 0x14005cef5
jmp 0x14005cefa
call fcn.140005038
xor eax, eax
mov rcx, qword [rsp + 0x6b8]
mov word [rsp + rcx + 0x50], ax
lea rax, [rsp + 0x280]
mov rdi, rax
xor eax, eax
mov ecx, 0x412
rep stosb byte [rdi], al
mov r8d, 0x208
lea rdx, [rsp + 0x280]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetLongPathNameW]
mov dword [rsp + 0x6a4], eax
cmp dword [rsp + 0x6a4], 0x208
ja 0x14005cf54
cmp dword [rsp + 0x6a4], 0
jne 0x14005cf68
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x6f0]
call fcn.140005731
jmp 0x14005cfb6
mov eax, dword [rsp + 0x6a4]
shl rax, 1
mov qword [rsp + 0x6c0], rax
cmp qword [rsp + 0x6c0], 0x412
jae 0x14005cf8a
jmp 0x14005cf8f
call fcn.140005038
xor eax, eax
mov rcx, qword [rsp + 0x6c0]
mov word [rsp + rcx + 0x280], ax
lea rdx, [rsp + 0x280]
mov rcx, qword [rsp + 0x6f0]
call fcn.140005731
mov byte [rsp + 0x6c8], 1
lea rcx, [rsp + 0x28]
call fcn.140002595
movzx eax, byte [rsp + 0x6c8]
jmp 0x14005cfec
mov byte [rsp + 0x6c9], 0
lea rcx, [rsp + 0x28]
call fcn.140002595
movzx eax, byte [rsp + 0x6c9]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1401f6b48]
call fcn.14000849f
mov rax, rdi
mov rcx, qword [rsp + 0x6d8]
xor rcx, rsp
call fcn.1400030d0
add rsp, 0x6e0
pop rdi
ret
Function at 0x14005ff50
Capabilities:
Get system information on windows

Disassembly:
jmp 0x14005ff50
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
mov rdi, rsp
mov ecx, 0x20
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x90]
lea rcx, str.Kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14005ff92
xor eax, eax
jmp 0x14005ffe0
lea rdx, str.GetNativeSystemInfo
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14005ffb5
xor eax, eax
jmp 0x14005ffe0
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx eax, word [rsp + 0x38]
cmp eax, 9
je 0x14005ffd4
movzx eax, word [rsp + 0x38]
cmp eax, 6
jne 0x14005ffdb
mov eax, 0x40
jmp 0x14005ffe0
mov eax, 0x20
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1401f83f0]
call fcn.14000849f
mov rax, rdi
add rsp, 0x80
pop rdi
ret
Function at 0x140062a60
Capabilities:
Check if file exists
Get file attributes

Disassembly:
jmp 0x140062a60
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rdi, rsp
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x40]
cmp qword [rsp + 0x48], 0
jne 0x140062a8f
xor eax, eax
jmp 0x140062afa
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xffffffff
je 0x140062ab0
mov eax, dword [rsp + 0x20]
and eax, 0x10
test eax, eax
je 0x140062ab4
xor eax, eax
jmp 0x140062afa
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call fcn.140002a81
movzx eax, al
test eax, eax
jne 0x140062add
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call fcn.140005a60
xor eax, eax
jmp 0x140062afa
mov r8d, 8
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
add rsp, 0x30
pop rdi
ret
Function at 0x140062b70
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
jmp 0x140062b70
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x8d0
mov rdi, rsp
mov ecx, 0x234
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x8e0]
mov rax, qword [0x1402840e8]
xor rax, rsp
mov qword [rsp + 0x8c8], rax
mov rax, qword [rsp + 0x8e0]
movzx eax, byte [rax + 8]
test eax, eax
je 0x140062bbb
jmp 0x140062d74
mov rax, qword [rsp + 0x8e0]
mov byte [rax + 8], 1
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x410
rep stosb byte [rdi], al
mov qword [rsp + 0x458], 0
lea r8, [rsp + 0x458]
mov edx, 0x1a
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x140062c64
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x458]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x140062c2f
cmp qword [rsp + 0x458], 0
je 0x140062c2d
mov rcx, qword [rsp + 0x458]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x140062c64
mov eax, 2
imul rax, rax, 0
mov qword [rsp + 0x8b8], rax
cmp qword [rsp + 0x8b8], 0x410
jae 0x140062c50
jmp 0x140062c55
call fcn.140005038
xor eax, eax
mov rcx, qword [rsp + 0x8b8]
mov word [rsp + rcx + 0x30], ax
lea rdx, [0x1401f8fe0]
lea rcx, [rsp + 0x30]
call fcn.1400019d8
lea rdx, [0x1401f8fe8]
lea rcx, [rsp + 0x30]
call fcn.1400019d8
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140062ccb
mov eax, 2
imul rax, rax, 0
mov qword [rsp + 0x8c0], rax
cmp qword [rsp + 0x8c0], 0x410
jae 0x140062cb7
jmp 0x140062cbc
call fcn.140005038
xor eax, eax
mov rcx, qword [rsp + 0x8c0]
mov word [rsp + rcx + 0x30], ax
lea rax, [rsp + 0x480]
mov rdi, rax
xor eax, eax
mov ecx, 0x412
rep stosb byte [rdi], al
lea rcx, [rsp + 0x30]
call fcn.140007536
test rax, rax
jbe 0x140062d40
mov r8d, 0x207
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x480]
call fcn.140006b90
lea rcx, [rsp + 0x480]
call fcn.140007536
test rax, rax
jbe 0x140062d40
lea rdx, [0x1401f8fe4]
lea rcx, [rsp + 0x480]
call fcn.1400019d8
lea rdx, str.2345Image.hzv
lea rcx, [rsp + 0x480]
call fcn.1400019d8
call fcn.140006f14
mov qword [rsp + 0x8a8], rax
lea rcx, [rsp + 0x480]
call fcn.140007536
test rax, rax
jbe 0x140062d74
lea rdx, [rsp + 0x480]
mov rcx, qword [rsp + 0x8a8]
call fcn.140003d87
mov rcx, rsp
lea rdx, [0x1401f9198]
call fcn.14000849f
mov rcx, qword [rsp + 0x8c8]
xor rcx, rsp
call fcn.1400030d0
add rsp, 0x8d0
pop rdi
ret
Function at 0x1400eabf0
Capabilities:
Create thread

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
call fcn.140005a51
mov byte [rsp + 0x30], al
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1400eac44
cmp qword [rsp + 0x90], 0
je 0x1400eac31
lea rcx, [rsp + 0x90]
call fcn.1400065d2
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x1400eac44
mov eax, 4
jmp 0x1400eadd2
call fcn.140001b3b
movzx eax, al
test eax, eax
jne 0x1400eac75
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1400eac64
mov dword [rsp + 0x34], 4
jmp 0x1400eac6c
mov dword [rsp + 0x34], 3
mov eax, dword [rsp + 0x34]
jmp 0x1400eadd2
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x1400ead61
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x74], 0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x60]
lea r8, [0x1400eb110]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140002a36
lea rcx, [rsp + 0x38]
call fcn.140003af3
movzx eax, al
test eax, eax
jne 0x1400ead0f
mov dword [rsp + 0x4c], 0
lea rcx, [rsp + 0x38]
call fcn.1400074fa
mov eax, dword [rsp + 0x4c]
jmp 0x1400eadd2
lea rcx, [rsp + 0x38]
call fcn.1400026df
xor r8d, r8d
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
test eax, eax
je 0x1400ead49
mov dword [rsp + 0x44], 0
lea rcx, [rsp + 0x38]
call fcn.1400074fa
mov eax, dword [rsp + 0x44]
jmp 0x1400eadd2
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x38]
call fcn.1400074fa
mov eax, dword [rsp + 0x40]
jmp 0x1400eadd2
call fcn.140008dc8
movzx eax, al
test eax, eax
jne 0x1400eada6
mov eax, dword [rsp + 0xa0]
bts eax, 0x15
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x50], 0
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x98]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x50]
call fcn.140004624
jmp 0x1400eadd2
call fcn.140002e5f
mov qword [rsp + 0x58], rax
lea r9, [rsp + 0xa0]
lea r8, [rsp + 0x98]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x58]
call fcn.14000438b
add rsp, 0x88
ret
Function at 0x14011dfa0
Capabilities:
Check mutex on windows

Disassembly:
jmp 0x14011dfa0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
mov rdi, rsp
mov ecx, 0x1c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rax, qword [0x1402840e8]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x80]
cmp qword [rax], 0
je 0x14011e007
mov r8d, 0x38
lea rdx, [0x140220330]
lea rcx, [0x1402203b0]
call fcn.1400070db
xor eax, eax
mov rcx, qword [rsp + 0x80]
call fcn.140006d75
mov edx, 8
lea rcx, [rsp + 0x28]
call fcn.140005975
lea rcx, [rsp + 0x28]
call fcn.140008a17
nop
lea rcx, [rsp + 0x28]
call fcn.140008625
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x14011e060
mov r8d, 0x3c
lea rdx, [0x1402203d0]
lea rcx, [0x140220450]
call fcn.1400070db
xor eax, eax
mov rcx, qword [rsp + 0x88]
call fcn.14000179e
movzx eax, al
test eax, eax
jne 0x14011e088
mov rcx, qword [rsp + 0x88]
call fcn.140004fac
mov qword [rsp + 0x58], rax
jmp 0x14011e091
mov qword [rsp + 0x58], 0
mov r8, qword [rsp + 0x58]
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rcx, qword [rsp + 0x80]
mov qword [rcx], rax
mov rax, qword [rsp + 0x80]
cmp qword [rax], 0
jne 0x14011e0d7
mov r8d, 0x3e
lea rdx, [0x140220460]
lea rcx, [0x1402204e0]
call fcn.1400070db
xor eax, eax
mov rax, qword [rsp + 0x80]
cmp qword [rax], 0
je 0x14011e0fe
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14011e0fe
mov rax, qword [rsp + 0x80]
mov byte [rax + 9], 1
mov rcx, qword [rsp + 0x80]
call fcn.140007a59
mov byte [rsp + 0x48], al
lea rcx, [rsp + 0x28]
call fcn.14000890e
movzx eax, byte [rsp + 0x48]
mov edi, eax
mov rcx, rsp
lea rdx, [0x140220840]
call fcn.14000849f
mov eax, edi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400030d0
add rsp, 0x70
pop rdi
ret

Function at 0x14011f0d0
Capabilities:
Query environment variable

Disassembly:
jmp 0x14011f0d0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x480
mov rdi, rsp
mov ecx, 0x120
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x490]
mov rax, qword [0x1402840e8]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov byte [rsp + 0x24], 0
mov rcx, qword [rsp + 0x498]
call fcn.14000485e
mov rdx, qword [rsp + 0x498]
mov ecx, dword [rsp + 0x490]
call fcn.14000702c
mov byte [rsp + 0x24], al
jmp 0x14011f13a
movzx eax, byte [rsp + 0x24]
test eax, eax
jne 0x14011f1ae
cmp dword [rsp + 0x490], 0x1a
jne 0x14011f1ae
mov rcx, qword [rsp + 0x498]
call fcn.14000485e
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0x410
rep stosb byte [rdi], al
mov r8d, 0x207
lea rdx, [rsp + 0x50]
lea rcx, str.APPDATA
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x498]
call fcn.140005731
mov rcx, qword [rsp + 0x498]
call fcn.14000179e
movzx eax, al
test eax, eax
jne 0x14011f1ae
mov byte [rsp + 0x24], 1
movzx eax, byte [rsp + 0x24]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x140221c50]
call fcn.14000849f
mov rax, rdi
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.1400030d0
add rsp, 0x480
pop rdi
ret
Function at 0x14012a8a0
Capabilities:
Delete file

Disassembly:
jmp 0x14012a8a0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xf0
mov rdi, rsp
mov ecx, 0x3c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x100]
mov qword [rsp + 0xe0], 0xfffffffffffffffe
mov rax, qword [0x1402840e8]
xor rax, rsp
mov qword [rsp + 0xe8], rax
mov r8, qword [rsp + 0x108]
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x100]
call fcn.140006cf3
nop
mov edx, 0x10
lea rcx, [rsp + 0x68]
call fcn.14000451b
lea rcx, [rsp + 0x68]
call fcn.1400061bd
nop
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x68]
call fcn.140002b26
mov edx, 0x10
lea rcx, [rsp + 0x98]
call fcn.140004b10
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x98]
call fcn.1400047b9
nop
mov byte [rsp + 0xc4], 0
lea r9, [rsp + 0xc4]
mov r8, qword [rsp + 0x110]
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x100]
call fcn.1400071c1
mov byte [rsp + 0xd4], al
movzx eax, byte [rsp + 0xd4]
test eax, eax
jne 0x14012a9b8
movzx eax, byte [rsp + 0xc4]
test eax, eax
je 0x14012a9b8
mov rcx, qword [rsp + 0x108]
call fcn.140004fac
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
lea rcx, [rsp + 0x98]
call fcn.140001028
nop
lea rcx, [rsp + 0x68]
call fcn.1400024a0
nop
lea rcx, [rsp + 0x28]
call fcn.1400073ce
mov rcx, rsp
lea rdx, [0x1402269c8]
call fcn.14000849f
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.1400030d0
add rsp, 0xf0
pop rdi
ret
Function at 0x14018f030
Capabilities:
Get file size

Disassembly:
jmp 0x14018f030
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
mov rdi, rsp
mov ecx, 0x14
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x60]
mov rax, qword [0x1402840e8]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax], 0xffffffffffffffff
jne 0x14018f088
mov r8d, 0x52
lea rdx, [0x14024c900]
lea rcx, [0x14024c990]
call fcn.1400070db
xor eax, eax
mov rax, qword [rsp + 0x60]
cmp qword [rax], 0xffffffffffffffff
jne 0x14018f097
xor al, al
jmp 0x14018f0e4
mov dword [rsp + 0x24], 0
lea rdx, [rsp + 0x24]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0xffffffff
jne 0x14018f0cb
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x14018f0cb
xor al, al
jmp 0x14018f0e4
mov eax, dword [rsp + 0x24]
shl rax, 0x20
mov ecx, dword [rsp + 0x34]
add rax, rcx
mov rcx, qword [rsp + 0x68]
mov qword [rcx], rax
mov al, 1
mov rdi, rax
mov rcx, rsp
lea rdx, [0x14024cb18]
call fcn.14000849f
mov rax, rdi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400030d0
add rsp, 0x50
pop rdi
ret

Function at 0x14018f9d0
Capabilities:
Read file on windows

Disassembly:
jmp 0x14018f9d0
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
mov rdi, rsp
mov ecx, 0x18
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x70]
mov rax, qword [0x1402840e8]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp dword [rsp + 0x80], 0x100000
jbe 0x14018fa24
mov dword [rsp + 0x80], 0x100000
mov dword [rsp + 0x34], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x34]
mov r8d, dword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14018fa60
mov byte [rsp + 0x50], 1
jmp 0x14018fa65
mov byte [rsp + 0x50], 0
movzx eax, byte [rsp + 0x50]
mov byte [rsp + 0x44], al
mov rax, qword [rsp + 0x88]
mov ecx, dword [rsp + 0x34]
mov dword [rax], ecx
movzx eax, byte [rsp + 0x44]
mov edi, eax
mov rcx, rsp
lea rdx, [0x14024cf40]
call fcn.14000849f
mov eax, edi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400030d0
add rsp, 0x60
pop rdi
ret
Function at 0x1401900f0
Capabilities:
Write file on windows

Disassembly:
jmp 0x1401900f0
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x140
mov rdi, rsp
mov ecx, 0x50
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x150]
mov qword [rsp + 0x100], 0xfffffffffffffffe
mov rax, qword [0x1402840e8]
xor rax, rsp
mov qword [rsp + 0x130], rax
cmp dword [rsp + 0x160], 0x100000
jbe 0x140190159
mov dword [rsp + 0x160], 0x100000
mov dword [rsp + 0x34], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x34]
mov r8d, dword [rsp + 0x160]
mov rdx, qword [rsp + 0x158]
mov rax, qword [rsp + 0x150]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1401901a1
mov dword [rsp + 0x108], 0
jmp 0x1401901ac
mov dword [rsp + 0x108], 0x80004005
mov eax, dword [rsp + 0x108]
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0x150]
cmp qword [rax + 0x30], 0
je 0x140190360
lea rcx, [rsp + 0x54]
call fcn.1400029aa
movzx eax, al
test eax, eax
jne 0x140190360
mov eax, dword [rsp + 0x160]
cmp dword [rsp + 0x34], eax
jae 0x140190360
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x64], eax
mov qword [rsp + 0x78], 0
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0x150]
call fcn.1400062e9
movzx eax, al
test eax, eax
jne 0x140190225
mov qword [rsp + 0x78], 0
lea rax, [rsp + 0xd0]
mov qword [rsp + 0xf8], rax
mov eax, dword [rsp + 0x64]
mov qword [rsp + 0x110], rax
mov rcx, qword [rsp + 0x150]
call fcn.140001e38
mov rdx, rax
mov rcx, qword [rsp + 0xf8]
call fcn.1400044f3
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x150]
mov rax, qword [rax + 0x30]
mov rcx, qword [rsp + 0x150]
mov rcx, qword [rcx + 0x30]
mov rax, qword [rax]
mov rdx, qword [rsp + 0x110]
mov r9, rdx
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x120]
call qword [rax + 0x30]
mov dword [rsp + 0x94], eax
lea rcx, [rsp + 0x94]
call fcn.1400029aa
movzx eax, al
test eax, eax
jne 0x1401902d7
mov eax, dword [rsp + 0x94]
mov dword [rsp + 0x54], eax
jmp 0x140190360
mov dword [rsp + 0xb4], 0
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x158]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0xb4]
mov r8d, dword [rsp + 0x160]
mov rdx, rax
mov rax, qword [rsp + 0x150]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140190332
mov dword [rsp + 0x128], 0
jmp 0x14019033d
mov dword [rsp + 0x128], 0x80004005
mov eax, dword [rsp + 0x128]
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0xb4]
mov ecx, dword [rsp + 0x34]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
jmp 0x1401901ca
mov rax, qword [rsp + 0x168]
mov ecx, dword [rsp + 0x34]
mov dword [rax], ecx
mov eax, dword [rsp + 0x54]
mov edi, eax
mov rcx, rsp
lea rdx, [0x14024d660]
call fcn.14000849f
mov eax, edi
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1400030d0
add rsp, 0x140
pop rdi
ret