joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14015f210
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
lea rbp, [rsp - 0x38]
sub rsp, 0x138
mov rbx, rdx
mov eax, 4
mov dword [rbp + 0x60], eax
mov dword [rbp + 0x58], eax
and dword [rbp + 0x50], 0
cmp qword [rdx + 0x18], 0xf
jbe 0x14015f23b
mov rdx, qword [rdx]
lea rax, [rbp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x60]
xor r8d, r8d
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [rbp + 0x68], eax
test eax, eax
jne 0x14015f271
mov eax, dword [rbp + 0x50]
add rsp, 0x138
pop rbx
pop rbp
ret
movabs rax, 0x51e63c4c552fcc8f
mov qword [rsp + 0x40], rax
movabs rax, 0xbb7efffe254563c
mov qword [rsp + 0x48], rax
movabs rax, 0xa9bbbf070e7fefef
mov qword [rsp + 0x50], rax
movabs rax, 0xb1bafdc54dea14d8
mov qword [rsp + 0x58], rax
movabs rax, 0xc2ba0a57910d1eb8
mov qword [rsp + 0x60], rax
movabs rax, 0x670a90a831ec5cea
mov qword [rsp + 0x68], rax
movabs rax, 0x533cfa9e6554dc13
mov qword [rsp + 0x70], rax
movabs rax, 0xfb79b95803fe49a7
mov qword [rsp + 0x78], rax
movabs rax, 0x2894483f3c48a9dd
mov qword [rbp - 0x80], rax
movabs rax, 0x6fd2839683127606
mov qword [rbp - 0x78], rax
movabs rax, 0xcddada752e109bcf
mov qword [rbp - 0x70], rax
movabs rax, 0xc3ce8eac2a8f66f8
mov qword [rbp - 0x68], rax
movabs rax, 0xe3df7f3bf07b3ec1
mov qword [rbp - 0x60], rax
movabs rax, 0x1a71b092488917ca
mov qword [rbp - 0x58], rax
movabs rax, 0x730688f117269933
mov qword [rbp - 0x50], rax
movabs rax, 0xfb79b95803fe34dc
mov qword [rbp - 0x48], rax
movdqa xmm0, xmmword [rsp + 0x40]
xorps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [rsp + 0x50]
xorps xmm1, xmmword [rbp - 0x70]
movdqa xmmword [rsp + 0x50], xmm1
movdqa xmm0, xmmword [rsp + 0x60]
xorps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rsp + 0x60], xmm0
movdqa xmm1, xmmword [rsp + 0x70]
xorps xmm1, xmmword [rbp - 0x50]
movdqa xmmword [rsp + 0x70], xmm1
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x28]
call fcn.140155ef0
movups xmm0, xmmword [rax]
movdqu xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x18]
call fcn.14015e888
movups xmm1, xmmword [rax]
movdqu xmmword [rsp + 0x30], xmm1
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 8]
call fcn.14015e888
movups xmm1, xmmword [rax]
movdqu xmmword [rsp + 0x30], xmm1
lea r9, [rbp + 0x68]
mov r8, rbx
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 8]
call fcn.14015fb70
nop
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.14015e834
lea rdx, [0x140f44bc0]
lea rcx, [rbp - 0x40]
call fcn.140cc0808
int3
Function at 0x14015f6cc
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x38
cmp qword [rdx + 0x18], 0xf
jbe 0x14015f6da
mov rdx, qword [rdx]
and qword [rsp + 0x28], 0
xor r9d, r9d
mov rcx, qword [rcx]
xor r8d, r8d
and qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
sete al
add rsp, 0x38
ret
Function at 0x140161f98
Capabilities:
Query service status

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rbx, rdx
xor ecx, ecx
xor edx, edx
lea r8d, [rdx + 1]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rdi, rax
test rax, rax
je 0x140161fed
cmp qword [rbx + 0x18], 0xf
jbe 0x140161fca
mov rbx, qword [rbx]
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rsi, rax
test rax, rax
jne 0x140161fff
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor al, al
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test ebx, ebx
je 0x140161fed
cmp dword [rsp + 0x24], 4
sete al
jmp 0x140161fef
Function at 0x140164a5c
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rbp
sub rsp, 0x150
mov rbx, rdx
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x140164ae9
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
jmp 0x140164adc
lea rcx, [rsp + 0x4c]
or rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x140164aa1
cmp qword [rbx + 0x18], 0xf
mov rcx, rbx
mov r8, qword [rbx + 0x10]
jbe 0x140164abb
mov rcx, qword [rbx]
cmp r8, rax
jne 0x140164ace
lea rdx, [rsp + 0x4c]
call fcn.140cfb640
test eax, eax
je 0x140164b42
lea rdx, [rsp + 0x20]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140164a98
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140164b1f
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140164b1a
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140164b8a
mov rcx, r8
call fcn.140cba258
and qword [rbx + 0x10], 0
xor al, al
mov byte [rbx], 0
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov rbx, qword [rsp + 0x160]
add rsp, 0x150
pop rbp
ret
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140164b81
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140164b7c
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140164b8a
mov rcx, r8
call fcn.140cba258
and qword [rbx + 0x10], 0
mov al, 1
jmp 0x140164b26
call fcn.140cd6fcc
int3
Function at 0x140164b90
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
sub rsp, 0x150
mov rbx, rdx
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140164c55
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
jmp 0x140164c48
lea rcx, [rsp + 0x4c]
or rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x140164bde
cmp qword [rbx + 0x18], 0xf
mov rcx, rbx
mov r8, qword [rbx + 0x10]
jbe 0x140164bf8
mov rcx, qword [rbx]
cmp r8, rax
jne 0x140164c3a
lea rdx, [rsp + 0x4c]
call fcn.140cfb640
test eax, eax
jne 0x140164c3a
mov r8d, dword [rsp + 0x28]
lea ecx, [rax + 1]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbp, rax
test rax, rax
je 0x140164c3a
mov edx, 9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140164bd5
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140164c8b
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140164c86
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140164cb0
mov rcx, r8
call fcn.140cba258
mov byte [rbx], 0
lea r11, [rsp + 0x150]
mov rbp, qword [r11 + 0x18]
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
and qword [rbx + 0x10], 0
mov rbx, qword [r11 + 0x10]
mov rsp, r11
pop rsi
ret
call fcn.140cd6fcc
int3

Function at 0x140164cb8
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
mov eax, 0x13b0
call fcn.140cbaf80
sub rsp, rax
mov ebx, r8d
mov edi, edx
call fcn.140cbcd3c
or r9d, 0xffffffff
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x13a4], r9d
mov edx, 1
mov r8d, 0x270
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x24], eax
inc rdx
cmp rdx, r8
jb 0x140164cf5
mov eax, 0x80000000
mov dword [rsp + 0x20], r8d
xor edi, eax
lea rcx, [rsp + 0x20]
xor ebx, eax
sub ebx, edi
cmp ebx, r9d
jne 0x140164d33
call fcn.140164dc8
mov ecx, eax
jmp 0x140164d6c
inc ebx
call fcn.140164dc8
mov ecx, eax
mov esi, ebx
imul rcx, rsi
cmp ecx, ebx
jae 0x140164d68
mov eax, ebx
xor edx, edx
neg eax
div ebx
mov ebx, edx
cmp ecx, edx
jae 0x140164d68
lea rcx, [rsp + 0x20]
call fcn.140164dc8
mov ecx, eax
imul rcx, rsi
cmp ecx, ebx
jb 0x140164d54
shr rcx, 0x20
lea r11, [rsp + 0x13b0]
mov rbx, qword [r11 + 0x10]
lea eax, [rdi + rcx]
mov rsi, qword [r11 + 0x18]
xor eax, 0x80000000
mov rsp, r11
pop rdi
ret
Function at 0x140164dc8
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
sub rsp, 0x20
mov r9d, 0x270
mov rbx, rcx
cmp dword [rcx], r9d
jne 0x140164e1b
lea r8, [rcx + 8]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x140164de0
jmp 0x140164e28
cmp dword [rcx], 0x4e0
jb 0x140164e28
call fcn.140164e68
mov eax, dword [rbx]
mov edx, dword [rbx + rax*4 + 4]
inc eax
mov dword [rbx], eax
mov ecx, edx
mov eax, dword [rbx + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 0x20
pop rbx
ret

Function at 0x140164e68
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
lea r10, [rcx + 0x9c4]
mov r9, rcx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov edx, eax
add r10, 4
mov r11d, dword [r10]
xor edx, r11d
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140164e7f
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
mov eax, r11d
mov r8, r10
mov edx, eax
add r10, 4
mov r11d, dword [r10]
xor edx, r11d
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140164ecc
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and dword [r9], ebx
mov rbx, qword [rsp + 8]
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
shr edx, 1
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
ret

Function at 0x140167188
Capabilities:
Terminate thread

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [rcx + 0x10]
lea rdx, [rsp + 0x20]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rax, qword [rcx + 8]
mov rbx, rcx
or r9d, 0xffffffff
mov qword [rsp + 0x28], rax
lea ecx, [r8 + 2]
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
lock xadd dword [0x140fe4a40], eax
test eax, eax
je 0x1401671df
mov rcx, qword [rbx + 8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x140167200
mov rdx, qword [rbx + 8]
lea rcx, [fcn.140129520]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_QueueUserAPC]
mov rcx, qword [rbx + 8]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
add rsp, 0x30
pop rbx
ret
Function at 0x1401690bc
Capabilities:
Read file on windows

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 r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x1401690ea
xor eax, eax
jmp 0x1401691d0
cmp qword [rcx + 0x68], 0
je 0x1401690fb
call fcn.14016a7e0
jmp 0x1401691d0
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140169112
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140169114
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140169146
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.140cfb740
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x1401691ca
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x14016917d
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x1401691a6
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.140cccff4
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x1401691ca
cmp rsi, rbx
ja 0x140169184
test rsi, rsi
je 0x1401691ca
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.140cccff4
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x140169c54
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x1f0
mov bl, dl
mov rdi, rcx
mov eax, 1
lock xadd dword [0x140fe4a48], eax
inc eax
cmp eax, 1
jne 0x140169c95
mov ecx, 0x202
lea rdx, [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_WSAStartup]
xchg dword [0x140fe4a4c], eax
test bl, bl
je 0x140169d22
xor ebx, ebx
lock xadd dword [0x140fe4a4c], ebx
test ebx, ebx
je 0x140169d22
and dword [rsp + 0x3c], 0
lea rsi, [0x140f4d050]
movabs rcx, 0x4d54ee85da812030
add rcx, qword [0x140f4d058]
cmp rcx, 1
jbe 0x140169cdf
mov rax, qword [0x140f4d050]
mov edx, ebx
mov rcx, rsi
call qword [rax + 0x30]
jmp 0x140169ce1
mov al, 1
lea rcx, str.C:Users_sasazDocumentsGitHubwebloaderlibs_releasex64_windows_staticinclude_boost_asiodetailimplwinsock_init.ipp
movzx eax, al
add rax, 2
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x48], rax
lea rcx, str.void___cdecl_boost::asio::detail::winsock_init_base::throw_on_error_struct_boost::asio::detail::winsock_init_base::data__
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x30], 0x48
mov dword [rsp + 0x34], 0x1a
test al, 1
jne 0x140169d3a
lea r11, [rsp + 0x1f0]
mov rax, rdi
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
lea r8, [rsp + 0x20]
lea rdx, str.winsock
lea rcx, [rsp + 0x38]
call fcn.140166fc8
int3
Function at 0x140196440
Capabilities:
Encode data using xor
Hash data using sha1

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 r14
push r15
mov r13d, dword [rcx]
mov rbx, rdx
mov r10d, dword [rcx + 4]
mov esi, r13d
mov r9d, dword [rcx + 8]
mov r11, rcx
mov edi, dword [rcx + 0xc]
xor r8d, r8d
mov r14d, dword [rcx + 0x10]
mov eax, r9d
mov ecx, r10d
and eax, r10d
mov edx, esi
ror edx, 0x1b
not ecx
and ecx, edi
or eax, ecx
add eax, edx
add eax, dword [rbx + r8*4]
inc r8
add eax, r14d
mov r14d, edi
mov edi, r9d
mov r9d, r10d
shr r10d, 2
shl r9d, 0x1e
or r9d, r10d
mov r10d, esi
lea esi, [rax + 0x5a827999]
cmp r8, 0x10
jl 0x140196479
lea rbp, [rbx + 8]
mov r15d, 4
mov eax, dword [rbp + 0x2c]
mov edx, r10d
xor eax, dword [rbp + 0x18]
mov ecx, esi
xor eax, dword [rbp - 8]
not edx
xor eax, dword [rbp]
and edx, edi
mov r8d, eax
ror ecx, 0x1b
add eax, eax
shr r8d, 0x1f
or r8d, eax
mov eax, r9d
mov dword [rbp + 0x38], r8d
lea rbp, [rbp + 4]
and eax, r10d
or edx, eax
lea eax, [r8 + rcx]
add eax, edx
add eax, r14d
mov r14d, edi
mov edi, r9d
mov r9d, r10d
shr r10d, 2
shl r9d, 0x1e
or r9d, r10d
mov r10d, esi
lea esi, [rax + 0x5a827999]
sub r15, 1
jne 0x1401964c6
lea ebp, [r15 + 0x14]
mov r15d, ebp
lea r8, [rbx + 0x18]
mov eax, dword [r8 + 0x2c]
mov ecx, edi
xor eax, dword [r8 + 0x18]
xor ecx, r9d
xor eax, dword [r8 - 8]
xor ecx, r10d
xor eax, dword [r8]
lea r8, [r8 + 4]
mov edx, eax
add eax, eax
shr edx, 0x1f
or edx, eax
mov eax, esi
ror eax, 0x1b
add eax, edx
mov dword [r8 + 0x34], edx
add eax, ecx
add eax, r14d
mov r14d, edi
mov edi, r9d
mov r9d, r10d
shr r10d, 2
shl r9d, 0x1e
or r9d, r10d
mov r10d, esi
lea esi, [rax + 0x6ed9eba1]
sub r15, 1
jne 0x140196531
lea r15, [rbx + 0x68]
mov r12, rbp
mov eax, dword [r15 + 0x2c]
mov ecx, r9d
xor eax, dword [r15 + 0x18]
or ecx, r10d
xor eax, dword [r15 - 8]
and ecx, edi
xor eax, dword [r15]
mov edx, esi
mov r8d, eax
ror edx, 0x1b
add eax, eax
shr r8d, 0x1f
or r8d, eax
mov eax, r9d
mov dword [r15 + 0x38], r8d
lea r15, [r15 + 4]
and eax, r10d
or ecx, eax
lea eax, [r14 + rdx]
add ecx, r8d
add eax, 0x8f1bbcdc
add eax, ecx
mov r14d, edi
mov edi, r9d
mov r9d, r10d
shr r10d, 2
shl r9d, 0x1e
or r9d, r10d
mov r10d, esi
mov esi, eax
sub r12, 1
jne 0x14019658f
add rbx, 0xb8
mov eax, dword [rbx + 0x2c]
mov ecx, esi
xor eax, dword [rbx + 0x18]
xor eax, dword [rbx - 8]
xor eax, dword [rbx]
lea rbx, [rbx + 4]
mov edx, eax
ror ecx, 0x1b
add eax, eax
shr edx, 0x1f
or edx, eax
mov eax, edi
xor eax, r9d
mov dword [rbx + 0x34], edx
xor eax, r10d
add eax, edx
lea edx, [r14 + rcx]
add edx, 0xca62c1d6
mov r14d, edi
mov edi, r9d
add edx, eax
mov r9d, r10d
shr r10d, 2
shl r9d, 0x1e
or r9d, r10d
mov r10d, esi
mov esi, edx
sub rbp, 1
jne 0x1401965fb
add dword [r11 + 0xc], edi
lea eax, [rdx + r13]
add dword [r11 + 4], r10d
add dword [r11 + 8], r9d
add dword [r11 + 0x10], r14d
mov rbx, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov dword [r11], eax
pop r15
pop r14
pop r13
pop r12
ret
Function at 0x14019930c
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
xor ebp, ebp
mov rsi, r9
mov r14, rdx
mov rdi, rcx
mov ebx, ebp
cmp rcx, 0xffffffffffffffff
je 0x140199404
test r8b, r8b
je 0x140199375
mov al, byte [rdx]
test al, 8
je 0x140199375
or al, 8
mov dword [rsp + 0x70], ebp
mov byte [rdx], al
lea r9, [rsp + 0x70]
mov edx, 0xffff
mov dword [rsp + 0x20], 4
mov r8d, 0x80
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
lea rcx, [rsp + 0x30]
setne dl
call fcn.14019925c
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
mov rcx, rsi
mov ebx, eax
setne dl
call fcn.14019925c
test ebx, ebx
je 0x140199404
mov edx, 0x2733
lea rcx, [rsp + 0x30]
call fcn.140a86748
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140198d28
test al, al
jne 0x1401993d1
mov edx, 0x4d5
lea rcx, [rsp + 0x30]
call fcn.140a86748
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140198d28
test al, al
je 0x140199404
lea r8, [rsp + 0x70]
mov dword [rsp + 0x70], ebp
mov edx, 0x8004667e
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_ioctlsocket]
and byte [r14], 0xfc
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
mov rcx, rsi
mov ebx, eax
setne dl
call fcn.14019925c
lea r11, [rsp + 0x50]
mov eax, ebx
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x14019941c
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
cmp qword [rdx + 0x10], 1
mov rbx, rdx
mov rdi, rcx
je 0x140199438
mov r8d, dword [rdx]
jmp 0x14019946d
mov rcx, qword [rdx + 8]
movabs rax, 0x4800144005b3
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 0x14
imul rax, rax, 0x1ffff7
sub rcx, rax
imul r8d, ecx, 0x3e8
add r8d, dword [rbx]
sub r8d, 0x79
je 0x14019949d
sub r8d, 0x450
je 0x140199496
sub r8d, 6
je 0x14019948f
cmp r8d, 1
jne 0x1401994aa
mov edx, 0x2751
jmp 0x1401994a2
mov edx, 0x2743
jmp 0x1401994a2
mov edx, 0x274d
jmp 0x1401994a2
mov edx, 0x274c
mov rcx, rbx
call fcn.140a866bc
test byte [rbx + 0x10], 1
je 0x1401994bc
cmp qword [rbx + 0x10], 1
jne 0x1401994fa
cmp dword [rbx], 0
jne 0x1401994fa
cmp rdi, 0xffffffffffffffff
jne 0x1401994d1
mov edx, 0x2719
mov rcx, rbx
call fcn.140a866bc
jmp 0x1401994fa
and dword [rsp + 0x20], 0
xor r9d, r9d
mov edx, 0xffff
mov r8d, 0x7010
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
mov rcx, rbx
setne dl
call fcn.14019925c
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1401998f8
Capabilities:
Resolve dns

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
mov rbp, rsp
sub rsp, 0x50
mov r14, r9
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
test rdx, rdx
je 0x140199929
cmp byte [rdx], 0
jne 0x14019992b
xor edi, edi
test rbx, rbx
je 0x140199936
cmp byte [r8], 0
jne 0x140199938
xor ebx, ebx
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov r9, qword [rbp + 0x30]
mov r8, r14
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x140199aa3
sub eax, 8
je 0x140199a9c
sub eax, 0x271e
je 0x140199a8c
sub eax, 0x16
je 0x140199a85
sub eax, 3
je 0x140199a7e
sub eax, 0x3e
je 0x140199a1f
sub eax, 0x37c
je 0x140199a18
sub eax, 1
je 0x140199a05
cmp eax, 1
je 0x1401999fe
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
and dword [rbp - 0x2c], 0
lea rbx, [0x140f4d050]
movabs rdx, 0x4d54ee85da812030
mov edi, eax
add rdx, qword [0x140f4d058]
mov eax, 1
cmp rdx, rax
jbe 0x1401999e2
mov rcx, qword [0x140f4d050]
mov edx, edi
mov r8, qword [rcx + 0x30]
mov rcx, rbx
call r8
jmp 0x1401999e7
test edi, edi
setne al
movzx eax, al
add rax, 2
mov dword [rbp - 0x30], edi
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x28], rbx
jmp 0x140199aaf
mov edx, 0x2afb
jmp 0x140199a0a
mov edx, 0x2afa
lea rcx, [rbp - 0x30]
call fcn.140a86748
jmp 0x140199aaf
mov edx, 0x2af9
jmp 0x140199a0a
mov edi, 0x277d
mov rcx, qword [0x140f4d058]
lea rbx, [0x140f4d050]
and dword [rbp - 0x14], 0
movabs rdx, 0x4d54ee85da812030
add rcx, rdx
mov eax, 1
cmp rcx, rax
jbe 0x140199a5c
mov rax, qword [0x140f4d050]
mov edx, edi
mov rcx, rbx
call qword [rax + 0x30]
movzx eax, al
add rax, 2
mov dword [rbp - 0x18], edi
mov qword [rbp - 8], rax
movsd xmm1, qword [rbp - 8]
mov qword [rbp - 0x10], rbx
movups xmm0, xmmword [rbp - 0x18]
movsd qword [rbp - 0x20], xmm1
jmp 0x140199aab
mov edx, 0x273f
jmp 0x140199a91
mov edi, 0x273c
jmp 0x140199a24
mov edx, 0x2726
lea rcx, [rbp - 0x30]
call fcn.140a86748
jmp 0x140199aaf
mov edx, reloc.WS2_32.dll_ntohl
jmp 0x140199a91
and qword [rbp - 0x20], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov rax, qword [rbp + 0x38]
movups xmm1, xmmword [rbp - 0x30]
mov rbx, qword [rsp + 0x60]
movsd xmm0, qword [rbp - 0x20]
mov rdi, qword [rsp + 0x70]
mov r14, qword [rsp + 0x78]
movups xmmword [rax], xmm1
movups xmmword [rsi], xmm1
movsd qword [rax + 0x10], xmm0
mov rax, rsi
movsd qword [rsi + 0x10], xmm0
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret
Function at 0x14019b808
Capabilities:
Send data
Send data on socket

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rcx, qword [rcx + 8]
lea rax, [rbp + 0x10]
xor edx, edx
mov qword [rbp - 0x28], rax
mov qword [rsp + 0x30], rdx
lea r9, [rbp + 0x18]
mov qword [rsp + 0x28], rdx
xorps xmm0, xmm0
mov byte [rbp + 0x10], dl
lea r8d, [rdx + 1]
mov qword [rbp - 0x10], rdx
mov dword [rbp + 0x18], edx
mov dword [rsp + 0x20], edx
lea rdx, [rbp - 0x30]
mov dword [rbp - 0x30], 1
movups xmmword [rbp - 0x20], xmm0
call qword [sym.imp.WS2_32.dll_WSASend]
mov dl, 1
lea rcx, [rbp - 0x20]
call fcn.14019925c
cmp qword [rbp - 0x10], 1
movabs r9, 0x4800144005b3
mov r8, qword [rbp - 0x18]
je 0x14019b87e
mov ecx, dword [rbp - 0x20]
mov eax, ecx
jmp 0x14019b8ac
mov rax, r9
mov rcx, r8
mul r8
mov rax, r8
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 0x14
imul rax, rax, 0x1ffff7
sub rcx, rax
imul eax, ecx, 0x3e8
mov ecx, dword [rbp - 0x20]
add eax, ecx
cmp eax, 0x40
jne 0x14019b8b8
mov edx, 0x2746
jmp 0x14019b8f5
cmp qword [rbp - 0x10], 1
jne 0x14019b8e8
mov rax, r9
mul r8
mov rax, r8
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 0x14
imul rax, rax, 0x1ffff7
sub r8, rax
imul eax, r8d, 0x3e8
add ecx, eax
cmp ecx, 0x4d2
jne 0x14019b8fe
mov edx, 0x274d
lea rcx, [rbp - 0x20]
call fcn.140a866bc
add rsp, 0x70
pop rbp
ret