Function at 0x7781f4
Capabilities:
Create directory
Write file on windows

Disassembly:
push ebp
lea ebp, reloc.ws2_32.dll_WSASetLastError
mov eax, 0x4960
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
push esi
mov esi, dword [ebp + reloc.ws2_32.dll_WSASetLastError]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + reloc.ws2_32.dll_WSASetLastError]
push edi
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + reloc.ws2_32.dll_WSASetLastError]
xor ebx, ebx
push 0x40f
mov dword [ebp - 0x74], eax
lea eax, reloc.ws2_32.dll_WSASetLastError
push ebx
push eax
mov byte [ebp + 0x40bc], bl
call fcn.007c3430
push dword [esi]
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x70], ebx
call fcn.0077858a
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x64]
push eax
call fcn.007792ae
mov edi, 0x400
push edi
lea eax, reloc.ws2_32.dll_WSASetLastError
push ebx
push eax
call fcn.007c3430
push 0x410
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
push dword [ebp - 0x68]
push esi
call fcn.0077a809
add esp, 0x30
test eax, eax
je 0x7782bb
mov esi, 0x32a
push 2
push esi
push 0x82cea8
push dword [ebp - 0x6c]
call fcn.0074b93c
add esp, 0x10
mov eax, esi
jmp 0x77843e
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x80]
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
push esi
call fcn.00777d2d
add esp, 0x18
test eax, eax
je 0x7782f5
push 1
push 0x323
push 0x82cea8
push dword [ebp - 0x6c]
call fcn.0074b93c
add esp, 0x10
lea eax, reloc.ws2_32.dll_WSASetLastError
push ebx
push eax
call fcn.00761c68
pop ecx
pop ecx
cmp eax, reloc.ws2_32.dll_WSASetLastError
jne 0x778395
push 0x410
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
push esi
call fcn.0077aace
lea eax, reloc.ws2_32.dll_WSASetLastError
push ebx
push eax
call fcn.00761c68
add esp, 0x18
cmp eax, reloc.ws2_32.dll_WSASetLastError
jne 0x778357
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
call fcn.007d0522
pop ecx
cmp eax, reloc.ws2_32.dll_WSASetLastError
jne 0x778357
mov esi, 0x332
jmp 0x7782a1
lea eax, reloc.ws2_32.dll_WSASetLastError
push 0x7ecf08
push eax
call fcn.00748be9
pop ecx
pop ecx
mov dword [ebp - 0x68], eax
cmp eax, ebx
jne 0x7783bc
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
push 2
mov esi, 0x32d
push esi
push 0x82cea8
push dword [ebp - 0x6c]
call fcn.0074b93c
add esp, 0x14
jmp 0x7782b4
lea eax, [ebp - 0x70]
push eax
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
push esi
call fcn.0077a99f
lea eax, reloc.ws2_32.dll_WSASetLastError
push 0x7f1fe4
push eax
call fcn.00748be9
add esp, 0x14
jmp 0x77836a
mov eax, dword [ebp - 0x78]
push ebx
shl eax, 0xa
push eax
push dword [ebp - 0x68]
call fcn.007ced22
add esp, 0xc
push 0x5f
push ebx
push ebx
push dword [ebp - 0x74]
call fcn.007c7760
pop ecx
push eax
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
push dword [ebp - 0x74]
push esi
call fcn.007950d4
push dword [ebp - 0x68]
lea eax, reloc.ws2_32.dll_WSASetLastError
push 1
push edi
push eax
call fcn.007c7ef5
push dword [ebp - 0x68]
call fcn.007c7ab7
lea eax, reloc.ws2_32.dll_WSASetLastError
push ebx
push eax
call fcn.00761c68
add esp, 0x38
cmp eax, reloc.ws2_32.dll_WSASetLastError
je 0x778429
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
call fcn.00748384
pop ecx
push dword [ebp - 0x70]
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
push esi
call fcn.0077ad5c
add esp, 0xc
xor eax, eax
mov ecx, dword [ebp + reloc.ws2_32.dll_WSASetLastError]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.007c1e9d
add ebp, 0x48e0
leave
ret