joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c5da0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x5b8
mov rax, qword [0x140298e80]
xor rax, rsp
mov qword [rsp + 0x5a0], rax
lea rax, str.cheatengine_x86_64.exe
mov qword [rsp + 0x570], rax
lea rax, str.ollydbg.exe
mov qword [rsp + 0x578], rax
lea rax, str.ida.exe
mov qword [rsp + 0x580], rax
lea rax, str.ida64.exe
mov qword [rsp + 0x588], rax
lea rax, str.radare2.exe
mov qword [rsp + 0x590], rax
lea rax, str.x64dbg.exe
mov qword [rsp + 0x598], rax
mov dword [rsp + 0x330], 0x238
lea rax, [rsp + 0x334]
mov rdi, rax
xor eax, eax
mov ecx, 0x234
rep stosb byte [rdi], al
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x30], rax
mov dword [rsp + 0xd0], 0x238
lea rax, [rsp + 0xd4]
mov rdi, rax
xor eax, eax
mov ecx, 0x234
rep stosb byte [rdi], al
lea rax, [rsp + 0x330]
lea rcx, [rsp + 0xd0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x238
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x330]
mov rcx, qword [rsp + 0x30]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x1400c5ea9
lea rcx, str._Warning__It_is_impossible_to_check_process_list.
call fcn.1400c64e0
jmp 0x1400c5fea
lea rax, [rsp + 0x570]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
add rax, 0x30
mov qword [rsp + 0x40], rax
jmp 0x1400c5ede
mov rax, qword [rsp + 0x28]
add rax, 8
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x40]
cmp qword [rsp + 0x28], rax
je 0x1400c5fd0
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x35c]
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x1400c5fcb
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x20]
call fcn.1400c4fc0
mov rcx, rax
call fcn.1400c4d90
mov rdx, rax
lea rcx, [rsp + 0x310]
call fcn.14000e2e0
nop
lea rax, [rsp + 0x88]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x310]
mov rcx, qword [rsp + 0x58]
call fcn.14000e240
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
lea rcx, [0x1402b6d90]
call fcn.140187560
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x68], rax
lea rdx, [0x140206de3]
mov rcx, qword [rsp + 0x68]
call fcn.14000e2e0
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x70]
lea rcx, [0x1402b6d90]
call fcn.140180db0
mov ecx, 0x1009
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
lea rcx, [rsp + 0x310]
call fcn.14000fe40
nop
jmp 0x1400c5ed0
lea rdx, [rsp + 0x330]
mov rcx, qword [rsp + 0x30]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1400c5ea9
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x5a0]
xor rcx, rsp
call fcn.1401dae20
add rsp, 0x5b8
pop rdi
pop rsi
ret
Function at 0x1400cc660
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x288
mov rax, qword [0x140298e80]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov qword [rsp + 0x20], 0
mov edx, 0x238
lea rcx, [rsp + 0x30]
call fcn.1400c20e0
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0xffffffffffffffff
jne 0x1400cc6c2
lea rcx, [0x14020a4d8]
call fcn.1400cc400
xor eax, eax
jmp 0x1400cc76a
mov dword [rsp + 0x30], 0x238
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x1400cc6f8
lea rcx, str.Process32First
call fcn.1400cc400
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1400cc76a
mov rdx, qword [rsp + 0x290]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x1400cc720
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x38]
jmp 0x1400cc76a
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x1400cc75d
mov rdx, qword [rsp + 0x290]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x1400cc75b
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x38]
jmp 0x1400cc76a
jmp 0x1400cc720
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1401dae20
add rsp, 0x288
ret

Function at 0x1400e6830
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x140298e80]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov edx, 8
lea rcx, [rsp + 0x40]
call fcn.14011c430
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x40]
call fcn.1400f56c0
nop
lea rax, [0x1400e17a0]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
add rax, 8
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x40]
call fcn.14000ab90
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x38]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rsp + 0x60]
mov qword [rcx], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax], 0
je 0x1400e68d3
lea rcx, [rsp + 0x40]
call fcn.140133820
jmp 0x1400e68ea
mov rax, qword [rsp + 0x60]
mov dword [rax + 8], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
lea rcx, [rsp + 0x40]
call fcn.1400ff250
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401dae20
add rsp, 0x58
ret
Function at 0x1400e6910
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x140298e80]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov edx, 8
lea rcx, [rsp + 0x40]
call fcn.14011c430
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x40]
call fcn.1400f56c0
nop
lea rax, [0x1400e1830]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
add rax, 8
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x40]
call fcn.14000ab90
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x38]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rsp + 0x60]
mov qword [rcx], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax], 0
je 0x1400e69b3
lea rcx, [rsp + 0x40]
call fcn.140133820
jmp 0x1400e69ca
mov rax, qword [rsp + 0x60]
mov dword [rax + 8], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
lea rcx, [rsp + 0x40]
call fcn.1400ff250
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401dae20
add rsp, 0x58
ret

Function at 0x1400e69f0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x140298e80]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov edx, 8
lea rcx, [rsp + 0x40]
call fcn.14011c430
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x40]
call fcn.1400f56c0
nop
lea rax, [0x1400e18c0]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
add rax, 8
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x40]
call fcn.14000ab90
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x38]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rsp + 0x60]
mov qword [rcx], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax], 0
je 0x1400e6a93
lea rcx, [rsp + 0x40]
call fcn.140133820
jmp 0x1400e6aaa
mov rax, qword [rsp + 0x60]
mov dword [rax + 8], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
lea rcx, [rsp + 0x40]
call fcn.1400ff250
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401dae20
add rsp, 0x58
ret
Function at 0x1400e6ad0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x140298e80]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov edx, 8
lea rcx, [rsp + 0x40]
call fcn.14011c430
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x40]
call fcn.1400f56c0
nop
lea rax, [0x1400e1950]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
add rax, 8
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x40]
call fcn.14000ab90
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x38]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rsp + 0x60]
mov qword [rcx], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax], 0
je 0x1400e6b73
lea rcx, [rsp + 0x40]
call fcn.140133820
jmp 0x1400e6b8a
mov rax, qword [rsp + 0x60]
mov dword [rax + 8], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
lea rcx, [rsp + 0x40]
call fcn.1400ff250
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401dae20
add rsp, 0x58
ret

Function at 0x1400e6bb0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x140298e80]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov edx, 8
lea rcx, [rsp + 0x40]
call fcn.14011c430
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x40]
call fcn.1400f56c0
nop
lea rax, [0x1400e19e0]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
add rax, 8
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x40]
call fcn.14000ab90
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x38]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rsp + 0x60]
mov qword [rcx], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax], 0
je 0x1400e6c53
lea rcx, [rsp + 0x40]
call fcn.140133820
jmp 0x1400e6c6a
mov rax, qword [rsp + 0x60]
mov dword [rax + 8], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
lea rcx, [rsp + 0x40]
call fcn.1400ff250
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401dae20
add rsp, 0x58
ret
Function at 0x1400e6c90
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x140298e80]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov edx, 8
lea rcx, [rsp + 0x40]
call fcn.14011c430
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x40]
call fcn.1400f56c0
nop
lea rax, [0x1400e1a70]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
add rax, 8
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x40]
call fcn.14000ab90
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x38]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rsp + 0x60]
mov qword [rcx], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax], 0
je 0x1400e6d33
lea rcx, [rsp + 0x40]
call fcn.140133820
jmp 0x1400e6d4a
mov rax, qword [rsp + 0x60]
mov dword [rax + 8], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
lea rcx, [rsp + 0x40]
call fcn.1400ff250
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401dae20
add rsp, 0x58
ret

Function at 0x1400e6d70
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x140298e80]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov edx, 8
lea rcx, [rsp + 0x40]
call fcn.14011c430
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x40]
call fcn.1400f56c0
nop
lea rax, [0x1400e1b00]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
add rax, 8
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x40]
call fcn.14000ab90
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x38]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rsp + 0x60]
mov qword [rcx], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax], 0
je 0x1400e6e13
lea rcx, [rsp + 0x40]
call fcn.140133820
jmp 0x1400e6e2a
mov rax, qword [rsp + 0x60]
mov dword [rax + 8], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
lea rcx, [rsp + 0x40]
call fcn.1400ff250
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401dae20
add rsp, 0x58
ret
Function at 0x1400e6e50
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x140298e80]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov edx, 8
lea rcx, [rsp + 0x40]
call fcn.14011c430
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x40]
call fcn.1400f56c0
nop
lea rax, [0x1400e1b90]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
add rax, 8
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x40]
call fcn.14000ab90
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x38]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rsp + 0x60]
mov qword [rcx], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax], 0
je 0x1400e6ef3
lea rcx, [rsp + 0x40]
call fcn.140133820
jmp 0x1400e6f0a
mov rax, qword [rsp + 0x60]
mov dword [rax + 8], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
lea rcx, [rsp + 0x40]
call fcn.1400ff250
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401dae20
add rsp, 0x58
ret
Function at 0x1400fd800
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x1d8
mov rax, qword [0x140298e80]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov rax, qword [rsp + 0x1e0]
mov byte [rax], 0
lea rdx, [rsp + 0x20]
mov cx, 2
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1400fd847
mov rax, qword [rsp + 0x1e0]
mov byte [rax], 1
mov rax, qword [rsp + 0x1e0]
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1401dae20
add rsp, 0x1d8
ret

Function at 0x140104b40
Capabilities:
Connect socket
Set socket configuration

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x140298e80]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax]
call fcn.140019610
movzx eax, al
mov dl, 1
mov rcx, qword [rsp + 0x78]
call fcn.140137570
mov rax, qword [rsp + 0x80]
mov r8d, dword [rax + 0x10]
mov rax, qword [rsp + 0x80]
mov rdx, qword [rax + 0x20]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.WS2_32.dll_connect]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x140104c10
call fcn.14012fcd0
movzx eax, al
test eax, eax
je 0x140104bce
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 8]
mov dword [rax], 2
xor al, al
jmp 0x140104ce7
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x18]
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 0x10]
mov r8, qword [rax]
mov rdx, qword [rcx]
mov rcx, qword [rsp + 0x78]
call fcn.14013c950
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 8]
mov dword [rcx], eax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 8]
cmp dword [rax], 0
je 0x140104c10
xor al, al
jmp 0x140104ce7
xor edx, edx
mov rcx, qword [rsp + 0x78]
call fcn.140137570
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x20]
imul rax, qword [rax], 0x3e8
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 0x28]
mov rax, qword [rcx]
cqo
mov ecx, 0x3e8
idiv rcx
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x48]
mov r8d, 0x1006
mov edx, 0xffff
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x30]
imul rax, qword [rax], 0x3e8
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 0x38]
mov rax, qword [rcx]
cqo
mov ecx, 0x3e8
idiv rcx
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov dword [rsp + 0x4c], eax
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x4c]
mov r8d, 0x1005
mov edx, 0xffff
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 8]
mov dword [rax], 0
mov al, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1401dae20
add rsp, 0x68
ret
Function at 0x140104d30
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x18]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 0x10]
mov rdx, qword [rsp + 0x40]
mov rdx, qword [rdx + 8]
mov r8, qword [rsp + 0x40]
mov r8, qword [r8]
mov qword [rsp + 0x20], r8
mov r9d, dword [rax]
mov r8d, dword [rcx]
mov rdx, qword [rdx]
mov rax, qword [rsp + 0x20]
mov rcx, qword [rax]
call qword [sym.imp.WS2_32.dll_recv]
add rsp, 0x38
ret

Function at 0x140104d80
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov rax, qword [rax]
inc rax
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 0x10]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rcx + 8]
mov ecx, eax
call qword [sym.imp.WS2_32.dll_select]
add rsp, 0x38
ret

Function at 0x140104dd0
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov rax, qword [rax]
inc rax
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 0x10]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov rcx, qword [rsp + 0x40]
mov r8, qword [rcx + 8]
xor edx, edx
mov ecx, eax
call qword [sym.imp.WS2_32.dll_select]
add rsp, 0x38
ret

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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x18]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 0x10]
mov rdx, qword [rsp + 0x40]
mov rdx, qword [rdx + 8]
mov r8, qword [rsp + 0x40]
mov r8, qword [r8]
mov qword [rsp + 0x20], r8
mov r9d, dword [rax]
mov r8d, dword [rcx]
mov rdx, qword [rdx]
mov rax, qword [rsp + 0x20]
mov rcx, qword [rax]
call qword [sym.imp.WS2_32.dll_send]
add rsp, 0x38
ret

Function at 0x140104fe0
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov rax, qword [rax]
inc rax
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 0x20]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x40]
mov r9, qword [rcx + 0x18]
mov rcx, qword [rsp + 0x40]
mov r8, qword [rcx + 0x10]
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rcx + 8]
mov ecx, eax
call qword [sym.imp.WS2_32.dll_select]
add rsp, 0x38
ret
Function at 0x1401235b0
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x1e8
mov rax, qword [0x140298e80]
xor rax, rsp
mov qword [rsp + 0x1d8], rax
call fcn.140011640
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 5
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x140123840
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x30]
call fcn.1401050c0
mov rcx, rax
call fcn.1401257d0
mov qword [rsp + 0x48], rax
call fcn.140011640
mov rdx, rax
lea rcx, [rsp + 0xe0]
call fcn.14000e2e0
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x1b8]
call fcn.14001d8c0
nop
lea rcx, [rsp + 0xe0]
call fcn.14000fe40
call fcn.140011640
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x118]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x1b8]
mov rcx, qword [rsp + 0x58]
call fcn.14000e240
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
call fcn.14002ebd0
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0x31]
call fcn.140105ea0
mov rcx, rax
call fcn.1401255d0
mov r8, rax
lea rdx, [rsp + 0x1b8]
lea rcx, [rsp + 0x198]
call fcn.1400d0210
nop
call fcn.140011640
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x138]
mov qword [rsp + 0x78], rax
lea rdx, [rsp + 0x198]
mov rcx, qword [rsp + 0x78]
call fcn.14000e240
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x90]
call fcn.14002ec50
movzx eax, al
test eax, eax
je 0x1401237c5
call fcn.140011640
mov byte [rax + 0x480], 0
call fcn.140011640
mov byte [rax + 0x481], 0
call fcn.140011640
mov qword [rsp + 0xb0], rax
lea rax, [rsp + 0x158]
mov qword [rsp + 0x98], rax
lea rdx, [rsp + 0x198]
mov rcx, qword [rsp + 0x98]
call fcn.14000e240
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xa8], rax
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xb0]
call fcn.14002eca0
mov byte [0x1402b7e5c], 1
jmp 0x140123825
call fcn.140011640
mov qword [rsp + 0xd0], rax
lea rax, [rsp + 0x178]
mov qword [rsp + 0xb8], rax
lea rdx, [rsp + 0x198]
mov rcx, qword [rsp + 0xb8]
call fcn.14000e240
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0xc8], rax
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xd0]
call fcn.14003b040
nop
lea rcx, [rsp + 0x198]
call fcn.14000fe40
nop
lea rcx, [rsp + 0x1b8]
call fcn.14000fe40
mov rcx, qword [rsp + 0x1d8]
xor rcx, rsp
call fcn.1401dae20
add rsp, 0x1e8
ret
Function at 0x14012beb0
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x470
mov rax, qword [0x140298e80]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov rax, qword [rsp + 0x480]
movzx eax, word [rax]
cmp eax, 2
jne 0x14012bf0e
mov rax, qword [rsp + 0x480]
movzx ecx, word [rax + 2]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
mov rcx, qword [rsp + 0x498]
mov dword [rcx], eax
jmp 0x14012bf46
mov rax, qword [rsp + 0x480]
movzx eax, word [rax]
cmp eax, 0x17
jne 0x14012bf3f
mov rax, qword [rsp + 0x480]
movzx ecx, word [rax + 2]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
mov rcx, qword [rsp + 0x498]
mov dword [rcx], eax
jmp 0x14012bf46
xor al, al
jmp 0x14012bfd0
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0x401
rep stosb byte [rdi], al
lea rcx, [rsp + 0x50]
call fcn.140137e10
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x50]
call fcn.1400092e0
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
mov edx, dword [rsp + 0x488]
mov rcx, qword [rsp + 0x480]
call qword [sym.imp.WS2_32.dll_getnameinfo]
test eax, eax
je 0x14012bfb4
xor al, al
jmp 0x14012bfd0
lea rcx, [rsp + 0x50]
call fcn.1400092e0
mov rdx, rax
mov rcx, qword [rsp + 0x490]
call fcn.140010690
mov al, 1
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.1401dae20
add rsp, 0x470
pop rdi
ret
Function at 0x14012c3b0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov rax, qword [0x140298e80]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0x20], 0x80
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x14012c41a
mov r9, qword [rsp + 0xe0]
mov r8, qword [rsp + 0xd8]
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.14012beb0
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1401dae20
add rsp, 0xc8
ret

Function at 0x14012ec90
Capabilities:
Hide thread from debugger

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
lea rcx, [0x140210110]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.NtSetInformationThread
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14012ecc7
xor al, al
jmp 0x14012ed28
cmp qword [rsp + 0x50], 0
jne 0x14012ecf7
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor r9d, r9d
xor r8d, r8d
mov edx, reloc.WS2_32.dll_recvfrom
mov rcx, rax
call qword [rsp + Ordinal_50]
mov dword [rsp + 0x20], eax
jmp 0x14012ed19
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
xor r9d, r9d
xor r8d, r8d
mov edx, reloc.WS2_32.dll_recvfrom
mov rcx, qword [rsp + 0x50]
call qword [rsp + gethostname]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14012ed26
xor al, al
jmp 0x14012ed28
mov al, 1
add rsp, 0x48
ret