joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000164f
Capabilities:
Access pe header

Disassembly:
jmp 0x14000cc30
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1c8]
mov rax, qword [0x140028018]
xor rax, rbp
mov qword [rbp + 0x178], rax
lea rcx, [0x14002e556]
call fcn.140001645
mov dword [rbp + 4], 0
mov dword [rbp + 0x24], 0x1000
mov qword [rbp + 0x48], 0
mov qword [rbp + 0xa8], 0
mov edx, 0x1000
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rbp + 0xa8], rax
cmp qword [rbp + 0xa8], 0
jne 0x14000ccd4
jmp 0x14000cd8d
mov rcx, qword [rbp + 0x1a0]
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
jne 0x14000ccf6
jmp 0x14000cd8d
mov dword [rbp + 0x84], 0
jmp 0x14000cd10
mov eax, dword [rbp + 0x84]
inc eax
mov dword [rbp + 0x84], eax
mov rax, qword [rbp + 0x48]
movzx eax, word [rax + 6]
cmp dword [rbp + 0x84], eax
jae 0x14000cd8d
mov eax, dword [rbp + 0x84]
imul rax, rax, 0x28
mov rcx, qword [rbp + 0x48]
lea rax, [rcx + rax + 0x108]
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x1a8]
mov rcx, rax
call sub.ucrtbased.dll_strcmp
test eax, eax
jne 0x14000cd88
mov rax, qword [rbp + 0x68]
mov eax, dword [rax + 0xc]
mov rcx, qword [rbp + 0x1a0]
add rcx, rax
mov rax, rcx
mov rcx, qword [rbp + 0x1b0]
mov qword [rcx], rax
mov rax, qword [rbp + 0x1b8]
mov rcx, qword [rbp + 0x68]
mov ecx, dword [rcx + 0x10]
mov dword [rax], ecx
mov dword [rbp + 4], 1
jmp 0x14000cd8d
jmp 0x14000cd02
lea rcx, [rbp + 0xa8]
call fcn.1400010a5
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x1400202c0]
call fcn.140001546
mov eax, edi
mov rcx, qword [rbp + 0x178]
xor rcx, rbp
call fcn.14000132a
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x14000166d
Capabilities:
Delete file

Disassembly:
jmp 0x14000a240
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x14002e2fb]
call fcn.140001645
mov rax, qword [rbp + 0xe0]
cmp qword [rax + 0x28], 0
je 0x14000a283
mov edx, 0x1388
mov rax, qword [rbp + 0xe0]
mov rcx, qword [rax + 0x28]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rax, qword [rbp + 0xe0]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14000a2af
mov rax, qword [rbp + 0xe0]
mov rdx, qword [rax + 8]
lea rcx, [0x14001e240]
call fcn.140001037
mov rax, qword [rbp + 0xe0]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14000a2db
mov rax, qword [rbp + 0xe0]
mov rdx, qword [rax + 0x10]
lea rcx, [0x14001e240]
call fcn.140001037
mov rax, qword [rbp + 0xe0]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14000a307
mov rax, qword [rbp + 0xe0]
mov rdx, qword [rax + 0x18]
lea rcx, [0x14001e240]
call fcn.140001037
mov rax, qword [rbp + 0xe0]
cmp qword [rax], 0
je 0x14000a324
mov rax, qword [rbp + 0xe0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rax, qword [rbp + 0xe0]
cmp qword [rax + 8], 0
je 0x14000a343
mov rax, qword [rbp + 0xe0]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rax, qword [rbp + 0xe0]
cmp qword [rax + 0x10], 0
je 0x14000a362
mov rax, qword [rbp + 0xe0]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rax, qword [rbp + 0xe0]
cmp qword [rax + 0x18], 0
je 0x14000a381
mov rax, qword [rbp + 0xe0]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rax, qword [rbp + 0xe0]
cmp qword [rax + 0x20], 0
je 0x14000a3a0
mov rax, qword [rbp + 0xe0]
mov rcx, qword [rax + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbp + 0xe0]
cmp qword [rax + 0x28], 0
je 0x14000a3bf
mov rax, qword [rbp + 0xe0]
mov rcx, qword [rax + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret
Function at 0x1400024e0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
jmp 0x1400024e0
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x158
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x178]
mov rax, qword [0x140028018]
xor rax, rbp
mov qword [rbp + 0x118], rax
lea rcx, [0x14002e0a5]
call fcn.140001645
mov dword [rbp + 4], 0
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x24]
mov r8d, dword [rbp + 0x150]
mov rdx, qword [rbp + 0x148]
mov rax, qword [rbp + 0x140]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140002573
jmp 0x1400025b9
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x44]
mov r8d, 0x1000
mov rdx, qword [rbp + 0x158]
mov rax, qword [rbp + 0x140]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400025a6
jmp 0x1400025b9
mov rax, qword [rbp + 0x160]
mov ecx, dword [rbp + 0x44]
mov dword [rax], ecx
mov dword [rbp + 4], 1
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.140001546
mov eax, edi
mov rcx, qword [rbp + 0x118]
xor rcx, rbp
call fcn.14000132a
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x140004b00
Capabilities:
Get common file path

