Function at 0x417000
Capabilities:
Connect to http server
Create http request
Query remote server for available data
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6e8
mov eax, dword [0x6a9068]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
mov edx, dword [eax + 0x60]
push esi
push edi
push 6
mov ecx, ebx
mov dword [ebp - 0x6d0], ebx
call edx
mov esi, eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x60]
push 7
mov ecx, ebx
mov dword [ebp - 0x6e0], esi
call edx
mov edi, eax
mov ecx, esi
mov dword [ebp - 0x6e8], edi
call fcn.00428bc0
mov esi, eax
mov ecx, edi
mov dword [ebp - 0x6d8], esi
call fcn.00428bc0
mov edi, eax
mov dword [ebp - 0x6d4], edi
mov ecx, 0x58bd6e
mov eax, esi
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x417090
test dl, dl
je 0x41708c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x417090
add eax, 2
add ecx, 2
test dl, dl
jne 0x417070
xor eax, eax
jmp 0x417095
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x417620
mov ecx, 0x58bd6e
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4170c4
test dl, dl
je 0x4170c0
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4170c4
add eax, 2
add ecx, 2
test dl, dl
jne 0x4170a4
xor eax, eax
jmp 0x4170c9
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x417620
lea eax, [ebp - 0x528]
push eax
mov ecx, 0x6ab290
call fcn.0041f430
push 0x11
lea ecx, [ebp - 0x55b]
push esi
push ecx
mov word [ebp - 0x567], 0x111
call fcn.0051b610
push 0x11
lea edx, [ebp - 0x54a]
push edi
push edx
call fcn.0051b610
push 0x11
lea eax, [ebp - 0x539]
push str.1111
push eax
call fcn.0051b610
push 0x10
lea ecx, [ebp - 0x516]
push str.Variety000000001
push ecx
call fcn.0051b610
push 0x11
push esi
push 0x6c803c
call fcn.0051b610
push 0x11
push edi
push 0x6c804d
call fcn.0051b610
add esp, 0x48
push 9
mov ecx, 0x6b8870
call fcn.00440340
mov edx, dword [eax + 0x350]
push 0x6bb014
mov ecx, 0x6bb010
mov dword [0x6bb0a4], edx
call fcn.004c9830
mov al, byte [0x6bb0a4]
mov byte [ebp - 0x506], al
cmp al, 3
jne 0x41755c
xor esi, esi
push 0x3ff
lea eax, [ebp - 0x503]
push esi
push eax
mov dword [ebp - 0x6e4], esi
mov byte [ebp - 0x504], 0
call fcn.0056d420
push 0xff
lea ecx, [ebp - 0x103]
push esi
push ecx
mov byte [ebp - 0x104], 0
call fcn.0056d420
add esp, 0x18
push esi
push esi
push esi
push esi
push str.BUDDY
mov dword [ebp - 0x6dc], esi
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebx, eax
test ebx, ebx
jne 0x41729e
push 0xff
push eax
lea edx, [ebp - 0x66b]
push edx
mov byte [ebp - 0x66c], al
call fcn.0056d420
add esp, 0xc
push 0x66d
mov ecx, 0x6bb178
call fcn.004cae20
push eax
lea eax, [ebp - 0x66c]
push str._s__004_
push eax
call fcn.0056d930
lea ecx, [ebp - 0x66c]
push ecx
push 1
push 0x179c
push 0x6b8870
call fcn.00443e30
add esp, 0x1c
push 1
mov ecx, 0x6b8870
mov edi, eax
call fcn.004402f0
mov esi, eax
test esi, esi
je 0x4176bf
test edi, edi
je 0x4176bf
movzx edx, word [esi + 0x1ee]
mov dword [ebp - 0x6d0], edx
fild dword [ebp - 0x6d0]
fadd dword [esi + 0x1c8]
mov ebx, dword [edi]
call fcn.0056d9f0
fld dword [esi + 0x1c4]
push eax
call fcn.0056d9f0
push eax
mov eax, dword [ebx + 0x24]
mov ecx, edi
call eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056d9d2
mov esp, ebp
pop ebp
ret
push 0
push 0
push 3
push 0x58bd6e
push 0x58bd6e
push 0
push str.www.google.com
push ebx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edi, eax
test edi, edi
jne 0x417382
push 0xff
push eax
lea ecx, [ebp - 0x66b]
push ecx
mov byte [ebp - 0x66c], al
call fcn.0056d420
add esp, 0xc
push 0x66d
mov ecx, 0x6bb178
call fcn.004cae20
push eax
lea edx, [ebp - 0x66c]
push str._s__005_
push edx
call fcn.0056d930
lea eax, [ebp - 0x66c]
push eax
push 1
push 0x179c
push 0x6b8870
call fcn.00443e30
add esp, 0x1c
push 1
mov ecx, 0x6b8870
mov edi, eax
call fcn.004402f0
mov esi, eax
test esi, esi
je 0x4176bf
test edi, edi
je 0x4176bf
movzx ecx, word [esi + 0x1ee]
mov ebx, dword [edi]
mov dword [ebp - 0x6d0], ecx
fild dword [ebp - 0x6d0]
fadd dword [esi + 0x1c8]
call fcn.0056d9f0
fld dword [esi + 0x1c4]
push eax
call fcn.0056d9f0
mov edx, dword [ebx + 0x24]
push eax
mov ecx, edi
call edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056d9d2
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x54a]
push eax
lea ecx, [ebp - 0x55b]
push ecx
lea edx, [ebp - 0x104]
push str.Auth_AuthUsrInfoChk.aspx_USRID_sUSRPWD_s
push edx
call fcn.0056d930
add esp, 0x10
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x104]
push eax
push str.POST
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
push 0
push 0
push 0
mov esi, eax
push 0
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
push 0
push 0
lea ecx, [ebp - 0x6dc]
push ecx
push esi
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
mov eax, dword [ebp - 0x6dc]
lea edx, [ebp - 0x6e4]
push edx
push eax
lea ecx, [ebp - 0x504]
push ecx
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
push ebx
call esi
cmp byte [ebp - 0x504], 0x30
je 0x4174aa
push 0xff
lea edx, [ebp - 0x66b]
push 0
push edx
mov byte [ebp - 0x66c], 0
call fcn.0056d420
add esp, 0xc
push 0x66d
mov ecx, 0x6bb178
call fcn.004cae20
push eax
lea eax, [ebp - 0x66c]
push str._s__001_
push eax
call fcn.0056d930
lea ecx, [ebp - 0x66c]
push ecx
push 1
push 0x179c
push 0x6b8870
call fcn.00443e30
add esp, 0x1c
push 1
mov ecx, 0x6b8870
mov edi, eax
call fcn.004402f0
mov esi, eax
test esi, esi
je 0x4176bf
test edi, edi
je 0x4176bf
movzx edx, word [esi + 0x1ee]
mov dword [ebp - 0x6d0], edx
fild dword [ebp - 0x6d0]
jmp 0x41726c
mov ecx, dword [ebp - 0x6d8]
push 0x11
push ecx
lea edx, [ebp - 0x6bf]
push edx
mov word [ebp - 0x6cb], 0x7311
call fcn.0051b610
mov eax, dword [ebp - 0x6d4]
push 0x11
push eax
lea ecx, [ebp - 0x6ae]
push ecx
call fcn.0051b610
push 0x10
lea edx, [ebp - 0x67a]
push str.Variety000000001
push edx
call fcn.0051b610
lea eax, [ebp - 0x504]
add esp, 0x24
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x417500
sub eax, edx
inc eax
push eax
lea eax, [ebp - 0x504]
push eax
lea ecx, [ebp - 0x669]
push ecx
call fcn.0051b610
mov dl, byte [0x6bb0a4]
mov eax, dword [0x6aaf24]
add esp, 0xc
push 0x163
lea ecx, [ebp - 0x6cc]
push ecx
mov ecx, 0x6c9608
mov byte [ebp - 0x66a], dl
mov dword [ebp - 0x6c3], eax
call fcn.0051a7c0
mov ebx, dword [ebp - 0x6d0]
mov esi, dword [ebp - 0x6d8]
jmp 0x41757b
mov edx, dword [0x6aaf24]
push 0x63
lea eax, [ebp - 0x568]
push eax
mov ecx, 0x6c9608
mov dword [ebp - 0x55f], edx
call fcn.0051a7c0
push 0x11
push esi
push 0x6aa9d8
call fcn.0051b610
add esp, 0xc
push 0x123
mov ecx, 0x6bb178
call fcn.004cae20
push eax
push 3
push 0x17a3
push 0x6b8870
call fcn.00443e30
add esp, 0x10
push 1
mov ecx, 0x6b8870
mov edi, eax
call fcn.004402f0
mov esi, eax
test esi, esi
je 0x417601
test edi, edi
je 0x417601
movzx ecx, word [esi + 0x1ee]
mov ebx, dword [edi]
mov dword [ebp - 0x6d4], ecx
fild dword [ebp - 0x6d4]
fadd dword [esi + 0x1c8]
call fcn.0056d9f0
fld dword [esi + 0x1c4]
push eax
call fcn.0056d9f0
mov edx, dword [ebx + 0x24]
push eax
mov ecx, edi
call edx
mov ebx, dword [ebp - 0x6d0]
push 1
mov ecx, 0x6aaef0
call fcn.0040d1c0
mov eax, dword [ebp - 0x6d8]
push eax
mov ecx, 0x6c6fc0
call fcn.004f14b0
jmp 0x417696
push 0x16a
mov ecx, 0x6bb178
call fcn.004cae20
push eax
push 1
push 0x1787
push 0x6b8870
call fcn.00443e30
add esp, 0x10
push 1
mov ecx, 0x6b8870
mov edi, eax
call fcn.004402f0
mov esi, eax
test esi, esi
je 0x417696
test edi, edi
je 0x417696
movzx ecx, word [esi + 0x1ee]
mov ebx, dword [edi]
mov dword [ebp - 0x6d4], ecx
fild dword [ebp - 0x6d4]
fadd dword [esi + 0x1c8]
call fcn.0056d9f0
fld dword [esi + 0x1c4]
push eax
call fcn.0056d9f0
mov edx, dword [ebx + 0x24]
push eax
mov ecx, edi
call edx
mov ebx, dword [ebp - 0x6d0]
mov ecx, dword [ebp - 0x6e0]
mov eax, dword [ecx]
mov edx, dword [eax + 0x3c]
push 0
call edx
mov ecx, dword [ebp - 0x6e8]
mov eax, dword [ecx]
mov edx, dword [eax + 0x3c]
push 0
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
push 1
mov ecx, ebx
call edx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0056d9d2
mov esp, ebp
pop ebp
ret