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

Disassembly:
push 0xffffffffffffffff
push 0xad0540
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0xaf97a0]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0xaf97a0]
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.00a13960
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 0xa2c64e
cmp dword [edi + 0x18], 8
jb 0xa2c4d1
mov eax, dword [edi + 4]
jmp 0xa2c4d4
lea eax, [edi + 4]
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 0xa2c5a9
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
push 0x400
call fcn.00a76ab6
add esp, 4
push 0x400
mov esi, eax
push ebp
push esi
mov dword [esp + 0x44], esi
call fcn.00a827a0
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 0xa2c53b
push esi
call fcn.00a7b356
add esp, 4
jmp 0xa2c58e
mov edx, dword [esp + 0x24]
cmp edx, ebp
jne 0xa2c547
xor ecx, ecx
jmp 0xa2c550
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 0xa2c56a
mov dword [eax], esi
add eax, 4
mov dword [esp + 0x28], eax
jmp 0xa2c58e
mov esi, eax
cmp edx, eax
jbe 0xa2c575
call fcn.00a7c884
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.00a2c730
xor ebp, ebp
cmp dword [esp + 0x30], ebp
ja 0xa2c4f4
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 0xa2c64e
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov eax, ecx
sub eax, edx
sar eax, 2
cmp eax, ebp
jbe 0xa2c656
shl eax, 0xa
push eax
call fcn.00a76ab6
add esp, 4
mov dword [edi + 0x1c], eax
cmp eax, ebp
je 0xa2c64e
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x24]
sar ecx, 2
shl ecx, 0xa
push ecx
push ebp
push eax
call fcn.00a827a0
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 0xa2c656
cmp ebx, eax
jb 0xa2c61f
call fcn.00a7c884
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x34]
mov edi, dword [eax + 0x1c]
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 0xa2c61f
jmp 0xa2c656
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 0xa2c690
cmp esi, eax
jb 0xa2c670
call fcn.00a7c884
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + esi*4]
push ecx
call fcn.00a7b356
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 0xa2c670
mov ebx, ecx
cmp edx, ecx
jbe 0xa2c6a3
call fcn.00a7c884
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x18]
mov edi, edx
cmp edx, ecx
jbe 0xa2c6b2
call fcn.00a7c884
mov edx, dword [esp + 0x18]
push ebx
push esi
push edi
push edx
lea ebx, [esp + 0x50]
lea esi, [esp + 0x28]
call fcn.00a2c7e0
mov eax, dword [esp + 0x24]
xor esi, esi
cmp eax, esi
je 0xa2c6da
push eax
call fcn.00a7ac28
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.00a7ac28
add esp, 4
cmp dword [esp + 0x60], 0x10
jb 0xa2c707
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.00a7ac28
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.00a7a967
add esp, 0x60
ret