Disassembly:
jmp 0x140004b00
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x188]
mov rax, qword [0x140028018]
xor rax, rbp
mov qword [rbp + 0x118], rax
lea rcx, [0x14002e1cb]
call fcn.140001645
mov dword [rbp + 4], 0
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x48], 0
mov edx, 0x20a
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x140004b85
jmp 0x140004c4f
mov edx, 0x104
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x140004ba2
jmp 0x140004c4f
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_wcslen]
cmp rax, 2
jae 0x140004bbc
jmp 0x140004c4f
mov eax, 2
imul rax, rax, 2
xor ecx, ecx
mov rdx, qword [rbp + 0x28]
mov word [rdx + rax], cx
mov rcx, qword [rbp + 0x140]
call fcn.1400014ce
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x28]
lea r8, [0x14001d2b8]
mov edx, 0x104
mov rcx, qword [rbp + 0x28]
call fcn.140001226
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x4000080
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov r8d, 7
mov edx, 0x80010000
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0xffffffffffffffff
jne 0x140004c39
jmp 0x140004c4f
mov rax, qword [rbp + 0x140]
mov rcx, qword [rbp + 0x48]
mov qword [rax + 0x38], rcx
mov dword [rbp + 4], 1
cmp dword [rbp + 4], 0
jne 0x140004c6e
mov rdx, qword [rbp + 0x28]
lea rcx, str.____Failed_to_create_dummy_file:__ws_r_n
call fcn.140001037
lea rcx, [rbp + 0x48]
call fcn.140001113
lea rcx, [rbp + 0x28]
call fcn.1400010a5
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x40]
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.140001546
mov eax, edi
mov rcx, qword [rbp + 0x118]
xor rcx, rbp
call fcn.14000132a
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret

Function at 0x1400050f0
Capabilities:
Delete file

