joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140083850
Capabilities:
Create pipe

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0xd0]
xorps xmm4, xmm4
movups xmmword [rbp - 0x68], xmm4
xor eax, eax
mov qword [rbp - 0x58], rax
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rsi, r8
mov edi, r9d
xor edx, edx
mov dword [rbp - 0x3c], edx
mov qword [rbp - 0x48], rdx
mov qword [rbp - 0x50], rdx
lea rcx, [0x14014c160]
call fcn.140002ef0
mov rbx, rax
mov rcx, rbx
call fcn.14009aa50
mov qword [rbp - 0x60], rbx
lea rcx, [0x14014c160]
call fcn.140002ef0
mov r14, rax
mov rcx, r14
call fcn.14009aa50
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x58], rsi
xor ecx, ecx
call sub.KERNEL32.DLL_SetLastError
lea rcx, [rbp - 0x48]
mov qword [rbp - 0x74], rcx
lea rdx, [rbp - 0x50]
mov qword [rbp - 0x7c], rdx
mov r8, rsi
mov qword [rbp - 0x84], r8
mov r9d, edi
mov dword [rbp - 0x6c], r9d
lea rcx, [rbp - 0xb0]
call fcn.140003b20
mov rcx, qword [rbp - 0x74]
mov rdx, qword [rbp - 0x7c]
mov r8, qword [rbp - 0x84]
mov r9d, dword [rbp - 0x6c]
call sub.KERNEL32.DLL_CreatePipe
mov esi, eax
lea rcx, [rbp - 0xb0]
call fcn.140003b70
call sub.KERNEL32.DLL_GetLastError
mov edi, eax
xor edx, edx
mov qword [rbp - 0x58], rdx
mov dword [rbp - 0x3c], 1
test esi, esi
setne sil
movzx esi, sil
mov rbx, qword [rbp - 0x50]
mov r14, qword [rbp - 0x68]
mov qword [r14 + 8], rbx
mov rcx, qword [rbp + 0x18]
mov rdx, r14
call fcn.1400031f0
mov r15, qword [rbp - 0x48]
mov rbx, qword [rbp - 0x60]
mov qword [rbx + 8], r15
mov rcx, qword [rbp + 0x10]
mov rdx, rbx
call fcn.1400031f0
call fcn.14000211a
mov dword [rax + 8], edi
movzx eax, sil
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x140089ff0
Capabilities:
Enumerate process modules

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call fcn.14000104a
mov rcx, rsi
call fcn.140089c40
test eax, eax
jne 0x14008a013
add rsp, 0x20
pop rsi
jmp fcn.14008b520
mov rcx, rsi
mov edx, 1
add rsp, 0x20
pop rsi
jmp 0x14008b4b0
push rdi
push rsi
sub rsp, 0x28
movzx edx, dl
call fcn.14008b730
mov rsi, rax
mov edi, dword [rsi + 8]
mov edx, edi
lea rcx, [0x140171ee0]
call fcn.140002fd0
xor edx, edx
test edi, edi
jle 0x14008b513
cmp dword [rax + 8], edi
jl 0x14008b4f5
mov ecx, edx
mov r8, qword [rsi + rcx*8 + 0x10]
mov r8d, dword [r8 + 0x64]
mov dword [rax + rcx*4 + 0x10], r8d
inc edx
cmp edi, edx
jg 0x14008b4dd
jmp 0x14008b513
mov r8d, edx
mov rcx, qword [rsi + r8*8 + 0x10]
mov r8d, dword [rcx + 0x64]
cmp edx, dword [rax + 8]
jae 0x14008b51a
mov ecx, edx
mov dword [rax + rcx*4 + 0x10], r8d
inc edx
cmp edi, edx
jg 0x14008b4f5
add rsp, 0x28
pop rsi
pop rdi
ret
call fcn.1400f9ac0
int3
Function at 0x140094650
Capabilities:
Create process on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x1a8
lea rbp, [rsp + 0x1e0]
xor eax, eax
mov qword [rbp - 0x148], rax
xorps xmm4, xmm4
movaps xmmword [rbp - 0x140], xmm4
movabs rax, 0xffffffffffffff10
movaps xmmword [rbp + rax - 0x40], xmm4
movaps xmmword [rbp + rax - 0x30], xmm4
movaps xmmword [rbp + rax - 0x20], xmm4
add rax, 0x30
jne 0x140094688
mov qword [rbp - 0x40], rax
mov rax, qword [rbp + 0x48]
mov rbx, qword [rbp + 0x58]
test rcx, rcx
jne 0x1400946b3
xor r14d, r14d
jmp 0x1400946bf
add rcx, 0xc
mov qword [rbp - 0x40], rcx
mov r14, qword [rbp - 0x40]
test rdx, rdx
jne 0x1400946c9
xor r15d, r15d
jmp 0x1400946d5
add rdx, 0xc
mov qword [rbp - 0x48], rdx
mov r15, qword [rbp - 0x48]
mov qword [rbp - 0x50], r8
mov r12, r8
mov qword [rbp - 0x58], r9
mov r13, r9
xor esi, esi
cmp byte [rbp + 0x30], 0
setne sil
mov dword [rbp - 0x5c], esi
test rax, rax
jne 0x140094700
xor edi, edi
mov qword [rbp - 0x140], rdi
jmp 0x140094713
add rax, 0xc
mov qword [rbp - 0x68], rax
mov rdi, qword [rbp - 0x68]
mov qword [rbp - 0x140], rdi
lea rdi, [rbp - 0xc8]
mov rsi, qword [rbp + 0x50]
mov ecx, 0xc
rep movsq qword [rdi], qword [rsi]
xor ecx, ecx
xorps xmm0, xmm0
movups xmmword [rbp - 0x130], xmm0
movups xmmword [rbp - 0x120], xmm0
movups xmmword [rbp - 0x110], xmm0
movups xmmword [rbp - 0x100], xmm0
movups xmmword [rbp - 0xf0], xmm0
movups xmmword [rbp - 0xe0], xmm0
mov qword [rbp - 0xd0], rcx
lea rcx, [rbp - 0xc8]
lea rdx, [rbp - 0x130]
call fcn.140116230
mov qword [rbp - 0x138], rbx
xor ecx, ecx
call sub.KERNEL32.DLL_SetLastError
mov esi, dword [rbp - 0x5c]
mov dword [rsp + 0x20], esi
mov esi, dword [rbp + 0x38]
mov dword [rsp + 0x28], esi
mov rsi, qword [rbp + 0x40]
mov qword [rsp + 0x30], rsi
mov rdi, qword [rbp - 0x140]
mov qword [rsp + 0x38], rdi
lea rcx, [rbp - 0x130]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rbx
mov rcx, r14
mov qword [rbp - 0x150], rcx
mov rdx, r15
mov qword [rbp - 0x158], rdx
mov r8, r12
mov qword [rbp - 0x160], r8
mov r9, r13
mov qword [rbp - 0x168], r9
lea rcx, [rbp - 0x190]
call fcn.140003b20
mov rcx, qword [rbp - 0x150]
mov rdx, qword [rbp - 0x158]
mov r8, qword [rbp - 0x160]
mov r9, qword [rbp - 0x168]
call sub.KERNEL32.DLL_CreateProcessW
mov esi, eax
lea rcx, [rbp - 0x190]
call fcn.140003b70
call fcn.14000211a
mov rdi, rax
mov qword [rbp - 0x148], rdi
call sub.KERNEL32.DLL_GetLastError
mov rcx, qword [rbp - 0x148]
mov dword [rcx + 8], eax
test esi, esi
setne sil
movzx esi, sil
lea rcx, [rbp - 0x130]
call fcn.140116170
movzx eax, sil
add rsp, 0x1a8
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x1400951b0
Capabilities:
Terminate process

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0xa0]
xor eax, eax
mov qword [rbp - 0x48], rax
mov rsi, rcx
mov edi, edx
xor ecx, ecx
call sub.KERNEL32.DLL_SetLastError
mov rcx, rsi
mov qword [rbp - 0x50], rcx
mov edx, edi
mov dword [rbp - 0x3c], edx
lea rcx, [rbp - 0x78]
call fcn.140003b20
mov rcx, qword [rbp - 0x50]
mov edx, dword [rbp - 0x3c]
call sub.KERNEL32.DLL_TerminateProcess
mov esi, eax
lea rcx, [rbp - 0x78]
call fcn.140003b70
call fcn.14000211a
mov rdi, rax
mov qword [rbp - 0x48], rdi
call sub.KERNEL32.DLL_GetLastError
mov rdx, qword [rbp - 0x48]
mov dword [rdx + 8], eax
xor eax, eax
test esi, esi
setne al
movzx eax, al
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x140095750
Capabilities:
Resume thread

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x90]
xor eax, eax
mov qword [rbp - 0x40], rax
mov rsi, rcx
xor ecx, ecx
call sub.KERNEL32.DLL_SetLastError
mov rcx, rsi
mov qword [rbp - 0x48], rcx
lea rcx, [rbp - 0x70]
call fcn.140003b20
mov rcx, qword [rbp - 0x48]
call sub.KERNEL32.DLL_ResumeThread
mov esi, eax
lea rcx, [rbp - 0x70]
call fcn.140003b70
call fcn.14000211a
mov rdi, rax
mov qword [rbp - 0x40], rdi
call sub.KERNEL32.DLL_GetLastError
mov rdx, qword [rbp - 0x40]
mov dword [rdx + 8], eax
mov eax, esi
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x140099100
Capabilities:
Generate random numbers via winapi

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0xa0]
mov r8d, edx
mov dword [rbp - 0x3c], r8d
mov rdx, rcx
mov qword [rbp - 0x48], rdx
xor ecx, ecx
mov qword [rbp - 0x50], rcx
mov r9d, 2
mov dword [rbp - 0x40], r9d
lea rcx, [rbp - 0x78]
call fcn.140003b20
mov r8d, dword [rbp - 0x3c]
mov rdx, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x50]
mov r9d, dword [rbp - 0x40]
call sub.ncrypt.dll_BCryptGenRandom
mov esi, eax
lea rcx, [rbp - 0x78]
call fcn.140003b70
mov ecx, esi
test ecx, ecx
jne 0x140099176
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
or ecx, 0x1000000
call fcn.140098800
mov rcx, rax
call fcn.140003410
int3
Function at 0x14009a8e0
Capabilities:
Generate random numbers via winapi

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0xa0]
mov r8d, edx
mov dword [rbp - 0x3c], r8d
mov rdx, rcx
mov qword [rbp - 0x48], rdx
xor ecx, ecx
mov qword [rbp - 0x50], rcx
mov r9d, 2
mov dword [rbp - 0x40], r9d
lea rcx, [rbp - 0x78]
call fcn.140003b20
mov r8d, dword [rbp - 0x3c]
mov rdx, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x50]
mov r9d, dword [rbp - 0x40]
call sub.ncrypt.dll_BCryptGenRandom
mov esi, eax
lea rcx, [rbp - 0x78]
call fcn.140003b70
test esi, esi
jne 0x14009a954
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
cmp esi, 0xc0000017
jne 0x14009a97b
lea rcx, [0x14014e4a0]
call fcn.140002eb0
mov rsi, rax
mov rcx, rsi
call fcn.1400b5730
mov rcx, rsi
call fcn.140003410
lea rcx, [0x14014dd88]
call fcn.140002eb0
mov rsi, rax
mov rcx, rsi
call fcn.1400ac240
mov rcx, rsi
call fcn.140003410
int3

