joyce8/EMBER2024-capa huggingface dataset:
Function at 0x498af0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x88bba0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x108], edx
test eax, eax
je 0x498bdf
cmp dword [ebp + 0xc], 0x10
jne 0x498bdf
test edx, edx
je 0x498bdf
cmp dword [ebp + 0x14], 0
je 0x498bdf
push ebx
push esi
push edi
push 0x10
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.00498c00
xor ebx, ebx
xor esi, esi
xor edi, edi
cmp dword [ebp + 0x14], ebx
jle 0x498bca
inc esi
and esi, 0x800000ff
jns 0x498b61
dec esi
or esi, 0xffffff00
inc esi
mov dl, byte [ebp + esi - 0x104]
movzx eax, dl
add edi, eax
and edi, 0x800000ff
jns 0x498b7d
dec edi
or edi, 0xffffff00
inc edi
movzx eax, byte [ebp + edi - 0x104]
mov byte [ebp + esi - 0x104], al
mov byte [ebp + edi - 0x104], dl
movzx ecx, byte [ebp + esi - 0x104]
movzx eax, dl
add ecx, eax
and ecx, 0x800000ff
jns 0x498bb0
dec ecx
or ecx, 0xffffff00
inc ecx
movzx eax, cl
mov ecx, dword [ebp - 0x108]
movzx eax, byte [ebp + eax - 0x104]
xor byte [ecx + ebx], al
inc ebx
cmp ebx, dword [ebp + 0x14]
jl 0x498b50
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00722035
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
call fcn.00722035
mov esp, ebp
pop ebp
ret 0x10

Function at 0x498c00
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x88bba0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
jmp 0x498c20
or cl, 0xff
sub cl, al
mov byte [esi + eax], cl
inc eax
cmp eax, 0x100
jl 0x498c20
mov edi, dword [ebp + 0x10]
xor ecx, ecx
mov ebx, dword [ebp + 0xc]
xor edx, edx
lea ebx, [ebx]
mov al, byte [edx + ebx]
mov byte [ebp + ecx - 0x104], al
lea eax, [edx + 1]
cdq
inc ecx
idiv edi
cmp ecx, 0x100
jl 0x498c40
lea eax, [ebp - 0x104]
mov dword [ebp - 0x108], 0x100
xor ebx, ebx
mov edi, esi
sub eax, esi
mov dword [ebp - 0x10c], eax
mov dl, byte [edi]
movzx eax, byte [eax + edi]
add ebx, eax
movzx ecx, dl
add ebx, ecx
and ebx, 0x800000ff
jns 0x498c92
dec ebx
or ebx, 0xffffff00
inc ebx
mov al, byte [esi + ebx]
mov byte [edi], al
inc edi
dec dword [ebp - 0x108]
mov eax, dword [ebp - 0x10c]
mov byte [esi + ebx], dl
jne 0x498c75
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00722035
mov esp, ebp
pop ebp
ret 0xc
Function at 0x49c740
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x776f6a
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x88bba0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], 0
cmp dword [ebp + 8], 0
je 0x49c7a7
lea eax, [esi + 0x60]
mov dword [esi], 0x79fdc8
mov dword [ebp + 8], eax
mov dword [eax], vtable.std::ios_base.0
mov dword [ebp - 4], 0
mov dword [eax], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], 1
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + esi - 4], eax
mov eax, dword [esi]
mov edi, dword [eax + 4]
add edi, esi
mov ecx, edi
call fcn.0040e570
lea eax, [ebp + 8]
mov dword [edi + 0x3c], 0
lea ebx, [esi + 4]
mov ecx, edi
push eax
mov dword [edi + 0x38], ebx
call fcn.0040ef60
mov dword [ebp - 4], 4
push eax
call fcn.00408b60
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x49c814
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x49c814
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, dword [ebp - 0x14]
push 0x20
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
cmp dword [edi + 0x38], 0
mov byte [edi + 0x40], al
jne 0x49c839
mov eax, dword [edi + 0xc]
mov ecx, edi
or eax, 4
push 0
push eax
call fcn.0040eb40
mov dword [ebp - 4], 5
mov eax, dword [esi]
mov dword [ebp + 8], ebx
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ecx + esi - 4], eax
mov ecx, ebx
call fcn.00408ea0
mov byte [ebp - 4], 6
lea eax, [ebx + 4]
mov dword [ebx + 0xc], eax
lea ecx, [ebx + 8]
lea eax, [ebx + 0x14]
mov dword [ebx], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov dword [ebx + 0x1c], eax
lea eax, [ebx + 0x18]
mov dword [ebx + 0x20], eax
lea eax, [ebx + 0x24]
mov dword [ebx + 0x2c], eax
lea eax, [ebx + 0x28]
mov dword [ebx + 0x30], eax
mov byte [ebx + 0x4c], 0
mov byte [ebx + 0x45], 0
mov dword [ebx + 0x10], ecx
mov dword [ecx], 0
mov eax, dword [ebx + 0x20]
mov dword [eax], 0
mov eax, dword [ebx + 0x30]
mov dword [eax], 0
mov eax, dword [ebx + 0xc]
mov dword [eax], 0
mov eax, dword [ebx + 0x1c]
mov dword [eax], 0
mov eax, dword [ebx + 0x2c]
mov dword [eax], 0
mov dword [ebx + 0x50], 0
mov eax, dword [0x89e0d4]
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x40], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x49fea4
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x49fedf
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x49fec6
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x49fed7
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x49fee1
inc edi
add eax, 0x28
cmp edi, esi
jb 0x49febc
xor eax, eax
pop edi
pop esi
ret
Function at 0x4a82f0
Capabilities:
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x779827
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x88bba0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0xb0], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0xb8], eax
mov byte [ebp - 0xa9], 0
cmp byte [esi + 0x28], 0
jne 0x4a85b1
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xa8]
call fcn.0048d3e0
mov byte [ebp - 4], 1
push str.HTTPClient::prepareConnection___Failed_to_open_a_new_Internet_session.
lea ecx, [ebp - 0x2c]
call fcn.00404f70
mov byte [ebp - 4], 2
push 0
push 0
push 0
push 0
push str.Ctes
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [esi + 0x24], eax
lea ecx, [ebp - 0x2c]
push ecx
push 6
push eax
mov ecx, esi
call fcn.004a1000
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00404fd0
mov dword [ebp - 0xb4], 0xa00
push str.Setting_the_acceptable_secure_protocols_has_failed.
lea ecx, [ebp - 0x2c]
call fcn.00404f70
mov byte [ebp - 4], 3
lea eax, [ebp - 0x2c]
push eax
push 6
push 4
lea eax, [ebp - 0xb4]
push eax
push 0x54
push dword [esi + 0x24]
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
push eax
mov ecx, esi
call fcn.004a1000
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00404fd0
mov byte [esi + 0x28], 1
mov bl, 1
mov byte [ebp - 0xa9], bl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa8]
call fcn.0048d5c0
mov dword [ebp - 4], 0xffffffff
mov al, bl
jmp 0x4a85b3
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00722035
mov esp, ebp
pop ebp
ret 4
Function at 0x4b05c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
xor esi, esi
mov dword [ebp - 4], ebx
push edi
mov edi, dword [ebp + 8]
lea eax, [ebx + 0x10]
mov dword [ebx + 8], edi
mov dword [ebx + 0xc], esi
lea ebx, [esi + 1]
mov dword [ebp + 8], eax
push dword [ebp + 0x10]
xor eax, eax
mov ecx, esi
push dword [ebp + 0xc]
shr ecx, 0x1e
xor eax, esi
xor ecx, edi
push eax
push ecx
call fcn.00723510
mov edi, eax
mov esi, edx
mov eax, ebx
cdq
add edi, eax
mov eax, dword [ebp + 8]
adc esi, edx
inc ebx
mov dword [eax], edi
mov dword [eax + 4], esi
add eax, 8
mov dword [ebp + 8], eax
cmp ebx, 0x138
jl 0x4b05e0
mov ebx, dword [ebp - 4]
pop edi
pop esi
mov dword [ebx], 0x138
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4b7530
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x88bba0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x89e2d0], 0
jne 0x4b7681
lea eax, [ebp - 0x194]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x4b76a5
mov eax, dword [ebp - 0x194]
cmp al, 2
jne 0x4b768f
shr eax, 8
cmp al, 2
jne 0x4b768f
call fcn.005f0da0
call fcn.004bed60
push 0xc00
call fcn.004bec40
mov ecx, eax
add esp, 4
mov dword [0x89e2d0], ecx
test ecx, ecx
je 0x4b76e2
xor eax, eax
lea esp, [esp]
mov dword [eax + ecx], 0
add eax, 4
cmp eax, 0x800
je 0x4b75c9
mov ecx, dword [0x89e2d0]
jmp 0x4b75b0
push str.NN_PRINT_ERRORS
mov dword [0x89e2d8], 0
mov dword [0x89e2dc], 0
call fcn.007267d1
add esp, 4
test eax, eax
je 0x4b75fd
cmp byte [eax], 0
mov dword [0x89e2fc], 1
jne 0x4b7607
mov dword [0x89e2fc], 0
mov edx, dword [0x89e2d0]
add edx, 0x800
mov dword [0x89e2d4], edx
jne 0x4b762a
call fcn.005f0da0
push 0xfd
jmp 0x4b76ec
xor ecx, ecx
lea esp, [esp]
mov eax, 0x1ff
sub eax, ecx
mov word [edx + ecx*2], ax
inc ecx
cmp ecx, 0x200
je 0x4b764c
mov edx, dword [0x89e2d4]
jmp 0x4b7630
mov eax, dword [0x87f6ac]
test eax, eax
je 0x4b7674
push esi
mov esi, 0x87f6ac
jmp 0x4b7660
mov eax, dword [eax + 8]
test eax, eax
je 0x4b7669
call eax
mov eax, dword [esi + 4]
add esi, 4
test eax, eax
jne 0x4b7660
pop esi
push 0x89e2e0
call fcn.004bcba0
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00722035
mov esp, ebp
pop ebp
ret
call fcn.005f0da0
push 0xe4
push str.C:.conan76myf3u_1_source_subfolder_srccoreglobal.c
push str.LOBYTE__data.wVersion___2__HIBYTE__data.wVersion___2
jmp 0x4b76b9
call fcn.005f0da0
push 0xe2
push str.C:.conan76myf3u_1_source_subfolder_srccoreglobal.c
push 0x7a88b8
push str.Assertion_failed:__s___s:_d__n
call fcn.00724777
add eax, 0x40
push eax
call fcn.0072663b
call fcn.00724777
add eax, 0x40
push eax
call fcn.00723db0
add esp, 0x18
call fcn.004be7e0
call fcn.005f0da0
push 0xf0
push str.C:.conan76myf3u_1_source_subfolder_srccoreglobal.c
push str.Out_of_memory___s:_d__n
call fcn.00724777
add eax, 0x40
push eax
call fcn.0072663b
call fcn.00724777
add eax, 0x40
push eax
call fcn.00723db0
add esp, 0x14
call fcn.004be7e0
int3
Function at 0x4c7040
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Get local ipv4 addresses
Get socket information
Set socket configuration
Start tcp server

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x88bba0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
push 0
push 1
push 2
mov dword [edi + 4], 0xffffffff
mov dword [edi], 0xffffffff
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
je 0x4c71d5
push 4
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 1
push eax
push 0xfffffffffffffffb
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x4c71d5
xorps xmm0, xmm0
mov eax, 2
movdqu xmmword [ebp - 0x114], xmm0
push 0x7f000001
mov word [ebp - 0x114], ax
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [ebp - 0x110], eax
xor eax, eax
mov word [ebp - 0x112], ax
lea eax, [ebp - 0x114]
push 0x10
push eax
push esi
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x4c71d5
lea eax, [ebp - 0x118]
mov dword [ebp - 0x118], 0x10
push eax
lea eax, [ebp - 0x114]
push eax
push esi
call dword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x4c71d5
push 1
push esi
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
je 0x4c71d5
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
push 4
lea ecx, [ebp - 0x11c]
mov dword [edi + 4], eax
push ecx
push 1
push 6
push eax
mov dword [ebp - 0x11c], 1
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x4c71d5
push 0x10
lea eax, [ebp - 0x114]
push eax
push dword [edi + 4]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x4c71d5
lea eax, [ebp - 0x118]
mov dword [ebp - 0x118], 0x10
push eax
lea eax, [ebp - 0x114]
push eax
push esi
call dword [sym.imp.WS2_32.dll_accept]
mov dword [edi], eax
cmp eax, 0xffffffff
je 0x4c71d5
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
lea eax, [ebp - 0x124]
mov dword [ebp - 0x124], 1
push eax
push 0x8004667e
push dword [edi]
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
je 0x4c71f6
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00722035
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call fcn.004bea10
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
neg eax
pop edi
pop esi
call fcn.00722035
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
call fcn.005f0da0
push 0x100
lea eax, [ebp - 0x104]
push eax
push esi
call fcn.004bebe0
add esp, 0xc
lea eax, [ebp - 0x104]
push 0x79
push str.c:.conan76myf3u_1_source_subfolder_srcutilsefd_win.inc
push esi
push eax
push str._s___d____s:_d__n
call fcn.00724777
add eax, 0x40
push eax
call fcn.0072663b
call fcn.00724777
add eax, 0x40
push eax
call fcn.00723db0
add esp, 0x1c
call fcn.004be7e0
int3
Function at 0x4c7260
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x88bba0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov byte [ebp - 0x105], 0xec
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
je 0x4c72a2
push 0
push 1
lea ecx, [ebp - 0x105]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x4c72b1
cmp eax, 1
jne 0x4c730e
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00722035
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
call fcn.005f0da0
push 0x100
lea eax, [ebp - 0x104]
push eax
push esi
call fcn.004bebe0
add esp, 0xc
lea eax, [ebp - 0x104]
push 0xae
push str.c:.conan76myf3u_1_source_subfolder_srcutilsefd_win.inc
push esi
push eax
push str._s___d____s:_d__n
call fcn.00724777
add eax, 0x40
push eax
call fcn.0072663b
call fcn.00724777
add eax, 0x40
push eax
call fcn.00723db0
add esp, 0x1c
call fcn.004be7e0
call fcn.005f0da0
push 0xaf
push str.c:.conan76myf3u_1_source_subfolder_srcutilsefd_win.inc
push str.rc__1
push str.Assertion_failed:__s___s:_d__n
call fcn.00724777
add eax, 0x40
push eax
call fcn.0072663b
call fcn.00724777
add eax, 0x40
push eax
call fcn.00723db0
add esp, 0x18
call fcn.004be7e0
int3

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x88bba0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x4c756b
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
push esi
push 0
push 0x10
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_recv]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4c755d
call ebx
xor ecx, ecx
cmp eax, 0x2733
cmove esi, ecx
cmp esi, 0xffffffff
je 0x4c757a
cmp esi, 0x10
jb 0x4c7569
mov eax, dword [edi]
cmp eax, 0xffffffff
jne 0x4c7536
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00722035
mov esp, ebp
pop ebp
ret
call ebx
mov esi, eax
call fcn.005f0da0
push 0x100
lea eax, [ebp - 0x114]
push eax
push esi
call fcn.004bebe0
add esp, 0xc
lea eax, [ebp - 0x114]
push 0xbf
push str.c:.conan76myf3u_1_source_subfolder_srcutilsefd_win.inc
push esi
push eax
push str._s___d____s:_d__n
call fcn.00724777
add eax, 0x40
push eax
call fcn.0072663b
call fcn.00724777
add eax, 0x40
push eax
call fcn.00723db0
add esp, 0x1c
call fcn.004be7e0
int3
Function at 0x4c8be0
Capabilities:
Connect pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x88bba0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
push dword [edi + 0xac]
push dword [edi + 0xa8]
push dword [edi + 0xa4]
push ebx
call fcn.004ca580
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4c8d33
push 1
push edi
call fcn.004c04d0
push 2
push ebx
call fcn.004c04d0
add esp, 0x10
cmp dword [edi + 0x104], esi
jne 0x4c8c57
push 0x200
call fcn.004bec40
add esp, 4
mov dword [edi + 0x104], eax
test eax, eax
je 0x4c8d78
lea eax, [edi + 0x10a]
xorps xmm0, xmm0
lea esi, [edi + 0x48]
push eax
movdqu xmmword [esi], xmm0
push ebx
mov dword [esi + 0x10], 0
call fcn.004c94f0
add esp, 8
push esi
push dword [ebx + 0x34]
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x4c8db0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
jne 0x4c8cbb
push 7
push edi
call fcn.004c04d0
push 7
push ebx
call fcn.004c04d0
add esp, 0x10
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00722035
mov esp, ebp
pop ebp
ret
cmp eax, 0x3e5
jne 0x4c8ded
cmp dword [ebx + 0x100], 0
je 0x4c8ce8
call fcn.005f0da0
push 0x28e
push str.c:.conan76myf3u_1_source_subfolder_src_aiousock_win.inc
push str._self__asock
jmp 0x4c8dc4
mov dword [ebx + 0x100], edi
cmp dword [edi + 0x100], 0
je 0x4c8d10
call fcn.005f0da0
push 0x290
push str.c:.conan76myf3u_1_source_subfolder_src_aiousock_win.inc
push str._listener__asock
jmp 0x4c8dc4
lea eax, [edi + 0x3c]
mov dword [edi + 0x100], ebx
push eax
call fcn.004c62c0
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00722035
mov esp, ebp
pop ebp
ret
call fcn.005f0da0
push 0x26f
neg esi
push str.c:.conan76myf3u_1_source_subfolder_src_aiousock_win.inc
push esi
push esi
call fcn.004be800
add esp, 4
push eax
push str._s___d____s:_d__n
call fcn.00724777
add eax, 0x40
push eax
call fcn.0072663b
call fcn.00724777
add eax, 0x40
push eax
call fcn.00723db0
add esp, 0x1c
call fcn.004be7e0
call fcn.005f0da0
push 0x277
push str.c:.conan76myf3u_1_source_subfolder_src_aiousock_win.inc
push str.Out_of_memory___s:_d__n
call fcn.00724777
add eax, 0x40
push eax
call fcn.0072663b
call fcn.00724777
add eax, 0x40
push eax
call fcn.00723db0
add esp, 0x14
call fcn.004be7e0
call fcn.005f0da0
push 0x280
push str.c:.conan76myf3u_1_source_subfolder_src_aiousock_win.inc
push str.brc__0
push str.Assertion_failed:__s___s:_d__n
call fcn.00724777
add eax, 0x40
push eax
call fcn.0072663b
call fcn.00724777
add eax, 0x40
push eax
call fcn.00723db0
add esp, 0x18
call fcn.004be7e0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
call fcn.005f0da0
push 0x100
lea eax, [ebp - 0x104]
push eax
push esi
call fcn.004bebe0
add esp, 0xc
lea eax, [ebp - 0x104]
push 0x28b
push str.c:.conan76myf3u_1_source_subfolder_src_aiousock_win.inc
push esi
push eax
push str._s___d____s:_d__n
call fcn.00724777
add eax, 0x40
push eax
call fcn.0072663b
call fcn.00724777
add eax, 0x40
push eax
call fcn.00723db0
add esp, 0x1c
call fcn.004be7e0
int3
Function at 0x4c8e70
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x88bba0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
cmp dword [esi + 0xa4], 1
jne 0x4c8ed6
mov eax, dword [ebp + 0x10]
cmp eax, 0x80
jbe 0x4c8eb3
pop edi
mov eax, 0xffffffea
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00722035
mov esp, ebp
pop ebp
ret
push eax
lea eax, [esi + 0x108]
push edi
push eax
call fcn.007224a0
add esp, 0xc
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00722035
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x30], 2
jne 0x4c8fbf
push 4
lea eax, [ebp - 0x108]
mov dword [ebp - 0x108], 1
push eax
push 0xfffffffffffffffb
push 0xffff
push dword [esi + 0x34]
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x4c8f46
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
call fcn.005f0da0
push 0x100
lea eax, [ebp - 0x104]
push eax
push esi
call fcn.004bebe0
add esp, 0xc
lea eax, [ebp - 0x104]
push 0xee
push str.c:.conan76myf3u_1_source_subfolder_src_aiousock_win.inc
push esi
push eax
push str._s___d____s:_d__n
jmp 0x4c8fdb
mov eax, dword [ebp + 0x10]
cmp eax, 0x7fffffff
jb 0x4c8f8a
call fcn.005f0da0
push 0xf0
push str.c:.conan76myf3u_1_source_subfolder_src_aiousock_win.inc
push str.addrlen___INT_MAX
push str.Assertion_failed:__s___s:_d__n
call fcn.00724777
add eax, 0x40
push eax
call fcn.0072663b
call fcn.00724777
add eax, 0x40
push eax
call fcn.00723db0
add esp, 0x18
jmp 0x4c8ffa
push eax
push edi
push dword [esi + 0x34]
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x4c8ec4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call fcn.004bea10
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
neg eax
pop edi
pop esi
call fcn.00722035
mov esp, ebp
pop ebp
ret
call fcn.005f0da0
push 0xe7
push str.c:.conan76myf3u_1_source_subfolder_src_aiousock_win.inc
push str.NN_USOCK_STATE_STARTING
push dword [esi + 0x30]
push str.Assertion_failed:__d___s___s:_d__n
call fcn.00724777
add eax, 0x40
push eax
call fcn.0072663b
call fcn.00724777
add eax, 0x40
push eax
call fcn.00723db0
add esp, 0x1c
call fcn.004be7e0
int3
Function at 0x4c94f0
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x88bba0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push eax
push str..pipe_s
lea eax, [ebp - 0x104]
push 0x100
push eax
call fcn.00726b18
add esp, 0x10
lea eax, [ebp - 0x104]
push dword [esi + 0x18c]
push 0
push dword [esi + 0x194]
push dword [esi + 0x190]
push 0xff
push 8
push 0x40000003
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov dword [esi + 0x34], eax
cmp eax, 0xffffffff
je 0x4c9578
push esi
mov dword [esi + 0x38], 1
call fcn.004c9480
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop esi
call fcn.00722035
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
call fcn.005f0da0
push 0x100
lea eax, [ebp - 0x204]
push eax
push esi
call fcn.004bebe0
add esp, 0xc
lea eax, [ebp - 0x204]
push 0x235
push str.c:.conan76myf3u_1_source_subfolder_src_aiousock_win.inc
push esi
push eax
push str._s___d____s:_d__n
call fcn.00724777
add eax, 0x40
push eax
call fcn.0072663b
call fcn.00724777
add eax, 0x40
push eax
call fcn.00723db0
add esp, 0x1c
call fcn.004be7e0
int3
Function at 0x4ca330
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0xa4], 1
je 0x4ca3d9
mov ecx, dword [eax + 0x30]
cmp ecx, 2
je 0x4ca38d
cmp ecx, 4
je 0x4ca38d
call fcn.005f0da0
push 0xcc
push str.c:.conan76myf3u_1_source_subfolder_src_aiousock_win.inc
push str.self__state__NN_USOCK_STATE_STARTING__self__state__NN_USOCK_STATE_ACCEPTED
push str.Assertion_failed:__s___s:_d__n
call fcn.00724777
add eax, 0x40
push eax
call fcn.0072663b
call fcn.00724777
add eax, 0x40
push eax
call fcn.00723db0
add esp, 0x18
jmp fcn.004be7e0
mov ecx, dword [ebp + 0x18]
cmp ecx, 0x7fffffff
jb 0x4ca3ae
call fcn.005f0da0
push 0xce
push str.c:.conan76myf3u_1_source_subfolder_src_aiousock_win.inc
push str.optlen___INT_MAX
jmp 0x4ca364
push ecx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [eax + 0x34]
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x4ca3d9
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call fcn.004bea10
add esp, 4
neg eax
pop ebp
ret
xor eax, eax
pop ebp
ret