Disassembly:
jmp 0x1400050f0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x14002e1cb]
call fcn.140001645
mov dword [rbp + 4], 0
mov rax, qword [rbp + 0x100]
cmp dword [rax + 0x98], 0
je 0x140005150
mov rax, qword [rbp + 0x100]
mov rcx, qword [rax + 0x48]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14000513f
jmp 0x140005157
mov rax, qword [rbp + 0x100]
mov dword [rax + 0x98], 0
mov dword [rbp + 4], 1
cmp dword [rbp + 4], 0
jne 0x140005174
mov rax, qword [rbp + 0x100]
mov rdx, qword [rax + 0x48]
lea rcx, str.____Failed_to_delete_custom_TypeLib_file:__ws_r_n
call fcn.140001037
mov eax, dword [rbp + 4]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x1400051b0
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
jmp 0x1400051b0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x4a8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0xbe
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x4c8]
mov rax, qword [0x140028018]
xor rax, rbp
mov qword [rbp + 0x468], rax
lea rcx, [0x14002e1cb]
call fcn.140001645
mov dword [rbp + 4], 0
mov qword [rbp + 0x298], 0
mov qword [rbp + 0x2d8], 0
mov rcx, qword [rbp + 0x498]
call fcn.1400014a1
lea rcx, [rbp + 0x298]
call fcn.14000122b
test eax, eax
jne 0x140005241
jmp 0x140005310
lea rax, str._____________________________________
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x298]
lea r8, [0x14001d2b8]
mov edx, 0x104
mov rcx, qword [rbp + 0x298]
call fcn.140001226
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 0x298]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rbp + 0x2d8], rax
cmp qword [rbp + 0x2d8], 0xffffffffffffffff
jne 0x1400052a4
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x1400052a0
mov dword [rbp + 4], 1
jmp 0x140005310
mov edx, 0x20a
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rbp + 0x2b8], rax
cmp qword [rbp + 0x2b8], 0
je 0x1400052f4
lea r9, [rbp + 0x5c]
lea r8, [0x14001aea8]
mov edx, 0x104
mov rcx, qword [rbp + 0x2b8]
call fcn.140001226
lea rdx, [rbp + 0x2b8]
mov rcx, qword [rbp + 0x498]
call fcn.140001442
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 0x2d8]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400052a4
mov dword [rbp + 4], 1
cmp dword [rbp + 4], 0
jne 0x140005329
mov rdx, qword [rbp + 0x298]
lea rcx, str.____Failed_to_enumerate_temp_directory:__ws_r_n
call fcn.140001037
cmp qword [rbp + 0x2d8], 0
je 0x14000534a
cmp qword [rbp + 0x2d8], 0xffffffffffffffff
je 0x14000534a
mov rcx, qword [rbp + 0x2d8]
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rcx, [rbp + 0x298]
call fcn.1400010a5
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, [0x14001c570]
call fcn.140001546
mov eax, edi
mov rcx, qword [rbp + 0x468]
xor rcx, rbp
call fcn.14000132a
lea rsp, [rbp + 0x478]
pop rdi
pop rbp
ret
Function at 0x140005c10
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
jmp 0x140005c10
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x138
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x12
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x158]
mov rax, qword [0x140028018]
xor rax, rbp
mov qword [rbp + 0xf8], rax
lea rcx, [0x14002e1cb]
call fcn.140001645
mov dword [rbp + 4], 0
mov qword [rbp + 0x28], 0
mov edx, 0x20a
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x140005c8d
jmp 0x140005d7d
mov edx, 0x104
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x140005caa
jmp 0x140005d7d
lea rax, str.WaaSMedicCapsule.dll
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x28]
lea r8, [0x14001d2b8]
mov edx, 0x104
mov rcx, qword [rbp + 0x28]
call fcn.140001226
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140005d56
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x140005d56
mov edx, 0x104
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x140005d00
jmp 0x140005d7d
lea rax, str.WaaSMedicCapsule.dll
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x28]
lea r8, str._wsUUS_amd64_ws
mov edx, 0x104
mov rcx, qword [rbp + 0x28]
call fcn.140001226
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140005d56
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x140005d56
lea rdx, str.WaaSMedicCapsule.dll
lea rcx, str.____Failed_to_determine_file_path_for_file:__ws_r_n
call fcn.140001037
jmp 0x140005d7d
mov r9, qword [rbp + 0x28]
lea r8, [0x14001aea8]
mov edx, 0x104
mov rax, qword [rbp + 0x120]
mov rcx, qword [rax + 0x18]
call fcn.140001226
mov dword [rbp + 4], 1
lea rcx, [rbp + 0x28]
call fcn.1400010a5
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, [0x14001bf10]
call fcn.140001546
mov eax, edi
mov rcx, qword [rbp + 0xf8]
xor rcx, rbp
call fcn.14000132a
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x140006960
Capabilities:
Write file on windows

