joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400011db
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x14000e7d0
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1400fae80]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor eax, eax
movzx r14d, r8w
mov rsi, rdx
mov qword [rbp - 0x4f], rax
mov qword [rbp - 0x47], rax
mov qword [rbp - 0x3f], rax
mov qword [rbp - 0x37], rax
mov qword [rbp - 0x2f], rax
mov qword [rbp - 0x27], rax
mov qword [rbp - 0x1f], rax
mov dword [rbp - 0x17], eax
mov word [rbp - 0x13], ax
mov byte [rbp - 0x11], al
mov eax, 0x200
mov r15, rcx
mov byte [rbp - 0x50], 0
cmp r8w, ax
jb 0x14000e858
movzx ebx, r8w
mov edi, 0xfe00
shr rbx, 9
nop
mov rdx, rsi
mov rcx, r15
call fcn.140001820
add r14w, di
add rsi, 0x40
dec rbx
jne 0x14000e840
xor eax, eax
movzx ebx, r14w
lea rcx, [rbp - 0x50]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
lea eax, [rbx + 7]
sar eax, 3
movzx edi, r14w
mov r8, rsi
add qword [r15 + 0x18], rdi
movsxd rdx, eax
mov r9, rdx
call fcn.14006d078
and ebx, 7
shr rdi, 3
movzx ecx, bl
mov eax, 0x80
sar eax, cl
or byte [rbp + rdi - 0x50], al
mov eax, 0x1bf
cmp r14w, ax
jbe 0x14000e8f4
lea rdx, [rbp - 0x50]
mov rcx, r15
call fcn.140001820
add qword [r15 + 0x18], 0xfffffffffffffe00
xor eax, eax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x18]
lea rax, [r15 + 0x1f]
mov ecx, 8
movzx edx, byte [rax]
lea r8, [r8 + 1]
lea rax, [rax - 1]
mov byte [r8 - 1], dl
dec rcx
jne 0x14000e901
lea rdx, [rbp - 0x50]
mov rcx, r15
call fcn.140001820
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14006cfe0
mov rbx, qword [rsp + 0xb8]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x140001258
Capabilities:
Write file on windows

Disassembly:
jmp 0x14000d200
mov r9d, dword [rcx]
mov r10, rdx
dec r9d
jne 0x14000d221
mov r9, qword [rcx + 0x10]
test r9, r9
je 0x14000d221
mov edx, 1
mov rcx, r10
jmp fcn.1400702b8
xor eax, eax
ret
Function at 0x140001389
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x140012980
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
sub rsp, 0x20
mov r12, qword [rsp + 0x70]
xor ebx, ebx
mov r15, r9
mov rbp, r8
mov rdi, rdx
mov r14, rcx
mov qword [r12], rbx
cmp rdx, 2
jb 0x140012ae2
movzx ecx, word [rcx]
mov eax, 6
lea esi, [rbx + 2]
movzx edx, cx
mov r8d, 0x7e
lea r13d, [rbx + 0x7f]
shr dx, 0xf
and dl, 1
cmovne esi, eax
movzx eax, cx
shr ax, 8
and ax, 0x7f
cmp r8w, ax
jne 0x1400129f6
add rsi, 2
jmp 0x140012a00
cmp r13w, ax
jne 0x140012a00
add rsi, 8
cmp rdi, rsi
jb 0x140012ae2
test rsi, rsi
je 0x140012ae2
test cl, 0x70
je 0x140012a21
mov eax, 0xf1
jmp 0x140012ae7
test cl, cl
jns 0x140012a17
test dl, dl
je 0x140012a17
movzx ecx, byte [r14]
and cl, 0xf
lea eax, [rcx - 1]
cmp al, 1
jbe 0x140012a3e
lea eax, [rcx - 8]
cmp al, 2
ja 0x140012a17
movzx eax, cl
lea r8, [rsp + 0x70]
mov rdx, rdi
mov rcx, r14
mov dword [rsp + 0x70], eax
call fcn.140012880
mov r8, rax
test rax, rax
je 0x140012adc
mov rax, rdi
sub rax, rsi
cmp r8, rax
ja 0x140012ae2
jae 0x140012a74
sub rdi, rsi
sub rdi, r8
mov qword [r12], rdi
movzx ecx, word [r14]
movzx eax, cx
shr ax, 0xf
test al, 1
je 0x140012a17
shr cx, 8
mov eax, 0x7e
and cx, r13w
cmp ax, cx
jne 0x140012a9b
lea rdx, [r14 + 4]
jmp 0x140012aa9
lea rdx, [r14 + 0xa]
cmp r13w, cx
je 0x140012aa9
lea rdx, [r14 + 2]
test rdx, rdx
je 0x140012a17
lea rax, [rdx + 4]
mov qword [rbp], rax
mov qword [r15], r8
test r8, r8
je 0x140012adc
mov rcx, qword [rbp]
mov rax, rbx
inc rbx
and eax, 3
movzx eax, byte [rax + rdx]
xor byte [rcx + rbx - 1], al
cmp rbx, qword [r15]
jb 0x140012ac2
mov eax, dword [rsp + 0x70]
jmp 0x140012ae7
mov eax, 0xf2
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140001456
Capabilities:
Enumerate files on windows

