Function at 0x40cdce
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:
jmp 0x43eed0
sub esp, 0x6dc
push ebx
push ebp
mov ebp, dword [esp + 0x6ec]
mov eax, dword [ebp]
mov edx, dword [eax + 0x60]
push esi
push edi
push 6
mov ecx, ebp
call edx
mov esi, eax
mov eax, dword [ebp]
mov edx, dword [eax + 0x60]
push 7
mov ecx, ebp
mov dword [esp + 0x24], esi
call edx
mov edi, eax
mov ecx, esi
mov dword [esp + 0x1c], edi
call fcn.00407cf7
mov ecx, edi
mov ebx, eax
call fcn.00407cf7
mov esi, eax
mov dword [esp + 0x10], esi
mov ecx, 0x645292
mov eax, ebx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x43ef42
test dl, dl
je 0x43ef3e
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x43ef42
add eax, 2
add ecx, 2
test dl, dl
jne 0x43ef22
xor eax, eax
jmp 0x43ef47
sbb eax, eax
sbb eax, 0xffffffff
xor edi, edi
cmp eax, edi
je 0x43f4a5
mov ecx, 0x645292
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x43ef78
test dl, dl
je 0x43ef74
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x43ef78
add eax, 2
add ecx, 2
test dl, dl
jne 0x43ef58
xor eax, eax
jmp 0x43ef7d
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x43f4a5
lea eax, [esp + 0x64]
push eax
mov ecx, 0x7a41c8
call fcn.00406055
push 0x11
lea ecx, [esp + 0x35]
push ebx
push ecx
mov word [esp + 0x31], 0x111
call fcn.00404b7e
push 0x11
lea edx, [esp + 0x52]
push esi
push edx
call fcn.00404b7e
push 0x11
lea eax, [esp + 0x6f]
push str.1111
push eax
call fcn.00404b7e
push 0x10
lea ecx, [esp + 0x9e]
push str.VRTY00000001
push ecx
call fcn.00404b7e
push 0x11
push ebx
push 0x7c6be4
call fcn.00404b7e
push 0x11
push esi
push 0x7c6bf5
call fcn.00404b7e
add esp, 0x48
push 9
mov ecx, 0x7b4278
call fcn.00405a51
mov edx, dword [eax + 0x350]
push 0x7b71f4
mov ecx, 0x7b71f0
mov dword [0x7b7284], edx
call fcn.00405d8f
mov al, byte [0x7b7284]
mov byte [esp + 0x86], al
cmp al, 3
jne 0x43f3ee
push 0x3ff
lea eax, [esp + 0x2f1]
push edi
push eax
mov dword [esp + 0x20], edi
mov byte [esp + 0x2f8], 0
call fcn.00609d70
push 0xff
lea ecx, [esp + 0x1fd]
push edi
push ecx
mov byte [esp + 0x204], 0
call fcn.00609d70
add esp, 0x18
push edi
push edi
push edi
push edi
push str.BUDDY
mov dword [esp + 0x2c], edi
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebp, eax
test ebp, ebp
jne 0x43f142
push 0xff
push eax
lea edx, [esp + 0x91]
push edx
mov byte [esp + 0x94], al
call fcn.00609d70
add esp, 0xc
push 0x66d
mov ecx, 0x7b73a8
call fcn.00410d20
push eax
lea eax, [esp + 0x8c]
push str._s__004_
push eax
call fcn.0060a295
lea ecx, [esp + 0x94]
push ecx
push 1
push 0x179c
push 0x7b4278
call fcn.004088eb
add esp, 0x1c
push 1
mov ecx, 0x7b4278
mov edi, eax
call fcn.0040ae39
mov esi, eax
test esi, esi
je 0x43f537
test edi, edi
je 0x43f537
movzx edx, word [esi + 0x1ee]
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fadd dword [esi + 0x1c8]
mov ebx, dword [edi]
call fcn.0060a450
fld dword [esi + 0x1c4]
push eax
call fcn.0060a450
push eax
mov eax, dword [ebx + 0x24]
mov ecx, edi
call eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6dc
ret
push 0
push 0
push 3
push 0x645292
push 0x645292
push 0
push str.www.google.com
push ebp
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edi, eax
test edi, edi
jne 0x43f220
push 0xff
push eax
lea ecx, [esp + 0x91]
push ecx
mov byte [esp + 0x94], al
call fcn.00609d70
add esp, 0xc
push 0x66d
mov ecx, 0x7b73a8
call fcn.00410d20
push eax
lea edx, [esp + 0x8c]
push str._s__005_
push edx
call fcn.0060a295
lea eax, [esp + 0x94]
push eax
push 1
push 0x179c
push 0x7b4278
call fcn.004088eb
add esp, 0x1c
push 1
mov ecx, 0x7b4278
mov edi, eax
call fcn.0040ae39
mov esi, eax
test esi, esi
je 0x43f537
test edi, edi
je 0x43f537
movzx ecx, word [esi + 0x1ee]
mov ebx, dword [edi]
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
fadd dword [esi + 0x1c8]
call fcn.0060a450
fld dword [esi + 0x1c4]
push eax
call fcn.0060a450
mov edx, dword [ebx + 0x24]
push eax
mov ecx, edi
call edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6dc
ret
lea eax, [esp + 0x42]
push eax
lea ecx, [esp + 0x35]
push ecx
lea edx, [esp + 0x1f4]
push str.Auth_AuthUsrInfoChk.aspx_USRID_sUSRPWD_s
push edx
call fcn.0060a295
add esp, 0x10
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x200]
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, [esp + 0x20]
push ecx
push esi
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
push eax
lea ecx, [esp + 0x2f4]
push ecx
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
push ebp
call esi
cmp byte [esp + 0x2ec], 0x30
je 0x43f342
push 0xff
lea edx, [esp + 0x8d]
push 0
push edx
mov byte [esp + 0x94], 0
call fcn.00609d70
add esp, 0xc
push 0x66d
mov ecx, 0x7b73a8
call fcn.00410d20
push eax
lea eax, [esp + 0x8c]
push str._s__001_
push eax
call fcn.0060a295
lea ecx, [esp + 0x94]
push ecx
push 1
push 0x179c
push 0x7b4278
call fcn.004088eb
add esp, 0x1c
push 1
mov ecx, 0x7b4278
mov edi, eax
call fcn.0040ae39
mov esi, eax
test esi, esi
je 0x43f537
test edi, edi
je 0x43f537
movzx edx, word [esi + 0x1ee]
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
jmp 0x43f116
push 0x11
lea ecx, [esp + 0x99]
push ebx
push ecx
mov word [esp + 0x95], 0x7311
call fcn.00404b7e
mov edx, dword [esp + 0x1c]
push 0x11
push edx
lea eax, [esp + 0xba]
push eax
call fcn.00404b7e
push 0x10
lea ecx, [esp + 0xf6]
push str.VRTY00000001
push ecx
call fcn.00404b7e
lea eax, [esp + 0x310]
add esp, 0x24
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43f391
sub eax, edx
inc eax
push eax
lea edx, [esp + 0x2f0]
push edx
lea eax, [esp + 0xf3]
push eax
call fcn.00404b7e
mov cl, byte [0x7b7284]
mov edx, dword [0x7a3dac]
add esp, 0xc
push 0x163
lea eax, [esp + 0x8c]
mov byte [esp + 0xee], cl
push eax
mov ecx, 0x7c8618
mov dword [esp + 0x99], edx
call fcn.004112c0
mov ebp, dword [esp + 0x6f4]
jmp 0x43f409
mov ecx, dword [0x7a3dac]
push 0x63
lea edx, [esp + 0x28]
mov dword [esp + 0x31], ecx
push edx
mov ecx, 0x7c8618
call fcn.004112c0
push 0x11
push ebx
push 0x7a36e0
call fcn.00404b7e
add esp, 0xc
push 0x123
mov ecx, 0x7b73a8
call fcn.00410d20
push eax
push 3
push 0x17a3
push 0x7b4278
call fcn.004088eb
add esp, 0x10
push 1
mov ecx, 0x7b4278
mov edi, eax
call fcn.0040ae39
mov esi, eax
test esi, esi
je 0x43f48c
test edi, edi
je 0x43f48c
movzx eax, word [esi + 0x1ee]
mov ebp, dword [edi]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fadd dword [esi + 0x1c8]
call fcn.0060a450
fld dword [esi + 0x1c4]
push eax
call fcn.0060a450
mov edx, dword [ebp + 0x24]
push eax
mov ecx, edi
call edx
mov ebp, dword [esp + 0x6f4]
push 1
mov ecx, 0x7a3d78
call fcn.00405ec5
push ebx
mov ecx, 0x7c5814
call fcn.0040dc29
jmp 0x43f511
push 0x16a
mov ecx, 0x7b73a8
call fcn.00410d20
push eax
push 1
push 0x1787
push 0x7b4278
call fcn.004088eb
add esp, 0x10
push 1
mov ecx, 0x7b4278
mov edi, eax
call fcn.0040ae39
mov esi, eax
test esi, esi
je 0x43f511
test edi, edi
je 0x43f511
movzx eax, word [esi + 0x1ee]
mov ebx, dword [edi]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fadd dword [esi + 0x1c8]
call fcn.0060a450
fld dword [esi + 0x1c4]
push eax
call fcn.0060a450
mov edx, dword [ebx + 0x24]
push eax
mov ecx, edi
call edx
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx]
mov edx, dword [eax + 0x3c]
push 0
call edx
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x3c]
push 0
call edx
mov eax, dword [ebp]
mov edx, dword [eax + 0xc]
push 1
mov ecx, ebp
call edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6dc
ret