Function at 0x4256e0
Capabilities:
Query remote server for available data
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
lea ebp, [esp - 0x44]
sub esp, 0xb4
mov eax, dword [0x4af6f0]
xor eax, ebp
mov dword [ebp + 0x40], eax
mov eax, dword [ebp + 0x58]
mov edx, dword [ebp + 0x68]
mov ecx, dword [ebp + 0x64]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x6c]
mov dword [ebp - 0x64], edx
mov edx, dword [ebp + 0x74]
mov dword [eax], 0
mov dword [ebp - 0x60], ecx
mov ecx, dword [ebp + 0x70]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp + 0x78]
push ebx
mov ebx, dword [ebp + 0x60]
mov dword [ecx], 0
push esi
mov esi, dword [ebp + 0x50]
mov dword [eax], 0
mov eax, dword [ebp + 0x4c]
push edi
mov edi, dword [ebp + 0x54]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x70], edx
test eax, eax
je 0x425786
mov ecx, 0x49532c
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x425776
test dx, dx
je 0x425772
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x425776
add eax, 4
add ecx, 4
test dx, dx
jne 0x425750
xor eax, eax
jmp 0x42577b
sbb eax, eax
sbb eax, 0xffffffff
mov dword [ebp - 0x48], 0
test eax, eax
jne 0x42578d
mov dword [ebp - 0x48], 1
mov ecx, dword [ebp - 0x60]
push 3
push ecx
mov ecx, dword [ebp + 0x5c]
xor eax, eax
push ebx
lea edx, [ebp - 0x5c]
push edx
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x68]
push eax
push ecx
push edi
push esi
call fcn.00425550
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x64]
add esp, 0x20
lea ecx, [eax + 1]
jmp 0x4257c0
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4257c0
sub eax, ecx
cmp dword [ebp - 0x44], 0
mov dword [ebp - 0x6c], eax
jne 0x425af9
cmp dword [ebp - 0x48], 0
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
je 0x4258ba
mov ebx, dword [ebp - 0x54]
mov eax, ebx
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4257f0
mov esi, dword [ebp - 0x6c]
sub eax, edx
lea edx, [eax + esi + 0xa]
mov eax, ebx
cmp edx, 0x400
lea edx, [eax + 1]
ja 0x425833
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x425810
sub eax, edx
lea eax, [eax + esi + 0xa]
call fcn.004704a0
mov esi, esp
test esi, esi
je 0x42585c
mov dword [esi], 0xcccc
add esi, 8
jmp 0x425858
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x425833
sub eax, edx
lea eax, [eax + esi + 0xa]
push eax
call fcn.00470008
add esp, 4
test eax, eax
je 0x425856
mov dword [eax], 0xdddd
add eax, 8
mov esi, eax
test esi, esi
jne 0x425868
mov dword [ebp - 0x44], 8
jmp 0x425af9
mov ecx, dword [ebp - 0x64]
push ecx
push ebx
push str._s__s
push esi
call fcn.00470e29
mov edx, dword [ebp - 0x5c]
add esp, 0x10
push 0
push 0x84400100
push 0
push 0
push 0
push esi
push 0x4a68d0
push edx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov ebx, eax
test ebx, ebx
jne 0x4258a3
call edi
mov dword [ebp - 0x44], eax
cmp dword [esi - 8], 0xdddd
lea eax, [esi - 8]
jne 0x4258e5
push eax
call fcn.0046eb03
add esp, 4
jmp 0x4258e5
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x5c]
push 0
push 0x84400100
push 0
push 0
push 0
push eax
push str.POST
push ecx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov ebx, eax
test ebx, ebx
jne 0x4258ef
call edi
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x425aee
mov esi, dword [ebp - 0x70]
push esi
mov dword [ebp - 0x60], 0
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x425909
mov dword [ebp - 0x54], esi
jmp 0x425912
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov dword [ebp - 0x54], eax
xor edi, edi
cmp dword [ebp - 0x48], edi
jne 0x425943
lea edx, [ebp - 0x40]
push str.436F6E74656E742D547970653A206170706C69636174696F6E2F782D7777772D666F726D2D75726C656E636F646564
push edx
call fcn.004250c0
mov eax, str.436F6E74656E742D547970653A206170706C69636174696F6E2F782D7777772D666F726D2D75726C656E636F646564
add esp, 8
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x425932
sub eax, edx
shr eax, 1
mov edi, eax
mov byte [ebp + edi - 0x40], cl
mov esi, dword [ebp - 0x44]
cmp dword [ebp - 0x48], 0
je 0x42595d
push 0
push 0
push 0
push 0
push ebx
call dword [sym.imp.WININET.dll_HttpSendRequestW]
jmp 0x425971
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x64]
push eax
push ecx
push edi
lea edx, [ebp - 0x40]
push edx
push ebx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x42597d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x425993
mov eax, dword [ebp - 0x54]
push esi
push 7
push esi
push ebx
push eax
call dword [sym.imp.WININET.dll_InternetErrorDlg]
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0x2f00
jne 0x4259a8
test esi, esi
je 0x425946
mov dword [ebp - 0x44], esi
jmp 0x425aee
mov dword [ebp - 0x44], esi
test esi, esi
jne 0x425aee
lea ecx, [ebp - 0x44]
push ecx
push ebx
call fcn.004255c0
mov edx, dword [ebp - 0x58]
add esp, 8
mov dword [edx], eax
cmp dword [ebp - 0x44], esi
jne 0x425aee
cmp eax, 0x12c
jb 0x4259e0
cmp eax, 0x1f5
jne 0x425aee
lea eax, [ebp - 0x44]
push eax
push ebx
call fcn.00425650
mov edi, eax
mov eax, dword [ebp - 0x44]
add esp, 8
test eax, eax
jne 0x425a20
test edi, edi
jbe 0x425a29
lea ecx, [edi + 1]
push ecx
call fcn.00470008
mov edx, dword [ebp - 0x50]
add esp, 4
mov dword [edx], eax
test eax, eax
je 0x425b69
mov dword [eax], 0
mov eax, dword [ebp - 0x4c]
mov dword [eax], edi
jmp 0x425a29
cmp eax, 8
je 0x425ad8
xor esi, esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x58], esi
push 0
push 0
lea ecx, [ebp - 0x48]
push ecx
push ebx
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x425b2f
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x425b2f
test edi, edi
jne 0x425a87
test esi, esi
jne 0x425a6c
inc ecx
push ecx
call fcn.00470008
mov edx, dword [ebp - 0x50]
add esp, 4
mov dword [edx], eax
jmp 0x425a84
lea eax, [ecx + esi + 1]
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx]
push eax
push edx
call fcn.00474a64
mov ecx, dword [ebp - 0x50]
add esp, 8
mov dword [ecx], eax
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x50]
mov eax, dword [edx]
test eax, eax
je 0x425b64
lea edx, [ebp - 0x58]
push edx
push ecx
add eax, esi
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x425b51
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x425b51
add esi, eax
test edi, edi
jne 0x425a31
cmp esi, 0xffff
jbe 0x425a31
mov eax, dword [ebp - 0x4c]
mov dword [eax], esi
mov dword [ebp - 0x44], 0x7a
mov ecx, dword [ebp - 0x50]
mov ecx, dword [ecx]
test ecx, ecx
je 0x425aee
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx]
test eax, eax
jbe 0x425aee
mov byte [eax + ecx], 0
test ebx, ebx
je 0x425af9
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x425b07
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x425b15
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x44]
lea esp, [ebp - 0x7c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x40]
xor ecx, ebp
call fcn.0046ebfa
add ebp, 0x44
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x4c]
mov dword [eax], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x44], eax
cmp eax, 0x12
je 0x425b48
cmp dword [ebp - 0x48], 0
jne 0x425ad8
mov dword [ebp - 0x44], 0
jmp 0x425ad8
mov ecx, dword [ebp - 0x4c]
mov dword [ecx], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x44], eax
jmp 0x425ad8
mov edx, dword [ebp - 0x4c]
mov dword [edx], esi
mov dword [ebp - 0x44], 8
jmp 0x425ad8