Disassembly:
jmp 0x140007890
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x5f0
mov rax, qword [0x1400fae80]
xor rax, rsp
mov qword [rsp + 0x5e0], rax
mov rdi, rcx
lea rcx, [rsp + 0x2b1]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x2b0], 0
call fcn.14006c5d0
lea rcx, [rsp + 0x3c1]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x3c0], 0
call fcn.14006c5d0
xor ebp, ebp
cmp qword [0x1400fd500], rbp
je 0x14000798c
mov qword [rsp + 0x618], r15
lea r15, [0x1400fd500]
xor r14d, r14d
mov rbx, r15
nop dword [rax + rax]
mov rdx, qword [rbx]
mov rcx, rdi
call fcn.14000129e
mov rsi, rax
test rax, rax
je 0x140007964
mov r8, qword [r14 + r15 + 0x10]
mov rdx, qword [r14 + r15 + 8]
mov rcx, qword [rax + 0x60]
call fcn.140001848
or dword [rsi + 0x54], 0x8000000c
mov rcx, rsi
call fcn.1400013a2
test eax, eax
je 0x140007964
mov rdx, qword [rbx]
mov rcx, rdi
call fcn.1400011ae
inc ebp
lea rcx, [rbp*2]
add rcx, rbp
lea r14, [rcx*8]
cmp qword [r14 + r15], 0
lea rbx, [r14 + r15]
jne 0x140007920
mov r15, qword [rsp + 0x618]
xor r9d, r9d
lea rcx, [rsp + 0x2b0]
mov edx, 0x104
lea r8d, [r9 + 2]
mov qword [rsp + 0x20], 0
call fcn.140001ac8
lea rcx, [rsp + 0x2b0]
call fcn.140008220
lea r14, [0x1400bcb68]
lea r8, [0x1400bcb6c]
lea rdx, [rsp + 0x3c0]
mov r9, r14
mov ecx, 0x104
call fcn.140008540
mov ecx, 0x104
call fcn.14006c500
mov rbx, rax
test rax, rax
je 0x140007b54
xor edx, edx
mov r8d, 0x104
mov rcx, rax
call fcn.14006c5d0
lea rax, [rsp + 0x3c0]
lea r9, [rsp + 0x2b0]
mov qword [rsp + 0x28], rax
lea rax, [0x1400bcb5c]
lea r8, [0x1400bcb60]
lea rdx, [rsp + 0x4d0]
mov ecx, 0x104
mov qword [rsp + 0x20], rax
call fcn.140008540
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0x4d0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x140007b48
lea r8, [rsp + 0x19c]
or r9, 0xffffffffffffffff
mov edx, 0x104
mov rcx, rbx
call fcn.14006d1d8
lea rcx, [rsp + 0x31]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x30], 0
call fcn.14006c5d0
mov edx, 0x104
mov rcx, rbx
call fcn.14006c9b0
cmp rax, 4
jbe 0x140007b23
mov edx, 0x104
mov rcx, rbx
call fcn.14006c9b0
mov rdx, rbx
mov rcx, rdi
mov byte [rax + rbx - 3], 0
call fcn.14000151e
test rax, rax
jne 0x140007b23
mov rdx, rbx
mov rcx, rdi
call fcn.14000129e
mov rsi, rax
test rax, rax
je 0x140007b23
lea r9, [rax + 0x14]
lea rcx, [rsp + 0x30]
mov edx, 0x104
mov r8d, 2
mov qword [rsp + 0x20], r14
call fcn.140001ac8
mov rcx, qword [rsi + 0x60]
lea r8, [0x1400bcb70]
lea rdx, [rsp + 0x30]
call fcn.1400014fb
mov rcx, rsi
call fcn.1400013a2
test eax, eax
je 0x140007b23
mov rdx, rbx
mov rcx, rdi
call fcn.1400011ae
lea rdx, [rsp + 0x30]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x140007b3f
lea r8, [rsp + 0x5c]
jmp 0x140007a69
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, rbx
call fcn.14006c470
xor eax, eax
jmp 0x140007b59
mov eax, 0x708
mov rcx, qword [rsp + 0x5e0]
xor rcx, rsp
call fcn.14006cfe0
lea r11, [rsp + 0x5f0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140001497
Capabilities:
Write file on windows

Disassembly:
jmp 0x140068b70
jmp 0x140067f90
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbx, rcx
test rcx, rcx
je 0x140067fe5
mov rcx, qword [rcx]
test rcx, rcx
je 0x140067fe5
call fcn.140001127
test eax, eax
je 0x140067fe5
cmp qword [rbx + 0x248], 0
je 0x140067fe5
mov rcx, qword [rbx]
mov r8d, edi
mov rdx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x14000119f
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
xor edi, edi
mov rbx, rcx
cmp dword [rcx + 0x210], edi
jne 0x140068b9d
lea ecx, [rdi + 0x15]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
test rdx, rdx
jne 0x140068bb8
lea ecx, [rdx + 0x57]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
lea r9, [rsp + 0x40]
cmp dword [rcx + 0x218], edi
jne 0x140068be2
mov rcx, qword [rcx + 0x208]
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov qword [rcx + 0x258], rdi
mov qword [rsp + 0x48], rsi
lea rsi, [rcx + 0x250]
mov rcx, qword [rcx + 0x208]
mov qword [rsi], rdi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
test eax, eax
jne 0x140068c48
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x140068c46
mov rcx, qword [rbx + 0x208]
lea r9d, [rdi + 1]
lea r8, [rsp + 0x40]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov eax, edi
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1400014a1
Capabilities:
Terminate process

Disassembly:
jmp 0x140068d70
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov edi, 1
xor eax, eax
lock cmpxchg dword [rcx], edi
je 0x140068da3
nop word [rax + rax]
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
lock cmpxchg dword [rbx], edi
jne 0x140068d90
dec dword [rbx + 4]
mov eax, dword [rbx + 4]
mov edi, 0
cmovs eax, edi
mov dword [rbx + 4], eax
test eax, eax
jne 0x140068e4c
mov rcx, qword [rbx + 0x68]
test rcx, rcx
je 0x140068dfb
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [rbx + 0x60]
test rcx, rcx
je 0x140068ded
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbx + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x60], rdi
mov rcx, qword [rbx + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x68], rdi
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x140068e34
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbx + 0x48]
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbx + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x50]
test rcx, rcx
je 0x140068e34
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbx + 8]
mov qword [rbx + 0x48], rdi
mov qword [rbx + 0x50], rdi
mov dword [rbx + 0x58], 0xffffffff
call fcn.1400018f7
xchg dword [rbx], edi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140001695
Capabilities:
Get common file path

