joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002f13
Capabilities:
Parse pe header

Disassembly:
jmp 0x14014a950
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14014a970
xor al, al
jmp 0x14014a9f1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14014a983
xor al, al
jmp 0x14014a9f1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14014a9ad
xor al, al
jmp 0x14014a9f1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14014a9c1
xor al, al
jmp 0x14014a9f1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14014a9d3
xor al, al
jmp 0x14014a9f1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14014a9ef
xor al, al
jmp 0x14014a9f1
mov al, 1
add rsp, 0x38
ret
Function at 0x140003111
Capabilities:
Read file via mapping

Disassembly:
jmp 0x14012b410
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
lea rcx, [0x1401f6434]
call fcn.140003d2d
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x80000000
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0xffffffffffffffff
jne 0x14012b474
xor al, al
jmp 0x14012b55a
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x14012b4ba
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x14012b55a
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 4
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x14012b500
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x14012b55a
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
movzx eax, word [rax]
cmp eax, 0x5a4d
jne 0x14012b523
mov dword [rsp + 0x64], 1
jmp 0x14012b52b
mov dword [rsp + 0x64], 0
movzx eax, byte [rsp + 0x64]
mov byte [rsp + 0x60], al
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, byte [rsp + 0x60]
add rsp, 0x70
pop rdi
ret
Function at 0x140003580
Capabilities:
Enumerate processes

Disassembly:
jmp 0x14012b260
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x290
lea rdi, [rsp + 0x20]
mov ecx, 0x9c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2a0]
mov rax, qword [0x1401dc6c0]
xor rax, rsp
mov qword [rsp + 0x288], rax
lea rcx, [0x1401f6434]
call fcn.140003d2d
mov dword [rsp + 0x30], 0x238
mov dword [rsp + 0x274], 0
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x278], rax
cmp qword [rsp + 0x278], 0xffffffffffffffff
jne 0x14012b2e2
xor eax, eax
jmp 0x14012b364
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x278]
call sub.KERNEL32.dll_Process32FirstW
nop
lea rdx, [rsp + 0x5c]
mov rcx, qword [rsp + 0x2a8]
call fcn.1400014dd
test eax, eax
jne 0x14012b316
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x274], eax
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x278]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x14012b34f
lea rdx, [rsp + 0x5c]
mov rcx, qword [rsp + 0x2a8]
call fcn.1400014dd
test eax, eax
jne 0x14012b34d
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x274], eax
jmp 0x14012b316
mov rcx, qword [rsp + 0x278]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x274]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1401becd0]
call fcn.140003535
mov rax, rdi
mov rcx, qword [rsp + 0x288]
xor rcx, rsp
call fcn.140002595
add rsp, 0x290
pop rdi
ret
Function at 0x1400039db
Capabilities:
Hash data with crc32

Disassembly:
jmp 0x14001f040
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
lea rcx, [0x1401f607c]
call fcn.140003d2d
mov eax, dword [rsp + 0x70]
not eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [0x14016a160]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x68]
dec rax
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x38], 0
je 0x14001f0a9
mov dword [rsp + 0x40], 1
jmp 0x14001f0b1
mov dword [rsp + 0x40], 0
cmp dword [rsp + 0x40], 0
je 0x14001f0f8
mov eax, dword [rsp + 0x20]
shr eax, 8
mov ecx, dword [rsp + 0x20]
and ecx, 0xff
mov rdx, qword [rsp + 0x28]
movzx edx, byte [rdx]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x30]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x20], eax
jmp 0x14001f080
mov eax, dword [rsp + 0x20]
not eax
add rsp, 0x50
pop rdi
ret

Function at 0x140003c01
Capabilities:
Get common file path