Disassembly:
jmp 0x140006960
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x278
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x5a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x298]
mov rax, qword [0x140028018]
xor rax, rbp
mov qword [rbp + 0x218], rax
lea rcx, [0x14002e1cb]
call fcn.140001645
mov dword [rbp + 4], 0
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x48], 0
mov dword [rbp + 0x84], 0
mov dword [rbp + 0xa4], 0
mov dword [rbp + 0x144], 0
lea r8, [rbp + 0x84]
lea rdx, [rbp + 0x68]
mov ecx, 0x65
call fcn.1400015f5
test eax, eax
jne 0x140006a01
jmp 0x140006bed
mov rax, qword [rbp + 0x240]
add rax, 0x78
mov rdx, rax
mov ecx, dword [rbp + 0x84]
call fcn.1400012c1
test eax, eax
jne 0x140006a28
jmp 0x140006bed
mov r8d, 0x30
xor edx, edx
lea rcx, [rbp + 0xf8]
call sub.VCRUNTIME140D.dll_memset
mov dword [rbp + 0xf8], 0x30
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rbp + 0xf8]
mov edx, 0x1f003f
lea rcx, [rbp + 0x28]
call qword [sym.imp.ntdll.dll_NtCreateTransaction]
mov dword [rbp + 0x144], eax
cmp dword [rbp + 0x144], 0
jge 0x140006aab
jmp 0x140006bed
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov rax, qword [rbp + 0x28]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
mov rax, qword [rbp + 0x240]
mov rcx, qword [rax + 0x78]
call qword [sym.imp.KERNEL32.dll_CreateFileTransactedW]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0xffffffffffffffff
jne 0x140006b10
jmp 0x140006bed
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0xa4]
mov r8d, dword [rbp + 0x84]
mov rdx, qword [rbp + 0x68]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140006b43
jmp 0x140006bed
mov rcx, qword [rbp + 0x240]
call fcn.140001695
mov rdx, rax
lea rcx, [rbp + 0xc8]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov dword [rbp + 0xf8], 0x30
mov qword [rbp + 0x100], 0
mov dword [rbp + 0x110], 0x40
lea rax, [rbp + 0xc8]
mov qword [rbp + 0x108], rax
mov qword [rbp + 0x118], 0
mov qword [rbp + 0x120], 0
mov rax, qword [rbp + 0x240]
add rax, 0x30
mov rcx, qword [rbp + 0x48]
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], 0x1000000
mov dword [rsp + 0x20], 2
xor r9d, r9d
lea r8, [rbp + 0xf8]
mov edx, 0xf001f
mov rcx, rax
call qword [sym.imp.ntdll.dll_NtCreateSection]
test eax, eax
jge 0x140006be6
jmp 0x140006bed
mov dword [rbp + 4], 1
lea rcx, [rbp + 0x28]
call fcn.140001113
lea rcx, [rbp + 0x48]
call fcn.140001113
mov ecx, dword [rbp + 0x144]
call fcn.140001131
cmp dword [rbp + 4], 0
jne 0x140006c2b
mov rcx, qword [rbp + 0x240]
call fcn.140001695
mov rdx, rax
lea rcx, str.____Failed_to_create_section:__ws_r_n
call fcn.140001037
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x50]
lea rdx, [0x14001c310]
call fcn.140001546
mov eax, edi
mov rcx, qword [rbp + 0x218]
xor rcx, rbp
call fcn.14000132a
lea rsp, [rbp + 0x228]
pop rdi
pop rbp
ret
Function at 0x140007100
Capabilities:
Get common file path

Disassembly:
jmp 0x140007100
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x1e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x188]
mov rax, qword [0x140028018]
xor rax, rbp
mov qword [rbp + 0x120], rax
lea rcx, [0x14002e1cb]
call fcn.140001645
mov dword [rbp + 4], 0
mov dword [rbp + 0x24], 0
mov qword [rbp + 0x48], 0
mov edx, 0x20a
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
jne 0x140007184
jmp 0x14000725b
mov edx, 0x104
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x1400071a1
jmp 0x14000725b
lea rax, str.TaskSchdPS.dll
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x48]
lea r8, [0x14001d2b8]
mov edx, 0x104
mov rcx, qword [rbp + 0x48]
call fcn.140001226
mov rcx, qword [rbp + 0x150]
call fcn.1400012fd
test eax, eax
jne 0x1400071dd
jmp 0x14000725b
mov dword [rbp + 0x24], 1
mov rcx, qword [rbp + 0x150]
call fcn.140001523
lea r9, str._SystemRoot__system32WaaSMedicPS.dll
xor r8d, r8d
mov rdx, rax
mov rcx, 0xffffffff80000002
call fcn.140001122
test eax, eax
jne 0x140007211
jmp 0x14000725b
mov rcx, qword [rbp + 0x150]
call fcn.1400010af
mov qword [rbp + 0x118], rax
mov rcx, qword [rbp + 0x150]
call fcn.14000137a
mov rcx, qword [rbp + 0x118]
mov r9, rcx
xor r8d, r8d
mov rdx, rax
mov rcx, 0xffffffff80000002
call fcn.140001122
test eax, eax
jne 0x140007254
jmp 0x14000725b
mov dword [rbp + 4], 1
cmp dword [rbp + 0x24], 0
je 0x14000726d
mov rcx, qword [rbp + 0x150]
call fcn.1400012da
lea rcx, [rbp + 0x48]
call fcn.1400010a5
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, [0x14001b200]
call fcn.140001546
mov eax, edi
mov rcx, qword [rbp + 0x120]
xor rcx, rbp
call fcn.14000132a
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret
Function at 0x14000a240
Capabilities:
Delete file

