Function at 0x775371
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, reloc.ws2_32.dll_WSASetLastError
mov eax, 0x14a4
call fcn.007c1eb0
mov eax, dword [0x830e54]
xor eax, ebp
mov dword [ebp + reloc.ws2_32.dll_WSASetLastError], eax
mov eax, dword [ebp + reloc.ws2_32.dll_WSASetLastError]
push ebx
mov ebx, dword [ebp + reloc.ws2_32.dll_WSASetLastError]
push esi
push edi
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + reloc.ws2_32.dll_WSASetLastError]
mov esi, 0x40f
push esi
mov dword [ebp - 0x74], eax
lea eax, reloc.ws2_32.dll_WSASetLastError
push 0
push eax
mov byte [ebp + 0x3ac], 0
call fcn.007c3430
push dword [ebx]
lea edi, [esi + 1]
mov dword [ebp - 0x80], edi
call fcn.0077858a
push edi
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x64]
push 0
push eax
call fcn.007c3430
push edi
lea eax, reloc.ws2_32.dll_WSASetLastError
push 0
push eax
call fcn.007c3430
push edi
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
push dword [ebp - 0x78]
push ebx
call fcn.0077a809
mov eax, dword [ebp - 0x74]
add esp, 0x38
test eax, eax
jne 0x77547f
push 1
push edi
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
call fcn.0079711e
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
call fcn.0077a95b
push 1
lea eax, [ebp - 0x80]
push eax
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
call fcn.00757410
push esi
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
call fcn.007ca140
push esi
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
call fcn.007427cb
push esi
lea eax, reloc.ws2_32.dll_WSASetLastError
push 0x7f2020
push eax
call fcn.007427cb
add esp, 0x44
jmp 0x7754ef
cmp byte [eax], 0
je 0x7756f5
push eax
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
call fcn.007c9c00
lea eax, reloc.ws2_32.dll_WSASetLastError
push 0x7eced0
push eax
call fcn.007c9c10
push 1
push edi
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
call fcn.0079711e
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
call fcn.0077a95b
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
call fcn.007c9c10
lea eax, reloc.ws2_32.dll_WSASetLastError
push 0x7f2020
push eax
call fcn.007c9c10
add esp, 0x34
lea eax, reloc.ws2_32.dll_WSASetLastError
push 0x7f1fe4
push eax
call fcn.00748be9
mov esi, eax
pop ecx
pop ecx
mov dword [ebp - 0x6c], esi
test esi, esi
jne 0x77551c
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
mov esi, 0x32d
jmp 0x7756fc
push 2
push 0
push esi
call fcn.007ced22
push esi
call fcn.007cf402
mov esi, 0x7f2000
push esi
mov dword [ebp - 0x70], eax
call fcn.007c7760
sub dword [ebp - 0x70], eax
push 0
push dword [ebp - 0x70]
push dword [ebp - 0x6c]
call fcn.007ced22
add esp, 0x20
push dword [ebp - 0x6c]
push 1
push esi
call fcn.007c7760
pop ecx
push eax
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
call fcn.007cf74d
add esp, 0x10
push 0xff
push 0
push 0
push esi
call fcn.007c7760
pop ecx
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
push ebx
call fcn.0079515a
lea eax, [ebp - 0x64]
push eax
push esi
call fcn.007c9d20
add esp, 0x24
test eax, eax
je 0x7755c8
push dword [ebp - 0x6c]
call fcn.007c7ab7
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
push 2
mov esi, 0x32f
push esi
push 0x82cea8
push dword [ebp - 0x68]
call fcn.0074b93c
add esp, 0x18
jmp 0x77570f
push 0
push dword [ebp - 0x70]
push dword [ebp - 0x6c]
call fcn.007ced22
push dword [ebp - 0x6c]
call fcn.007d0a5d
push dword [ebp - 0x70]
mov esi, eax
push esi
call fcn.007d0826
add esp, 0x18
push esi
cmp eax, reloc.ws2_32.dll_WSASetLastError
jne 0x775633
call fcn.007d061e
call fcn.007cb1ce
mov esi, dword [eax]
call fcn.007d058c
push dword [eax + esi*4]
push 0x7ec8a8
push 2
push 0x33c
push 0x82cea8
push dword [ebp - 0x68]
call fcn.0074b93c
push dword [ebp - 0x6c]
call fcn.007c7ab7
add esp, 0x20
mov eax, 0x382
jmp 0x775711
call fcn.007d061e
lea eax, [ebp - 0x7c]
push eax
push ebx
call fcn.007787e8
add esp, 0xc
cmp dword [ebp - 0x7c], 1
jne 0x775660
push 0xff
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
push ebx
call fcn.007954b9
add esp, 0xc
push edi
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
push dword [ebp - 0x78]
push ebx
call fcn.0077a809
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
call fcn.00748c9e
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
call fcn.00748df8
add esp, 0x1c
test eax, eax
je 0x7756b1
mov esi, 0x332
push 2
push esi
push 0x82cea8
push dword [ebp - 0x68]
call fcn.0074b93c
add esp, 0x10
jmp 0x77570f
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
call fcn.00748384
push 1
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
push ebx
call fcn.00773c34
add esp, 0x10
test eax, eax
je 0x7756da
mov esi, 0x32a
jmp 0x77569c
push 0
push dword [ebp - 0x74]
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
push ebx
call fcn.00773a0e
add esp, 0x10
test eax, eax
jne 0x7756d3
jmp 0x775711
push 3
mov esi, 0x325
push 2
push esi
push 0x82cea8
push dword [ebp - 0x68]
call fcn.0074b93c
add esp, 0x14
mov eax, esi
mov ecx, dword [ebp + reloc.ws2_32.dll_WSASetLastError]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.007c1e9d
add ebp, 0x1424
leave
ret