Function at 0x4bdcd4
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffa70
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x590], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
call fcn.00404d8c
mov eax, dword [ebp - 0x18]
call fcn.00404d8c
mov eax, dword [ebp + 0x14]
call fcn.00404d8c
mov eax, dword [ebp + 8]
call fcn.00404d8c
xor eax, eax
push ebp
push 0x4be100
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x4be0a9
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x10]
mov byte [eax + 0xb0], 0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 0x54]
lea eax, [ebp - 0x30]
mov edx, 0x4be118
call fcn.00404984
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x30]
call fcn.00404d9c
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0xc], eax
push 0
push 0
push 3
mov eax, dword [ebp + 0x14]
call fcn.00404d9c
push eax
mov eax, dword [ebp - 0x18]
call fcn.00404d9c
push eax
push 0x50
mov eax, dword [ebp - 0x1c]
call fcn.00404d9c
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetConnectA
mov dword [ebp - 8], eax
mov edi, 0x4be128
mov esi, 0x80000000
mov eax, 0x4be12c
mov dword [ebp - 0x24], eax
push 0
push esi
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x34]
call fcn.00404d9c
push eax
push 0x4be138
mov eax, dword [ebp - 0x20]
call fcn.00404d9c
push eax
push edi
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_HttpOpenRequestA
mov dword [ebp - 4], eax
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
push eax
call sub.wininet.dll_HttpSendRequestA
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0xb0], 0
je 0x4bde2b
push ebp
call fcn.004bdca8
pop ecx
mov eax, dword [ebp - 0x10]
mov byte [eax + 0xd4], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4be0bd
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0x400
mov eax, dword [ebp - 0x28]
call fcn.004027bc
mov esi, eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
push esi
push 5
mov eax, dword [ebp - 4]
push eax
call sub.wininet.dll_HttpQueryInfoA
cmp eax, 1
sbb eax, eax
inc eax
mov edx, dword [ebp - 0x10]
mov byte [edx + 0xd4], al
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0xb0], 0
je 0x4bde95
mov eax, esi
call fcn.004027dc
push ebp
call fcn.004bdca8
pop ecx
mov eax, dword [ebp - 0x10]
mov byte [eax + 0xd4], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4be0bd
mov eax, dword [ebp - 0x10]
mov al, byte [eax + 0xd4]
test al, al
jne 0x4bdeac
cmp byte [ebp + 0x10], 0
jne 0x4be05e
test al, al
je 0x4bded1
lea edx, [ebp - 0x590]
mov eax, esi
call fcn.00409914
mov eax, dword [ebp - 0x590]
call fcn.004090d8
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xd8], eax
mov eax, dword [ebp - 0x10]
xor edx, edx
mov dword [eax + 0xe0], edx
test bl, bl
je 0x4bdf05
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x58c]
call fcn.00402e84
mov edx, 1
lea eax, [ebp - 0x58c]
call fcn.00403320
call fcn.00402924
jmp 0x4bdf0d
lea eax, [ebp - 0x3c]
call fcn.004048ec
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0xb0], 0
je 0x4bdf52
test bl, bl
je 0x4bdf2d
lea eax, [ebp - 0x58c]
call fcn.00403028
call fcn.00402924
mov eax, esi
call fcn.004027dc
push ebp
call fcn.004bdca8
pop ecx
mov eax, dword [ebp - 0x10]
mov byte [eax + 0xd4], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4be0bd
mov eax, dword [ebp - 0x10]
add eax, 0xdc
push eax
push 0x401
lea eax, [ebp - 0x43d]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.wininet.dll_InternetReadFile
test eax, eax
je 0x4bdfff
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xdc]
test eax, eax
je 0x4bdfff
test bl, bl
je 0x4bdfa5
push 0
mov ecx, eax
lea edx, [ebp - 0x43d]
lea eax, [ebp - 0x58c]
call fcn.00403008
call fcn.00402924
jmp 0x4bdfd4
lea eax, [ebp - 0x38]
lea edx, [ebp - 0x43d]
mov ecx, 0x401
call fcn.00404b54
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0xdc]
lea eax, [ebp - 0x38]
call fcn.00404f28
lea eax, [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
call fcn.00404bac
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xdc]
mov edx, dword [ebp - 0x10]
add dword [edx + 0xe0], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x30]
mov eax, dword [0x4c9c38]
mov eax, dword [eax]
call fcn.0045fb04
jmp 0x4bdf0d
test bl, bl
je 0x4be023
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd8]
mov edx, dword [ebp - 0x10]
cmp eax, dword [edx + 0xe0]
sete al
mov edx, dword [ebp - 0x10]
mov byte [edx + 0xd4], al
jmp 0x4be04a
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0xe0]
lea eax, [ebp - 0x3c]
call fcn.00404f28
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0xe0], 0
setne al
mov edx, dword [ebp - 0x10]
mov byte [edx + 0xd4], al
test bl, bl
je 0x4be05e
lea eax, [ebp - 0x58c]
call fcn.00403028
call fcn.00402924
mov eax, esi
call fcn.004027dc
push ebp
call fcn.004bdca8
pop ecx
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0xd4], 0
je 0x4be097
test bl, bl
jne 0x4be09f
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x54]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x54]
mov edx, dword [ebp - 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
jmp 0x4be09f
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4be0bd
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4be107
lea eax, [ebp - 0x590]
call fcn.004048ec
lea eax, [ebp - 0x3c]
mov edx, 4
call fcn.00404910
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.00404910
lea eax, [ebp + 8]
call fcn.004048ec
lea eax, [ebp + 0x14]
call fcn.004048ec
ret