Function at 0x41b3a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41f99e
mov eax, dword fs:[0]
push eax
sub esp, 0x554
mov eax, dword [0x42600c]
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.00405000
mov edi, 1
mov dword [ebp - 4], 0
mov dword [ebp - 0x52c], edi
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x41b42e
mov ecx, dword [esi]
mov edx, dword [esi + 0x10]
push 4
push str.NONE
call fcn.0040b380
add esp, 8
test al, al
je 0x41ba6b
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.00401510
or edi, 8
lea eax, [ebp - 0x550]
mov dword [ebp - 0x52c], edi
cmp esi, eax
je 0x41b4d7
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x41b4ad
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x41b4a3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ba5f
mov eax, edx
push ecx
push eax
call fcn.0041c982
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 0x41b511
mov ecx, dword [ebp - 0x53c]
cmp ecx, 0x10
jb 0x41b511
mov edx, dword [ebp - 0x550]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41b507
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ba5f
push ecx
push edx
call fcn.0041c982
add esp, 8
push 0x420a3c
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 0x41b662
push ecx
lea ecx, [ebp - 0x448]
add eax, ecx
push eax
mov eax, ecx
lea ecx, [ebp - 0x550]
push eax
call fcn.00405740
mov byte [ebp - 4], 2
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x41b59b
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 0x41b5df
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 0x41b5f8
mov byte [ebp - 0x554], 0
lea ecx, [ebp - 0x460]
push dword [ebp - 0x554]
push esi
call fcn.004053b0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x53c]
cmp ecx, 0x10
jb 0x41b636
mov edx, dword [ebp - 0x550]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41b62c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ba5f
push ecx
push edx
call fcn.0041c982
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 0x41b575
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 0x4205d8
call fcn.00405000
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], 0x4206f4
lea ecx, [ebp - 0x4c0]
mov dword [ebp - 0x518], 0x420fe0
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 0x41ba65
test eax, eax
je 0x41b82b
cmp eax, 0x1000
jb 0x41b7b7
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x41ba88
push ecx
call fcn.0041c701
add esp, 4
test eax, eax
je 0x41ba5f
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x41b7c2
push eax
call fcn.0041c701
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 0x41b831
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.0040ac10
mov ecx, eax
add esp, 4
mov eax, dword [ecx]
mov eax, dword [eax + 4]
test byte [eax + ecx + 0xc], 6
jne 0x41b971
mov ecx, dword [esi + 0x10]
mov eax, closesocket
sub eax, ecx
cmp eax, 1
jb 0x41ba8d
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x41b87f
mov eax, dword [esi]
push ecx
push eax
push 1
push 0x420a24
push ecx
push dword [ebp - 0x55c]
lea ecx, [ebp - 0x550]
call fcn.0040a6a0
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.00404f00
add esp, 0xc
mov dword [ebp - 0x538], eax
cmp byte [ebp - 0x52d], 0
je 0x41b92f
mov ecx, dword [ebp - 0x53c]
mov eax, edi
inc ecx
cmp ecx, 0x1000
jb 0x41b91f
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ba5f
push ecx
push edi
call fcn.0041c982
mov eax, dword [ebp - 0x538]
add esp, 8
cmp eax, 0xffffffff
jne 0x41b963
push ecx
lea edx, [ebp - 0x478]
lea ecx, [ebp - 0x528]
call fcn.0040ac10
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 0x41b862
jmp 0x41b971
push 4
push str.NONE
mov ecx, esi
call fcn.00412be0
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.00412960
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 0x41b9f5
mov edx, dword [ebp - 0x478]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41b9eb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ba5f
push ecx
push edx
call fcn.0041c982
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 0x41b424
mov edx, dword [ebp - 0x460]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41ba4a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ba5f
push ecx
push edx
call fcn.0041c982
mov edi, dword [ebp - 0x52c]
add esp, 8
jmp 0x41b424
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.0041c42c
mov esp, ebp
pop ebp
ret
call fcn.004013c0
call fcn.00401460
int3