Function at 0x4027c0
Capabilities:
Connect to http server
Create http request
Encode data using xor
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x405f71
mov eax, dword fs:[0]
push eax
mov eax, 0x1090
call fcn.00405da0
mov eax, dword [0x40a040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0
push 0
push 1
push str.WinINet_POST_Example
call dword [sym.imp.WININET.dll_InternetOpenA]
mov esi, eax
mov dword [ebp - 0x107c], esi
test esi, esi
jne 0x402837
mov edx, str.InternetOpen_failed
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.004044e0
push 0x404700
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov eax, 1
jmp 0x402e13
mov eax, dword [0x407650]
xor ecx, ecx
cmp dword [0x40a604], 2
movq xmm0, qword [str.VZVAK_O]
mov dword [ebp - 0x1084], eax
mov ax, word [0x407654]
mov word [ebp - 0x1080], ax
mov al, byte [0x407656]
movq qword [ebp - 0x108c], xmm0
mov byte [ebp - 0x107e], al
mov dword [ebp - 0x1078], ecx
jl 0x402980
movaps xmm2, xmmword [0x4076c0]
mov ecx, 8
movaps xmm3, xmmword [0x407710]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
mov dword [ebp - 0x1078], ecx
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x4076e0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x4076d0]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x4076f0]
movd xmm0, dword [str.VZVAK_O]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.5555555555555555]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [ebp - 0x108c], xmm1
movaps xmm1, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x4076e0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x4076f0]
movd xmm0, dword [ebp - 0x1088]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.5555555555555555]
xorps xmm1, xmm0
movd dword [ebp - 0x1088], xmm1
nop dword [eax]
mov eax, 0x4d4873ed
imul ecx
mov al, 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub al, cl
mov ecx, dword [ebp - 0x1078]
movsx eax, al
imul eax, eax, 0x35
add al, cl
xor byte [ebp + ecx - 0x108c], al
inc ecx
mov dword [ebp - 0x1078], ecx
cmp ecx, 0xf
jl 0x402980
push 0
push 0
push 3
push 0
push 0
push 0x50
lea eax, [ebp - 0x108c]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edi, eax
mov dword [ebp - 0x109c], edi
test edi, edi
jne 0x4029e6
mov edx, str.InternetConnect_failed
jmp 0x402815
movq xmm0, qword [0x40763c]
xor edx, edx
mov al, byte [0x407644]
movq qword [ebp - 0x1098], xmm0
mov byte [ebp - 0x1090], al
mov dword [ebp - 0x1078], edx
nop dword [eax]
mov eax, 0x3521cfb3
mul edx
mov eax, dword [ebp - 0x1078]
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [ebp - 0x1078]
shr eax, 5
mov cl, dl
movsx eax, al
imul eax, eax, 0x35
sub cl, al
add cl, 0x35
xor byte [ebp + edx - 0x1098], cl
inc edx
mov dword [ebp - 0x1078], edx
cmp edx, 9
jl 0x402a10
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x1098]
push eax
push str.POST
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
mov dword [ebp - 0x1078], esi
test esi, esi
jne 0x402a7f
mov edx, str.HttpOpenRequest_failed
jmp 0x402815
xorps xmm0, xmm0
mov dword [ebp - 0x1034], 0
movups xmmword [ebp - 0x1044], xmm0
mov dword [ebp - 0x1030], 0xf
mov byte [ebp - 0x1044], 0
mov dword [ebp - 4], 0
mov edx, 0x4074ac
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.004044e0
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
lea edx, [ebp - 0x1044]
call fcn.00404730
mov ecx, dword [ebp - 0x1034]
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 4
jb 0x402e2e
cmp dword [ebp - 0x1030], 0xf
lea eax, [ebp - 0x1044]
push ecx
cmova eax, dword [ebp - 0x1044]
push eax
push 4
push str.key
push ecx
push dword [ebp - 0x107c]
lea ecx, [ebp - 0x105c]
call fcn.00404ce0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x105c]
push dword [ebp - 0x104c]
cmp dword [ebp - 0x1048], 0xf
cmova eax, dword [ebp - 0x105c]
push eax
push 0xffffffffffffffff
push str.Content_Type:_application_x_www_form_urlencoded
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x402b69
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.HttpSendRequest_failed
call fcn.004044e0
push 0x404700
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov esi, 1
jmp 0x402d84
xorps xmm0, xmm0
mov dword [ebp - 0x101c], 0
movups xmmword [ebp - 0x102c], xmm0
mov dword [ebp - 0x1018], 0xf
mov byte [ebp - 0x102c], 0
lea eax, [ebp - 0x1014]
mov byte [ebp - 4], 2
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x402c5b
nop dword [eax]
nop dword [eax + eax]
mov edi, dword [ebp - 0x1014]
test edi, edi
je 0x402c55
mov edx, dword [ebp - 0x1018]
mov eax, edx
mov ecx, dword [ebp - 0x101c]
sub eax, ecx
push edi
cmp edi, eax
ja 0x402c1a
lea eax, [ecx + edi]
cmp edx, 0xf
mov dword [ebp - 0x101c], eax
lea esi, [ebp - 0x102c]
cmova esi, dword [ebp - 0x102c]
lea eax, [ebp - 0x1010]
add esi, ecx
push eax
push esi
call sub.VCRUNTIME140.dll_memmove
mov byte [esi + edi], 0
add esp, 0xc
mov esi, dword [ebp - 0x1078]
jmp 0x402c33
lea eax, [ebp - 0x1010]
push eax
push dword [ebp - 0x107c]
lea ecx, [ebp - 0x102c]
push edi
call fcn.00404b70
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x402bc0
mov edi, dword [ebp - 0x109c]
sub esp, 8
lea ecx, [ebp - 0x102c]
call fcn.00403c70
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
cmp eax, 0xffffffff
je 0x402d16
mov edx, 0x407514
call fcn.004044e0
push 0x404700
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea ecx, [ebp - 0x1074]
call fcn.00401560
lea ecx, [ebp - 0x1074]
mov byte [ebp - 4], 3
call fcn.004018c0
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x407588
call fcn.004044e0
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
push dword [ebp - 0x107c]
call esi
mov ecx, dword [ebp - 0x1060]
cmp ecx, 0xf
jbe 0x402d2d
mov edx, dword [ebp - 0x1074]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402d0a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402d0a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00405099
add esp, 8
jmp 0x402d2d
mov edx, 0x407578
call fcn.004044e0
push 0x404700
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [ebp - 0x1018]
xor esi, esi
cmp ecx, 0xf
jbe 0x402d69
mov edx, dword [ebp - 0x102c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402d5f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402e01
push ecx
push edx
call fcn.00405099
add esp, 8
mov dword [ebp - 0x101c], 0
mov dword [ebp - 0x1018], 0xf
mov byte [ebp - 0x102c], 0
mov ecx, dword [ebp - 0x1048]
cmp ecx, 0xf
jbe 0x402dba
mov edx, dword [ebp - 0x105c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402db0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402e01
push ecx
push edx
call fcn.00405099
add esp, 8
mov ecx, dword [ebp - 0x1030]
mov dword [ebp - 0x104c], 0
mov dword [ebp - 0x1048], 0xf
mov byte [ebp - 0x105c], 0
cmp ecx, 0xf
jbe 0x402e11
mov edx, dword [ebp - 0x1044]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402e07
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402e07
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00405099
add esp, 8
mov eax, esi
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.00405056
mov esp, ebp
pop ebp
ret
call fcn.00401170
int3