Disassembly:
jmp 0x140138600
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x1d0
lea rdi, [rsp + 0x20]
mov ecx, 0x6c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1e0]
mov rax, qword [0x1401dc6c0]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
lea rcx, [0x1401f6788]
call fcn.140003d2d
mov qword [rsp + 0x28], 0
lea r9, [rsp + 0x28]
xor r8d, r8d
xor edx, edx
lea rcx, [0x1401c8990]
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
je 0x140138678
xor al, al
jmp 0x1401387cd
xor r8d, r8d
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x48]
call fcn.14000161d
nop
mov rdx, qword [rsp + 0x1e8]
lea rcx, [rsp + 0x48]
call fcn.1400024b9
nop
xor r8d, r8d
mov rdx, qword [rsp + 0x1f0]
lea rcx, [rsp + 0xb8]
call fcn.140001253
mov qword [rsp + 0x1a8], rax
lea r8, [rsp + 0xb8]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x88]
call fcn.1400038d2
mov qword [rsp + 0x1b0], rax
lea rcx, [rsp + 0xb8]
call fcn.140003940
nop
lea rcx, [rsp + 0x88]
call fcn.140002469
mov byte [rsp + 0x1b8], al
movzx eax, byte [rsp + 0x1b8]
test eax, eax
je 0x140138774
lea rcx, [rsp + 0x88]
call fcn.14000179e
mov byte [rsp + 0x1b9], al
movzx eax, byte [rsp + 0x1b9]
test eax, eax
je 0x140138774
lea rcx, [rsp + 0x88]
call fcn.14000356c
nop
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
mov byte [rsp + 0x1a0], 1
lea rcx, [rsp + 0x88]
call fcn.140003940
nop
lea rcx, [rsp + 0x48]
call fcn.140003940
movzx eax, byte [rsp + 0x1a0]
jmp 0x1401387cd
mov byte [rsp + 0x1a1], 0
lea rcx, [rsp + 0x88]
call fcn.140003940
nop
lea rcx, [rsp + 0x48]
call fcn.140003940
movzx eax, byte [rsp + 0x1a1]
jmp 0x1401387cd
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1401c36e0]
call fcn.140003535
mov rax, rdi
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.140002595
add rsp, 0x1d0
pop rdi
ret
Function at 0x140003cab
Capabilities:
Write file on windows

Disassembly:
jmp 0x140142830
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xe0
lea rdi, [rsp + 0x30]
mov ecx, 0x2c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xf0]
mov rax, qword [0x1401dc6c0]
xor rax, rsp
mov qword [rsp + 0xd0], rax
lea rcx, [0x1401f6782]
call fcn.140003d2d
nop
mov rax, qword [rsp + 0xf0]
cmp qword [rax + 0x68], 0
je 0x140142894
mov rax, qword [rsp + 0xf0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14014289b
mov al, 1
jmp 0x140142a35
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0xa8], rax
call fcn.140001c62
mov dword [rsp + 0xb0], eax
mov edx, dword [rsp + 0xb0]
mov rcx, qword [rsp + 0xf0]
call qword [rsp + 0xa8]
mov dword [rsp + 0xb4], eax
call fcn.140001c62
mov dword [rsp + 0xb8], eax
mov edx, dword [rsp + 0xb4]
mov ecx, dword [rsp + 0xb8]
call fcn.14000336e
movzx eax, al
test eax, eax
je 0x140142908
xor al, al
jmp 0x140142a35
mov qword [rsp + 0x30], 0x20
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0xc0], rax
lea rax, [rsp + 0x68]
mov rcx, qword [rsp + 0xf0]
add rcx, 0x74
lea rdx, [rsp + 0x88]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rsp + 0x48]
mov rdx, rcx
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rsp + 0xc8], eax
cmp dword [rsp + 0xc8], 0
je 0x14014298a
cmp dword [rsp + 0xc8], 1
je 0x140142996
cmp dword [rsp + 0xc8], 3
je 0x140142a23
jmp 0x140142a33
mov rax, qword [rsp + 0xf0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x48]
mov rcx, qword [rsp + 0x88]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0
jbe 0x1401429f1
mov rax, qword [rsp + 0xf0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x98]
mov edx, 1
lea rcx, [rsp + 0x48]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rsp + 0x98], rax
je 0x1401429f1
xor al, al
jmp 0x140142a35
mov rax, qword [rsp + 0xf0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140142a0e
mov dword [rsp + 0xcc], 1
jmp 0x140142a19
mov dword [rsp + 0xcc], 0
movzx eax, byte [rsp + 0xcc]
jmp 0x140142a35
mov rax, qword [rsp + 0xf0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x140142a35
xor al, al
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1401c5380]
call fcn.140003535
mov rax, rdi
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.140002595
add rsp, 0xe0
pop rdi
ret
Function at 0x14001f040
Capabilities:
Hash data with crc32

Disassembly:
jmp 0x14001f040
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
lea rcx, [0x1401f607c]
call fcn.140003d2d
mov eax, dword [rsp + 0x70]
not eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [0x14016a160]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x68]
dec rax
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x38], 0
je 0x14001f0a9
mov dword [rsp + 0x40], 1
jmp 0x14001f0b1
mov dword [rsp + 0x40], 0
cmp dword [rsp + 0x40], 0
je 0x14001f0f8
mov eax, dword [rsp + 0x20]
shr eax, 8
mov ecx, dword [rsp + 0x20]
and ecx, 0xff
mov rdx, qword [rsp + 0x28]
movzx edx, byte [rdx]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x30]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x20], eax
jmp 0x14001f080
mov eax, dword [rsp + 0x20]
not eax
add rsp, 0x50
pop rdi
ret
Function at 0x14001f110
Capabilities:
Hash data with crc32

Disassembly:
jmp 0x14001f110
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
lea rcx, [0x1401f607c]
call fcn.140003d2d
mov eax, dword [rsp + 0x70]
not eax
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [0x14016a160]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x68], 0
je 0x14001f23a
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x68]
dec rax
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x40], 0
je 0x14001f18d
mov dword [rsp + 0x48], 1
jmp 0x14001f195
mov dword [rsp + 0x48], 0
cmp dword [rsp + 0x48], 0
je 0x14001f235
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
mov byte [rsp + 0x4c], al
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
movzx eax, byte [rsp + 0x4c]
mov byte [rsp + 0x38], al
movzx eax, byte [rsp + 0x38]
cmp eax, 0x23
jne 0x14001f20a
cmp qword [rsp + 0x68], 2
jb 0x14001f20a
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14001f20a
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14001f20a
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shr eax, 8
mov ecx, dword [rsp + 0x20]
and ecx, 0xff
movzx edx, byte [rsp + 0x38]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x30]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 0x20], eax
jmp 0x14001f164
jmp 0x14001f2d0
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
mov byte [rsp + 0x4d], al
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
movzx eax, byte [rsp + 0x4d]
mov byte [rsp + 0x39], al
movzx eax, byte [rsp + 0x39]
test eax, eax
je 0x14001f2d0
movzx eax, byte [rsp + 0x39]
cmp eax, 0x23
jne 0x14001f2a5
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14001f2a5
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14001f2a5
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shr eax, 8
mov ecx, dword [rsp + 0x20]
and ecx, 0xff
movzx edx, byte [rsp + 0x39]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x30]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 0x20], eax
jmp 0x14001f23a
mov eax, dword [rsp + 0x20]
not eax
add rsp, 0x50
pop rdi
ret

Function at 0x140020e30
Capabilities:
Read file on windows

Disassembly:
jmp 0x140020e30
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
lea rcx, [0x1401f607c]
call fcn.140003d2d
mov r9, qword [rsp + 0x48]
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ucrtbased.dll_fread]
add rsp, 0x20
pop rdi
ret
Function at 0x140020e80
Capabilities:
Write file on windows

Disassembly:
jmp 0x140020e80
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
lea rcx, [0x1401f607c]
call fcn.140003d2d
mov r9, qword [rsp + 0x48]
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ucrtbased.dll_fwrite]
add rsp, 0x20
pop rdi
ret
Function at 0x1400c2c60
Capabilities:
Log keystrokes via polling

