Function at 0x42f500
Capabilities:
Check if file exists
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x47c51b
mov eax, dword fs:[0]
push eax
sub esp, 0x2cc
mov eax, dword [0x4a8800]
xor eax, esp
mov dword [esp + 0x2c4], eax
push esi
push edi
mov eax, dword [0x4a8800]
xor eax, esp
push eax
lea eax, [esp + 0x2d8]
mov dword fs:[0], eax
mov edx, ecx
mov dword [esp + 0x14], edx
cmp dword [edx + 0x14], 8
lea edi, [esp + 0x164]
mov ecx, 0x19
mov eax, dword [0x495dcc]
mov esi, str.Content_Type:_multipart_form_data__boundaryAaB03x
mov dword [esp + 0x15c], eax
rep movsd dword es:[edi], dword [esi]
movdqu xmm0, xmmword [str._r_n__AaB03x___r_n]
mov ax, word [0x495dd0]
mov ecx, 0x3e
mov word [esp + 0x160], ax
movsw word es:[edi], word [esi]
mov esi, str.__AaB03x_r_nContent_Disposition:_form_data__name_logfile___filename_logfile.log__r_nContent_Type:_application_octet_stream_r_n_r_n
lea edi, [esp + 0x1cc]
rep movsd dword es:[edi], dword [esi]
movdqu xmmword [esp + 0x144], xmm0
movq xmm0, qword [0x495dc4]
movsw word es:[edi], word [esi]
movq qword [esp + 0x154], xmm0
jb 0x42f5b3
mov edx, dword [edx]
xor eax, eax
mov dword [esp + 0x140], 7
mov dword [esp + 0x13c], 0
mov word [esp + 0x12c], ax
cmp word [edx], ax
jne 0x42f5dc
xor ecx, ecx
jmp 0x42f5f0
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42f5e1
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x134]
call fcn.00422d00
cmp dword [esp + 0x140], 8
lea eax, [esp + 0x12c]
cmovae eax, dword [esp + 0x12c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
setne al
cmp dword [esp + 0x140], 8
mov byte [esp + 0xf], al
jb 0x42f643
push dword [esp + 0x12c]
call fcn.0045a050
mov al, byte [esp + 0x13]
add esp, 4
test al, al
je 0x42f64e
xor al, al
jmp 0x42f92f
sub esp, 0xc
lea ecx, [esp + 0x68]
push dword [esp + 0x20]
call fcn.0042fb70
mov dword [esp + 0x2e0], 0
mov eax, dword [esp + 0x5c]
push dword [esp + 0x14]
mov byte [esp + 0x1c], 1
push dword [esp + 0x1c]
mov eax, dword [eax + 4]
mov dword [esp + 0x130], 7
mov dword [esp + 0x12c], 0
mov eax, dword [esp + eax + 0x9c]
test eax, eax
sete byte [esp + 0x28]
xor ecx, ecx
push ecx
push dword [esp + 0x2c]
mov word [esp + 0x124], cx
lea ecx, [esp + 0x124]
push eax
call fcn.004309b0
push 0
push 0
push 0
push 0
push str.MyAgent
call dword [sym.imp.WININET.dll_InternetOpenW]
test eax, eax
je 0x42f884
push 1
push 0
push 3
push 0
push 0
push 0x50
push str.yabs.myplaycity.com
push eax
call dword [sym.imp.WININET.dll_InternetConnectW]
test eax, eax
je 0x42f884
push 1
push 0
push 0x4a9c28
push 0
push 0
push str._logs_receiver.php
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov esi, eax
test esi, esi
je 0x42f884
push 0xa0000000
push 0xffffffffffffffff
lea eax, [esp + 0x16c]
push eax
push esi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
test eax, eax
setne al
test al, al
je 0x42f884
xorps xmm0, xmm0
lea ecx, [esp + 0x1cc]
movdqa xmmword [esp + 0x24], xmm0
lea edx, [ecx + 2]
movdqa xmmword [esp + 0x34], xmm0
movq qword [esp + 0x44], xmm0
mov dword [esp + 0x24], 0x28
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42f770
sub ecx, edx
lea edx, [esp + 0x144]
sar ecx, 1
lea edi, [edx + 2]
lea esp, [esp]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x42f790
sub edx, edi
sar edx, 1
push 0
push 8
push 0
lea eax, [edx + ecx]
add eax, dword [esp + 0x130]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x30]
push eax
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestExW]
test eax, eax
setne al
test al, al
je 0x42f884
lea ecx, [esp + 0x1cc]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42f7d6
mov edi, dword [sym.imp.WININET.dll_InternetWriteFile]
lea eax, [esp + 0x10]
push eax
sub ecx, edx
lea eax, [esp + 0x1d0]
sar ecx, 1
push ecx
push eax
push esi
call edi
test eax, eax
setne al
test al, al
je 0x42f884
cmp dword [esp + 0x128], 8
lea ecx, [esp + 0x10]
push ecx
push dword [esp + 0x128]
lea eax, [esp + 0x11c]
cmovae eax, dword [esp + 0x11c]
push eax
push esi
call edi
test eax, eax
setne al
test al, al
je 0x42f884
lea ecx, [esp + 0x144]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42f840
sub ecx, edx
lea eax, [esp + 0x10]
push eax
sar ecx, 1
lea eax, [esp + 0x148]
push ecx
push eax
push esi
call edi
test eax, eax
setne al
test al, al
je 0x42f884
push 0
push 8
push 0
push esi
call dword [sym.imp.WININET.dll_HttpEndRequestW]
test eax, eax
mov byte [esp + 0xf], 1
setne al
test al, al
jne 0x42f889
mov byte [esp + 0xf], 0
cmp dword [esp + 0x128], 8
jb 0x42f8a2
push dword [esp + 0x114]
call fcn.0045a050
add esp, 4
xor eax, eax
mov dword [esp + 0x2e0], 0xffffffff
mov word [esp + 0x114], ax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x128], 7
mov dword [esp + 0x124], 0
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x5c], vtable.std::basic_ifstream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [esp + ecx + 0x58], eax
lea ecx, [esp + 0x6c]
call fcn.00429600
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x5c], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
lea eax, [esp + 0xcc]
mov ecx, dword [esp + 0x5c]
push eax
mov edx, dword [ecx + 4]
lea ecx, [edx - 0x18]
mov dword [esp + edx + 0x5c], ecx
mov dword [esp + 0xd0], vtable.std::ios_base.0
call fcn.00459aca
mov al, byte [esp + 0x13]
add esp, 4
mov ecx, dword [esp + 0x2d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x2c4]
xor ecx, esp
call fcn.0045b1f5
mov esp, ebp
pop ebp
ret