Function at 0x41d0dc
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff2cc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xd34], ecx
mov dword [ebp - 0xd30], ecx
mov dword [ebp - 0xd2c], ecx
mov dword [ebp - 0xd28], ecx
mov dword [ebp - 0xd24], ecx
mov dword [ebp - 0xd1c], ecx
mov dword [ebp - 0xd20], ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x41d3f3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00404bf4
lea edx, [ebp - 0xd20]
xor eax, eax
call fcn.00402a20
mov eax, dword [ebp - 0xd20]
lea edx, [ebp - 0xd1c]
call fcn.00409044
mov edx, dword [ebp - 0xd1c]
lea eax, [ebp - 0x418]
call fcn.00409294
xor edx, edx
push ebp
push 0x41d3c6
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
push 0
push 4
lea eax, [ebp - 0x418]
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc18]
mov edx, ebx
call fcn.00409294
push 0
push 0x80000000
push 0
push 0
lea eax, [ebp - 0xc18]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x41d1d1
push 0x41d40c
push ebx
push 0x41d44c
mov eax, esi
mov edx, 3
call fcn.00404f74
jmp 0x41d3af
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0x201
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x318]
push eax
push 0x13
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_HttpQueryInfoA
test eax, eax
jne 0x41d20c
mov eax, esi
mov edx, 0x41d484
call fcn.00404c48
jmp 0x41d3af
lea edx, [ebp - 0xd24]
lea eax, [ebp - 0x318]
call fcn.00409400
mov edx, dword [ebp - 0xd24]
lea eax, [ebp - 0xd18]
mov ecx, 0xff
call fcn.00404e90
lea eax, [ebp - 0xd18]
mov edx, 0x41d4c0
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00403060
jne 0x41d334
mov eax, esi
call fcn.00404bf4
xor edx, edx
push ebp
push 0x41d32d
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x10]
push eax
push 0xff
lea eax, [ebp - 0x117]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetReadFile
mov edi, dword [ebp - 0x10]
test edi, edi
jle 0x41d2a7
lea ebx, [ebp - 0x117]
lea eax, [ebp - 0xd28]
mov dl, byte [ebx]
call fcn.00404ddc
mov edx, dword [ebp - 0xd28]
mov eax, esi
call fcn.00404ebc
inc ebx
dec edi
jne 0x41d289
cmp dword [ebp - 0x10], 0
jne 0x41d263
lea edx, [ebp - 0xd2c]
mov eax, dword [esi]
call fcn.00408764
mov edx, dword [ebp - 0xd2c]
mov eax, esi
call fcn.00404c48
mov eax, dword [esi]
call fcn.00404eb4
mov ebx, eax
lea edx, [ebp - 0xd30]
mov eax, dword [esi]
call fcn.00406a3c
mov edx, dword [ebp - 0xd30]
lea eax, [ebp - 4]
call fcn.00405474
mov eax, dword [ebp - 4]
call fcn.00405500
test eax, eax
jle 0x41d316
cmp ebx, eax
jle 0x41d316
lea eax, [ebp - 0xd34]
mov edx, dword [ebp - 4]
call fcn.00404e7c
mov eax, dword [ebp - 0xd34]
mov edx, esi
call fcn.0041bf28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41d3af
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
lea eax, [ebp - 0xd18]
mov edx, 0x41d4c4
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00403060
jne 0x41d359
mov eax, esi
mov edx, 0x41d4d0
call fcn.00404c48
jmp 0x41d3af
lea eax, [ebp - 0xd18]
mov edx, 0x41d50c
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00403060
jne 0x41d37e
mov eax, esi
mov edx, 0x41d518
call fcn.00404c48
jmp 0x41d3af
lea eax, [ebp - 0xd18]
mov edx, 0x41d548
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00403060
jne 0x41d3a3
mov eax, esi
mov edx, 0x41d554
call fcn.00404c48
jmp 0x41d3af
mov eax, esi
mov edx, 0x41d5ac
call fcn.00404c48
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41d3cd
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCloseHandle
ret