joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800075d0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x10]
cmp qword [rax + 0x18], 0
je 0x180007700
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x10]
cmp qword [rax + 0x20], 0
je 0x180007700
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x10]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x10]
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + 0x10]
mov rcx, qword [rcx + 0x28]
mov rax, qword [rax + 0x20]
sub rax, rcx
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + 0x10]
mov rcx, qword [rcx + 0x28]
mov rdx, qword [rsp + 0x48]
add rdx, rcx
mov rcx, rdx
xor r9d, r9d
mov r8d, eax
mov rdx, rcx
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call qword [sym.imp.WS2_32.dll_recv]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jle 0x1800076fe
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + 0x10]
add rax, qword [rcx + 0x28]
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + 0x10]
mov qword [rcx + 0x28], rax
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x10]
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + 0x10]
mov edx, dword [rsp + 0x34]
mov dword [rsp + 0x28], edx
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x20], rax
mov r9, qword [rcx + 0x20]
mov rax, qword [rsp + 0x68]
mov r8d, dword [rax]
lea rdx, str.READ___d_:_block_size___d___processed___d___currently_readed___d_
mov ecx, 1
call fcn.180004820
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x10]
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + 0x10]
mov rcx, qword [rcx + 0x20]
cmp qword [rax + 0x28], rcx
jne 0x1800076fe
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x10]
mov dword [rax + 0x34], 1
jmp 0x180007723
mov r9d, 2
mov r8d, 1
lea rdx, [rsp + 0x30]
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call qword [sym.imp.WS2_32.dll_recv]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x180007755
mov rax, qword [rsp + 0x68]
mov r8d, dword [rax]
lea rdx, str.READ___d_:_SHUTDOWN_signal_received
mov ecx, 1
call fcn.180004820
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x10]
mov dword [rax + 0x34], 2
jmp 0x18000779b
cmp dword [rsp + 0x34], 0
jge 0x18000779b
call fcn.18001e720
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x68]
mov eax, dword [rax]
mov dword [rsp + 0x40], eax
mov r9d, dword [rsp + 0x3c]
mov r8d, dword [rsp + 0x40]
lea rdx, str.READ___d_:_FAILURE__assuming_connection_problem___d_
mov ecx, 1
call fcn.180004820
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x10]
mov dword [rax + 0x34], 3
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x10]
cmp dword [rax + 0x34], 0
je 0x1800077b4
mov dword [rsp + 0x38], 1
jmp 0x1800077bc
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
add rsp, 0x58
ret
Function at 0x180007ab0
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x10]
cmp qword [rax + 0x18], 0
je 0x180007c21
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x10]
cmp qword [rax + 0x20], 0
je 0x180007c21
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x10]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x10]
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + 0x10]
mov rcx, qword [rcx + 0x28]
mov rax, qword [rax + 0x20]
sub rax, rcx
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + 0x10]
mov rcx, qword [rcx + 0x28]
mov rdx, qword [rsp + 0x40]
add rdx, rcx
mov rcx, rdx
xor r9d, r9d
mov r8d, eax
mov rdx, rcx
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call qword [sym.imp.WS2_32.dll_send]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jle 0x180007be0
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + 0x10]
add rax, qword [rcx + 0x28]
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + 0x10]
mov qword [rcx + 0x28], rax
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x10]
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + 0x10]
mov edx, dword [rsp + 0x30]
mov dword [rsp + 0x28], edx
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x20], rax
mov r9, qword [rcx + 0x20]
mov rax, qword [rsp + 0x68]
mov r8d, dword [rax]
lea rdx, str.WRITE___d_:_block_size___d___processed___d___currently_written___d_
mov ecx, reloc.WS2_32.dll_select
call fcn.180004820
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x10]
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + 0x10]
mov rcx, qword [rcx + 0x20]
cmp qword [rax + 0x28], rcx
jne 0x180007bde
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x10]
mov dword [rax + 0x34], 1
jmp 0x180007c1f
call fcn.18001e720
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x68]
mov eax, dword [rax]
mov dword [rsp + 0x3c], eax
mov r9d, dword [rsp + 0x38]
mov r8d, dword [rsp + 0x3c]
lea rdx, str.WRITE___d_:_FAILURE__assuming_connection_problem___d_
mov ecx, reloc.WS2_32.dll_select
call fcn.180004820
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x10]
mov dword [rax + 0x34], 3
jmp 0x180007c5d
mov rax, qword [rsp + 0x68]
mov r8d, dword [rax]
lea rdx, str.WRITE___d_:_SHUTDOWN_signal_encountered
mov ecx, reloc.WS2_32.dll_select
call fcn.180004820
mov edx, 1
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call qword [sym.imp.WS2_32.dll_shutdown]
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x10]
mov dword [rax + 0x34], 1
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x10]
cmp dword [rax + 0x34], 0
je 0x180007c76
mov dword [rsp + 0x34], 1
jmp 0x180007c7e
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
add rsp, 0x58
ret
Function at 0x18000c290
Capabilities:
Get system information on windows

Disassembly:
mov r11, rsp
sub rsp, 0x58
xor eax, eax
lea rcx, [r11 - 0x38]
mov qword [r11 - 0x38], rax
mov qword [r11 - 0x30], rax
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x20], rax
mov qword [r11 - 0x18], rax
mov qword [r11 - 0x10], rax
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov eax, dword [rsp + 0x40]
add rsp, 0x58
ret
Function at 0x180012960
Capabilities:
Create thread

Disassembly:
mov dword [rsp + 0x10], edx
push rsi
push rdi
push r14
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbp
mov rbp, rcx
add rcx, 0x168
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rsi, [rbp + 0x1d8]
mov rcx, rsi
call fcn.18000f3f0
mov rbx, qword [rax]
mov rdi, qword [rbx + 8]
cmp byte [rdi + 0x19], 0
jne 0x1800129d7
nop dword [rax + rax]
lea rdx, [rdi + 0x1c]
lea r8, [rsp + 0x68]
mov rcx, rsi
call fcn.18000f4a0
test al, al
je 0x1800129cb
mov rdi, qword [rdi + 0x10]
jmp 0x1800129d1
mov rbx, rdi
mov rdi, qword [rdi]
cmp byte [rdi + 0x19], 0
je 0x1800129b0
mov rax, qword [rsi]
cmp rbx, rax
je 0x1800129f7
lea r8, [rbx + 0x1c]
lea rdx, [rsp + 0x68]
mov rcx, rsi
call fcn.18000f4a0
test al, al
je 0x1800129fa
mov rax, qword [rsi]
mov rbx, rax
cmp rbx, qword [rsi]
je 0x180012a57
mov rax, rbx
mov rcx, qword [rbx + 0x10]
cmp byte [rcx + 0x19], 0
je 0x180012a2b
mov rcx, qword [rbx + 8]
cmp byte [rcx + 0x19], 0
jne 0x180012a3d
cmp rax, qword [rcx + 0x10]
jne 0x180012a3d
mov rax, rcx
mov rcx, qword [rcx + 8]
cmp byte [rcx + 0x19], 0
je 0x180012a16
jmp 0x180012a3d
mov rax, qword [rcx]
cmp byte [rax + 0x19], 0
jne 0x180012a3d
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x180012a34
mov rdx, rbx
mov rcx, rsi
call fcn.180013dc0
nop
mov edx, 0x20
mov rcx, rax
call fcn.18000adb0
nop
lea rcx, [rbp + 0x168]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, 0x30
call fcn.18006a950
mov rsi, rax
mov qword [rsp + 0x60], rax
mov edi, dword [rsp + 0x68]
mov rcx, qword [rbp + 8]
mov ebx, dword [rcx + 8]
lea rax, vtable.Base::Thread.0
mov qword [rsi], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi + 0x18], rax
lea rcx, [rsi + 0x20]
xor edx, edx
mov dword [rcx], edx
mov qword [rsi + 0x10], rdx
lea rax, vtable.NS::SessionGeneric::WireCleanupThread.0
mov qword [rsi], rax
mov dword [rsi + 0x28], ebx
mov dword [rsi + 0x2c], edi
mov byte [rsi + 8], 1
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edx
mov r9, rsi
lea r8, [0x1800066b0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsi + 0x10], rax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret

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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov byte [rsp + 0x20], 5
mov byte [rsp + 0x21], 1
mov byte [rsp + 0x22], 0
xor r9d, r9d
mov r8d, 3
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WS2_32.dll_send]
cdqe
cmp rax, 3
jne 0x180015dc8
mov dword [rsp + 0x24], 1
jmp 0x180015dd0
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
add rsp, 0x38
ret
Function at 0x180015de0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov byte [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 2
lea rdx, [rsp + 0x24]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WS2_32.dll_recv]
cdqe
cmp rax, 2
jne 0x180015e45
movzx eax, byte [rsp + 0x24]
cmp eax, 5
jne 0x180015e34
movzx eax, byte [rsp + 0x25]
cmp eax, 0xff
je 0x180015e34
mov dword [rsp + 0x28], 1
jmp 0x180015e3c
mov dword [rsp + 0x28], 0
movzx eax, byte [rsp + 0x28]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x180015e50
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov byte [rsp + 0x20], 0
mov byte [rsp + 0x22], 1
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x40], 0xffffffffffffffff
inc qword [rsp + 0x40]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
cmp byte [rax + rcx], 0
jne 0x180015e83
mov rax, qword [rsp + 0x40]
dec eax
mov dword [rsp + 0x24], eax
jmp 0x180015eaf
mov eax, dword [rsp + 0x24]
dec eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jl 0x180015ef1
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x80]
movsx eax, byte [rcx + rax]
cmp eax, 0x2e
je 0x180015eef
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x80]
movsx eax, byte [rcx + rax]
mov ecx, eax
call fcn.180073b50
test eax, eax
je 0x180015eef
mov byte [rsp + 0x22], 0
jmp 0x180015ef1
jmp 0x180015ea5
mov byte [rsp + 0x28], 5
mov byte [rsp + 0x29], 1
mov byte [rsp + 0x2a], 0
movzx eax, byte [rsp + 0x22]
test eax, eax
je 0x180015f13
mov dword [rsp + 0x30], 1
jmp 0x180015f1b
mov dword [rsp + 0x30], 3
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x2b], al
xor r9d, r9d
mov r8d, 4
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.WS2_32.dll_send]
cdqe
cmp rax, 4
jne 0x180016031
movzx eax, byte [rsp + 0x2b]
mov byte [rsp + 0x34], al
cmp byte [rsp + 0x34], 1
je 0x180015f65
cmp byte [rsp + 0x34], 3
je 0x180015fad
jmp 0x180016031
mov dword [rsp + 0x38], 0
mov rax, qword [rsp + 0x80]
lea rdx, [rsp + 0x38]
mov rcx, rax
call fcn.1800162e0
xor r9d, r9d
mov r8d, 4
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.WS2_32.dll_send]
cdqe
cmp rax, 4
jne 0x180015fa8
mov byte [rsp + 0x20], 1
jmp 0x180016031
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x48], 0xffffffffffffffff
inc qword [rsp + 0x48]
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
cmp byte [rax + rcx], 0
jne 0x180015fc3
mov rax, qword [rsp + 0x48]
mov byte [rsp + 0x21], al
xor r9d, r9d
mov r8d, 1
lea rdx, [rsp + 0x21]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.WS2_32.dll_send]
cdqe
cmp rax, 1
jne 0x180016031
movzx eax, byte [rsp + 0x21]
mov rcx, qword [rsp + 0x80]
xor r9d, r9d
mov r8d, eax
mov rdx, rcx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.WS2_32.dll_send]
movzx ecx, byte [rsp + 0x21]
cmp eax, ecx
jne 0x180016031
mov byte [rsp + 0x20], 1
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x180016090
mov rax, qword [rsp + 0x80]
movzx ecx, word [rax + 0x100]
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsp + 0x2c], ax
xor r9d, r9d
mov r8d, 2
lea rdx, [rsp + 0x2c]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.WS2_32.dll_send]
cdqe
cmp rax, 2
jne 0x18001607f
mov dword [rsp + 0x3c], 1
jmp 0x180016087
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
add rsp, 0x68
ret
Function at 0x1800160a0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x160
mov rax, qword [0x1800a3248]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov dword [rsp + 0x38], 1
xor r9d, r9d
mov r8d, 4
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x178]
call qword [sym.imp.WS2_32.dll_recv]
cdqe
cmp rax, 4
jne 0x180016243
movzx eax, byte [rsp + 0x28]
cmp eax, 5
jne 0x180016243
mov byte [rsp + 0x21], 0
mov byte [rsp + 0x20], 1
movzx eax, byte [rsp + 0x2b]
mov byte [rsp + 0x24], al
cmp byte [rsp + 0x24], 1
je 0x18001612c
cmp byte [rsp + 0x24], 3
je 0x180016133
cmp byte [rsp + 0x24], 4
je 0x180016174
jmp 0x18001617b
mov byte [rsp + 0x21], 4
jmp 0x180016180
xor r9d, r9d
mov r8d, 1
lea rdx, [rsp + 0x21]
mov rcx, qword [rsp + 0x178]
call qword [sym.imp.WS2_32.dll_recv]
cdqe
cmp rax, 1
jne 0x180016161
mov dword [rsp + 0x2c], 1
jmp 0x180016169
mov dword [rsp + 0x2c], 0
movzx eax, byte [rsp + 0x2c]
mov byte [rsp + 0x20], al
jmp 0x180016180
mov byte [rsp + 0x21], reloc.WS2_32.dll_recv
jmp 0x180016180
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x180016243
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, 0x101
rep stosb byte [rdi], al
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1800161d8
movzx eax, byte [rsp + 0x21]
xor r9d, r9d
mov r8d, eax
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x178]
call qword [sym.imp.WS2_32.dll_recv]
movzx ecx, byte [rsp + 0x21]
cmp eax, ecx
jne 0x1800161d8
mov dword [rsp + 0x30], 1
jmp 0x1800161e0
mov dword [rsp + 0x30], 0
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x180016220
xor r9d, r9d
mov r8d, 2
lea rdx, [rsp + 0x3c]
mov rcx, qword [rsp + 0x178]
call qword [sym.imp.WS2_32.dll_recv]
cdqe
cmp rax, 2
jne 0x180016220
mov dword [rsp + 0x34], 1
jmp 0x180016228
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x180016243
movzx eax, byte [rsp + 0x29]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.18006a240
add rsp, 0x160
pop rdi
ret
Function at 0x180016d40
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov rax, qword [rsp + 0x80]
lea rcx, vtable.NS::TunnelIO.0
mov qword [rax], rcx
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x88]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x80]
add rax, 0x20
mov rcx, rax
call fcn.180006d10
nop
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x90]
mov qword [rax + 0x78], rcx
mov ecx, 0x30
call fcn.18006a950
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x180016ddb
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
call fcn.180016c70
mov qword [rsp + 0x40], rax
jmp 0x180016de4
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x58]
mov qword [rax + 0x18], rcx
mov ecx, 0x30
call fcn.18006a950
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x180016e2f
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
call fcn.180016cd0
mov qword [rsp + 0x50], rax
jmp 0x180016e38
mov qword [rsp + 0x50], 0
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
mov qword [rax + 0x10], rcx
mov dword [rsp + 0x30], 1
lea r8, [rsp + 0x30]
mov edx, 0x8004667e
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 8]
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x30]
mov r8d, 1
mov edx, 6
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 8]
call qword [sym.imp.WS2_32.dll_setsockopt]
nop
mov rax, qword [rsp + 0x80]
add rsp, 0x78
ret
Function at 0x18001cf90
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov ebp, r8d
mov rbx, rdx
mov rsi, rcx
lea rax, vtable.HH::ThreadPool.0
mov qword [rcx], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rbx
lea rdi, [rsi + 0x18]
mov qword [rsp + 0x38], rdi
lea rcx, [rsp + 0x90]
call fcn.18000ae60
xor r14d, r14d
mov qword [rdi], r14
mov qword [rdi + 8], r14
call fcn.18001b850
mov qword [rdi], rax
lea rbx, [rdi + 0x10]
mov qword [rsp + 0x88], rbx
lea rcx, [rsp + 0x88]
call fcn.18000ae60
lea rcx, [rsp + 0x98]
call fcn.18000ae60
mov qword [rbx], r14
mov qword [rbx + 8], r14
call fcn.18001b850
mov qword [rbx], rax
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov r8d, 0x7fffffff
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov qword [rdi + 0x28], rax
lea rcx, [rdi + 0x30]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
nop
lea rdi, [rsi + 0x78]
mov qword [rsp + 0x88], rdi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
nop
lea rbx, [rdi + 0x28]
mov qword [rsp + 0x98], rbx
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
mov qword [rbx + 0x20], r14
lea edx, [r14 + 1]
lea rcx, [rsp + 0x90]
call fcn.18000a7b0
mov rcx, rax
call fcn.18000ae60
mov qword [rbx], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
lea r8, [rsp + 0x38]
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.18000ae70
mov rax, qword [rbx]
mov qword [rax], rbx
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov r8d, 0x7fffffff
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov qword [rdi + 0x50], rax
mov qword [rdi + 0x58], r14
mov qword [rdi + 0x60], r14
mov qword [rdi + 0x68], r14
mov dword [rsi + 0x38], r14d
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
test ebp, ebp
jle 0x18001d15d
mov edi, ebp
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r14d
mov r9, rsi
lea r8, [0x18001d3e0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x88], rax
mov rdx, qword [rsi + 0xd8]
cmp qword [rsi + 0xe0], rdx
je 0x18001d143
mov qword [rdx], rax
add qword [rsi + 0xd8], 8
jmp 0x18001d157
lea r8, [rsp + 0x88]
lea rcx, [rsi + 0xd0]
call fcn.18001b990
sub rdi, 1
jne 0x18001d100
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r14d
mov r9, rsi
lea r8, [0x18001e260]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsi + 0x70], rax
mov rax, rsi
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x18001e740
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x78
mov rax, qword [0x1800a3248]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov byte [rsp + 0x20], 0
mov rax, qword [rsp + 0x90]
movzx eax, word [rax + 0x100]
mov r9d, eax
lea r8, [0x180099258]
mov edx, 6
lea rcx, [rsp + 0x60]
call fcn.1800046d0
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x3c], 6
mov rax, qword [rsp + 0x90]
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x18001e825
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + 0x10]
mov dword [rax], ecx
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x98]
mov rsi, qword [rax + 0x20]
mov rcx, qword [rcx + 0x10]
rep movsb byte [rdi], byte [rsi]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov byte [rsp + 0x20], 1
movzx eax, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.18006a240
add rsp, 0x78
pop rdi
pop rsi
ret

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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x438
mov rax, qword [0x1800a3248]
xor rax, rsp
mov qword [rsp + 0x420], rax
mov edx, 1
mov rcx, qword [rsp + 0x440]
call qword [sym.imp.WS2_32.dll_shutdown]
xor r9d, r9d
mov r8d, 0x400
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0x440]
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jg 0x18001e871
mov rcx, qword [rsp + 0x440]
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.18006a240
add rsp, 0x438
ret

Function at 0x18001e8c0
Capabilities:
Hash data with md5

Disassembly:
push rbx
sub rsp, 0xa0
mov rax, qword [0x1800a3248]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rbx, rcx
mov dword [rsp + 0x38], 0x67452301
xor eax, eax
mov dword [rsp + 0x3c], 0xefcdab89
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x40], 0x98badcfe
mov dword [rsp + 0x44], 0x10325476
call fcn.180025df0
lea rcx, [rsp + 0x20]
call fcn.1800260e0
movaps xmm0, xmmword [rsp + 0x20]
mov rax, rbx
movups xmmword [rbx], xmm0
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.18006a240
add rsp, 0xa0
pop rbx
ret
Function at 0x180020130
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov byte [rsp + 0x20], 1
mov qword [rsp + 0x28], 0
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1800201c7
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x28], rax
jae 0x1800201c7
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x48]
add rdx, rcx
mov rcx, rdx
xor r9d, r9d
mov r8d, eax
mov rdx, rcx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x28]
call qword [sym.imp.WS2_32.dll_send]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jle 0x1800201c0
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
jmp 0x1800201c5
mov byte [rsp + 0x20], 0
jmp 0x180020151
movzx eax, byte [rsp + 0x20]
add rsp, 0x38
ret

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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov byte [rsp + 0x20], 1
mov qword [rsp + 0x28], 0
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x180020277
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x28], rax
jae 0x180020277
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x48]
add rdx, rcx
mov rcx, rdx
xor r9d, r9d
mov r8d, eax
mov rdx, rcx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x28]
call qword [sym.imp.WS2_32.dll_recv]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jle 0x180020270
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
jmp 0x180020275
mov byte [rsp + 0x20], 0
jmp 0x180020201
movzx eax, byte [rsp + 0x20]
add rsp, 0x38
ret