Function at 0x41bff0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4206ce
mov eax, dword fs:[0]
push eax
sub esp, 0x554
mov eax, dword [0x42800c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x558], esi
mov dword [ebp - 0x538], esi
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x560], esi
mov dword [ebp - 0x52c], 0
push 4
movups xmmword [esi], xmm0
push str.NONE
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.00405070
mov edi, 1
mov dword [ebp - 4], 0
mov dword [ebp - 0x52c], edi
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x41c07e
mov ecx, dword [esi]
mov edx, dword [esi + 0x10]
push 4
push str.NONE
call fcn.0040b5a0
add esp, 8
test al, al
je 0x41c6bb
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdq
mov ecx, 0x2328
idiv ecx
lea ecx, [ebp - 0x550]
add edx, 0x9c40
call fcn.00401580
or edi, 8
lea eax, [ebp - 0x550]
mov dword [ebp - 0x52c], edi
cmp esi, eax
je 0x41c127
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x41c0fd
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x41c0f3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c6af
mov eax, edx
push ecx
push eax
call fcn.0041d5d2
add esp, 8
movups xmm0, xmmword [ebp - 0x550]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x540]
movq qword [esi + 0x10], xmm0
jmp 0x41c161
mov ecx, dword [ebp - 0x53c]
cmp ecx, 0x10
jb 0x41c161
mov edx, dword [ebp - 0x550]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41c157
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c6af
push ecx
push edx
call fcn.0041d5d2
add esp, 8
push 0x421a5c
push str.netstat__a__o
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__popen]
xorps xmm0, xmm0
mov dword [ebp - 0x450], 0
mov edi, eax
mov dword [ebp - 0x44c], 0xf
movups xmmword [ebp - 0x460], xmm0
mov dword [ebp - 0x534], edi
mov byte [ebp - 0x460], 0
push edi
push 0x438
lea eax, [ebp - 0x448]
mov dword [ebp - 4], 1
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x18
test eax, eax
je 0x41c2b2
push ecx
lea ecx, [ebp - 0x448]
add eax, ecx
push eax
mov eax, ecx
lea ecx, [ebp - 0x550]
push eax
call fcn.004057b0
mov byte [ebp - 4], 2
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x41c1eb
mov ecx, dword [eax]
mov esi, dword [eax + 0x10]
mov edi, dword [ebp - 0x44c]
mov eax, edi
mov edx, dword [ebp - 0x450]
sub eax, edx
push esi
push ecx
cmp esi, eax
ja 0x41c22f
lea eax, [edx + esi]
cmp edi, 0x10
mov dword [ebp - 0x450], eax
lea eax, [ebp - 0x460]
cmovae eax, dword [ebp - 0x460]
lea edi, [eax + edx]
push edi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [edi + esi], 0
jmp 0x41c248
mov byte [ebp - 0x554], 0
lea ecx, [ebp - 0x460]
push dword [ebp - 0x554]
push esi
call fcn.00405420
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x53c]
cmp ecx, 0x10
jb 0x41c286
mov edx, dword [ebp - 0x550]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41c27c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c6af
push ecx
push edx
call fcn.0041d5d2
add esp, 8
mov edi, dword [ebp - 0x534]
lea eax, [ebp - 0x448]
push edi
push 0x438
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
test eax, eax
jne 0x41c1c5
mov esi, dword [ebp - 0x558]
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__pclose]
add esp, 4
mov dword [ebp - 0x468], 0
xorps xmm0, xmm0
mov dword [ebp - 0x464], 0
lea ecx, [ebp - 0x478]
movups xmmword [ebp - 0x478], xmm0
push 0
push 0x4215d8
call fcn.00405070
push 0xb0
lea eax, [ebp - 0x528]
mov byte [ebp - 4], 3
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x528], 0x4216f4
lea ecx, [ebp - 0x4c0]
mov dword [ebp - 0x518], 0x4220bc
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
mov byte [ebp - 4], 4
lea eax, [ebp - 0x510]
mov edi, dword [ebp - 0x52c]
lea ecx, [ebp - 0x528]
push 0
or edi, 4
push eax
mov dword [ebp - 0x52c], edi
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char____]
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x528]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x528]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x52c], eax
lea eax, [ebp - 0x510]
mov ecx, eax
mov dword [ebp - 0x55c], eax
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov byte [ebp - 4], 6
lea eax, [ebp - 0x460]
cmp dword [ebp - 0x44c], 0x10
mov dword [ebp - method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
cmovae eax, dword [ebp - 0x460]
xor ecx, ecx
mov dword [ebp - 0x538], eax
mov eax, dword [ebp - 0x450]
mov dword [ebp - 0x534], eax
cmp eax, 0x7fffffff
ja 0x41c6b5
test eax, eax
je 0x41c47b
cmp eax, 0x1000
jb 0x41c407
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x41c6d8
push ecx
call fcn.0041d351
add esp, 4
test eax, eax
je 0x41c6af
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x41c412
push eax
call fcn.0041d351
add esp, 4
mov edi, eax
push dword [ebp - 0x534]
push dword [ebp - 0x538]
push edi
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0x534]
add esp, 0xc
lea eax, [edi + ecx]
mov dword [ebp - 0x4d8], eax
mov eax, dword [ebp - 0x504]
mov dword [eax], edi
mov eax, dword [ebp - 0x4f4]
mov dword [eax], edi
mov eax, dword [ebp - 0x4e4]
mov dword [eax], ecx
mov eax, dword [ebp - 0x500]
mov ecx, dword [ebp - 0x4d8]
sub ecx, edi
mov dword [eax], edi
mov eax, dword [ebp - 0x4f0]
mov dword [eax], edi
mov eax, dword [ebp - 0x4e0]
mov edi, dword [ebp - 0x52c]
mov dword [eax], ecx
mov ecx, 1
jmp 0x41c481
mov dword [ebp - 0x4d8], ecx
mov dword [ebp - 0x4d4], ecx
push ecx
lea edx, [ebp - 0x478]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x528]
call fcn.0040ae30
mov ecx, eax
add esp, 4
mov eax, dword [ecx]
mov eax, dword [eax + 4]
test byte [eax + ecx + 0xc], 6
jne 0x41c5c1
mov ecx, dword [esi + 0x10]
mov eax, closesocket
sub eax, ecx
cmp eax, 1
jb 0x41c6dd
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x41c4cf
mov eax, dword [esi]
push ecx
push eax
push 1
push 0x421a44
push ecx
push dword [ebp - 0x55c]
lea ecx, [ebp - 0x550]
call fcn.0040a8c0
push dword [ebp - 0x540]
mov edx, dword [ebp - 0x468]
lea eax, [ebp - 0x550]
or edi, 2
lea ecx, [ebp - 0x478]
cmp dword [ebp - 0x53c], 0x10
mov dword [ebp - 0x52c], edi
mov edi, dword [ebp - 0x550]
setae byte [ebp - 0x52d]
cmovae eax, edi
cmp dword [ebp - 0x464], 0x10
push eax
cmovae ecx, dword [ebp - 0x478]
push 0
call fcn.00404f70
add esp, 0xc
mov dword [ebp - 0x538], eax
cmp byte [ebp - 0x52d], 0
je 0x41c57f
mov ecx, dword [ebp - 0x53c]
mov eax, edi
inc ecx
cmp ecx, 0x1000
jb 0x41c56f
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c6af
push ecx
push edi
call fcn.0041d5d2
mov eax, dword [ebp - 0x538]
add esp, 8
cmp eax, 0xffffffff
jne 0x41c5b3
push ecx
lea edx, [ebp - 0x478]
lea ecx, [ebp - 0x528]
call fcn.0040ae30
mov edi, dword [ebp - 0x52c]
mov ecx, eax
add esp, 4
mov eax, dword [ecx]
mov eax, dword [eax + 4]
test byte [eax + ecx + 0xc], 6
je 0x41c4b2
jmp 0x41c5c1
push 4
push str.NONE
mov ecx, esi
call fcn.00413660
mov eax, dword [ebp - 0x528]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x528]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x52c], eax
lea ecx, [ebp - 0x510]
call fcn.004132f0
lea ecx, [ebp - 0x508]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x4c0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x464]
cmp ecx, 0x10
jb 0x41c645
mov edx, dword [ebp - 0x478]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41c63b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c6af
push ecx
push edx
call fcn.0041d5d2
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x44c]
mov edi, dword [ebp - 0x52c]
mov dword [ebp - 0x468], 0
mov dword [ebp - 0x464], 0xf
mov byte [ebp - 0x478], 0
cmp ecx, 0x10
jb 0x41c074
mov edx, dword [ebp - 0x460]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41c69a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c6af
push ecx
push edx
call fcn.0041d5d2
mov edi, dword [ebp - 0x52c]
add esp, 8
jmp 0x41c074
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_alloc_void_]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041d07c
mov esp, ebp
pop ebp
ret
call fcn.00401430
call fcn.004014d0
int3