Disassembly:
jmp 0x140062b90
mov qword [rsp + 0x18], rbx
push rbp
sub rsp, 0x20
mov dword [rcx], 9
xor eax, eax
mov rbx, rcx
mov qword [rcx + 4], rax
mov qword [rcx + 0xc], rax
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ebp, eax
test eax, eax
je 0x140062c44
mov qword [rsp + 0x30], rsi
mov esi, ebp
mov qword [rsp + 0x38], rdi
add rsi, rsi
mov rcx, rsi
call fcn.14006c500
mov rdi, rax
test rax, rax
je 0x140062bed
mov r8, rsi
xor edx, edx
mov rcx, rax
call fcn.14006c5d0
mov rsi, qword [rsp + 0x30]
mov qword [rbx + 4], rdi
test rdi, rdi
je 0x140062c3f
mov edx, ebp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x140062c33
mov rcx, qword [rbx + 4]
test rcx, rcx
je 0x140062c18
call fcn.14006c470
mov rdi, qword [rsp + 0x38]
mov qword [rbx + 4], 0
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rbp
ret
lea ecx, [rax + rax]
mov dword [rbx + 0x10], ecx
lea eax, [rcx + 2]
mov dword [rbx + 0xc], eax
mov rdi, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rbp
ret

Function at 0x1400016ae
Capabilities:
Access the windows event log

Disassembly:
jmp 0x14006ba30
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x98
movzx esi, dx
xorps xmm0, xmm0
movzx ebp, cx
lea rdx, str.DPTF
xor ebx, ebx
xor ecx, ecx
mov qword [rsp + 0x6c], rbx
movdqu xmmword [rsp + 0x50], xmm0
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov rdi, rax
test rax, rax
je 0x14006bafd
mov rdx, qword [rsp + 0xd0]
lea rax, [0x1400d9308]
lea r8, [rsp + 0xd8]
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x50], rax
call fcn.1400017bc
mov ecx, 2
mov r9d, 0x100
movzx r8d, bp
movups xmm0, xmmword [rax]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x70], eax
lea rax, str.Error_in_formatting_event_message
movups xmmword [rsp + 0x60], xmm0
mov rbx, qword [rsp + 0x64]
test rbx, rbx
cmovne rax, rbx
xor edx, edx
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], edx
mov word [rsp + 0x28], cx
mov qword [rsp + 0x20], rdx
mov rcx, rdi
movzx edx, si
call qword [sym.imp.ADVAPI32.dll_ReportEventA]
test rbx, rbx
je 0x14006bb0a
mov rcx, rbx
call fcn.14006c470
test rdi, rdi
je 0x14006bb18
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
add rsp, 0x98
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400017e4
Capabilities:
Print debug messages

Disassembly:
jmp 0x14006b880
mov r11, rsp
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
sub rsp, 0x88
cmp dword [section..data], ecx
jl 0x14006b980
movsxd rax, ecx
imul rcx, rax, 0x11
lea rax, [0x1400f601c]
test dword [rcx + rax], 0x200000
je 0x14006b980
lea r8, [r11 + 0x18]
lea rcx, [r11 - 0x58]
call fcn.140001357
movups xmm0, xmmword [rax]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x58], eax
movups xmmword [rsp + 0x48], xmm0
cmp qword [rsp + 0x4c], 0
je 0x14006b980
xor ecx, ecx
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov r9, qword [rsp + 0x4c]
movabs rax, 0x20c49ba5e353f7cf
imul qword [rsp + 0x20]
mov rcx, rdx
sar rcx, 7
mov rax, rcx
shr rax, 0x3f
add rcx, rax
mov rax, qword [rsp + 0x28]
cqo
idiv rcx
lea rdx, str.__llu_ms___s
lea rcx, [rsp + 0x60]
mov r8, rax
call fcn.1400013ed
movups xmm0, xmmword [rax]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x40], eax
movups xmmword [rsp + 0x30], xmm0
cmp qword [rsp + 0x34], 0
je 0x14006b976
mov rcx, qword [rsp + 0x34]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rsp + 0x34]
call fcn.14006c470
mov rcx, qword [rsp + 0x4c]
call fcn.14006c470
add rsp, 0x88
ret

Function at 0x1400017fd
Capabilities:
Get common file path

Disassembly:
jmp 0x140062c90
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x20
mov dword [rcx], 9
xor eax, eax
mov rbx, rcx
mov qword [rcx + 4], rax
mov qword [rcx + 0xc], rax
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, eax
test eax, eax
je 0x140062d4a
mov qword [rsp + 0x30], rbp
mov ebp, esi
mov qword [rsp + 0x38], rdi
add rbp, rbp
mov rcx, rbp
call fcn.14006c500
mov rdi, rax
test rax, rax
je 0x140062ced
mov r8, rbp
xor edx, edx
mov rcx, rax
call fcn.14006c5d0
mov rbp, qword [rsp + 0x30]
mov qword [rbx + 4], rdi
test rdi, rdi
je 0x140062d45
mov rdx, rdi
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x140062d2f
lea ecx, [rax + 1]
cmp esi, ecx
jne 0x140062d2f
mov rdi, qword [rsp + 0x38]
add eax, eax
lea ecx, [rsi + rsi]
mov dword [rbx + 0x10], eax
mov rax, rbx
mov dword [rbx + 0xc], ecx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret
mov rcx, qword [rbx + 4]
test rcx, rcx
je 0x140062d3d
call fcn.14006c470
mov qword [rbx + 4], 0
mov rdi, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret
Function at 0x140001820
Capabilities:
Hash data using sha1

Disassembly:
jmp 0x14000e500
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov rax, qword [0x1400fae80]
xor rax, rsp
mov qword [rbp + 0x27], rax
xor eax, eax
mov r13, rcx
xor ecx, ecx
mov qword [rbp - 0x65], rax
mov qword [rbp - 0x5d], rax
mov qword [rbp - 0x35], rax
mov qword [rbp - 0x2d], rax
mov qword [rbp - 0x25], rax
mov qword [rbp - 0x1d], rax
mov qword [rbp - 0x15], rax
mov qword [rbp - 0xd], rax
mov qword [rbp - 5], rax
mov dword [rbp + 3], eax
lea rax, [0x14000ec00]
mov dword [rbp - 0x69], ecx
mov qword [rbp + 7], rax
lea rax, [0x14000ec20]
mov dword [rbp - 0x39], ecx
lea rcx, [0x14000ec10]
mov qword [rbp + 0x17], rax
lea rax, [rbp - 0x39]
mov r10, rdx
mov dword [rbp - 0x51], 0x5a827999
mov dword [rbp - 0x4d], 0x6ed9eba1
mov qword [rbp + 0xf], rcx
mov qword [rbp + 0x1f], rcx
mov dword [rbp - 0x49], 0x8f1bbcdc
sub r10, rax
mov dword [rbp - 0x45], 0xca62c1d6
lea r8, [rbp - 0x39]
mov r9d, reloc.WSOCK32.dll_recv
nop dword [rax + rax]
mov ecx, dword [r10 + r8]
lea r8, [r8 + 4]
mov edx, ecx
mov eax, ecx
shr eax, 0x10
and edx, 0xff0000
or edx, eax
mov eax, ecx
and ecx, 0xff00
shl eax, 0x10
shr edx, 8
or eax, ecx
shl eax, 8
or edx, eax
mov dword [r8 - 4], edx
dec r9
jne 0x14000e5c0
mov r9d, setsockopt
lea rcx, [rbp - 0x69]
mov r8, r13
mov edx, r9d
call fcn.14006d078
mov edx, dword [rbp - 0x61]
xor bl, bl
xor r12b, r12b
xor r14b, r14b
nop word [rax + rax]
movzx r15d, r14b
and r15b, 0xf
cmp r14b, 0x10
jb 0x14000e66b
movzx eax, r15b
movzx r8d, r15b
lea r10, [rbp - 0x39]
lea r10, [r10 + rax*4]
lea eax, [r8 - 3]
lea ecx, [r8 - 8]
and eax, 0xf
and ecx, 0xf
mov r9d, dword [rbp + rcx*4 - 0x39]
xor r9d, dword [rbp + rax*4 - 0x39]
lea eax, [r8 + 2]
and eax, 0xf
xor r9d, dword [rbp + rax*4 - 0x39]
xor r9d, dword [r10]
rol r9d, 1
mov dword [r10], r9d
mov r8d, dword [rbp - 0x5d]
mov ecx, dword [rbp - 0x65]
movzx edi, bl
call qword [rbp + rdi*8 + inet_addr]
mov esi, dword [rbp - 0x69]
movzx ecx, r15b
rol esi, 5
lea rdx, [rbp - 0x69]
mov r8d, reloc.WSOCK32.dll_recv
add esi, dword [rbp + rcx*4 - 0x39]
lea rcx, [rbp - 0x65]
add esi, dword [rbp + rdi*4 - 0x51]
add esi, dword [rbp - 0x59]
add esi, eax
call fcn.14006d940
mov edx, dword [rbp - 0x61]
inc r12b
ror edx, 2
mov dword [rbp - 0x69], esi
mov dword [rbp - 0x61], edx
cmp r12b, 0x14
jne 0x14000e6cf
movzx ebx, bl
xor r12b, r12b
inc ebx
and ebx, 0x80000003
jge 0x14000e6cf
dec ebx
or ebx, 0xfffffffc
inc ebx
inc r14b
cmp r14b, 0x4f
jbe 0x14000e620
lea r8, [rbp - 0x69]
mov rcx, r13
mov edx, 5
sub r8, r13
nop dword [rax + rax]
mov eax, dword [r8 + rcx]
lea rcx, [rcx + 4]
add dword [rcx - 4], eax
dec rdx
jne 0x14000e6f0
add qword [r13 + 0x18], 0x200
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14006cfe0
lea r11, [rsp + 0xc0]
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 0x1400018f7
Capabilities:
Delete directory
Delete file

