Function at 0x4191d0
Capabilities:
Read and send data from client to server
Read file on windows
Send data

Disassembly:
push 0xffffffffffffffff
push 0x423dc0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov eax, dword [esp + 0x5c]
push 0x42e824
push eax
mov dword [esp + 0x54], 0
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebx, eax
add esp, 8
test ebx, ebx
mov dword [esp + 0x14], ebx
jne 0x41922b
lea ecx, [esp + 0x5c]
mov dword [esp + 0x4c], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x4193dd
push 2
push 0
push ebx
call dword [sym.imp.MSVCRT.dll_fseek]
push ebx
call dword [sym.imp.MSVCRT.dll_ftell]
push ebx
mov edi, eax
call dword [sym.imp.MSVCRT.dll_rewind]
mov ebx, dword [sym.imp.MSVCRT.dll_malloc]
push edi
call ebx
mov ecx, dword [esi + 0xc]
mov ebp, eax
add ecx, edi
push ecx
call ebx
add esp, 0x1c
mov dword [esp + 0x10], eax
test ebp, ebp
jne 0x41927c
lea ecx, [esp + 0x5c]
mov dword [esp + 0x4c], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x4193dd
mov edx, dword [esp + 0x14]
push edx
push edi
push 1
push ebp
call dword [sym.imp.MSVCRT.dll_fread]
mov edi, eax
mov eax, dword [esi + 0xc]
push eax
call ebx
mov ecx, dword [esi + 0xc]
add esp, 0x14
push ecx
lea ecx, [esi + 8]
call sub.MFC42.DLL_CString::GetBuffer
mov ecx, dword [esi + 0xc]
xor ebx, ebx
xor edx, edx
cmp ecx, ebx
jle 0x4192c3
mov ecx, dword [esp + 0x10]
sub eax, ecx
mov bl, byte [eax + ecx]
inc edx
mov byte [ecx], bl
mov ebx, dword [esi + 0xc]
inc ecx
cmp edx, ebx
jl 0x4192b3
xor ebx, ebx
xor eax, eax
cmp edi, ebx
jbe 0x4192df
mov edx, dword [esi + 0xc]
mov cl, byte [eax + ebp]
mov ebx, dword [esp + 0x10]
add edx, eax
inc eax
cmp eax, edi
mov byte [edx + ebx], cl
jb 0x4192c9
xor ebx, ebx
mov esi, dword [esi + 0xc]
push ebx
add esi, edi
mov edi, dword [esp + 0x58]
push ebx
lea edx, [esp + 0x24]
push ebx
push edx
push edi
mov dword [esp + 0x30], 0x28
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
call dword [sym.imp.WININET.dll_HttpSendRequestExA]
test eax, eax
jne 0x41937d
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CString::CString_1
mov byte [esp + 0x4c], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x58]
push str.Error_on_HttpSendRequestEx__d_n
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x60]
add esp, 0xc
push ebx
push ebx
push ecx
call sub.MFC42.DLL_AfxMessageBox
lea ecx, [esp + 0x54]
mov byte [esp + 0x4c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x5c]
mov dword [esp + 0x4c], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x4193dd
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
push esi
push eax
push edi
call dword [sym.imp.WININET.dll_InternetWriteFile]
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.WININET.dll_HttpEndRequestA]
test eax, eax
jne 0x4193b2
lea ecx, [esp + 0x5c]
mov dword [esp + 0x4c], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x4193dd
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.MSVCRT.dll_fclose]
push ebp
call dword [sym.imp.MSVCRT.dll_free]
add esp, 8
lea ecx, [esp + 0x5c]
mov dword [esp + 0x4c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 0xc