joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400cc120
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 ebx, edx
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.140227880
mov rcx, qword [rbp - 0x48]
mov rsi, qword [rcx + 8]
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rsi
mov qword [rbp - 0x54], rcx
mov edx, ebx
mov dword [rbp - 0x4c], edx
lea rcx, [rbp - 0x80]
call fcn.1400072f0
mov rcx, qword [rbp - 0x54]
mov edx, dword [rbp - 0x4c]
call sub.KERNEL32.dll_TerminateProcess
mov ebx, eax
lea rcx, [rbp - 0x80]
call fcn.140007340
call sub.KERNEL32.dll_GetLastError
mov esi, eax
test ebx, ebx
setne bl
movzx ebx, bl
cmp byte [rbp - 0x40], 0
je 0x1400cc1b3
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.1402278c0
call fcn.140003af4
mov dword [rax + 0xf0], esi
movzx eax, bl
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x1400cc320
Capabilities:
Enumerate process modules

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 - 0x40], rax
mov qword [rbp - 0x48], rax
mov ebx, edx
mov qword [rbp - 0x40], r8
mov rsi, r8
lea rdi, [rcx + 0x10]
xor eax, eax
test rcx, rcx
cmove rdi, rax
mov qword [rbp - 0x48], rdi
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rdi
mov qword [rbp - 0x54], rcx
mov edx, ebx
mov dword [rbp - 0x4c], edx
mov r8, rsi
mov qword [rbp - 0x5c], r8
lea rcx, [rbp - 0x88]
call fcn.1400072f0
mov rcx, qword [rbp - 0x54]
mov edx, dword [rbp - 0x4c]
mov r8, qword [rbp - 0x5c]
call sub.KERNEL32.dll_K32EnumProcesses
mov ebx, eax
lea rcx, [rbp - 0x88]
call fcn.140007340
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
test ebx, ebx
setne bl
movzx ebx, bl
call fcn.140003af4
mov dword [rax + 0xf0], esi
movzx eax, bl
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x1400ccd10
Capabilities:
Create pipe

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0xa8
lea rbp, [rsp + 0xe0]
xor eax, eax
mov qword [rbp - 0x58], rax
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rbx, r8
mov r14d, r9d
xor ecx, ecx
mov dword [rbp - 0x3c], ecx
mov qword [rbp - 0x48], rcx
mov qword [rbp - 0x50], rcx
mov byte [rbp - 0x5c], 0
lea rcx, [0x140402528]
call fcn.1403a2600
mov qword [rbp - 0x68], rax
mov byte [rbp - 0x60], 0
lea rcx, [0x140402528]
call fcn.1403a2600
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x58], rbx
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
lea rcx, [rbp - 0x48]
mov qword [rbp - 0x7c], rcx
lea rdx, [rbp - 0x50]
mov qword [rbp - 0x84], rdx
mov r8, rbx
mov qword [rbp - 0x8c], r8
mov r9d, r14d
mov dword [rbp - 0x74], r9d
lea rcx, [rbp - 0xb8]
call fcn.1400072f0
mov rcx, qword [rbp - 0x7c]
mov rdx, qword [rbp - 0x84]
mov r8, qword [rbp - 0x8c]
mov r9d, dword [rbp - 0x74]
call sub.KERNEL32.dll_CreatePipe
mov ebx, eax
lea rcx, [rbp - 0xb8]
call fcn.140007340
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor ecx, ecx
mov qword [rbp - 0x58], rcx
mov dword [rbp - 0x3c], 1
mov rcx, qword [rbp - 0x50]
mov byte [rbp - 0x5c], 1
mov rax, qword [rbp - 0x68]
mov qword [rax + 8], rcx
mov rcx, qword [rbp - 0x48]
mov byte [rbp - 0x60], 1
mov r8, qword [rbp - 0x70]
mov qword [r8 + 8], rcx
test ebx, ebx
setne bl
movzx ebx, bl
mov rcx, qword [rbp + 0x18]
mov rdx, rax
call fcn.1400070e0
mov rcx, qword [rbp + 0x10]
mov rdx, qword [rbp - 0x70]
call fcn.1400070e0
nop
call fcn.140003af4
mov dword [rax + 0xf0], esi
movzx eax, bl
add rsp, 0xa8
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x1400e2c40
Capabilities:
Get disk information

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 0x1400e2c6c
add rcx, 0xc
mov rbx, rcx
jmp 0x1400e2c6e
xor ebx, ebx
mov qword [rbp - 0x40], rbx
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rbx
mov qword [rbp - 0x48], rcx
lea rcx, [rbp - 0x70]
call fcn.1400072f0
mov rcx, qword [rbp - 0x48]
call sub.KERNEL32.dll_GetDriveTypeW
mov ebx, eax
lea rcx, [rbp - 0x70]
call fcn.140007340
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
call fcn.140003af4
mov dword [rax + 0xf0], esi
mov eax, ebx
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x1400e2cd0
Capabilities:
Get disk information

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x80]
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
lea rcx, [rbp - 0x60]
call fcn.1400072f0
call sub.KERNEL32.dll_GetLogicalDrives
mov ebx, eax
lea rcx, [rbp - 0x60]
call fcn.140007340
call sub.KERNEL32.dll_GetLastError
mov esi, eax
call fcn.140003af4
mov dword [rax + 0xf0], esi
mov eax, ebx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x14018a390
Capabilities:
Set socket configuration

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 - 0x40], rax
mov rbx, rcx
mov esi, edx
mov qword [rbp - 0x40], r8
mov rdi, r8
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rbx
mov qword [rbp - 0x4c], rcx
mov edx, esi
mov dword [rbp - 0x44], edx
mov r8, rdi
mov qword [rbp - 0x54], r8
lea rcx, [rbp - 0x80]
call fcn.1400072f0
mov rcx, qword [rbp - 0x4c]
mov edx, dword [rbp - 0x44]
mov r8, qword [rbp - 0x54]
call sub.WS2_32.dll_ioctlsocket
mov ebx, eax
lea rcx, [rbp - 0x80]
call fcn.140007340
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
call fcn.140003af4
mov dword [rax + 0xf0], esi
mov eax, ebx
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x14018a430
Capabilities:
Set socket configuration

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
xorps xmm4, xmm4
movaps xmmword [rbp - 0x50], xmm4
xor eax, eax
mov qword [rbp - 0x40], rax
mov esi, edx
mov rbx, r8
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.140227880
nop
mov qword [rbp - 0x50], rbx
mov rcx, qword [rbp - 0x48]
mov rdi, qword [rcx + 8]
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rdi
mov qword [rbp - 0x5c], rcx
mov edx, esi
mov dword [rbp - 0x54], edx
mov r8, rbx
mov qword [rbp - 0x64], r8
lea rcx, [rbp - 0x90]
call fcn.1400072f0
mov rcx, qword [rbp - 0x5c]
mov edx, dword [rbp - 0x54]
mov r8, qword [rbp - 0x64]
call sub.WS2_32.dll_ioctlsocket
mov ebx, eax
lea rcx, [rbp - 0x90]
call fcn.140007340
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor ecx, ecx
mov qword [rbp - 0x50], rcx
cmp byte [rbp - 0x40], 0
je 0x14018a4e1
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.1402278c0
call fcn.140003af4
mov dword [rax + 0xf0], esi
mov eax, ebx
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x14018a640
Capabilities:
Receive data
Receive data on socket

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
mov rbx, rdx
mov esi, r8d
mov edi, r9d
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.140227880
mov rcx, qword [rbp - 0x48]
mov r14, qword [rcx + 8]
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, r14
mov qword [rbp - 0x58], rcx
mov rdx, rbx
mov qword [rbp - 0x60], rdx
mov r8d, esi
mov dword [rbp - 0x4c], r8d
mov r9d, edi
mov dword [rbp - 0x50], r9d
lea rcx, [rbp - 0x88]
call fcn.1400072f0
mov rcx, qword [rbp - 0x58]
mov rdx, qword [rbp - 0x60]
mov r8d, dword [rbp - 0x4c]
mov r9d, dword [rbp - 0x50]
call sub.WS2_32.dll_recv
mov ebx, eax
lea rcx, [rbp - 0x88]
call fcn.140007340
call sub.KERNEL32.dll_GetLastError
mov esi, eax
cmp byte [rbp - 0x40], 0
je 0x14018a6f1
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.1402278c0
call fcn.140003af4
mov dword [rax + 0xf0], esi
mov eax, ebx
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x14018a9b0
Capabilities:
Set socket configuration

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 - 0x40], rax
mov rbx, rcx
mov esi, edx
mov edi, r8d
mov qword [rbp - 0x40], r9
mov r14, r9
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov r15d, dword [rbp + 0x30]
mov dword [rsp + 0x20], r15d
mov rcx, rbx
mov qword [rbp - 0x50], rcx
mov edx, esi
mov dword [rbp - 0x44], edx
mov r8d, edi
mov dword [rbp - 0x48], r8d
mov r9, r14
mov qword [rbp - 0x58], r9
lea rcx, [rbp - 0x80]
call fcn.1400072f0
mov rcx, qword [rbp - 0x50]
mov edx, dword [rbp - 0x44]
mov r8d, dword [rbp - 0x48]
mov r9, qword [rbp - 0x58]
call sub.WS2_32.dll_setsockopt
mov ebx, eax
lea rcx, [rbp - 0x80]
call fcn.140007340
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
call fcn.140003af4
mov dword [rax + 0xf0], esi
mov eax, ebx
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x14018aa60
Capabilities:
Set socket configuration

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0xc0]
xorps xmm4, xmm4
movaps xmmword [rbp - 0x50], xmm4
xor eax, eax
mov qword [rbp - 0x40], rax
mov esi, edx
mov edi, r8d
mov rbx, r9
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.140227880
nop
mov qword [rbp - 0x50], rbx
mov rcx, qword [rbp - 0x48]
mov r14, qword [rcx + 8]
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov r15d, dword [rbp + 0x30]
mov dword [rsp + 0x20], r15d
mov rcx, r14
mov qword [rbp - 0x60], rcx
mov edx, esi
mov dword [rbp - 0x54], edx
mov r8d, edi
mov dword [rbp - 0x58], r8d
mov r9, rbx
mov qword [rbp - 0x68], r9
lea rcx, [rbp - 0x90]
call fcn.1400072f0
mov rcx, qword [rbp - 0x60]
mov edx, dword [rbp - 0x54]
mov r8d, dword [rbp - 0x58]
mov r9, qword [rbp - 0x68]
call sub.WS2_32.dll_setsockopt
mov ebx, eax
lea rcx, [rbp - 0x90]
call fcn.140007340
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor ecx, ecx
mov qword [rbp - 0x50], rcx
cmp byte [rbp - 0x40], 0
je 0x14018ab2b
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.1402278c0
call fcn.140003af4
mov dword [rax + 0xf0], esi
mov eax, ebx
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x14019b110
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.1400072f0
mov r8d, dword [rbp - 0x3c]
mov rdx, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x50]
mov r9d, dword [rbp - 0x40]
call sub.bcrypt.dll_BCryptGenRandom
mov ebx, eax
lea rcx, [rbp - 0x78]
call fcn.140007340
test ebx, ebx
jne 0x14019b184
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
cmp ebx, 0xc0000017
jne 0x14019b1ab
lea rcx, [0x140429c80]
call fcn.140006e60
mov rbx, rax
mov rcx, rbx
call fcn.1401c9000
mov rcx, rbx
call fcn.140007930
lea rcx, [0x140429330]
call fcn.140006e60
mov rbx, rax
mov rcx, rbx
call fcn.1401c3aa0
mov rcx, rbx
call fcn.140007930
int3

