Function at 0x405330
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4191b8
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x423458]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x108], edi
push 0
push 0
push 0
push 0
push 0x420b58
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, eax
mov dword [ebp - 0x13c], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x40564a
cmp dword [edi + 0xa4], 8
lea eax, [edi + 0x90]
jb 0x4053a0
mov eax, dword [eax]
push 0
push 0
push 3
push 0
push 0
push 0x50
push eax
push esi
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebp - 0x140], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x405643
cmp dword [edi + 0xbc], 8
lea ecx, [edi + 0xa8]
jb 0x4053d7
mov ecx, dword [ecx]
push 0
push 0
push 0
push 0
push str.HTTP_1.0
push ecx
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebp - 0x144], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x405635
lea ecx, [ebp - 0x170]
call fcn.00401ee0
push edi
mov byte [ebp - 4], 3
call fcn.00401fd0
push 0xa0000000
push 0xffffffffffffffff
mov ecx, 0x3c
lea edi, [ebp - 0x100]
mov esi, str.Content_Transfer_Encoding:_binary_r_nContent_Type:_multipart_form_data__charsetUTF_8__boundaryMULTIPART_DATA_BOUNDARY_r_n
lea eax, [ebp - 0x100]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x144]
push eax
push esi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
test eax, eax
je 0x405619
mov eax, dword [ebp - 0x148]
xorps xmm0, xmm0
push 0
push 0
movdqu xmmword [ebp - 0x124], xmm0
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x138]
push 0
push eax
movdqu xmmword [ebp - 0x134], xmm0
push esi
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x138], 0x28
mov dword [ebp - 0x134], 0
call dword [sym.imp.WININET.dll_HttpSendRequestExW]
test eax, eax
je 0x405619
mov edi, dword [sym.imp.WININET.dll_InternetWriteFile]
lea eax, [ebp - 0x110]
push eax
push dword [ebp - 0x16c]
mov dword [ebp - 0x110], 0
push dword [ebp - 0x170]
push esi
call edi
lea eax, [ebp - 0x110]
push eax
push dword [ebp - 0x164]
push dword [ebp - 0x168]
push esi
call edi
lea eax, [ebp - 0x110]
push eax
push dword [ebp - 0x15c]
push dword [ebp - 0x160]
push esi
call edi
mov edi, dword [ebp - 0x108]
lea ecx, [ebp - 0x104]
mov dword [ebp - 0x104], 0
lea eax, [edi + 0x30]
push eax
call fcn.004057e0
xorps xmm0, xmm0
movq qword [ebp - 0x10c], xmm0
mov dword [ebp - method.IO::IFileReadAction.virtual_0], 0x420c84
mov dword [ebp - 0x108], esi
lea eax, [ebp - 0x10c]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x104]
call fcn.00405830
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x104]
mov dword [ebp - method.IO::IFileReadAction.virtual_0], vtable.IO::IFileReadAction.0
cmp eax, 0xffffffff
je 0x405568
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [edi + 0x70], 0
jbe 0x4055f2
lea eax, [ebp - 0x110]
push eax
push dword [ebp - 0x154]
push dword [ebp - 0x158]
push esi
call dword [sym.imp.WININET.dll_InternetWriteFile]
lea eax, [edi + 0x60]
mov dword [ebp - 0x104], 0
push eax
lea ecx, [ebp - 0x104]
call fcn.004057e0
xorps xmm0, xmm0
movq qword [ebp - 0x10c], xmm0
mov dword [ebp - method.IO::IFileReadAction.virtual_0], 0x420c84
mov dword [ebp - 0x108], esi
lea eax, [ebp - 0x10c]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x104]
call fcn.00405830
mov eax, dword [ebp - 0x104]
mov dword [ebp - method.IO::IFileReadAction.virtual_0], vtable.IO::IFileReadAction.0
cmp eax, 0xffffffff
je 0x4055f2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x110]
push eax
push dword [ebp - 0x14c]
push dword [ebp - 0x150]
push esi
call dword [sym.imp.WININET.dll_InternetWriteFile]
push 0
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_HttpEndRequestW]
lea ecx, [ebp - 0x170]
call fcn.00401f30
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push esi
call edi
mov esi, dword [ebp - 0x13c]
jmp 0x40563b
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x140]
call edi
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004067bc
mov esp, ebp
pop ebp
ret