Function at 0x42812c
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
call fcn.00404a34
xor eax, eax
push ebp
push 0x428597
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 dword [ebp - 0x1c], 0x4400000
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x44], 4
jne 0x42818c
or dword [ebp - 0x1c], 0x800000
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x30], 0
je 0x42818c
or dword [ebp - 0x1c], 0x3100
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x42854a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 0x1c]
push eax
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x40]
call fcn.00404a44
push eax
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x50]
call fcn.00404a44
push eax
push 0x4285a8
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
push eax
call sub.wininet.dll_HttpOpenRequestA
mov dword [ebp - 0x14], eax
push 0
cmp dword [ebp - 0x14], 0
setne dl
xor dl, 1
mov ecx, 0x4285b8
mov eax, dword [ebp - 0xc]
call fcn.004275d8
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x30], 0
je 0x428213
push 4
lea eax, [ebp - 0x1c]
push eax
push 0x1f
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetSetOptionA
cmp dword [ebp - 4], 0
jne 0x428226
lea eax, [ebp - 4]
mov edx, 0x4285d0
call fcn.00404618
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
lea edx, [ebp - 0x5c]
xor ecx, ecx
mov eax, 0x4285fc
call fcn.0040949c
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x42824f
sub ebx, 4
mov ebx, dword [ebx]
push 0
push 0x20000000
push ebx
mov eax, dword [ebp - 8]
call fcn.00404a44
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_HttpAddRequestHeadersA
mov edx, eax
cmp edx, 1
sbb edx, edx
neg edx
mov ecx, 0x428618
mov eax, dword [ebp - 0xc]
call fcn.004275d8
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x14]
push 0
push 0
mov eax, dword [ebp - 0x10]
call fcn.00417b78
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
cmp eax, dword [ebp - 0x24]
jge 0x42846f
mov dl, 1
mov eax, dword [0x415238]
call fcn.00403730
mov dword [ebp - 0x28], eax
xor eax, eax
push ebp
push 0x428468
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x2c]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx + 4]
mov dword [ebp - 0x54], 0x28
xor eax, eax
mov dword [ebp - 0x50], eax
xor eax, eax
mov dword [ebp - 0x4c], eax
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
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x38], eax
xor eax, eax
mov dword [ebp - 0x34], eax
xor eax, eax
mov dword [ebp - 0x30], eax
push 0
push 0
push 0xc
push 0
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_HttpSendRequestExA
mov edx, eax
cmp edx, 1
sbb edx, edx
neg edx
mov ecx, 0x428638
mov eax, dword [ebp - 0xc]
call fcn.004275d8
xor eax, eax
push ebp
push 0x42844b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
call fcn.00417b58
mov ebx, dword [ebp - 0x24]
sub ebx, eax
mov eax, dword [ebp - 0xc]
cmp ebx, dword [eax + 0x2c]
jle 0x428363
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax + 0x2c]
test ebx, ebx
je 0x428416
mov eax, dword [ebp - 0x28]
mov edx, dword [eax + 4]
mov ecx, ebx
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, eax
test ebx, ebx
jne 0x4283a6
push 0
push 0
lea edx, [ebp - 0x60]
mov eax, 0x427194
call fcn.00406698
mov ecx, dword [ebp - 0x60]
mov dl, 1
mov eax, dword [0x426f6c]
call fcn.004272dc
call fcn.00403ef8
push 0
lea eax, [ebp - 0x18]
push eax
push ebx
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetWriteFile
mov edx, eax
cmp edx, 1
sbb edx, edx
neg edx
mov ecx, 0x428654
mov eax, dword [ebp - 0xc]
call fcn.004275d8
call sub.KERNEL32.DLL_GetLastError
mov esi, eax
lea eax, [ebp - 0x20]
push eax
push 7
push esi
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetDesktopWindow
push eax
call sub.wininet.dll_InternetErrorDlg
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
sub eax, 0x4c7
je 0x428402
jmp 0x428348
mov ecx, 0x428654
mov edx, esi
mov eax, dword [ebp - 0xc]
call fcn.00427744
jmp 0x428348
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428452
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_HttpEndRequestA
mov edx, eax
cmp edx, 1
sbb edx, edx
neg edx
mov ecx, 0x428670
mov eax, dword [ebp - 0xc]
call fcn.004275d8
ret
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4152b4]
call fcn.00418364
mov dword [ebp - 0x2c], eax
xor eax, eax
push ebp
push 0x428539
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x2c]
call fcn.00417df4
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x4284ac
sub ebx, 4
mov ebx, dword [ebx]
push 0
push ebx
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 4]
call fcn.00404a44
push eax
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_HttpSendRequestA
mov edx, eax
cmp edx, 1
sbb edx, edx
neg edx
mov ecx, 0x428688
mov eax, dword [ebp - 0xc]
call fcn.004275d8
call sub.KERNEL32.DLL_GetLastError
mov esi, eax
lea eax, [ebp - 0x20]
push eax
push 7
push esi
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetDesktopWindow
push eax
call sub.wininet.dll_InternetErrorDlg
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
sub eax, 1
jb 0x428523
sub eax, 0x4c6
je 0x42850f
jmp 0x42849d
mov ecx, 0x428688
mov edx, esi
mov eax, dword [ebp - 0xc]
call fcn.00427744
jmp 0x42849d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428540
mov eax, dword [ebp - 0x2c]
call fcn.00403760
ret