Function at 0x5787e0
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x578c4c
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx]
mov ebx, 0x4400000
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x30], 4
jne 0x57882d
or ebx, 0x800000
or ebx, 0x3100
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x578bfa
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push ebx
push 0
push 0
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x34]
call fcn.00407c20
push eax
push 0x578c5c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
push eax
call sub.wininet.dll_HttpOpenRequestW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
setne dl
xor dl, 1
xor ecx, ecx
mov eax, dword [ebp - 0xc]
call fcn.00578204
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x20], 0
jle 0x5788ad
push 4
mov eax, dword [ebp - 0xc]
add eax, 0x20
push eax
push 2
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetSetOptionW
mov edx, eax
cmp edx, 1
sbb edx, edx
neg edx
xor ecx, ecx
mov eax, dword [ebp - 0xc]
call fcn.00578204
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x20], 0
jle 0x5788dd
push 4
mov eax, dword [ebp - 0xc]
add eax, 0x20
push eax
push 5
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetSetOptionW
mov edx, eax
cmp edx, 1
sbb edx, edx
neg edx
xor ecx, ecx
mov eax, dword [ebp - 0xc]
call fcn.00578204
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x20], 0
jle 0x57890d
push 4
mov eax, dword [ebp - 0xc]
add eax, 0x20
push eax
push 6
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetSetOptionW
mov edx, eax
cmp edx, 1
sbb edx, edx
neg edx
xor ecx, ecx
mov eax, dword [ebp - 0xc]
call fcn.00578204
lea edx, [ebp - 4]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x14]
call fcn.005786b4
push 0x20000000
mov eax, dword [ebp - 4]
call fcn.00407248
push eax
mov eax, dword [ebp - 4]
call fcn.00407c20
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_HttpAddRequestHeadersW
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x58]
mov eax, 0x577c2c
call fcn.0040af74
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0x11
lea edx, [ebp - 0x54]
xor ecx, ecx
mov eax, 0x578c74
call fcn.00420bc4
push 0x20000000
mov eax, dword [ebp - 8]
call fcn.00407248
push eax
mov eax, dword [ebp - 8]
call fcn.00407c20
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_HttpAddRequestHeadersW
push 0
push 0
mov eax, esi
call fcn.0044d40c
mov eax, esi
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x8000
jle 0x578b43
mov dl, 1
mov eax, dword [0x43f520]
call fcn.00404fd4
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x578b3c
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x8000
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 4]
mov dword [ebp - 0x4c], 0x28
xor eax, eax
mov dword [ebp - 0x48], eax
xor eax, eax
mov dword [ebp - 0x44], eax
xor eax, eax
mov dword [ebp - 0x40], eax
xor eax, eax
mov dword [ebp - 0x3c], eax
xor eax, eax
mov dword [ebp - 0x38], eax
xor eax, eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x28], eax
push 0
push 0xc
push 0
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_HttpSendRequestExW
mov edx, eax
cmp edx, 1
sbb edx, edx
neg edx
xor ecx, ecx
mov eax, dword [ebp - 0xc]
call fcn.00578204
xor eax, eax
push ebp
push 0x578b1f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0044d3ec
mov ebx, dword [ebp - 0x1c]
sub ebx, eax
cmp ebx, 0x8000
jle 0x578a52
mov ebx, 0x8000
test ebx, ebx
je 0x578aef
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 4]
mov ecx, ebx
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, eax
test ebx, ebx
jne 0x578a90
lea edx, [ebp - 0x5c]
mov eax, 0x577c34
call fcn.0040af74
mov ecx, dword [ebp - 0x5c]
mov dl, 1
mov eax, dword [0x419ec0]
call fcn.00425260
call fcn.00406448
lea eax, [ebp - 0x14]
push eax
push ebx
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetWriteFile
mov edx, eax
cmp edx, 1
sbb edx, edx
neg edx
xor ecx, ecx
mov eax, dword [ebp - 0xc]
call fcn.00578204
lea eax, [ebp - 0x18]
push eax
push 7
call sub.kernel32.dll_GetLastError_2
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.user32.dll_GetDesktopWindow
push eax
call sub.wininet.dll_InternetErrorDlg
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
sub eax, 0x4c7
je 0x578ae5
jmp 0x578a39
call fcn.00425234
jmp 0x578a39
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x578b26
push 0
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_HttpEndRequestW
mov edx, eax
cmp edx, 1
sbb edx, edx
neg edx
xor ecx, ecx
mov eax, dword [ebp - 0xc]
call fcn.00578204
ret
mov dl, 1
mov eax, dword [0x43f778]
call fcn.00404fd4
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x578be9
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
mov edx, esi
mov eax, dword [ebp - 0x24]
call fcn.0044d700
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx]
push eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x14]
push eax
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_HttpSendRequestW
mov edx, eax
cmp edx, 1
sbb edx, edx
neg edx
xor ecx, ecx
mov eax, dword [ebp - 0xc]
call fcn.00578204
lea eax, [ebp - 0x18]
push eax
push 7
call sub.kernel32.dll_GetLastError_2
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.user32.dll_GetDesktopWindow
push eax
call sub.wininet.dll_InternetErrorDlg
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
sub eax, 1
jb 0x578bd3
sub eax, 0x4c6
je 0x578bcc
jmp 0x578b6e
call fcn.00425234
jmp 0x578b6e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x578bf0
mov eax, dword [ebp - 0x24]
call fcn.00405004
ret