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

Disassembly:
push 0xffffffffffffffff
push 0x4924f0
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x4b6170]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b6170]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov edi, ecx
xor ebp, ebp
mov dword [esp + 0x34], edi
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], ebp
mov byte [esp + 0x4c], 0
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x74], ebp
call fcn.0041f2b0
push ebp
push ebp
push ebp
push ebp
mov byte [esp + 0x80], 1
push str.mbwkestandxml
mov dword [esp + 0x28], ebp
mov dword [esp + 0x44], ebp
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, eax
mov dword [esp + 0x3c], esi
cmp esi, ebp
je 0x40cade
cmp dword [edi + 0x1c], 8
jb 0x40c961
mov eax, dword [edi + 8]
jmp 0x40c964
lea eax, [edi + 8]
push ebp
push 0x4000000
push ebp
push ebp
push eax
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov ebx, eax
cmp ebx, ebp
je 0x40ca39
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
push 0x400
call fcn.0043cdff
add esp, 4
push 0x400
mov esi, eax
push ebp
push esi
mov dword [esp + 0x44], esi
call fcn.00446600
add esp, 0xc
lea ecx, [esp + 0x30]
push ecx
push 0x400
push esi
push ebx
call edi
mov eax, dword [esp + 0x30]
add dword [esp + 0x14], eax
cmp eax, ebp
jne 0x40c9cb
push esi
call fcn.004400c4
add esp, 4
jmp 0x40ca1e
mov edx, dword [esp + 0x24]
cmp edx, ebp
jne 0x40c9d7
xor ecx, ecx
jmp 0x40c9e0
mov ecx, dword [esp + 0x2c]
sub ecx, edx
sar ecx, 2
mov eax, dword [esp + 0x28]
mov ebp, eax
sub ebp, edx
sar ebp, 2
cmp ebp, ecx
jae 0x40c9fa
mov dword [eax], esi
add eax, 4
mov dword [esp + 0x28], eax
jmp 0x40ca1e
mov esi, eax
cmp edx, eax
jbe 0x40ca05
call fcn.0043fb41
mov eax, dword [esp + 0x18]
push esi
push eax
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x28]
call fcn.0041f490
xor ebp, ebp
cmp dword [esp + 0x30], ebp
ja 0x40c984
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x3c]
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [esp + 0x14], ebp
jbe 0x40cade
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov eax, ecx
sub eax, edx
sar eax, 2
cmp eax, ebp
jbe 0x40cae6
shl eax, 0xa
push eax
call fcn.0043cdff
add esp, 4
mov dword [edi + 0x20], eax
cmp eax, ebp
je 0x40cade
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x24]
sar ecx, 2
shl ecx, 0xa
push ecx
push ebp
push eax
call fcn.00446600
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov eax, ecx
sub eax, edx
sar eax, 2
add esp, 0xc
xor ebx, ebx
cmp eax, ebp
jbe 0x40cae6
cmp ebx, eax
jb 0x40caaf
call fcn.0043fb41
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x34]
mov edi, dword [eax + 0x20]
mov esi, dword [edx + ebx*4]
add edi, ebp
mov ecx, 0x100
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov eax, ecx
sub eax, edx
inc ebx
sar eax, 2
add ebp, 0x400
cmp ebx, eax
jb 0x40caaf
jmp 0x40cae6
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov eax, ecx
sub eax, edx
sar eax, 2
xor esi, esi
test eax, eax
jbe 0x40cb20
cmp esi, eax
jb 0x40cb00
call fcn.0043fb41
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + esi*4]
push ecx
call fcn.004400c4
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov eax, ecx
sub eax, edx
inc esi
sar eax, 2
add esp, 4
cmp esi, eax
jb 0x40cb00
mov ebx, ecx
cmp edx, ecx
jbe 0x40cb33
call fcn.0043fb41
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x18]
mov edi, edx
cmp edx, ecx
jbe 0x40cb42
call fcn.0043fb41
mov edx, dword [esp + 0x18]
push ebx
push esi
push edi
push edx
lea ebx, [esp + 0x50]
lea esi, [esp + 0x28]
call fcn.0040d140
mov eax, dword [esp + 0x24]
xor esi, esi
cmp eax, esi
je 0x40cb6a
push eax
call fcn.0043f604
add esp, 4
mov eax, dword [esp + 0x18]
push eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
call fcn.0043f604
add esp, 4
cmp dword [esp + 0x60], 0x10
jb 0x40cb97
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.0043f604
add esp, 4
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.0043f4b7
add esp, 0x60
ret