Function at 0x5424c0
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 - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x542937
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
mov ebx, 0x4400000
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 4
jne 0x54250d
or ebx, 0x800000
or ebx, 0x3000
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x5428e5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
add eax, 0x48
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.00405090
push eax
push 0x542948
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
push eax
call sub.wininet.dll_HttpOpenRequestA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
setne dl
xor dl, 1
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.00541f68
mov eax, dword [ebp - 4]
cmp dword [eax + 0x20], 0
jle 0x54258f
push 4
mov eax, dword [ebp - 4]
add eax, 0x20
push eax
push 2
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetSetOptionA
cmp eax, 1
sbb edx, edx
inc edx
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.00541f68
mov eax, dword [ebp - 4]
cmp dword [eax + 0x24], 0
jle 0x5425bc
push 4
mov eax, dword [ebp - 4]
add eax, 0x24
push eax
push 5
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetSetOptionA
cmp eax, 1
sbb edx, edx
inc edx
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.00541f68
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0
jle 0x5425e9
push 4
mov eax, dword [ebp - 4]
add eax, 0x28
push eax
push 6
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetSetOptionA
cmp eax, 1
sbb edx, edx
inc edx
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.00541f68
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
call fcn.005423b4
push 0x20000000
mov eax, dword [ebp - 0x14]
call fcn.00404e90
push eax
mov eax, dword [ebp - 0x14]
call fcn.00405090
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_HttpAddRequestHeadersA
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x58]
mov eax, 0x541ab4
call fcn.00407080
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x54]
xor ecx, ecx
mov eax, 0x542958
call fcn.0040af58
push 0x20000000
mov eax, dword [ebp - 0x18]
call fcn.00404e90
push eax
mov eax, dword [ebp - 0x18]
call fcn.00405090
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_HttpAddRequestHeadersA
push 0
push 0
mov eax, esi
call fcn.00421f04
mov eax, esi
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x8000
jle 0x542823
mov dl, 1
mov eax, dword [0x41d1a8]
call fcn.00403c70
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x54281c
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
mov eax, dword [ebp - 4]
push eax
push 0xc
push 0
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_HttpSendRequestExA
mov edx, eax
cmp edx, 1
sbb edx, edx
neg edx
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.00541f68
xor eax, eax
push ebp
push 0x5427ff
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00421ee4
mov ebx, dword [ebp - 0x1c]
sub ebx, eax
cmp ebx, 0x8000
jle 0x542730
mov ebx, 0x8000
test ebx, ebx
je 0x5427cd
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 0x54276e
lea edx, [ebp - 0x5c]
mov eax, 0x541abc
call fcn.00407080
mov ecx, dword [ebp - 0x5c]
mov dl, 1
mov eax, dword [0x4088b4]
call fcn.0040e0a8
call fcn.00404530
lea eax, [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 8]
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 - 4]
call fcn.00541f68
lea eax, [ebp - 0x10]
push eax
push 7
call sub.kernel32.dll_GetLastError_1
push eax
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_GetDesktopWindow
push eax
call sub.wininet.dll_InternetErrorDlg
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
sub eax, 0x4c7
je 0x5427c3
jmp 0x542717
call fcn.0040e088
jmp 0x542717
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x542806
mov eax, dword [ebp - 4]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_HttpEndRequestA
mov edx, eax
cmp edx, 1
sbb edx, edx
neg edx
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.00541f68
ret
xor ecx, ecx
mov dl, 1
mov eax, dword [0x41d224]
call fcn.00422774
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x5428d4
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
mov edx, esi
mov eax, dword [ebp - 0x24]
call fcn.00422180
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 4]
call fcn.00404e90
push eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 4]
call fcn.00405090
push eax
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_HttpSendRequestA
mov edx, eax
cmp edx, 1
sbb edx, edx
neg edx
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.00541f68
lea eax, [ebp - 0x10]
push eax
push 7
call sub.kernel32.dll_GetLastError_1
push eax
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_GetDesktopWindow
push eax
call sub.wininet.dll_InternetErrorDlg
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
sub eax, 1
jb 0x5428be
sub eax, 0x4c6
je 0x5428b7
jmp 0x542850
call fcn.0040e088
jmp 0x542850
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5428db
mov eax, dword [ebp - 0x24]
call fcn.00403ca0
ret