Function at 0x14009af00
Capabilities:
Inspect section memory permissions

Disassembly:
push rbp
push rsi
sub rsp, 0x48
lea rbp, [rsp + 0x50]
mov rsi, rcx
mov eax, dword [rsi + 0x40]
cmp eax, 0xffffffff
je 0x14009af1d
add rsp, 0x48
pop rsi
pop rbp
ret
mov dword [rsp + 0x20], 0x10
lea r8, [rbp - 0x10]
lea rdx, [rbp - 0x20]
mov rcx, rsi
mov r9d, 4
call fcn.1400fcef0
mov ecx, eax
test ecx, ecx
jne 0x14009af95
xor eax, eax
test byte [rbp - 0x10], 0x30
jne 0x14009af4e
mov eax, 0x40000000
test byte [rbp - 0x10], 2
je 0x14009af59
or eax, 0x80000000
test dword [rbp - 0x10], 0x800
je 0x14009af67
or eax, 0x10000000
test byte [rbp - 0x10], 4
je 0x14009af72
or eax, 0x8000000
test dword [rbp - 0x10], 0x1000
je 0x14009af80
or eax, 0x4000000
test byte [rbp - 0x10], 8
je 0x14009af8b
or eax, 0x20000000
mov dword [rsi + 0x40], eax
add rsp, 0x48
pop rsi
pop rbp
ret
call fcn.1400fce80
mov ecx, eax
lea rdx, [0x1401b5008]
call fcn.1400eaac0
mov rcx, rax
call fcn.140003410
int3
Function at 0x1400a7f40
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbp
push rbx
mov qword [rsp + 0x60], r9
mov r10, qword [rcx]
mov ecx, dword [rcx + 8]
mov r11, qword [rdx]
mov esi, ecx
and esi, 0xfffffffc
mov edi, dword [rdx + 8]
xor ebx, ebx
xor ebp, ebp
test ecx, ecx
je 0x1400a8165
lea r14, [0x140148a20]
mov eax, esi
sar eax, 2
lea eax, [rax + rax*2]
cmp edi, eax
jl 0x1400a7f87
lea r15d, [rsi - 4]
jmp 0x1400a7f9e
mov edx, 0x55555556
mov eax, edx
imul edi
mov r15d, edx
shr r15d, 0x1f
add r15d, edx
shl r15d, 2
test r15d, r15d
jle 0x1400a8046
movsxd rax, ebx
lea rax, [r10 + rax*2]
movzx edx, word [rax]
movzx r12d, word [rax + 2]
movzx r13d, word [rax + 4]
movzx eax, word [rax + 6]
mov r9d, edx
or r9d, r12d
or r9d, r13d
or r9d, eax
test r9d, 0xffffff00
je 0x1400a7fdc
mov r9d, 0xffffffff
jmp 0x1400a8013
movsxd rdx, edx
movsx rdx, byte [r14 + rdx]
movsxd r9, r12d
movsx r12, byte [r14 + r9]
movsxd r9, r13d
movsx r13, byte [r14 + r9]
cdqe
movsx rax, byte [r14 + rax]
shl edx, 0x12
shl r12d, 0xc
shl r13d, 6
or eax, edx
mov edx, eax
or r12d, r13d
or edx, r12d
mov r9d, edx
test r9d, r9d
jl 0x1400a8182
movsxd rax, ebp
add rax, r11
mov edx, r9d
sar edx, 0x10
mov byte [rax], dl
mov edx, r9d
sar edx, 8
mov byte [rax + 1], dl
mov byte [rax + 2], r9b
add ebp, 3
add ebx, 4
cmp ebx, r15d
jl 0x1400a7fa7
lea eax, [rsi - 4]
cmp r15d, eax
jne 0x1400a8182
cmp ebx, esi
je 0x1400a8182
lea eax, [rsi - 4]
cdqe
movzx eax, word [r10 + rax*2]
lea edx, [rsi - 3]
movsxd rdx, edx
movzx edx, word [r10 + rdx*2]
lea r9d, [rsi - 2]
movsxd r9, r9d
movzx r9d, word [r10 + r9*2]
lea r15d, [rsi - 1]
movsxd r15, r15d
movzx r10d, word [r10 + r15*2]
mov r15d, eax
or r15d, edx
or r15d, r9d
or r15d, r10d
test r15d, 0xffffff00
jne 0x1400a8182
cdqe
movsx rax, byte [r14 + rax]
movsxd rdx, edx
movsx rdx, byte [r14 + rdx]
shl eax, 0x12
shl edx, 0xc
or eax, edx
cmp r10d, 0x3d
je 0x1400a810b
movsxd r9, r9d
movsx r9, byte [r14 + r9]
movsxd r10, r10d
movsx r10, byte [r14 + r10]
shl r9d, 6
or r10d, eax
mov eax, r10d
or eax, r9d
jl 0x1400a8182
add edi, 0xfffffffd
cmp ebp, edi
jg 0x1400a8182
movsxd r9, ebp
add r11, r9
mov edx, eax
sar edx, 0x10
mov byte [r11], dl
mov edx, eax
sar edx, 8
mov byte [r11 + 1], dl
mov byte [r11 + 2], al
add ebp, 3
jmp 0x1400a815e
cmp r9d, 0x3d
je 0x1400a8147
movsxd r9, r9d
movsx r9, byte [r14 + r9]
shl r9d, 6
or eax, r9d
jl 0x1400a8182
lea edx, [rdi - 2]
cmp ebp, edx
jg 0x1400a8182
mov edx, eax
sar edx, 0x10
movsxd r9, ebp
mov byte [r11 + r9], dl
sar eax, 8
lea edx, [rbp + 1]
movsxd rdx, edx
mov byte [r11 + rdx], al
add ebp, 2
jmp 0x1400a815e
test eax, eax
jl 0x1400a8182
lea edx, [rdi - 1]
cmp ebp, edx
jg 0x1400a8182
sar eax, 0x10
movsxd rdx, ebp
mov byte [r11 + rdx], al
inc ebp
add ebx, 4
cmp esi, ecx
jne 0x1400a8182
mov dword [r8], ebx
mov r9, qword [rsp + 0x60]
mov dword [r9], ebp
mov eax, 1
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
mov dword [r8], ebx
mov r9, qword [rsp + 0x60]
mov dword [r9], ebp
xor eax, eax
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400c1650
Capabilities:
Get geographical location

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x20]
xor eax, eax
mov qword [rbp + 0x50], rax
mov rax, qword [0x1401d2428]
mov qword [rbp + 0x48], rax
test dword [rsp], esp
sub rsp, 0x430
lea rsi, [rsp + 0x20]
test rcx, rcx
je 0x1400c1690
add rcx, 0xc
jmp 0x1400c1692
xor ecx, ecx
mov qword [rbp + 0x50], rcx
mov qword [rbp + 0x38], rcx
mov dword [rbp + 0x44], edx
mov r8, rsi
mov qword [rbp + 0x30], r8
mov r9d, 0x212
mov dword [rbp + 0x40], r9d
lea rcx, [rbp + 8]
call fcn.140003b20
mov rcx, qword [rbp + 0x38]
mov edx, dword [rbp + 0x44]
mov r8, qword [rbp + 0x30]
mov r9d, dword [rbp + 0x40]
call sub.KERNEL32.DLL_GetLocaleInfoEx
mov edi, eax
lea rcx, [rbp + 8]
call fcn.140003b70
xor ecx, ecx
mov qword [rbp + 0x50], rcx
mov qword [rbp + 0x50], rcx
test edi, edi
jle 0x1400c16ee
mov rcx, rsi
call fcn.14009f0e0
jmp 0x1400c16f0
xor eax, eax
lea rcx, [0x1401d2428]
mov rcx, qword [rcx]
cmp qword [rbp + 0x48], rcx
je 0x1400c1705
call fcn.140003ef0
nop
lea rsp, [rbp + 0x58]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x1400c1720
Capabilities:
Get geographical location

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
xor eax, eax
mov qword [rbp - 0x48], rax
or edx, 0x20000000
xor r8d, r8d
mov dword [rbp - 0x40], r8d
test rcx, rcx
je 0x1400c1756
add rcx, 0xc
jmp 0x1400c1758
xor ecx, ecx
mov qword [rbp - 0x48], rcx
mov qword [rbp - 0x58], rcx
lea r8, [rbp - 0x40]
mov qword [rbp - 0x60], r8
mov dword [rbp - 0x4c], edx
mov r9d, 4
mov dword [rbp - 0x50], r9d
lea rcx, [rbp - 0x88]
call fcn.140003b20
mov rcx, qword [rbp - 0x58]
mov r8, qword [rbp - 0x60]
mov edx, dword [rbp - 0x4c]
mov r9d, dword [rbp - 0x50]
call sub.KERNEL32.DLL_GetLocaleInfoEx
lea rcx, [rbp - 0x88]
call fcn.140003b70
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x48], rax
mov eax, dword [rbp - 0x40]
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x1400e7430
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0xc8
lea rbp, [rsp + 0x20]
xorps xmm4, xmm4
movaps xmmword [rbp + 0x50], xmm4
movaps xmmword [rbp + 0x60], xmm4
movaps xmmword [rbp + 0x70], xmm4
movaps xmmword [rbp + 0x80], xmm4
movaps xmmword [rbp + 0x90], xmm4
xor eax, eax
mov qword [rbp + 0xa0], rax
mov rax, qword [0x1401d2428]
mov qword [rbp + 0x48], rax
test dword [rsp], esp
sub rsp, 0x210
lea rcx, [rsp + 0x20]
mov qword [rbp + 0x98], rcx
mov dword [rbp + 0xa0], 0x104
xor ecx, ecx
mov dword [rbp + 0x90], ecx
lea rcx, [rbp + 0x88]
call fcn.1400e73c0
test dword [rsp], esp
sub rsp, 0x210
lea rcx, [rsp + 0x20]
mov qword [rbp + 0x78], rcx
mov dword [rbp + 0x80], 0x104
xor ecx, ecx
mov dword [rbp + 0x70], ecx
mov rsi, qword [rbp + 0x98]
mov rdi, qword [rbp + 0x78]
mov qword [rbp + 0x60], rsi
lea rcx, [0x1401c9ef0]
add rcx, 0xc
mov qword [rbp + 0x58], rcx
mov rbx, qword [rbp + 0x58]
mov qword [rbp + 0x50], rdi
xor ecx, ecx
call sub.KERNEL32.DLL_SetLastError
mov rcx, rsi
mov qword [rbp + 0x3c], rcx
mov rdx, rbx
mov qword [rbp + 0x34], rdx
mov r9, rdi
mov qword [rbp + 0x2c], r9
xor r8d, r8d
mov dword [rbp + 0x44], r8d
lea rcx, [rbp]
call fcn.140003b20
mov rcx, qword [rbp + 0x3c]
mov rdx, qword [rbp + 0x34]
mov r9, qword [rbp + 0x2c]
mov r8d, dword [rbp + 0x44]
call sub.KERNEL32.DLL_GetTempFileNameW
mov esi, eax
lea rcx, [rbp]
call fcn.140003b70
call sub.KERNEL32.DLL_GetLastError
mov edi, eax
xor eax, eax
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rax
mov qword [rbp + 0x60], rax
call fcn.14000211a
mov dword [rax + 8], edi
xor eax, eax
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x58], rax
mov qword [rbp + 0x50], rax
mov rdi, qword [rbp + 0x88]
xorps xmm0, xmm0
movups xmmword [rbp + 0x88], xmm0
movups xmmword [rbp + 0x98], xmm0
test rdi, rdi
je 0x1400e759e
call fcn.140001df7
mov rcx, qword [rax + 8]
mov rdx, rdi
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x38]
test esi, esi
je 0x1400e7619
mov rcx, qword [rbp + 0x78]
mov r8d, dword [rbp + 0x80]
xor edx, edx
call fcn.140118a20
mov dword [rbp + 0x70], eax
lea rcx, [rbp + 0x68]
call fcn.1400ea110
mov rsi, rax
mov rdi, qword [rbp + 0x68]
xorps xmm0, xmm0
movups xmmword [rbp + 0x68], xmm0
movups xmmword [rbp + 0x78], xmm0
test rdi, rdi
je 0x1400e75ec
call fcn.140001df7
mov rcx, qword [rax + 8]
mov rdx, rdi
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x38]
mov rax, rsi
lea rcx, [0x1401d2428]
mov rcx, qword [rcx]
cmp qword [rbp + 0x48], rcx
je 0x1400e7604
call fcn.140003ef0
nop
lea rsp, [rbp + 0xa8]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call fcn.14000211a
mov ecx, dword [rax + 8]
lea rdx, [0x1401b5008]
call fcn.1400eaac0
mov rcx, rax
call fcn.140003410
int3
Function at 0x1400f5fd0
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0xc8
lea rbp, [rsp + 0x40]
xorps xmm4, xmm4
movaps xmmword [rbp + 0x70], xmm4
xor eax, eax
mov qword [rbp + 0x80], rax
mov rax, qword [0x1401d2428]
mov qword [rbp + 0x50], rax
mov rdi, rcx
mov rsi, rdx
mov ebx, dword [rsi + 8]
shl ebx, 2
cmp ebx, 0x400
jge 0x1400f6068
mov edx, ebx
mov r14, rdx
test r14, r14
je 0x1400f605e
mov rax, r14
add rax, 0xf
and rax, 0xfffffffffffffff0
add rsp, 0x40
neg rax
add rax, rsp
jb 0x1400f603a
xor eax, eax
test dword [rsp], esp
mov rcx, rsp
sub rcx, 0x1000
mov rsp, rcx
cmp rsp, rax
jae 0x1400f603a
mov rsp, rax
test dword [rsp], esp
sub rsp, 0x40
lea r14, [rsp + 0x40]
test ebx, ebx
jl 0x1400f61e0
jmp 0x1400f607e
movsxd rdx, ebx
lea rcx, [0x140171c90]
call fcn.140002fd0
lea r14, [rax + 0x10]
mov ebx, dword [rax + 8]
mov qword [rbp + 0x58], r14
mov qword [rbp + 0xd8], rsi
lea rcx, [rsi + 0xc]
mov qword [rbp + 0x80], rcx
mov r15, qword [rbp + 0x80]
xor r12d, r12d
test ebx, ebx
je 0x1400f61db
mov r12, r14
mov qword [rbp + 0x60], r12
mov qword [rbp + 0x78], r12
lea rcx, [rbp]
call fcn.140003b20
call sub.KERNEL32.DLL_GetConsoleOutputCP
mov esi, eax
lea rcx, [rbp]
call fcn.140003b70
mov ecx, esi
mov r8, r15
mov rsi, qword [rbp + 0xd8]
mov r9d, dword [rsi + 8]
mov r12, qword [rbp + 0x60]
mov dword [rsp + 0x28], ebx
xor edx, edx
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rdx
mov dword [rbp + 0x4c], ecx
mov qword [rbp + 0x3c], r8
mov dword [rbp + 0x48], r9d
mov qword [rsp + 0x20], r12
mov dword [rbp + 0x44], edx
lea rcx, [rbp]
call fcn.140003b20
mov ecx, dword [rbp + 0x4c]
mov r8, qword [rbp + 0x3c]
mov r9d, dword [rbp + 0x48]
mov edx, dword [rbp + 0x44]
call sub.KERNEL32.DLL_WideCharToMultiByte
mov esi, eax
lea rcx, [rbp]
call fcn.140003b70
xor ecx, ecx
mov qword [rbp + 0x78], rcx
mov qword [rbp + 0x80], rcx
test ebx, ebx
je 0x1400f6140
mov r14, qword [rbp + 0x58]
mov rcx, r14
mov rbx, rcx
mov qword [rbp + 0x70], rbx
lea r14, [rbp + 0x6c]
xor ecx, ecx
call sub.KERNEL32.DLL_SetLastError
xor ecx, ecx
mov qword [rsp + 0x20], rcx
mov rcx, rdi
mov qword [rbp + 0x3c], rcx
mov rdx, rbx
mov qword [rbp + 0x34], rdx
mov r8d, esi
mov dword [rbp + 0x44], r8d
mov r9, r14
mov qword [rbp + 0x2c], r9
lea rcx, [rbp]
call fcn.140003b20
mov rcx, qword [rbp + 0x3c]
mov rdx, qword [rbp + 0x34]
mov r8d, dword [rbp + 0x44]
mov r9, qword [rbp + 0x2c]
call sub.KERNEL32.DLL_WriteFile
lea rcx, [rbp]
call fcn.140003b70
call sub.KERNEL32.DLL_GetLastError
mov esi, eax
call fcn.14000211a
mov dword [rax + 8], esi
xor eax, eax
mov qword [rbp + 0x70], rax
lea rcx, [0x1401d2428]
mov rcx, qword [rcx]
cmp qword [rbp + 0x50], rcx
je 0x1400f61c6
call fcn.140003ef0
nop
lea rsp, [rbp + 0x88]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
jmp 0x1400f60a9
call fcn.1400b6d80
int3
Function at 0x1400fa210
Capabilities:
Copy file

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0xd0]
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], rax
mov rsi, rdx
test r8b, r8b
jne 0x1400fa241
xor edi, edi
jmp 0x1400fa246
mov edi, 1
xor eax, eax
mov dword [rbp - 0x3c], eax
call fcn.1400e98e0
mov rbx, rax
mov rcx, rsi
call fcn.1400e98e0
test rbx, rbx
je 0x1400fa266
add rbx, 0xc
jmp 0x1400fa268
xor ebx, ebx
mov qword [rbp - 0x48], rbx
test rax, rax
je 0x1400fa27a
add rax, 0xc
mov rsi, rax
jmp 0x1400fa27c
xor esi, esi
mov qword [rbp - 0x50], rsi
lea r14, [rbp - 0x3c]
xor ecx, ecx
call sub.KERNEL32.DLL_SetLastError
mov qword [rsp + 0x20], r14
mov dword [rsp + 0x28], edi
mov rcx, rbx
mov qword [rbp - 0x58], rcx
mov rdx, rsi
mov qword [rbp - 0x60], rdx
xor r8d, r8d
mov qword [rbp - 0x68], r8
xor r9d, r9d
mov qword [rbp - 0x70], r9
lea rcx, [rbp - 0x98]
call fcn.140003b20
mov rcx, qword [rbp - 0x58]
mov rdx, qword [rbp - 0x60]
mov r8, qword [rbp - 0x68]
mov r9, qword [rbp - 0x70]
call sub.KERNEL32.DLL_CopyFileExW
mov esi, eax
lea rcx, [rbp - 0x98]
call fcn.140003b70
call sub.KERNEL32.DLL_GetLastError
mov edi, eax
xor eax, eax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
test esi, esi
setne sil
movzx esi, sil
call fcn.14000211a
mov dword [rax + 8], edi
xor edx, edx
mov qword [rbp - 0x48], rdx
mov qword [rbp - 0x50], rdx
test esi, esi
jne 0x1400fa315
mov eax, dword [rax + 8]
jmp 0x1400fa317
xor eax, eax
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x1400fa4a0
Capabilities:
Delete file

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x90]
xor eax, eax
mov qword [rbp - 0x40], rax
test rcx, rcx
je 0x1400fa4cc
add rcx, 0xc
mov rsi, rcx
jmp 0x1400fa4ce
xor esi, esi
mov qword [rbp - 0x40], rsi
xor ecx, ecx
call sub.KERNEL32.DLL_SetLastError
mov rcx, rsi
mov qword [rbp - 0x48], rcx
lea rcx, [rbp - 0x70]
call fcn.140003b20
mov rcx, qword [rbp - 0x48]
call sub.KERNEL32.DLL_DeleteFileW
mov esi, eax
lea rcx, [rbp - 0x70]
call fcn.140003b70
call sub.KERNEL32.DLL_GetLastError
mov edi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
test esi, esi
setne sil
movzx esi, sil
call fcn.14000211a
mov dword [rax + 8], edi
movzx eax, sil
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret