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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov r10d, dword [rcx]
xor ebp, ebp
shr r10d, 3
mov r11d, r9d
not r10d
mov ebx, r8d
and r10d, 1
mov rdi, rdx
test dword [rcx], 0x100
mov rsi, rcx
je 0x140416aed
mov eax, dword [rcx + 0x50]
jmp 0x140416aef
mov eax, ebp
movzx r9d, word [rcx + 0x9c]
mov r8d, r11d
mov dword [rsp + 0x38], eax
mov edx, ebx
lea rax, [rsp + 0x44]
mov rcx, rdi
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r10d
call fcn.14041d0a0
mov ebx, eax
test eax, eax
je 0x140416b60
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140416b37
call qword [str._hA_]
mov rcx, qword [rsp + 0x88]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], ebp
mov edx, ebx
call qword [rsp + 0x80]
jmp 0x140416cba
movzx r10d, byte [rsi + 0x19e]
lea r9, [rsp + 0x60]
movzx r11d, byte [rsi + 0x19f]
mov ebx, 2
mov word [rsp + 0x60], bp
nop
inc r10b
movzx edx, r10b
movzx r8d, byte [rdx + rsi + 0x9e]
add r11b, r8b
movzx ecx, r11b
movzx eax, byte [rcx + rsi + 0x9e]
mov byte [rdx + rsi + 0x9e], al
mov byte [rcx + rsi + 0x9e], r8b
add r8b, byte [rdx + rsi + 0x9e]
movzx eax, r8b
movzx ecx, byte [rax + rsi + 0x9e]
xor byte [r9], cl
inc r9
sub rbx, 1
jne 0x140416b80
movzx r9d, word [rsp + 0x60]
movzx eax, r9w
mov byte [rsp + 0x41], r9b
shr ax, 8
mov byte [rsp + 0x40], al
movzx r8d, word [rsp + 0x40]
mov eax, r8d
mov byte [rsi + 0x19e], r10b
and eax, 0x7ff
mov byte [rsi + 0x19f], r11b
lea rax, [rax + rax*2]
lea rax, [rax + 0x3a]
lea rdx, [rsi + rax*8]
mov rax, qword [rsi + rax*8 + 8]
cmp rax, rdx
je 0x140416c37
nop word [rax + rax]
mov rcx, qword [rax + 0x10]
cmp word [rcx], r8w
je 0x140416b60
mov rax, qword [rax + 8]
cmp rax, rdx
jne 0x140416c20
mov ecx, reloc.WS2_32.dll_recv
mov word [rsi + 0x9c], r9w
call qword [str.PhA_]
mov rcx, rax
test rax, rax
jne 0x140416c7b
mov rcx, qword [rsp + 0x48]
call fcn.14041d2f0
mov rcx, qword [rsp + 0x88]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], ebp
lea edx, [r9 + 0xf]
call qword [rsp + 0x80]
jmp 0x140416cba
mov rax, qword [rsp + 0x80]
lea r9, [0x140416cd0]
mov qword [rcx], rax
mov rax, qword [rsp + 0x88]
mov qword [rcx + 8], rax
mov r8d, dword [rsp + 0x44]
mov rdx, qword [rsp + 0x48]
mov qword [rsp + 0x20], rcx
mov rcx, rsi
call fcn.14041cdf0
mov rcx, qword [rsp + 0x48]
call fcn.14041d2f0
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x140417730
Capabilities:
Get common file path
Query environment variable
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x270
mov rax, qword [0x14065ef68]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rsi, r8
mov r15d, edx
mov rbp, rcx
call fcn.14041d3c0
test eax, eax
jne 0x140417936
mov byte [rsp + 0x40], al
call fcn.14041eca0
cmp eax, 3
jne 0x140417801
lea rax, [rsp + 0x38]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SystemCurrentControlSetServicesTcpipParameters
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14041781a
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rdx, str.DatabasePath
lea rax, [rsp + 0x150]
mov dword [rsp + 0x30], 0x104
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov r8d, 0x104
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x150]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14041781a
cmp eax, 2
jne 0x140417936
mov edx, 0x104
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea rcx, [rsp + 0x40]
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140417822
mov eax, dword [str.hosts]
lea rdx, [0x14054a95c]
mov dword [rcx], eax
movzx eax, word [0x14058afcc]
mov word [rcx + 4], ax
movzx eax, byte [0x14058afce]
mov byte [rcx + 6], al
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov r14, rax
test rax, rax
jne 0x140417881
call qword [sym.imp.KERNEL32.dll_GetLastError]
add eax, 0xfffffffe
cmp eax, 1
jbe 0x140417936
mov qword [rsi], r14
lea eax, [r14 + 0xe]
jmp 0x14041793b
mov r8, rsi
mov edx, r15d
mov rcx, r14
call fcn.14041ede0
mov edi, eax
test eax, eax
jne 0x140417909
mov qword [rsp + 0x2b8], rbx
nop dword [rax]
mov rcx, qword [rsi]
mov rdx, rbp
mov rcx, qword [rcx]
call sub.api_ms_win_crt_string_l1_1_0.dll__stricmp
test eax, eax
je 0x140417901
mov rbx, qword [rsi]
mov rbx, qword [rbx + 8]
mov rax, qword [rbx]
test rax, rax
je 0x1404178e5
mov rdx, rbp
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll__stricmp
test eax, eax
je 0x1404178df
mov rax, qword [rbx + 8]
add rbx, 8
test rax, rax
jne 0x1404178c1
jmp 0x1404178e5
cmp qword [rbx], 0
jne 0x140417901
mov rcx, qword [rsi]
call fcn.14041e2d0
mov r8, rsi
mov edx, r15d
mov rcx, r14
call fcn.14041ede0
mov edi, eax
test eax, eax
je 0x1404178a0
mov rbx, qword [rsp + 0x2b8]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
cmp edi, 0xd
jne 0x140417927
mov edi, 4
mov qword [rsi], 0
mov eax, edi
jmp 0x14041793b
test edi, edi
je 0x140417932
mov qword [rsi], 0
mov eax, edi
jmp 0x14041793b
mov eax, 4
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1402f2210
add rsp, 0x270
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140418ef0
Capabilities:
Check os version

Disassembly:
sub rsp, 0xd8
mov rax, qword [0x14065ef68]
xor rax, rsp
mov qword [rsp + 0xc0], rax
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x90
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], __WSAFDIsSet
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x140418f56
cmp dword [rsp + 0x24], 6
jb 0x140418f56
mov eax, 1
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1402f2210
add rsp, 0xd8
ret
xor eax, eax
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1402f2210
add rsp, 0xd8
ret
Function at 0x140419bd0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x30
xor ebx, ebx
mov rdi, rcx
mov qword [rcx], rbx
call fcn.14041eca0
cmp eax, 3
jne 0x140419ce2
lea rax, [rsp + 0x58]
mov qword [rsp + 0x50], rbx
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rdi], rbx
lea rdx, str.SystemCurrentControlSetServicesTcpipParameters
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140419de9
mov rcx, qword [rsp + 0x58]
lea rdx, str.NameServer
mov r8, rdi
call fcn.140419e00
mov esi, eax
test eax, eax
jne 0x140419cb7
mov rcx, qword [rsp + 0x58]
lea rdx, str.DhcpNameServer
mov r8, rdi
call fcn.140419e00
mov esi, eax
test eax, eax
jne 0x140419cb7
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x50]
lea r9d, [rbx + 9]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.Interfaces
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x140419c87
mov qword [rsp + 0x50], rbx
jmp 0x140419cc7
mov rcx, qword [rsp + 0x50]
lea rdx, str.NameServer
mov r8, rdi
call fcn.14041a250
mov esi, eax
test eax, eax
jne 0x140419cb7
mov rcx, qword [rsp + 0x50]
lea rdx, str.DhcpNameServer
mov r8, rdi
call fcn.14041a250
mov esi, eax
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140419cc7
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x140419de9
cmp qword [rdi], rbx
jmp 0x140419dda
cmp eax, 2
jne 0x140419de9
lea rax, [rsp + 0x60]
mov qword [rdi], rbx
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SystemCurrentControlSetServicesVxDMSTCP
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140419de9
mov rsi, qword [rsp + 0x60]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x58]
mov rcx, rsi
mov qword [rsp + 0x20], rbx
xor r8d, r8d
mov dword [rsp + 0x58], ebx
lea rdx, str.NameServer
mov dword [rsp + 0x50], ebx
mov qword [rdi], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x140419d5f
cmp eax, 0xea
jne 0x140419dc7
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x140419dc7
lea ecx, [rax + 1]
call qword [str.PhA_]
mov qword [rdi], rax
test rax, rax
je 0x140419dc7
lea rcx, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x28], rcx
lea r9, [rsp + 0x58]
mov rcx, rsi
mov qword [rsp + 0x20], rax
lea rdx, str.NameServer
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140419dbb
mov eax, dword [rsp + 0x50]
cmp eax, 1
je 0x140419dbb
mov ecx, eax
mov rax, qword [rdi]
mov byte [rcx + rax], bl
mov ebx, 1
jmp 0x140419dc7
mov rcx, qword [rdi]
call qword [str._hA_]
mov qword [rdi], rbx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x140419de9
cmp qword [rdi], 0
je 0x140419de9
mov eax, 1
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
xor eax, eax
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
Function at 0x140419e00
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor ebp, ebp
lea rax, [rsp + 0x50]
mov qword [r8], rbp
mov rbx, r8
mov qword [rsp + 0x28], rax
xor r8d, r8d
xor r9d, r9d
mov dword [rsp + 0x50], ebp
mov rdi, rdx
mov qword [rsp + 0x20], rbp
mov rsi, rcx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x140419e4c
cmp eax, 0xea
jne 0x140419eaf
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x140419eaf
lea ecx, [rax + 1]
call qword [str.PhA_]
mov qword [rbx], rax
test rax, rax
je 0x140419eaf
lea rcx, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x28], rcx
xor r8d, r8d
mov rcx, rsi
mov qword [rsp + 0x20], rax
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140419ea3
mov eax, dword [rsp + 0x50]
cmp eax, 1
je 0x140419ea3
mov ecx, eax
mov rax, qword [rbx]
mov byte [rcx + rax], bpl
mov eax, 1
jmp 0x140419eb1
mov rcx, qword [rbx]
call qword [str._hA_]
mov qword [rbx], rbp
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x14041a250
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push r14
push r15
sub rsp, 0x160
mov rax, qword [0x14065ef68]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor ebx, ebx
mov dword [rsp + 0x44], 0x100
mov qword [rsp + 0x38], rbx
lea r9, [rsp + 0x44]
mov qword [rsp + 0x30], rbx
mov rsi, r8
mov r15, rdx
mov qword [r8], rbx
mov qword [rsp + 0x28], rbx
lea r8, [rsp + 0x50]
xor edx, edx
mov qword [rsp + 0x20], rbx
lea ebp, [rbx + 1]
mov r14, rcx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x14041a3d7
mov qword [rsp + 0x1a8], rdi
lea rax, [rsp + 0x48]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x50]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14041a394
mov rdi, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov rcx, rdi
xor r9d, r9d
mov qword [rsp + 0x20], rbx
xor r8d, r8d
mov dword [rsp + 0x40], ebx
mov rdx, r15
mov qword [rsi], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x14041a321
cmp eax, 0xea
jne 0x14041a383
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x14041a383
lea ecx, [rax + 1]
call qword [str.PhA_]
mov qword [rsi], rax
test rax, rax
je 0x14041a383
lea rcx, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x28], rcx
xor r8d, r8d
mov rcx, rdi
mov qword [rsp + 0x20], rax
mov rdx, r15
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14041a377
mov eax, dword [rsp + 0x40]
cmp eax, 1
je 0x14041a377
mov ecx, eax
mov edi, 1
mov rax, qword [rsi]
mov byte [rcx + rax], bl
jmp 0x14041a385
mov rcx, qword [rsi]
call qword [str._hA_]
mov qword [rsi], rbx
mov edi, ebx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x14041a3cf
mov qword [rsp + 0x38], rbx
lea r9, [rsp + 0x44]
mov qword [rsp + 0x30], rbx
lea r8, [rsp + 0x50]
mov edx, ebp
mov qword [rsp + 0x28], rbx
mov rcx, r14
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x44], 0x100
inc ebp
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x14041a2c0
mov rdi, qword [rsp + 0x1a8]
cmp qword [rsi], rbx
setne bl
mov eax, ebx
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1402f2210
add rsp, 0x160
pop r15
pop r14
pop rsi
pop rbp
pop rbx
ret
Function at 0x14041b650
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x14065ef68]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [r8 + 0x12200], 0
mov rbx, r8
mov edi, edx
mov rsi, rcx
jne 0x14041b78e
lea r8, [rsp + 0x30]
mov dword [rsp + 0x30], 1
mov edx, 0x8004667e
call qword [sym.imp.WS2_32.dll_ioctlsocket]
cmp dword [rbx + 0x1c], 0
lea r9, [rbx + 0x1c]
jle 0x14041b6cb
mov edx, 0xffff
mov dword [rsp + 0x20], 4
mov r8d, 0x1001
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x14041b787
cmp dword [rbx + 0x20], 0
lea r9, [rbx + 0x20]
jle 0x14041b6fa
mov edx, 0xffff
mov dword [rsp + 0x20], 4
mov r8d, 0x1002
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x14041b787
cmp edi, 2
jne 0x14041b72d
mov ecx, dword [rbx + 0x74]
test ecx, ecx
je 0x14041b78e
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov eax, edi
mov word [rsp + 0x38], ax
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rsp + 0x3c], eax
lea r8d, [rdi + 0xe]
jmp 0x14041b775
cmp edi, 0x17
jne 0x14041b78e
mov rax, qword [rbx + 0x78]
cmp rax, qword [0x14058b4a0]
jne 0x14041b74f
mov rax, qword [rbx + 0x80]
cmp rax, qword [0x14058b4a8]
je 0x14041b78e
movups xmm0, xmmword [rbx + 0x78]
xor eax, eax
mov dword [rsp + 0x3a], eax
mov word [rsp + 0x3e], ax
mov dword [rsp + 0x50], eax
mov eax, reloc.WS2_32.dll_socket
mov word [rsp + 0x38], ax
movups xmmword [rsp + 0x40], xmm0
lea r8d, [rax + 5]
lea rdx, [rsp + 0x38]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_bind]
test eax, eax
jns 0x14041b78e
mov eax, 0xffffffff
jmp 0x14041b790
xor eax, eax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1402f2210
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
ret

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

Disassembly:
push rbx
sub rsp, 0x30
mov r10, rdx
mov rbx, r8
mov edx, dword [rdx + 0xa0]
mov r11, rcx
inc edx
mov dword [r10 + 0xa0], edx
mov eax, dword [rcx + 8]
mov r9d, dword [rcx + 0x98]
imul eax, r9d
cmp edx, eax
jge 0x14041bb56
mov eax, dword [r10 + 0xa4]
inc eax
cdq
idiv r9d
mov dword [r10 + 0xa4], edx
movsxd r8, edx
lea rcx, [r8 + r8*8]
shl rcx, 4
add rcx, qword [r11 + 0x90]
cmp dword [rcx + 0x88], 0
jne 0x14041bb33
mov rax, qword [r10 + 0xa8]
cmp dword [rax + r8*8], 0
lea rdx, [rax + r8*8]
jne 0x14041bb33
cmp dword [r10 + 0xb0], 0
je 0x14041bb79
mov eax, dword [rcx + 0x60]
cmp dword [rdx + 4], eax
jne 0x14041bb79
mov ecx, dword [r10 + 0xa0]
inc ecx
mov dword [r10 + 0xa0], ecx
mov eax, dword [r11 + 8]
mov r9d, dword [r11 + 0x98]
imul eax, r9d
cmp ecx, eax
jl 0x14041bae0
mov r8d, dword [r10 + 0xb4]
xor r9d, r9d
mov rdx, r10
mov dword [rsp + 0x20], 0
mov rcx, r11
call fcn.14041b7b0
add rsp, 0x30
pop rbx
ret
mov r8, rbx
mov rdx, r10
mov rcx, r11
add rsp, 0x30
pop rbx
jmp fcn.14041b380
Function at 0x14041be20
Capabilities:
Connect socket

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x14065ef68]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov eax, dword [rdx]
mov r15d, 2
mov rsi, rdx
mov rbx, rcx
cmp eax, r15d
je 0x14041be92
cmp eax, 0x17
jne 0x14041bf16
mov ecx, dword [rdx + 0x14]
lea r14d, [r15 + 0x1a]
xor eax, eax
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x38], eax
mov eax, reloc.WS2_32.dll_socket
mov word [rsp + 0x20], ax
test ecx, ecx
jne 0x14041be7d
mov ecx, dword [rbx + 0x14]
call fcn.14041edc0
movups xmm0, xmmword [rsi + 4]
mov word [rsp + 0x22], ax
movups xmmword [rsp + 0x28], xmm0
jmp 0x14041bebe
mov ecx, dword [rdx + 0x14]
xor eax, eax
mov qword [rsp + 0x28], rax
mov word [rsp + 0x20], r15w
lea r14d, [rax + 0x10]
test ecx, ecx
jne 0x14041bead
mov ecx, dword [rbx + 0x14]
call fcn.14041edc0
mov word [rsp + 0x22], ax
mov eax, dword [rsi + 4]
mov dword [rsp + 0x24], eax
mov rax, qword [rbx + 0x12200]
xor r8d, r8d
mov ecx, dword [rsi]
mov edx, r15d
test rax, rax
je 0x14041bedd
mov r9, qword [rbx + 0x12208]
call qword [rax]
jmp 0x14041bee3
call qword [sym.imp.WS2_32.dll_socket]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14041bf16
mov edx, dword [rsi]
mov r8, rbx
mov rcx, rax
call fcn.14041b650
test eax, eax
jns 0x14041bf3c
mov rax, qword [rbx + 0x12200]
mov rcx, rdi
test rax, rax
jne 0x14041bfd6
call qword [sym.imp.WS2_32.dll_closesocket]
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1402f2210
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rbx + 0x121f0]
test rax, rax
je 0x14041bf85
mov r8, qword [rbx + 0x121f8]
mov edx, r15d
mov rcx, rdi
call rax
mov ebp, eax
test eax, eax
jns 0x14041bf85
mov r8, qword [rbx + 0x12200]
mov rcx, rdi
test r8, r8
je 0x14041bf7b
mov rdx, qword [rbx + 0x12208]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, ebp
jmp 0x14041bf1b
call qword [sym.imp.WS2_32.dll_closesocket]
mov eax, ebp
jmp 0x14041bf1b
mov rax, qword [rbx + 0x12200]
lea rdx, [rsp + 0x20]
mov r8d, r14d
mov rcx, rdi
test rax, rax
je 0x14041bfa8
mov r9, qword [rbx + 0x12208]
call qword [rax + reloc.WS2_32.dll_recv]
jmp 0x14041bfae
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x14041bfe5
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
add eax, 0xffffd8cd
cmp eax, 1
jbe 0x14041bfe5
mov rax, qword [rbx + 0x12200]
mov rcx, rdi
test rax, rax
je 0x14041bf10
mov rdx, qword [rbx + 0x12208]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14041bf16
mov rax, qword [rbx + 0x121e0]
test rax, rax
je 0x14041c00a
mov r8, qword [rbx + 0x121e8]
mov edx, r15d
mov rcx, rdi
call rax
mov ebp, eax
test eax, eax
js 0x14041bf5d
mov rax, qword [rbx + 0x121d0]
test rax, rax
je 0x14041c029
mov rcx, qword [rbx + 0x121d8]
xor r9d, r9d
mov rdx, rdi
lea r8d, [r9 + 1]
call rax
mov qword [rsi + 0x20], rdi
xor eax, eax
jmp 0x14041bf1b
Function at 0x14041cb80
Capabilities:
Send data
Send data on socket

Disassembly:
push rbp
push rsi
push r12
push r13
sub rsp, 0x38
mov r12, r9
mov r13, r8
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
jne 0x14041cba6
cmp r8, 0xffffffffffffffff
je 0x14041cdd9
mov qword [rsp + 0x70], r14
xor r14d, r14d
cmp dword [rcx + 0x98], r14d
jle 0x14041cdd4
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x30], r15
xor r15d, r15d
mov qword [rsp + 0x68], rdi
nop dword [rax]
mov rbx, qword [rbp + 0x90]
add rbx, r15
mov rax, qword [rbx + 0x50]
test rax, rax
je 0x14041cdae
mov rcx, qword [rbx + 0x28]
cmp rcx, 0xffffffffffffffff
je 0x14041cdae
cmp dword [rbx + 0x88], 0
jne 0x14041cdae
test rsi, rsi
je 0x14041cc68
mov rdx, rsi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x14041cdae
mov edx, dword [rsi]
xor eax, eax
test edx, edx
je 0x14041cc62
mov r8, qword [rbx + 0x28]
cmp qword [rsi + rax*8 + 8], r8
je 0x14041cc36
inc eax
cmp eax, edx
jb 0x14041cc23
mov rax, qword [rbx + 0x50]
jmp 0x14041cc71
lea ecx, [rdx - 1]
cmp eax, ecx
jae 0x14041cc5d
nop dword [rax]
mov edx, eax
lea r8d, [rax + 1]
mov rax, qword [rsi + r8*8 + 8]
mov qword [rsi + rdx*8 + 8], rax
mov eax, r8d
mov edx, dword [rsi]
lea ecx, [rdx - 1]
cmp r8d, ecx
jb 0x14041cc40
lea eax, [rdx - 1]
mov dword [rsi], eax
mov rax, qword [rbx + 0x50]
jmp 0x14041cc71
cmp rcx, r13
jne 0x14041cdae
xor ecx, ecx
test rax, rax
je 0x14041cc8c
nop dword [rax + rax]
mov rax, qword [rax + 0x20]
inc rcx
test rax, rax
jne 0x14041cc80
shl rcx, 4
call qword [str.PhA_]
mov rdx, qword [rbx + 0x50]
mov rdi, rax
test rax, rax
je 0x14041cd36
xor r8d, r8d
test rdx, rdx
je 0x14041cccf
mov r9, rax
mov rcx, qword [rdx]
inc r8
mov qword [r9], rcx
lea r9, [r9 + 0x10]
mov rax, qword [rdx + 8]
mov qword [r9 - 8], rax
mov rdx, qword [rdx + 0x20]
test rdx, rdx
jne 0x14041ccb1
mov rax, qword [rbp + 0x12200]
mov rdx, rdi
mov rcx, qword [rbx + 0x28]
test rax, rax
je 0x14041ccee
mov r9, qword [rbp + 0x12208]
call qword [rax + 0x20]
jmp 0x14041ccf3
call fcn.14041f9f0
mov rcx, rdi
mov rbx, rax
call qword [str._hA_]
test rbx, rbx
jns 0x14041cd31
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0xb
je 0x14041cdae
cmp eax, 0x2733
je 0x14041cdae
mov r8, r12
mov edx, r14d
mov rcx, rbp
call fcn.14041b960
jmp 0x14041cdae
mov r8, rbx
jmp 0x14041cda3
mov rax, qword [rbp + 0x12200]
mov r8, qword [rdx + 8]
mov rdx, qword [rdx]
mov rcx, qword [rbx + 0x28]
test rax, rax
je 0x14041cd6e
mov r9, qword [rbp + 0x12208]
mov qword [rsp + 0x20], rdx
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x28], r8
mov r8d, 1
call qword [rax + 0x20]
jmp 0x14041cd79
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_send]
cdqe
test rax, rax
jns 0x14041cda0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0xb
je 0x14041cdae
cmp eax, 0x2733
je 0x14041cdae
mov r8, r12
mov edx, r14d
mov rcx, rbp
call fcn.14041b960
jmp 0x14041cdae
mov r8, rax
mov edx, r14d
mov rcx, rbp
call fcn.14041b240
inc r14d
add r15, 0x90
cmp r14d, dword [rbp + 0x98]
jl 0x14041cbd0
mov r15, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
mov r14, qword [rsp + 0x70]
add rsp, 0x38
pop r13
pop r12
pop rsi
pop rbp
ret
Function at 0x14041e350
Capabilities:
Check if file exists

Disassembly:
push rbx
sub rsp, 0x20
mov rax, r8
mov r9, rdx
cmp ecx, 2
je 0x14041e38d
cmp ecx, 0x17
jne 0x14041e377
lea r8d, [rcx - 7]
mov rdx, rax
mov rcx, r9
call fcn.14041e8f0
jmp 0x14041e39e
mov ecx, 0x273f
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, 0xffffffff
add rsp, 0x20
pop rbx
ret
mov r8d, 4
mov rdx, rax
mov rcx, r9
call fcn.14041e580
mov ebx, eax
cmp eax, 0xffffffff
jne 0x14041e3b8
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x14041e3b8
xor eax, eax
add rsp, 0x20
pop rbx
ret
sar ebx, 0x1f
and ebx, 0xfffffffe
lea eax, [rbx + 1]
add rsp, 0x20
pop rbx
ret

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

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r15
sub rsp, 0x20
xor edi, edi
mov r15, rcx
test r8d, r8d
jle 0x14041fae4
lea rbx, [rdx + 8]
movsxd rsi, r8d
mov rdx, rbx
mov r8d, edi
nop dword [rax + rax]
mov rcx, qword [rdx]
mov eax, 0x7fffffff
sub rax, rdi
cmp rcx, rax
ja 0x14041fae4
add rdi, rcx
inc r8
add rdx, 0x10
cmp r8, rsi
jl 0x14041fa20
test rdi, rdi
je 0x14041fad4
mov rcx, rdi
mov qword [rsp + 0x48], r14
call qword [str.PhA_]
mov r14, rax
test rax, rax
jne 0x14041fa82
lea ecx, [rax + 0xc]
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rax, [r14 - 1]
mov r14, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop rdi
pop rsi
ret
mov qword [rsp + 0x40], rbp
mov rbp, r14
nop word [rax + rax]
mov r8, qword [rbx]
mov rcx, rbp
mov rdx, qword [rbx - 8]
call sub.VCRUNTIME140.dll_memcpy
add rbp, qword [rbx]
lea rbx, [rbx + 0x10]
sub rsi, 1
jne 0x14041fa90
xor r9d, r9d
mov r8d, edi
mov rdx, r14
mov rcx, r15
call qword [sym.imp.WS2_32.dll_send]
mov rcx, r14
movsxd rbx, eax
call qword [str._hA_]
mov rbp, qword [rsp + 0x40]
mov rax, rbx
jmp 0x14041fa6f
xor eax, eax
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop rdi
pop rsi
ret
mov ecx, 0x2726
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [rsp + 0x50]
mov rax, 0xffffffffffffffff
add rsp, 0x20
pop r15
pop rdi
pop rsi
ret

Function at 0x14041ff70
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
mov r10, rdx
mov r9, rcx
shr r10, 2
test r10, r10
je 0x14041ffac
nop
imul eax, dword [r9], 0xcc9e2d51
add r9, 4
rol eax, 0xf
imul ecx, eax, 0x1b873593
xor r8d, ecx
rol r8d, 0xd
add r8d, 0xfaddaf14
lea r8d, [r8 + r8*4]
sub r10, 1
jne 0x14041ff80
mov rax, rdx
xor ecx, ecx
and eax, 3
sub rax, 1
je 0x14041ffd8
sub rax, 1
je 0x14041ffce
cmp rax, 1
jne 0x14041fff0
movzx ecx, byte [r9 + 2]
shl ecx, 0x10
movzx eax, byte [r9 + 1]
shl eax, 8
xor ecx, eax
movzx eax, byte [r9]
xor eax, ecx
imul ecx, eax, 0xcc9e2d51
rol ecx, 0xf
imul eax, ecx, 0x1b873593
xor r8d, eax
xor r8d, edx
mov eax, r8d
shr eax, 0x10
xor eax, r8d
imul ecx, eax, 0x85ebca6b
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0xc2b2ae35
mov eax, ecx
shr eax, 0x10
xor eax, ecx
ret