Disassembly:
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x30
lea rcx, [0x1401f6252]
call fcn.140003d2d
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x1400c2c93
mov dword [rsp + 0x20], 1
jmp 0x1400c2c9b
mov dword [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
add rsp, 0x30
pop rdi
ret
Function at 0x14012b260
Capabilities:
Enumerate processes

Disassembly:
jmp 0x14012b260
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x290
lea rdi, [rsp + 0x20]
mov ecx, 0x9c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2a0]
mov rax, qword [0x1401dc6c0]
xor rax, rsp
mov qword [rsp + 0x288], rax
lea rcx, [0x1401f6434]
call fcn.140003d2d
mov dword [rsp + 0x30], 0x238
mov dword [rsp + 0x274], 0
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x278], rax
cmp qword [rsp + 0x278], 0xffffffffffffffff
jne 0x14012b2e2
xor eax, eax
jmp 0x14012b364
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x278]
call sub.KERNEL32.dll_Process32FirstW
nop
lea rdx, [rsp + 0x5c]
mov rcx, qword [rsp + 0x2a8]
call fcn.1400014dd
test eax, eax
jne 0x14012b316
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x274], eax
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x278]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x14012b34f
lea rdx, [rsp + 0x5c]
mov rcx, qword [rsp + 0x2a8]
call fcn.1400014dd
test eax, eax
jne 0x14012b34d
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x274], eax
jmp 0x14012b316
mov rcx, qword [rsp + 0x278]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x274]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1401becd0]
call fcn.140003535
mov rax, rdi
mov rcx, qword [rsp + 0x288]
xor rcx, rsp
call fcn.140002595
add rsp, 0x290
pop rdi
ret
Function at 0x14012b410
Capabilities:
Read file via mapping

Disassembly:
jmp 0x14012b410
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
lea rcx, [0x1401f6434]
call fcn.140003d2d
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x80000000
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0xffffffffffffffff
jne 0x14012b474
xor al, al
jmp 0x14012b55a
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x14012b4ba
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x14012b55a
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 4
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x14012b500
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x14012b55a
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
movzx eax, word [rax]
cmp eax, 0x5a4d
jne 0x14012b523
mov dword [rsp + 0x64], 1
jmp 0x14012b52b
mov dword [rsp + 0x64], 0
movzx eax, byte [rsp + 0x64]
mov byte [rsp + 0x60], al
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, byte [rsp + 0x60]
add rsp, 0x70
pop rdi
ret
Function at 0x140137e50
Capabilities:
Create directory
Get common file path

Disassembly:
jmp 0x140137e50
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x2e0
lea rdi, [rsp + 0x30]
mov ecx, 0xac
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2f0]
mov rax, qword [0x1401dc6c0]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
lea rcx, [0x1401f6788]
call fcn.140003d2d
nop
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1a
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
je 0x140137ecc
xor al, al
jmp 0x140137ff5
lea rcx, [rsp + 0x40]
call sub.ucrtbased.dll_strlen
mov qword [rsp + 0x2c0], rax
mov rcx, qword [rsp + 0x300]
call sub.ucrtbased.dll_strlen
mov rcx, qword [rsp + 0x2c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x2c8], rax
mov rcx, qword [rsp + 0x308]
call sub.ucrtbased.dll_strlen
mov rcx, qword [rsp + 0x2c8]
lea rax, [rcx + rax + 2]
cmp rax, 0x104
jb 0x140137f2a
xor al, al
jmp 0x140137ff5
lea rdx, [0x1401c2bec]
lea rcx, [rsp + 0x40]
call fcn.14000380f
mov rdx, qword [rsp + 0x300]
lea rcx, [rsp + 0x40]
call fcn.14000380f
nop
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x140137f73
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140137f73
xor al, al
jmp 0x140137ff5
lea rdx, [0x1401c2bf0]
lea rcx, [rsp + 0x40]
call fcn.14000380f
mov rdx, qword [rsp + 0x308]
lea rcx, [rsp + 0x40]
call fcn.14000380f
nop
lea r9, [rsp + 0x308]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x2f8]
lea rcx, [rsp + 0x190]
call fcn.140139fb0
mov rdx, rax
lea rcx, [rsp + 0x168]
call fcn.14013b3c0
nop
lea rcx, [rsp + 0x168]
call fcn.140003fd5
nop
mov byte [rsp + 0x2b8], 1
lea rcx, [rsp + 0x168]
call fcn.140002450
movzx eax, byte [rsp + 0x2b8]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1401c3350]
call fcn.140003535
mov rax, rdi
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.140002595
add rsp, 0x2e0
pop rdi
ret
Function at 0x140138030
Capabilities:
Get common file path

Disassembly:
jmp 0x140138030
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x180
lea rdi, [rsp + 0x30]
mov ecx, 0x54
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x190]
mov rax, qword [0x1401dc6c0]
xor rax, rsp
mov qword [rsp + 0x178], rax
lea rcx, [0x1401f6788]
call fcn.140003d2d
nop
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1a
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
je 0x14013809d
xor eax, eax
jmp 0x140138139
lea rcx, [rsp + 0x40]
call sub.ucrtbased.dll_strlen
mov qword [rsp + 0x170], rax
lea rcx, [0x1401c2bf8]
call sub.ucrtbased.dll_strlen
mov rcx, qword [rsp + 0x170]
lea rax, [rcx + rax + 1]
cmp rax, 0x104
jb 0x1401380d4
xor eax, eax
jmp 0x140138139
lea rdx, [0x1401c2c08]
lea rcx, [rsp + 0x40]
call fcn.14000380f
lea rdx, str.ROOXROOX.dll
lea rcx, [rsp + 0x40]
call fcn.14000380f
nop
mov ecx, 0x104
call fcn.1400023c4
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x158], rax
lea r8, [rsp + 0x40]
mov edx, 0x104
mov rcx, qword [rsp + 0x158]
call qword [sym.imp.ucrtbased.dll_strcpy_s]
mov rax, qword [rsp + 0x158]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1401c33b0]
call fcn.140003535
mov rax, rdi
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.140002595
add rsp, 0x180
pop rdi
ret
Function at 0x140138600
Capabilities:
Get common file path

Disassembly:
jmp 0x140138600
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x1d0
lea rdi, [rsp + 0x20]
mov ecx, 0x6c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1e0]
mov rax, qword [0x1401dc6c0]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
lea rcx, [0x1401f6788]
call fcn.140003d2d
mov qword [rsp + 0x28], 0
lea r9, [rsp + 0x28]
xor r8d, r8d
xor edx, edx
lea rcx, [0x1401c8990]
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
je 0x140138678
xor al, al
jmp 0x1401387cd
xor r8d, r8d
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x48]
call fcn.14000161d
nop
mov rdx, qword [rsp + 0x1e8]
lea rcx, [rsp + 0x48]
call fcn.1400024b9
nop
xor r8d, r8d
mov rdx, qword [rsp + 0x1f0]
lea rcx, [rsp + 0xb8]
call fcn.140001253
mov qword [rsp + 0x1a8], rax
lea r8, [rsp + 0xb8]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x88]
call fcn.1400038d2
mov qword [rsp + 0x1b0], rax
lea rcx, [rsp + 0xb8]
call fcn.140003940
nop
lea rcx, [rsp + 0x88]
call fcn.140002469
mov byte [rsp + 0x1b8], al
movzx eax, byte [rsp + 0x1b8]
test eax, eax
je 0x140138774
lea rcx, [rsp + 0x88]
call fcn.14000179e
mov byte [rsp + 0x1b9], al
movzx eax, byte [rsp + 0x1b9]
test eax, eax
je 0x140138774
lea rcx, [rsp + 0x88]
call fcn.14000356c
nop
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
mov byte [rsp + 0x1a0], 1
lea rcx, [rsp + 0x88]
call fcn.140003940
nop
lea rcx, [rsp + 0x48]
call fcn.140003940
movzx eax, byte [rsp + 0x1a0]
jmp 0x1401387cd
mov byte [rsp + 0x1a1], 0
lea rcx, [rsp + 0x88]
call fcn.140003940
nop
lea rcx, [rsp + 0x48]
call fcn.140003940
movzx eax, byte [rsp + 0x1a1]
jmp 0x1401387cd
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1401c36e0]
call fcn.140003535
mov rax, rdi
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.140002595
add rsp, 0x1d0
pop rdi
ret