joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800721b0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x180115b20]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor r9d, r9d
mov rsi, rdx
mov rbp, rcx
lea edx, [r9 + 1]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rdi, rax
mov qword [rsi + 8], rax
test rax, rax
jne 0x180072225
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [rsi]
lea edx, [rdi + 1]
mov rcx, rsi
mov ebx, eax
call qword [r8]
xor eax, eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x38], rax
call fcn.1800acbf0
mov qword [rsp + 0x38], rax
test ebx, ebx
jne 0x180072334
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbp + 0x10], rax
mov qword [rsi + 0x10], rax
cmp qword [rbp + 0x10], 0
jne 0x18007227e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [rsi]
mov edx, 1
mov rcx, rsi
mov ebx, eax
call qword [r8]
xor eax, eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x38], rax
call fcn.1800acbf0
mov qword [rsp + 0x38], rax
test ebx, ebx
jne 0x180072346
xor ecx, ecx
lea rax, [rsp + 0x40]
lea r8, [0x180072370]
mov qword [rsp + 0x28], rax
mov r9, rsi
xor edx, edx
mov dword [rsp + 0x20], ecx
mov dword [rsp + 0x40], ecx
call fcn.18008ce78
mov qword [rbp + 8], rax
test rax, rax
jne 0x1800722fd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [rsi]
mov edx, 1
mov rcx, rsi
mov ebx, eax
call qword [r8]
test rdi, rdi
je 0x1800722d0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x1800722df
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x38], rax
call fcn.1800acbf0
mov qword [rsp + 0x38], rax
test ebx, ebx
jne 0x180072358
test rdi, rdi
je 0x180072317
or edx, 0xffffffff
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180089270
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
lea rdx, str.thread.entry_event
lea rcx, [rsp + 0x30]
call fcn.180071be0
int3
lea rdx, str.thread.exit_event
lea rcx, [rsp + 0x30]
call fcn.180071be0
int3
lea rdx, str.thread
lea rcx, [rsp + 0x30]
call fcn.180071be0
int3
Function at 0x180072830
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x60
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x180115b20]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, rdx
mov rdi, rcx
xor ebx, ebx
mov eax, ebx
lock xadd dword [rcx + 0x30], eax
test eax, eax
jne 0x18007288c
call fcn.180072940
mov dword [rsp + 0x20], ebx
call fcn.1800acbf0
mov qword [rsp + 0x28], rax
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rsi], xmm0
xor eax, eax
jmp 0x180072921
mov qword [rsp + 0x38], rbx
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x40], rcx
lea rax, [rsp + 0x38]
mov qword [rsp + 0x48], rax
mov ecx, dword [0x180125d40]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x40]
mov ecx, dword [0x180125d40]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov r8, rsi
mov rcx, rdi
call fcn.180072ad0
test rax, rax
je 0x1800728fd
cmp rbx, 0xffffffffffffffff
je 0x1800728ed
inc rbx
mov r8, rsi
mov rcx, rdi
call fcn.180072ad0
test rax, rax
jne 0x1800728e4
mov rdx, qword [rsp + 0x50]
mov ecx, dword [0x180125d40]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x18007291e
call fcn.180089498
mov rax, rbx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180089270
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x180072f60
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x180115b20]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor r15d, r15d
mov rdi, r9
mov rbp, rdx
mov r14, rcx
mov esi, r15d
cmp rcx, 0xffffffffffffffff
je 0x18007309d
test r8b, r8b
je 0x180072fef
test byte [rdx], 8
je 0x180072fef
mov dword [rsp + 0x40], r15d
call fcn.1800acbf0
or byte [rbp], 8
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
lea r9, [rsp + 0x40]
mov edx, 0xffff
mov r8d, 0x80
mov rcx, r14
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
mov ebx, eax
call fcn.1800acbf0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test ebx, ebx
jne 0x180072fef
call fcn.1800acbf0
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rcx, r14
call qword [sym.imp.WS2_32.dll_closesocket]
mov esi, eax
call fcn.1800acbf0
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], eax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
test esi, esi
je 0x18007309d
call fcn.1800acbf0
cmp qword [rdi + 8], rax
jne 0x180073038
cmp dword [rdi], 0x2733
je 0x18007304b
call fcn.1800acbf0
cmp qword [rdi + 8], rax
jne 0x180073099
cmp dword [rdi], 0x4d5
jne 0x180073099
lea r8, [rsp + 0x40]
mov edx, 0x8004667e
mov rcx, r14
mov dword [rsp + 0x40], r15d
call qword [sym.imp.WS2_32.dll_ioctlsocket]
and byte [rbp], 0xfc
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rcx, r14
call qword [sym.imp.WS2_32.dll_closesocket]
mov esi, eax
call fcn.1800acbf0
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], eax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
test esi, esi
jne 0x1800730b4
mov dword [rsp + 0x30], r15d
call fcn.1800acbf0
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
mov eax, esi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180089270
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800730e0
Capabilities:
Connect socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, r9
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
cmp rcx, 0xffffffffffffffff
jne 0x180073124
mov dword [rsp + 0x20], 0x2719
call fcn.1800acbf0
mov qword [rsp + 0x28], rax
or eax, ebx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdi], xmm0
jmp 0x180073178
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov r8d, esi
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_connect]
mov esi, eax
call fcn.1800acbf0
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], eax
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdi], xmm0
test esi, esi
jne 0x180073176
mov dword [rsp + 0x20], esi
call fcn.1800acbf0
mov qword [rsp + 0x28], rax
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdi], xmm0
mov eax, esi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x180115b20]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r14, qword [rsp + 0xb0]
mov rbx, rcx
xor ecx, ecx
mov rsi, r8
mov rdi, rdx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
xor ebp, ebp
lea rax, [rsp + 0x54]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x30], rbp
mov r8d, esi
mov rdx, rdi
mov rcx, rbx
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x50], ebp
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x54], ebp
call qword [sym.imp.WS2_32.dll_WSARecv]
mov edi, eax
call fcn.1800acbf0
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x40], eax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [r14], xmm0
mov ecx, dword [r14]
cmp ecx, 0x40
jne 0x180073369
mov dword [rsp + 0x40], 0x2746
jmp 0x180073379
cmp ecx, 0x4d2
jne 0x18007338c
mov dword [rsp + 0x40], 0x274d
call fcn.1800acbf0
mov qword [rsp + 0x48], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [r14], xmm0
test edi, edi
je 0x180073395
or eax, 0xffffffff
jmp 0x1800733b0
mov dword [rsp + 0x40], ebp
call fcn.1800acbf0
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x50]
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [r14], xmm0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180089270
add rsp, 0x60
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180073500
Capabilities:
Send data
Send data on socket

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x180115b20]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r14, qword [rsp + 0xb0]
mov rbx, rcx
xor ecx, ecx
mov rsi, r8
mov rdi, rdx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
xor ebp, ebp
lea r9, [rsp + 0x50]
mov r8d, esi
mov qword [rsp + 0x30], rbp
mov rdx, rdi
mov rcx, rbx
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], ebp
mov dword [rsp + 0x50], ebp
call qword [sym.imp.WS2_32.dll_WSASend]
mov edi, eax
call fcn.1800acbf0
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x40], eax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [r14], xmm0
mov ecx, dword [r14]
cmp ecx, 0x40
jne 0x18007358f
mov dword [rsp + 0x40], 0x2746
jmp 0x18007359f
cmp ecx, 0x4d2
jne 0x1800735b2
mov dword [rsp + 0x40], 0x274d
call fcn.1800acbf0
mov qword [rsp + 0x48], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [r14], xmm0
test edi, edi
je 0x1800735bb
or eax, 0xffffffff
jmp 0x1800735d6
mov dword [rsp + 0x40], ebp
call fcn.1800acbf0
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x50]
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [r14], xmm0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180089270
add rsp, 0x60
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x180073700
Capabilities:
Set socket configuration

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x58
mov rax, qword [0x180115b20]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov esi, ecx
xor ecx, ecx
mov rbp, r9
mov edi, r8d
mov ebx, edx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
xor r9d, r9d
mov r8d, edi
mov edx, ebx
mov ecx, esi
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov rdi, rax
call fcn.1800acbf0
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], eax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbp], xmm0
cmp rdi, 0xffffffffffffffff
jne 0x180073778
or rax, rdi
jmp 0x1800737c0
cmp esi, 0x17
jne 0x1800737a2
lea r9, [rsp + 0x40]
lea edx, [rsi + 0x12]
lea r8d, [rsi + 4]
mov rcx, rdi
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
mov dword [rsp + 0x30], 0
call fcn.1800acbf0
mov qword [rsp + 0x38], rax
mov rax, rdi
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbp], xmm0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180089270
add rsp, 0x58
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1800737e0
Capabilities:
Get socket status

Disassembly:
push rbx
push rdi
sub rsp, 0x278
mov rax, qword [0x180115b20]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, r8
mov rbx, rcx
cmp rcx, 0xffffffffffffffff
jne 0x180073829
mov dword [rsp + 0x30], 0x2719
call fcn.1800acbf0
mov qword [rsp + 0x38], rax
or eax, ebx
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
jmp 0x1800738bd
mov qword [rsp + 0x298], rbp
mov qword [rsp + 0x58], rcx
xor ebp, ebp
xor ecx, ecx
mov qword [rsp + 0x270], rsi
mov dword [rsp + 0x50], 1
mov qword [rsp + 0x40], rbp
call qword [sym.imp.WS2_32.dll_WSASetLastError]
lea ecx, [rbx + 1]
lea rdx, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rbp
call qword [sym.imp.WS2_32.dll_select]
mov esi, eax
call fcn.1800acbf0
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], eax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
test esi, esi
je 0x180073895
jle 0x1800738ab
mov dword [rsp + 0x30], ebp
call fcn.1800acbf0
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
mov rbp, qword [rsp + 0x298]
mov eax, esi
mov rsi, qword [rsp + 0x270]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.180089270
add rsp, 0x278
pop rdi
pop rbx
ret

Function at 0x1800738e0
Capabilities:
Get socket status

Disassembly:
push rbx
push rdi
sub rsp, 0x278
mov rax, qword [0x180115b20]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, r8
mov rbx, rcx
cmp rcx, 0xffffffffffffffff
jne 0x180073929
mov dword [rsp + 0x30], 0x2719
call fcn.1800acbf0
mov qword [rsp + 0x38], rax
or eax, ebx
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
jmp 0x1800739bc
mov qword [rsp + 0x298], rbp
mov qword [rsp + 0x58], rcx
xor ebp, ebp
xor ecx, ecx
mov qword [rsp + 0x270], rsi
mov dword [rsp + 0x50], 1
mov qword [rsp + 0x40], rbp
call qword [sym.imp.WS2_32.dll_WSASetLastError]
lea ecx, [rbx + 1]
lea r8, [rsp + 0x50]
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x20], rbp
call qword [sym.imp.WS2_32.dll_select]
mov esi, eax
call fcn.1800acbf0
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], eax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
test esi, esi
je 0x180073994
jle 0x1800739aa
mov dword [rsp + 0x30], ebp
call fcn.1800acbf0
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
mov rbp, qword [rsp + 0x298]
mov eax, esi
mov rsi, qword [rsp + 0x270]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.180089270
add rsp, 0x278
pop rdi
pop rbx
ret
Function at 0x1800739e0
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x470
mov rax, qword [0x180115b20]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov rdi, rdx
mov rbx, rcx
cmp rcx, 0xffffffffffffffff
jne 0x180073a2c
mov dword [rsp + 0x30], 0x2719
call fcn.1800acbf0
mov qword [rsp + 0x38], rax
or eax, ebx
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
jmp 0x180073ac6
mov qword [rsp + 0x258], rcx
mov qword [rsp + 0x48], rcx
xor ecx, ecx
mov qword [rsp + 0x490], rsi
mov dword [rsp + 0x250], 1
mov dword [rsp + 0x40], 1
call qword [sym.imp.WS2_32.dll_WSASetLastError]
lea ecx, [rbx + 1]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x250]
xor edx, edx
mov qword [rsp + 0x20], 0
call qword [sym.imp.WS2_32.dll_select]
mov esi, eax
call fcn.1800acbf0
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], eax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
test esi, esi
js 0x180073abc
mov dword [rsp + 0x30], 0
call fcn.1800acbf0
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
mov eax, esi
mov rsi, qword [rsp + 0x490]
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.180089270
mov rbx, qword [rsp + 0x498]
add rsp, 0x470
pop rdi
ret

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

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x180115b20]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x40]
mov rbx, rcx
mov byte [rsp + 0x40], 0
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], 1
call fcn.1800acbf0
mov rbx, qword [rbx + 8]
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
xor eax, eax
lea r9, [rsp + 0x44]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x48]
lea r8d, [rax + 1]
mov rcx, rbx
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.WS2_32.dll_WSASend]
mov ebx, eax
call fcn.1800acbf0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x40
je 0x180073ce4
cmp eax, 0x4d2
jne 0x180073ce9
call fcn.1800acbf0
test ebx, ebx
jne 0x180073cf2
call fcn.1800acbf0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180089270
add rsp, 0x60
pop rbx
ret
Function at 0x180074710
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x180115b20]
xor rax, rsp
mov qword [rbp + 0x20], rax
xor eax, eax
lea r8, [0x180125ca0]
lea rcx, [rsp + 0x20]
lea edx, [rax + 0x1e]
mov r9d, 1
mov dword [rsp + 0x20], 0x68004c
mov dword [rsp + 0x24], 0x720072
mov dword [rsp + 0x28], 0x6f0068
mov dword [rsp + 0x2c], 0x210066
mov dword [rsp + 0x30], 0x60006c
mov dword [rsp + 0x34], 0x65006f
mov dword [rsp + 0x38], 0x750060
mov dword [rsp + 0x3c], 0x73006e
mov dword [rsp + 0x40], 0x210078
mov dword [rsp + 0x44], 0x640069
mov dword [rsp + 0x48], 0x650060
mov dword [rsp + 0x4c], 0x730064
mov dword [rsp + 0x50], 0x21003b
mov dword [rsp + 0x54], 0x300024
mov qword [rsp + 0x58], 0x10024
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rax
mov qword [rbp], rax
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rax
call fcn.18004a860
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.180089270
add rsp, 0x130
pop rbp
ret

Function at 0x180075d60
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x1e0
mov rax, qword [0x180115b20]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
movzx edi, dl
mov rbx, rcx
mov eax, 1
lock xadd dword [0x180125d28], eax
inc eax
cmp eax, 1
jne 0x180075dad
lea ecx, [rax + 1]
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
xchg dword [0x180125d2c], eax
test dil, dil
je 0x180075dc0
xor eax, eax
lock xadd dword [0x180125d2c], eax
test eax, eax
jne 0x180075de4
mov rax, rbx
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.180089270
mov rbx, qword [rsp + 0x1f0]
add rsp, 0x1e0
pop rdi
ret
xor ecx, ecx
mov qword [rsp + 0x20], rcx
mov dword [rsp + 0x20], eax
mov qword [rsp + 0x28], rcx
call fcn.1800acbf0
lea rdx, str.winsock
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x28], rax
call fcn.180071be0
int3
Function at 0x180077880
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x180115b20]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rsi, rdx
mov rbx, rcx
call fcn.1800acbf0
mov rbp, qword [rbx]
mov edi, dword [rsi + 4]
cmp rbp, 0xffffffffffffffff
jne 0x1800778bc
mov dword [rsp + 0x30], 0x2719
jmp 0x180077918
cmp edi, 0x80
jne 0x1800778c8
or byte [rbx + 8], 8
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov r9, rsi
mov r8d, edi
mov edx, 0xffff
mov rcx, rbp
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
mov edi, eax
call fcn.1800acbf0
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], eax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
test edi, edi
jne 0x18007792d
mov dword [rsp + 0x30], edi
call fcn.1800acbf0
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
cmp dword [rsp + 0x30], 0
jne 0x180077951
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180089270
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
lea rdx, str.set_option
lea rcx, [rsp + 0x30]
call fcn.180071be0
int3
Function at 0x18007bc30
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x180115b20]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbp, rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rdi, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
cmp rbp, 0x2000000
jbe 0x18007bc7d
lea rax, [rbp - 0x2000000]
cmp rdi, rax
cmovbe rdi, rax
mov r9, qword [0x180126fa8]
lea rax, [rbp + 0x2000000]
cmp rsi, rax
cmovae rsi, rax
mov rax, r9
test r9, r9
je 0x18007bcbd
nop word [rax + rax]
cmp rax, rdi
jb 0x18007bcb5
cmp rax, rsi
jae 0x18007bcb5
cmp qword [rax + 8], 0
jne 0x18007bd8b
mov rax, qword [rax]
test rax, rax
jne 0x18007bca0
and rbp, 0xfffffffffffff000
mov qword [rsp + 0x78], rbx
lea rbx, [rbp - 0x1000]
cmp rbx, rdi
jb 0x18007bd02
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
jne 0x18007bd40
sub rbx, 0x1000
cmp rbx, rdi
jae 0x18007bcd5
jmp 0x18007bd07
test rax, rax
jne 0x18007bd47
lea rbx, [rbp + 0x1000]
cmp rbx, rsi
jae 0x18007bd86
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
jne 0x18007bd40
add rbx, 0x1000
cmp rbx, rsi
jb 0x18007bd13
jmp 0x18007bd86
mov r9, qword [0x180126fa8]
xor ecx, ecx
lea rdx, [rax + 0x40]
mov r8, rdx
mov qword [rax + 8], rcx
mov dword [rax + 0x10], ecx
sub r8, rax
nop word [rax + rax]
mov rcx, qword [rax + 8]
add r8, 0x40
mov qword [rdx], rcx
mov qword [rax + 8], rdx
add rdx, 0x40
cmp r8, 0xfc0
jbe 0x18007bd60
mov qword [rax], r9
mov qword [0x180126fa8], rax
mov rbx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.180089270
lea r11, [rsp + 0x60]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140132b1c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
cmp eax, dword [rbx + 0x10]
jmp 0x140132f0c
lea rdx, [rsp + 0x48]
mov esi, dword [rbx + 0xc]
mov r9d, 0x40
cmovae eax, dword [rbx + 0x10]
Function at 0x1400017e0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x88
cmp byte [0x14009c478], 0
je 0x140001982
cmp byte [0x14009c330], 0
mov qword [rsp + 0x80], rbx
lea rbx, [rcx + 0x160]
jne 0x14000183a
mov rcx, rbx
call fcn.140012240
lea rcx, [rsp + 0x40]
lea rdx, [rax + 0x140]
call fcn.140012380
movss xmm0, dword [rsp + 0x44]
movss dword [0x14009c598], xmm0
mov byte [0x14009c330], 1
mov ecx, 0x20
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x14000185c
movss xmm0, dword [0x14009c598]
addss xmm0, dword [0x1400990c0]
jmp 0x14000187c
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x140001884
movss xmm0, dword [0x14009c598]
subss xmm0, dword [0x1400990c0]
movss dword [0x14009c598], xmm0
mov rcx, rbx
call fcn.140012240
lea rcx, [rsp + 0x20]
lea rdx, [rax + 0x140]
call fcn.140012380
mov rcx, rbx
call fcn.140012240
lea rcx, [rsp + 0x30]
lea rdx, [rax + 0x14c]
call fcn.140012380
movss xmm1, dword [rsp + 0x30]
xorps xmm3, xmm3
ucomiss xmm1, xmm3
movss xmm2, dword [0x1400990c0]
mulss xmm2, dword [0x14008bf74]
jp 0x1400018d6
je 0x1400018ea
movss xmm0, dword [rsp + 0x20]
mulss xmm1, xmm2
addss xmm0, xmm1
movss dword [rsp + 0x20], xmm0
movss xmm1, dword [rsp + 0x38]
ucomiss xmm1, xmm3
jp 0x1400018f7
je 0x14000190b
movss xmm0, dword [rsp + 0x28]
mulss xmm1, xmm2
addss xmm0, xmm1
movss dword [rsp + 0x28], xmm0
movsd xmm1, qword [rsp + 0x20]
mov rcx, rbx
movdqa xmm0, xmmword [0x14008c190]
movss xmm2, dword [0x14009c598]
mov eax, dword [rsp + 0x28]
shufps xmm1, xmm1, 0xe1
movss xmm1, xmm2
mov dword [rsp + 0x6c], 0x3f800000
shufps xmm1, xmm1, 0xe1
movsd qword [rsp + 0x20], xmm1
movsd qword [rsp + 0x70], xmm1
movups xmmword [rsp + 0x4c], xmm0
mov dword [rsp + 0x78], eax
movups xmmword [rsp + 0x5c], xmm0
call fcn.140012240
mov r8d, 0x30
lea rdx, [rsp + 0x4c]
lea rcx, [rax + 0x11c]
call fcn.14000a3c0
mov rbx, qword [rsp + 0x80]
add rsp, 0x88
ret
cmp byte [0x14009c330], 0
je 0x140001992
mov byte [0x14009c330], 0
add rcx, 0x160
call fcn.140012240
lea rcx, [rsp + 0x40]
lea rdx, [rax + 0x140]
call fcn.140012380
movss xmm0, dword [rsp + 0x44]
movss dword [0x14009c598], xmm0
add rsp, 0x88
ret