Function at 0x14019b630
Capabilities:
Inspect section memory permissions

Disassembly:
push rbp
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x50]
mov rbx, rcx
mov eax, dword [rbx + 0x38]
cmp eax, 0xffffffff
je 0x14019b64d
add rsp, 0x48
pop rbx
pop rbp
ret
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
lea r8, [rbp - 0x10]
lea rdx, [rbp - 0x20]
mov rcx, rbx
mov r9d, 4
call fcn.14024bc90
mov ecx, eax
test ecx, ecx
jne 0x14019b6da
xor eax, eax
mov ecx, 0x40000000
test byte [rbp - 0x10], 0x30
cmove eax, ecx
mov ecx, eax
or ecx, 0x80000000
test byte [rbp - 0x10], 2
cmovne eax, ecx
mov ecx, eax
or ecx, 0x10000000
test dword [rbp - 0x10], 0x800
cmovne eax, ecx
mov ecx, eax
or ecx, 0x8000000
test byte [rbp - 0x10], 4
cmovne eax, ecx
mov ecx, eax
or ecx, 0x4000000
test dword [rbp - 0x10], 0x1000
cmovne eax, ecx
mov ecx, eax
or ecx, 0x20000000
test byte [rbp - 0x10], 8
cmovne eax, ecx
mov dword [rbx + 0x38], eax
add rsp, 0x48
pop rbx
pop rbp
ret
call fcn.14024bb60
mov ecx, eax
lea rdx, [0x1403b34b0]
call fcn.140218420
mov rcx, rax
call fcn.140007930
int3
Function at 0x1401aea20
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 ebx, ecx
and ebx, 0xfffffffc
mov esi, dword [rdx + 8]
xor edi, edi
xor ebp, ebp
test ecx, ecx
je 0x1401aec44
lea r14, [0x1405a4ac8]
mov eax, ebx
sar eax, 2
lea eax, [rax + rax*2]
cmp esi, eax
jl 0x1401aea67
lea r15d, [rbx - 4]
jmp 0x1401aea7e
mov edx, 0x55555556
mov eax, edx
imul esi
mov r15d, edx
shr r15d, 0x1f
add r15d, edx
shl r15d, 2
test r15d, r15d
jle 0x1401aeb24
movsxd rax, edi
lea rax, [r10 + rax*2]
movzx edx, word [rax]
movzx r13d, word [rax + 2]
movzx r12d, word [rax + 4]
movzx eax, word [rax + 6]
mov r9d, edx
or r9d, r13d
or r9d, r12d
or r9d, eax
test r9d, 0xffffff00
je 0x1401aeabc
mov r9d, 0xffffffff
jmp 0x1401aeaf1
movsxd rdx, edx
movsx rdx, byte [r14 + rdx]
movsxd r9, r13d
movsx r13, byte [r14 + r9]
movsxd r9, r12d
movsx r12, byte [r14 + r9]
cdqe
movsx rax, byte [r14 + rax]
shl edx, 0x12
or eax, edx
shl r13d, 0xc
or eax, r13d
shl r12d, 6
mov r9d, eax
or r9d, r12d
test r9d, r9d
jl 0x1401aec61
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 edi, 4
cmp edi, r15d
jl 0x1401aea87
lea eax, [rbx - 4]
cmp r15d, eax
jne 0x1401aec61
cmp edi, ebx
je 0x1401aec61
lea eax, [rbx - 4]
cdqe
movzx eax, word [r10 + rax*2]
lea edx, [rbx - 3]
movsxd rdx, edx
movzx edx, word [r10 + rdx*2]
lea r9d, [rbx - 2]
movsxd r9, r9d
movzx r9d, word [r10 + r9*2]
lea r15d, [rbx - 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 0x1401aec61
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 0x1401aebe9
movsxd r9, r9d
movsx r9, byte [r14 + r9]
movsxd r10, r10d
movsx r10, byte [r14 + r10]
or r10d, eax
shl r9d, 6
mov eax, r10d
or eax, r9d
jl 0x1401aec61
add esi, 0xfffffffd
cmp ebp, esi
jg 0x1401aec61
movsxd rdx, ebp
add r11, rdx
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 0x1401aec3d
cmp r9d, 0x3d
je 0x1401aec26
movsxd r9, r9d
movsx r9, byte [r14 + r9]
mov edx, r9d
shl edx, 6
or eax, edx
jl 0x1401aec61
lea edx, [rsi - 2]
cmp ebp, edx
jg 0x1401aec61
mov edx, eax
sar edx, 0x10
movsxd r10, ebp
mov byte [r11 + r10], dl
sar eax, 8
lea edx, [rbp + 1]
movsxd rdx, edx
mov byte [r11 + rdx], al
add ebp, 2
jmp 0x1401aec3d
test eax, eax
jl 0x1401aec61
lea edx, [rsi - 1]
cmp ebp, edx
jg 0x1401aec61
sar eax, 0x10
movsxd rdx, ebp
mov byte [r11 + rdx], al
inc ebp
add edi, 4
cmp ebx, ecx
jne 0x1401aec61
mov dword [r8], edi
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], edi
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 0x1401af8a0
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push rdi
push rsi
push rbp
push rbx
push rax
xor eax, eax
mov qword [rsp], rax
mov r10, rdx
mov r11d, dword [rsp + 0x60]
mov edx, 0x55555556
mov eax, edx
imul r9d
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [rax + rax*2]
mov edx, r9d
sub edx, eax
sub r9d, edx
add r9d, r8d
xor eax, eax
xor ebx, ebx
lea rsi, [0x14059b480]
mov qword [rsp], rsi
cmp r8d, r9d
jge 0x1401af9df
movzx edi, r11b
test edi, edi
je 0x1401af91e
cmp ebx, 0x4c
jne 0x1401af91b
lea ebx, [rax + 1]
cdqe
mov word [rcx + rax*2], reloc.WS2_32.dll_listen
mov eax, ebx
lea ebx, [rax + 1]
cdqe
mov word [rcx + rax*2], 0xa
xor eax, eax
mov ebp, eax
mov eax, ebx
mov ebx, ebp
add ebx, 4
movsxd rbp, r8d
movzx r14d, byte [r10 + rbp]
and r14d, 0xfc
sar r14d, 2
movsxd r14, r14d
movzx r14d, byte [r14 + rsi]
movsxd r15, eax
mov word [rcx + r15*2], r14w
movzx ebp, byte [r10 + rbp]
and ebp, 3
shl ebp, 4
lea r14d, [r8 + 1]
movsxd r14, r14d
movzx r15d, byte [r10 + r14]
and r15d, 0xf0
sar r15d, 4
or ebp, r15d
movsxd rbp, ebp
movzx ebp, byte [rsi + rbp]
lea r15d, [rax + 1]
movsxd r15, r15d
mov word [rcx + r15*2], bp
movzx ebp, byte [r10 + r14]
and ebp, 0xf
shl ebp, 2
lea r14d, [r8 + 2]
movsxd r14, r14d
movzx r15d, byte [r10 + r14]
and r15d, 0xc0
sar r15d, 6
or ebp, r15d
movsxd rbp, ebp
movzx ebp, byte [rsi + rbp]
lea r15d, [rax + 2]
movsxd r15, r15d
mov word [rcx + r15*2], bp
movzx ebp, byte [r10 + r14]
and ebp, 0x3f
movsxd rbp, ebp
movzx ebp, byte [rsi + rbp]
lea r14d, [rax + 3]
movsxd r14, r14d
mov word [rcx + r14*2], bp
add eax, 4
add r8d, 3
cmp r8d, r9d
jl 0x1401af8f2
mov r8d, r9d
movzx edi, r11b
test edi, edi
je 0x1401afa15
test edx, edx
je 0x1401afa15
cmp ebx, 0x4c
jne 0x1401afa15
mov r9d, eax
lea eax, [r9 + 1]
movsxd r9, r9d
mov word [rcx + r9*2], reloc.WS2_32.dll_listen
mov r9d, eax
lea eax, [r9 + 1]
movsxd r9, r9d
mov word [rcx + r9*2], 0xa
cmp edx, 1
je 0x1401afaa3
cmp edx, 2
jne 0x1401afaff
movsxd rdx, r8d
movzx edx, byte [r10 + rdx]
and edx, 0xfc
sar edx, 2
movsxd rdx, edx
movzx edx, byte [rdx + rsi]
movsxd r9, eax
mov word [rcx + r9*2], dx
movsxd rdx, r8d
movzx edx, byte [r10 + rdx]
and edx, 3
shl edx, 4
inc r8d
movsxd r8, r8d
movzx r9d, byte [r10 + r8]
and r9d, 0xf0
sar r9d, 4
or edx, r9d
movsxd rdx, edx
movzx edx, byte [rdx + rsi]
lea r9d, [rax + 1]
movsxd r9, r9d
mov word [rcx + r9*2], dx
movzx r10d, byte [r10 + r8]
and r10d, 0xf
shl r10d, 2
movsxd rdx, r10d
movzx edx, byte [rdx + rsi]
lea r8d, [rax + 2]
movsxd r8, r8d
mov word [rcx + r8*2], dx
jmp 0x1401afaf0
movsxd rdx, r8d
movzx edx, byte [r10 + rdx]
and edx, 0xfc
sar edx, 2
movsxd rdx, edx
movzx edx, byte [rdx + rsi]
movsxd r9, eax
mov word [rcx + r9*2], dx
movsxd rdx, r8d
movzx edx, byte [r10 + rdx]
and edx, 3
shl edx, 4
movsxd rdx, edx
movzx edx, byte [rdx + rsi]
lea r8d, [rax + 1]
movsxd r8, r8d
mov word [rcx + r8*2], dx
lea edx, [rax + 2]
movsxd rdx, edx
mov word [rcx + rdx*2], 0x3d
lea edx, [rax + 3]
movsxd rdx, edx
mov word [rcx + rdx*2], 0x3d
add eax, 4
xor ecx, ecx
mov qword [rsp], rcx
add rsp, 8
pop rbx
pop rbp
pop rsi
pop rdi
pop r14
pop r15
ret
Function at 0x140248bf0
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 0x140248c1c
add rcx, 0xc
mov rbx, rcx
jmp 0x140248c1e
xor ebx, ebx
mov qword [rbp - 0x40], rbx
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rbx
mov qword [rbp - 0x48], rcx
lea rcx, [rbp - 0x70]
call fcn.1400072f0
mov rcx, qword [rbp - 0x48]
call sub.KERNEL32.dll_DeleteFileW
mov ebx, eax
lea rcx, [rbp - 0x70]
call fcn.140007340
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
test ebx, ebx
setne bl
movzx ebx, bl
call fcn.140003af4
mov dword [rax + 0xf0], esi
movzx eax, bl
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x140249320
Capabilities:
Get common file path

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 - 0x40], rax
mov ebx, ecx
mov qword [rbp - 0x40], rdx
mov rsi, rdx
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov ecx, ebx
mov dword [rbp - 0x44], ecx
mov rdx, rsi
mov qword [rbp - 0x4c], rdx
lea rcx, [rbp - 0x78]
call fcn.1400072f0
mov ecx, dword [rbp - 0x44]
mov rdx, qword [rbp - 0x4c]
call sub.KERNEL32.dll_GetCurrentDirectoryW
mov ebx, eax
lea rcx, [rbp - 0x78]
call fcn.140007340
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
call fcn.140003af4
mov dword [rax + 0xf0], esi
mov eax, ebx
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x140249ba0
Capabilities:
Read file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0xc0]
xor eax, eax
mov qword [rbp - 0x48], rax
mov rbx, rdx
mov esi, r8d
mov rdi, r9
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.140227880
mov rcx, qword [rbp - 0x48]
mov r14, qword [rcx + 8]
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov r15, qword [rbp + 0x30]
mov qword [rsp + 0x20], r15
mov rcx, r14
mov qword [rbp - 0x54], rcx
mov rdx, rbx
mov qword [rbp - 0x5c], rdx
mov r8d, esi
mov dword [rbp - 0x4c], r8d
mov r9, rdi
mov qword [rbp - 0x64], r9
lea rcx, [rbp - 0x90]
call fcn.1400072f0
mov rcx, qword [rbp - 0x54]
mov rdx, qword [rbp - 0x5c]
mov r8d, dword [rbp - 0x4c]
mov r9, qword [rbp - 0x64]
call sub.KERNEL32.dll_ReadFile
mov ebx, eax
lea rcx, [rbp - 0x90]
call fcn.140007340
call sub.KERNEL32.dll_GetLastError
mov esi, eax
cmp byte [rbp - 0x40], 0
je 0x140249c5d
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.1402278c0
call fcn.140003af4
mov dword [rax + 0xf0], esi
mov eax, ebx
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret