Function at 0x777d2d
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, reloc.ws2_32.dll_WSASetLastError
mov eax, 0x185c
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]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + reloc.ws2_32.dll_WSASetLastError]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + reloc.ws2_32.dll_WSASetLastError]
push ebx
push esi
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + reloc.ws2_32.dll_WSASetLastError]
push edi
mov edi, dword [ebp + reloc.ws2_32.dll_WSASetLastError]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + reloc.ws2_32.dll_WSASetLastError]
xor ebx, ebx
mov esi, 0x400
push esi
mov dword [ebp - 0x68], eax
lea eax, reloc.ws2_32.dll_WSASetLastError
push ebx
push eax
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x74], ebx
call fcn.007c3430
push esi
lea eax, reloc.ws2_32.dll_WSASetLastError
push ebx
push eax
call fcn.007c3430
push dword [edi]
call fcn.0077858a
mov ebx, 0x3d20
push ebx
mov dword [ebp - 0x80], eax
call fcn.0074274a
add esp, 0x20
mov dword [ebp - 0x70], eax
test eax, eax
jne 0x777dea
mov eax, 0x332
mov ecx, dword [ebp + reloc.ws2_32.dll_WSASetLastError]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.007c1e9d
add ebp, 0x17dc
leave
ret
push eax
call fcn.007792ae
mov eax, dword [ebp - 0x6c]
and dword [eax], 0
mov eax, dword [ebp - 0x64]
and dword [eax], 0
mov dword [esp], reloc.ws2_32.dll_WSASetLastError
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x78]
push edi
call fcn.0077a809
push 0x7ec748
push dword [ebp - 0x60]
call fcn.00748be9
add esp, 0x18
mov dword [ebp - 0x60], eax
test eax, eax
jne 0x777e50
lea eax, [ebp - 0x58]
push eax
push 2
mov esi, 0x32d
push esi
push 0x82cea8
push dword [ebp - 0x80]
call fcn.0074b93c
add esp, 0x14
push dword [ebp - 0x70]
call fcn.007c9cf8
pop ecx
mov eax, esi
jmp 0x777dd2
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
push dword [ebp - 0x78]
push edi
call fcn.0077abb5
push dword [ebp - 0x60]
call fcn.007d04f6
add esp, 0x10
test eax, eax
jne 0x777fbb
push dword [ebp - 0x60]
lea eax, reloc.ws2_32.dll_WSASetLastError
push 1
push esi
push eax
call fcn.007cf74d
add esp, 0x10
push 0x5f
push 0
lea eax, reloc.ws2_32.dll_WSASetLastError
push 0
push eax
mov byte [ebp + 0x17d7], 0
call fcn.007c7760
pop ecx
push eax
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
push edi
call fcn.0079515a
add esp, 0x1c
cmp byte [ebp + 0xfd8], 0
je 0x777f83
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
call fcn.007c9c00
push esi
lea eax, reloc.ws2_32.dll_WSASetLastError
push 0
push eax
call fcn.007c3430
push esi
lea eax, reloc.ws2_32.dll_WSASetLastError
push 0
push eax
call fcn.007c3430
push dword [ebp - 0x68]
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
push edi
call fcn.0077a2bf
add esp, 0x2c
cmp eax, 0x382
je 0x777f83
cmp dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x68]
jne 0x777f42
cmp dword [eax], reloc.ws2_32.dll_WSASetLastError
je 0x777f26
cmp dword [eax + 4], 0
jne 0x777f42
mov ecx, dword [ebp - 0x5c]
push ebx
push eax
push dword [ebp - 0x70]
mov dword [ebp - 0x7c], ecx
call fcn.007c2eb0
add esp, 0xc
mov dword [ebp - 0x74], 1
jmp 0x777f6d
lea ecx, reloc.ws2_32.dll_WSASetLastError
push ecx
add eax, 8
push eax
push edi
call fcn.0077abb5
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
call fcn.007ce333
add esp, 0x14
test eax, eax
je 0x777f8b
push dword [ebp - 0x60]
inc dword [ebp - 0x5c]
call fcn.007d04f6
pop ecx
test eax, eax
je 0x777e73
jmp 0x777f94
mov eax, dword [ebp - 0x64]
and dword [eax], 0
jmp 0x777f94
mov eax, dword [ebp - 0x64]
mov dword [eax], 1
cmp dword [ebp - 0x74], 1
jne 0x777fbb
mov eax, dword [ebp - 0x64]
cmp dword [eax], 0
jne 0x777fbb
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x6c]
push ebx
push dword [ebp - 0x70]
mov dword [ecx], eax
push dword [ebp - 0x68]
call fcn.007c2eb0
add esp, 0xc
jmp 0x777fc3
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x6c]
mov dword [ecx], eax
push dword [ebp - 0x60]
call fcn.007c7ab7
pop ecx
xor esi, esi
jmp 0x777e43