Disassembly:
jmp 0x14000a240
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x14002e2fb]
call fcn.140001645
mov rax, qword [rbp + 0xe0]
cmp qword [rax + 0x28], 0
je 0x14000a283
mov edx, 0x1388
mov rax, qword [rbp + 0xe0]
mov rcx, qword [rax + 0x28]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rax, qword [rbp + 0xe0]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14000a2af
mov rax, qword [rbp + 0xe0]
mov rdx, qword [rax + 8]
lea rcx, [0x14001e240]
call fcn.140001037
mov rax, qword [rbp + 0xe0]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14000a2db
mov rax, qword [rbp + 0xe0]
mov rdx, qword [rax + 0x10]
lea rcx, [0x14001e240]
call fcn.140001037
mov rax, qword [rbp + 0xe0]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14000a307
mov rax, qword [rbp + 0xe0]
mov rdx, qword [rax + 0x18]
lea rcx, [0x14001e240]
call fcn.140001037
mov rax, qword [rbp + 0xe0]
cmp qword [rax], 0
je 0x14000a324
mov rax, qword [rbp + 0xe0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rax, qword [rbp + 0xe0]
cmp qword [rax + 8], 0
je 0x14000a343
mov rax, qword [rbp + 0xe0]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rax, qword [rbp + 0xe0]
cmp qword [rax + 0x10], 0
je 0x14000a362
mov rax, qword [rbp + 0xe0]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rax, qword [rbp + 0xe0]
cmp qword [rax + 0x18], 0
je 0x14000a381
mov rax, qword [rbp + 0xe0]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rax, qword [rbp + 0xe0]
cmp qword [rax + 0x20], 0
je 0x14000a3a0
mov rax, qword [rbp + 0xe0]
mov rcx, qword [rax + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbp + 0xe0]
cmp qword [rax + 0x28], 0
je 0x14000a3bf
mov rax, qword [rbp + 0xe0]
mov rcx, qword [rax + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x14000a630
Capabilities:
Get common file path

Disassembly:
jmp 0x14000a630
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x118
lea rbp, [rsp + 0x30]
lea rcx, [0x14002e2fb]
call fcn.140001645
mov dword [rbp + 4], 0
mov rax, qword [rbp + 0x100]
mov r9, qword [rax + 8]
xor r8d, r8d
lea rdx, [0x14001ca1c]
mov rax, qword [rbp + 0x100]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x14000a683
jmp 0x14000a6ee
lea rax, str.faultrep.dll
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x100]
mov r9, qword [rax]
lea r8, [0x14001e2e0]
mov edx, 0x104
mov rax, qword [rbp + 0x100]
mov rcx, qword [rax + 0x10]
call fcn.140001226
lea rax, [0x14001e2f0]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x100]
mov r9, qword [rax]
lea r8, [0x14001e2e0]
mov edx, 0x104
mov rax, qword [rbp + 0x100]
mov rcx, qword [rax + 0x18]
call fcn.140001226
mov dword [rbp + 4], 1
mov eax, dword [rbp + 4]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x14000a7a0
Capabilities:
Copy file
Get common file path
Write file on windows

Disassembly:
jmp 0x14000a7a0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1c8
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1e8]
mov rax, qword [0x140028018]
xor rax, rbp
mov qword [rbp + 0x178], rax
lea rcx, [0x14002e2fb]
call fcn.140001645
mov dword [rbp + 4], 0
mov qword [rbp + 0x88], 0xffffffffffffffff
mov qword [rbp + 0xa8], 0
lea r8, [rbp + 0x44]
lea rdx, [rbp + 0x28]
mov ecx, 0x65
call fcn.1400015f5
test eax, eax
jne 0x14000a826
jmp 0x14000a93a
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
mov rax, qword [rbp + 0x1a0]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0xffffffffffffffff
jne 0x14000a876
jmp 0x14000a93a
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x64]
mov r8d, dword [rbp + 0x44]
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14000a8a6
jmp 0x14000a93a
mov edx, 0x20a
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rbp + 0xa8], rax
cmp qword [rbp + 0xa8], 0
jne 0x14000a8cb
jmp 0x14000a93a
mov edx, 0x104
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x14000a8e5
jmp 0x14000a93a
lea rax, [0x14001e2f0]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0xa8]
lea r8, [0x14001d2b8]
mov edx, 0x104
mov rcx, qword [rbp + 0xa8]
call fcn.140001226
xor r8d, r8d
mov rax, qword [rbp + 0x1a0]
mov rdx, qword [rax + 0x18]
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x14000a933
jmp 0x14000a93a
mov dword [rbp + 4], 1
cmp qword [rbp + 0x88], 0
je 0x14000a95b
cmp qword [rbp + 0x88], 0xffffffffffffffff
je 0x14000a95b
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbp + 0xa8], 0
je 0x14000a972
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x40]
lea rdx, [0x14001e1f0]
call fcn.140001546
mov eax, edi
mov rcx, qword [rbp + 0x178]
xor rcx, rbp
call fcn.14000132a
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret