joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14010f6e0
Capabilities:
Set socket configuration

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x140325ed8]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x70]
call fcn.14010ef00
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x78]
add rax, 8
mov r9d, reloc.WS2_32.dll_recv
mov r8, rax
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x38]
call fcn.140001020
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x20], reloc.WS2_32.dll_sendto
lea r9, [rsp + 0x38]
mov r8d, reloc.WS2_32.dll_listen
mov edx, 0x29
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14026d940
add rsp, 0x68
ret

Function at 0x14010f780
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rcx, qword [rsp + 0x50]
call fcn.14010ef00
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x58]
movzx eax, word [rax]
cmp eax, 0x17
jne 0x14010f80c
mov rax, qword [rsp + 0x58]
add rax, 0x18
mov dword [rsp + 0x20], 4
mov r9, rax
mov r8d, 9
mov edx, 0x29
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x14010f80a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], 0
mov r9d, eax
mov r8d, 0x10f
lea rdx, [0x1403a9cc0]
xor ecx, ecx
call fcn.140124df0
mov ecx, 0xfd
call fcn.1402742dc
jmp 0x14010f866
mov rax, qword [rsp + 0x58]
add rax, 4
mov dword [rsp + 0x20], 4
mov r9, rax
mov r8d, 9
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x14010f866
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], 0
mov r9d, eax
mov r8d, 0x113
lea rdx, [0x1403a9c70]
xor ecx, ecx
call fcn.140124df0
mov ecx, 0xfd
call fcn.1402742dc
add rsp, 0x48
ret

Function at 0x14010f870
Capabilities:
Set socket configuration

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x140325ed8]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x80]
call fcn.14010ef00
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x80]
call fcn.14010ec00
movzx eax, word [rsp + 0x40]
cmp eax, 0x17
jne 0x14010f8c7
mov dword [rsp + 0x30], 0xa
jmp 0x14010f8cf
mov dword [rsp + 0x30], 0xa
movzx eax, word [rsp + 0x40]
cmp eax, 0x17
jne 0x14010f8e3
mov dword [rsp + 0x34], 0x29
jmp 0x14010f8eb
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x88]
mov r8d, dword [rsp + 0x30]
mov edx, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x14010f942
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], 0
mov r9d, eax
mov r8d, 0x129
lea rdx, [0x1403a9c20]
xor ecx, ecx
call fcn.140124df0
mov ecx, 0xfd
call fcn.1402742dc
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14026d940
add rsp, 0x78
ret
Function at 0x14010f960
Capabilities:
Set socket configuration

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x140325ed8]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x80]
call fcn.14010ef00
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x80]
call fcn.14010ec00
movzx eax, word [rsp + 0x40]
cmp eax, 0x17
jne 0x14010f9b7
mov dword [rsp + 0x30], listen
jmp 0x14010f9bf
mov dword [rsp + 0x30], listen
movzx eax, word [rsp + 0x40]
cmp eax, 0x17
jne 0x14010f9d3
mov dword [rsp + 0x34], 0x29
jmp 0x14010f9db
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x88]
mov r8d, dword [rsp + 0x30]
mov edx, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x14010fa32
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], 0
mov r9d, eax
mov r8d, 0x137
lea rdx, [0x1403a9bd0]
xor ecx, ecx
call fcn.140124df0
mov ecx, 0xfd
call fcn.1402742dc
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14026d940
add rsp, 0x78
ret

Function at 0x140110310
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x40]
call fcn.140112d50
lea r8, [0x1403a9948]
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140278e20
cmp qword [rsp + 0x20], 0
je 0x140110392
movsxd rax, dword [rsp + 0x50]
mov r9, qword [rsp + 0x20]
mov r8d, 1
mov rdx, rax
mov rcx, qword [rsp + 0x48]
call fcn.14027a558
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x20]
call fcn.1402793a8
mov rax, qword [rsp + 0x28]
add rsp, 0x38
ret
Function at 0x1401103a0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 1
cmp qword [rsp + 0x50], 0
jne 0x1401103e6
xor eax, eax
jmp 0x14011052b
xor r9d, r9d
xor r8d, r8d
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x50]
call fcn.140112d50
lea r8, [0x1403a98f8]
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140278e20
cmp qword [rsp + 0x20], 0
je 0x140110526
mov rax, qword [rsp + 0x58]
cmp qword [rax], 0
jne 0x1401104a4
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x20]
call fcn.1402796f0
mov rcx, qword [rsp + 0x20]
call fcn.140274838
cdqe
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x60]
cmp qword [rsp + 0x28], rax
jbe 0x14011045f
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x28], rax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x20]
call fcn.1402796f0
mov rax, qword [rsp + 0x28]
inc rax
mov rcx, rax
call fcn.14027bb94
mov rcx, qword [rsp + 0x58]
mov qword [rcx], rax
mov rax, qword [rsp + 0x58]
cmp qword [rax], 0
jne 0x1401104a2
mov rcx, qword [rsp + 0x20]
call fcn.1402793a8
xor eax, eax
jmp 0x14011052b
jmp 0x1401104b1
mov rax, qword [rsp + 0x60]
dec rax
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x38], 0
je 0x14011050b
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0x30], rax
jae 0x14011050b
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
sub rcx, rax
mov rax, rcx
mov r9, qword [rsp + 0x20]
mov r8, rax
mov edx, 1
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax]
call fcn.14027bacc
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
jmp 0x1401104b1
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x30]
mov byte [rax + rcx], 0
mov rcx, qword [rsp + 0x20]
call fcn.1402793a8
mov rax, qword [rsp + 0x30]
add rsp, 0x48
ret
Function at 0x140110610
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
sub rsp, 0x248
mov rax, qword [0x140325ed8]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov eax, dword [0x1403b969c]
inc eax
mov dword [0x1403b969c], eax
cmp dword [0x1403b969c], 1
jle 0x140110657
jmp 0x14011071c
xor edx, edx
xor ecx, ecx
call fcn.14023b090
xor edx, edx
mov ecx, 0x200002
call fcn.14023b090
xor edx, edx
mov ecx, 2
call fcn.14017a140
xor edx, edx
mov ecx, listen
call fcn.14017a140
xor edx, edx
mov ecx, 4
call fcn.14017a140
xor edx, edx
mov ecx, 8
call fcn.14017a140
mov r8d, 0x800
xor edx, edx
lea rcx, str.ADVAPI32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1401106d5
lea rdx, str.SystemFunction036
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140110709
mov edx, 0x40
lea rcx, [rsp + 0x30]
call qword [rsp + 0x28]
movzx eax, al
test eax, eax
je 0x140110709
movsd xmm2, qword [0x140305f30]
mov edx, 0x40
lea rcx, [rsp + 0x30]
call fcn.14017bb50
cmp qword [rsp + 0x20], 0
je 0x14011071c
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14026d940
add rsp, 0x248
ret

Function at 0x1401115a0
Capabilities:
Create udp socket

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
movsxd rax, dword [0x140326efc]
xor edx, edx
mov rcx, rax
call fcn.1401141e0
mov qword [rsp + 0x50], rax
xor edx, edx
lea rcx, str.ILibIPAddressMonitor
call fcn.140113340
mov rcx, qword [rsp + 0x50]
mov qword [rcx + 0x30], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x78]
mov qword [rax + 0x40], rcx
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x80]
mov qword [rax + 0x48], rcx
mov ecx, gethostname
call fcn.14027bb94
xor r9d, r9d
xor r8d, r8d
mov edx, 0x20
mov rcx, rax
call fcn.140113960
mov rcx, qword [rsp + 0x50]
mov qword [rcx + 0x60], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x60]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 0x18], rcx
xor r8d, r8d
mov edx, 2
mov ecx, 2
call qword [sym.imp.WS2_32.dll_socket]
mov rcx, qword [rsp + 0x50]
mov qword [rcx + 0x50], rax
mov rax, qword [rsp + 0x50]
add rax, 0x58
lea rcx, [0x140111400]
mov qword [rsp + 0x40], rcx
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x60]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x28000017
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0x50]
call qword [sym.imp.WS2_32.dll_WSAIoctl]
mov rax, qword [rsp + 0x50]
lea rcx, [0x140111550]
mov qword [rax + 0x10], rcx
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x70]
call fcn.140114f40
mov rax, qword [rsp + 0x50]
add rsp, 0x68
ret
Function at 0x140112130
Capabilities:
Send data
Send data on socket
Set socket configuration

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov dword [rsp + 0x30], 0
jmp 0x14011215c
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0xb8]
cmp dword [rsp + 0x30], eax
jge 0x14011227a
cmp qword [rsp + 0x78], 0
je 0x1401121a0
movsxd rax, dword [rsp + 0x30]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0xb0]
mov rdx, qword [rsp + 0x78]
mov eax, dword [rcx + rax + 4]
cmp dword [rdx + 4], eax
jne 0x140112275
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x50]
cmp qword [rcx + rax*8], 0
je 0x140112275
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0x40]
call fcn.14010f4c0
mov qword [rsp + 0x38], rax
movsxd rax, dword [rsp + 0x30]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0xb0]
lea rax, [rcx + rax + 4]
mov dword [rsp + 0x20], 4
mov r9, rax
mov r8d, 9
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rax, qword [rsp + 0x50]
add rax, 0x68
mov dword [rsp + 0x20], 4
mov r9, rax
mov r8d, 0xa
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WS2_32.dll_setsockopt]
mov dword [rsp + 0x34], 0
jmp 0x14011223f
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x70]
cmp dword [rsp + 0x34], eax
jge 0x140112275
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, dword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WS2_32.dll_sendto]
jmp 0x140112235
jmp 0x140112152
add rsp, 0x48
ret

Function at 0x140112280
Capabilities:
Send data
Send data on socket
Set socket configuration

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov dword [rsp + 0x30], 0
jmp 0x1401122ac
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0xc8]
cmp dword [rsp + 0x30], eax
jge 0x140112368
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0xc0]
lea rax, [rcx + rax*4]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x48]
call fcn.14010f4c0
mov dword [rsp + 0x20], 4
mov rcx, qword [rsp + 0x38]
mov r9, rcx
mov r8d, 9
mov edx, 0x29
mov rcx, rax
call qword [sym.imp.WS2_32.dll_setsockopt]
mov dword [rsp + 0x34], 0
jmp 0x140112321
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x70]
cmp dword [rsp + 0x34], eax
jge 0x140112363
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0x48]
call fcn.14010f4c0
mov dword [rsp + 0x28], 0x1c
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov r8d, dword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.WS2_32.dll_sendto]
jmp 0x140112317
jmp 0x1401122a2
add rsp, 0x48
ret
Function at 0x140112e40
Capabilities:
Create udp socket

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
mov eax, 0x2688
call fcn.14026deb0
sub rsp, rax
mov rax, qword [0x140325ed8]
xor rax, rsp
mov qword [rsp + 0x2670], rax
mov dword [rsp + 0x54], 0
mov rax, qword [rsp + 0x2690]
mov qword [rax], 0
xor r8d, r8d
mov edx, 2
mov ecx, 2
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0xffffffffffffffff
jne 0x140112ea6
xor eax, eax
jmp 0x140113066
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x2600
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x4004747f
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.WS2_32.dll_WSAIoctl]
test eax, eax
je 0x140112ef6
mov dword [rsp + 0x58], 0
cmp dword [rsp + 0x58], 0
jbe 0x140113057
mov eax, dword [rsp + 0x58]
xor edx, edx
mov ecx, 0x4c
div rcx
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x50], 0
jmp 0x140112f27
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x50], eax
jae 0x140112f59
cmp dword [rsp + 0x2698], 0
jne 0x140112f4d
mov eax, dword [rsp + 0x50]
imul rax, rax, 0x4c
cmp dword [rsp + rax + 0x78], 0x100007f
je 0x140112f57
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
jmp 0x140112f1d
mov eax, dword [rsp + 0x54]
imul rax, rax, 0x10
mov rcx, rax
call fcn.14027bb94
mov rcx, qword [rsp + 0x2690]
mov qword [rcx], rax
mov rax, qword [rsp + 0x2690]
cmp qword [rax], 0
jne 0x140112fc9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9d, 0xfe
mov r8d, 0x1ce
lea rdx, str.D:WorkOpenSourceGithubMeshAgentmicrostackILibParsers.c
xor ecx, ecx
call fcn.140124df0
mov r8d, 0x1ce
lea rdx, [0x1403ace00]
lea rcx, [0x1403acdd8]
call fcn.1400012d0
mov ecx, 0xfe
call fcn.1402742dc
mov dword [rsp + 0x54], 0
mov dword [rsp + 0x50], 0
jmp 0x140112fe5
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x50], eax
jae 0x140113057
cmp dword [rsp + 0x2698], 0
jne 0x14011300b
mov eax, dword [rsp + 0x50]
imul rax, rax, 0x4c
cmp dword [rsp + rax + 0x78], 0x100007f
je 0x140113055
mov eax, dword [rsp + 0x54]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x2690]
mov rcx, qword [rcx]
add rcx, rax
mov qword [rsp + 0x68], rcx
mov eax, dword [rsp + 0x50]
imul rax, rax, 0x4c
lea rax, [rsp + rax + 0x74]
mov r9d, reloc.WS2_32.dll_recv
mov r8, rax
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rsp + 0x68]
call fcn.140001020
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
jmp 0x140112fdb
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x2670]
xor rcx, rsp
call fcn.14026d940
add rsp, 0x2688
ret
Function at 0x140114d40
Capabilities:
Initialize winsock library

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x3f8
mov rax, qword [0x140325ed8]
xor rax, rsp
mov qword [rsp + 0x3e0], rax
cmp dword [0x1403b99a0], 0
jne 0x140114ddc
xor r9d, r9d
mov r8d, 0x40
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov qword [0x1403b9998], rax
cmp qword [0x1403b96b0], 0
je 0x140114ddc
mov dword [rsp + 0x28], 0x7c1
lea rax, [0x1403ac660]
mov qword [rsp + 0x20], rax
lea r9, [0x1403b9998]
lea r8, [0x1403ac650]
mov edx, 0x200
lea rcx, [rsp + 0x1e0]
call fcn.140001420
mov r8d, 1
mov rdx, qword [0x1403b96a0]
lea rcx, [rsp + 0x1e0]
call qword [0x1403b96b0]
mov eax, dword [0x1403b99a0]
inc eax
mov dword [0x1403b99a0], eax
mov eax, 2
mov word [rsp + 0x38], ax
lea rdx, [rsp + 0x40]
movzx ecx, word [rsp + 0x38]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x140114e4f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9d, 1
mov r8d, 0x7ca
lea rdx, [0x1403ac610]
xor ecx, ecx
call fcn.140124df0
mov r8d, 0x7ca
lea rdx, [0x1403ac5d0]
lea rcx, [0x1403ac5a8]
call fcn.1400012d0
mov ecx, 1
call fcn.1402742dc
movsxd rax, dword [rsp + 0x400]
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov ecx, 0x9b0
call fcn.140113f90
mov qword [rsp + 0x30], rax
mov ecx, reloc.WS2_32.dll_recv
call fcn.140121550
mov rcx, qword [rsp + 0x30]
mov qword [rcx + 0x950], rax
call fcn.140121630
mov rcx, qword [rsp + 0x30]
mov qword [rcx + 0x958], rax
mov rax, qword [rsp + 0x30]
mov dword [rax], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, qword [rsp + 0x30]
mov qword [rcx + 0x28], rax
mov r8d, 1
xor edx, edx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x28]
call qword [sym.imp.dbghelp.dll_SymInitialize]
test eax, eax
jne 0x140114ed8
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x28], 0
mov rax, qword [rsp + 0x30]
mov dword [rax], 0
mov rcx, qword [rsp + 0x30]
call fcn.1401211e0
mov rcx, qword [rsp + 0x30]
mov qword [rcx + 0x938], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0x20], eax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x3e0]
xor rcx, rsp
call fcn.14026d940
add rsp, 0x3f8
ret
Function at 0x140118020
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x8b8
mov rax, qword [0x140325ed8]
xor rax, rsp
mov qword [rsp + 0x8a0], rax
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x8c0]
mov rcx, qword [rax + 0x950]
call fcn.140121800
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], 0x5265c00
mov dword [rsp + 0x60], 0
mov dword [rsp + 0x58], 0
mov dword [rsp + 0x5c], 0
mov dword [rsp + 0x30], 0
cmp qword [rsp + 0x48], 0
je 0x1401181fb
mov rcx, qword [rsp + 0x48]
call fcn.1401218e0
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x1401181fb
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x1401181e7
mov dword [rsp + 0x690], 0
mov dword [rsp + 0x270], 0
mov dword [rsp + 0x480], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x270]
lea r8, [rsp + 0x480]
lea rdx, [rsp + 0x690]
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x38]
call qword [rax]
mov r8d, 0x208
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x690]
call fcn.140270070
test eax, eax
jne 0x140118170
mov r8d, 0x208
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x480]
call fcn.140270070
test eax, eax
jne 0x140118170
mov r8d, 0x208
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x270]
call fcn.140270070
test eax, eax
je 0x1401181e7
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x270]
lea r8, [rsp + 0x480]
lea rdx, [rsp + 0x690]
mov ecx, 0x40
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x1401181e7
movsxd rax, dword [rsp + 0x30]
mov ecx, 0x1000
sub rcx, rax
mov rax, rcx
movsxd rcx, dword [rsp + 0x30]
lea rdx, [0x1403bdcc0]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rsp + 0x38]
mov r9, qword [rdx + 0x30]
lea r8, [0x140334574]
mov rdx, rax
call fcn.140001420
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x48]
call fcn.140121880
mov qword [rsp + 0x48], rax
jmp 0x140118097
cmp dword [rsp + 0x30], 0
jle 0x14011820e
lea rax, [0x1403bdcc0]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x14011822a
cmp qword [rsp + 0x40], 0
jne 0x14011822a
lea rax, [0x1403ac360]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x8a0]
xor rcx, rsp
call fcn.14026d940
add rsp, 0x8b8
ret
Function at 0x1401197a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov dword [rsp + 0x30], 0
cmp dword [rsp + 0x70], 0xffffffff
jbe 0x1401197d1
mov eax, 0xfffffffc
jmp 0x1401198f1
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, dword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1401198ec
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x3e5
jne 0x1401198e3
mov ecx, 0x50
call fcn.14027bb94
xor r9d, r9d
xor r8d, r8d
mov edx, gethostname
mov rcx, rax
call fcn.140113960
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x68]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x38]
mov ecx, dword [rsp + 0x70]
mov dword [rax + 0x10], ecx
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x14], 0
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x78]
mov qword [rax], rcx
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x58]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x80]
mov qword [rax + 0x28], rcx
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x88]
mov qword [rax + 0x30], rcx
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [fcn.140119310]
mov r8d, 0xffffffff
mov rax, qword [rsp + 0x60]
mov rdx, qword [rax + 0x18]
mov rcx, qword [rsp + 0x50]
call fcn.14011a510
xor eax, eax
jmp 0x1401198f1
mov eax, 0xfffffffc
jmp 0x1401198f1
mov eax, 1
add rsp, 0x48
ret