Disassembly:
jmp 0x140069de0
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 4]
test rcx, rcx
je 0x140069dff
call fcn.14006c470
mov qword [rbx + 4], 0
mov rcx, qword [rbx + 0x2c]
test rcx, rcx
je 0x140069e24
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, qword [rbx + 0x2c]
test rcx, rcx
je 0x140069e1c
call fcn.14006c470
mov qword [rbx + 0x2c], 0
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140069e49
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140069e41
call fcn.14006c470
mov qword [rbx + 0x18], 0
add rsp, 0x20
pop rbx
ret
Function at 0x140001af5
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x1400626a0
push rbx
sub rsp, 0x40
xor eax, eax
mov dword [rcx], 7
mov qword [rsp + 0x58], rbp
mov qword [rcx + 4], rax
mov qword [rcx + 0xc], rax
mov dword [rsp + 0x50], eax
lea rax, [rsp + 0x68]
mov rbp, r8
mov rbx, rcx
mov qword [rsp + 0x30], r14
mov r14, rdx
lea rdx, str.SOFTWAREInteldptfparameters
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x68], 0xffffffffffffffff
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400627ba
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x50]
mov r9, rbp
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, r14
mov qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400627ba
mov qword [rsp + 0x60], rsi
mov esi, dword [rsp + 0x50]
mov qword [rsp + 0x38], rdi
mov ecx, esi
call fcn.14006c500
mov rdi, rax
test rax, rax
je 0x14006275e
mov r8d, esi
xor edx, edx
mov rcx, rax
call fcn.14006c5d0
mov rsi, qword [rsp + 0x60]
mov qword [rbx + 4], rdi
test rdi, rdi
je 0x1400627b5
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x50]
mov r9, rbp
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, r14
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1400627ab
mov rcx, qword [rbx + 4]
test rcx, rcx
je 0x1400627a1
call fcn.14006c470
mov qword [rbx + 4], 0
jmp 0x1400627b5
mov eax, dword [rsp + 0x50]
mov dword [rbx + 0xc], eax
mov dword [rbx + 0x10], eax
mov rdi, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x68]
mov r14, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x58]
cmp rcx, 0xffffffffffffffff
je 0x1400627d5
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rbx
add rsp, 0x40
pop rbx
ret
Function at 0x140001b4f
Capabilities:
Delete directory
Delete file

Disassembly:
jmp 0x140053980
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword [rcx + 0x40]
mov rbx, rcx
test rax, rax
je 0x1400539a3
mov rdx, qword [rcx + 0x28]
xor ecx, ecx
call rax
mov rax, qword [rbx + 0x38]
test rax, rax
je 0x1400539ae
call rax
mov rcx, qword [rbx + 8]
xor esi, esi
mov qword [rbx + 0x30], rsi
mov qword [rbx + 0x38], rsi
mov qword [rbx + 0x40], rsi
mov qword [rbx + 0x48], rsi
test rcx, rcx
je 0x1400539d3
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rbx + 8], rsi
lea rcx, [rbx + 0x50]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.1400018f7