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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e56a9
mov eax, dword fs:[0]
push eax
mov eax, 0x1074
call fcn.004837d0
mov eax, dword [0x649474]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1074], edi
mov dword [ebp - 0x1074], edi
lea ecx, [ebp - 0x1070]
xor ebx, ebx
mov dword [ebp - 0x107c], ebx
push str.6_3xls_tlclbvlerq__2
mov byte [ebp - 0x1074], bl
push dword [ebp - 0x1074]
mov dword [ebp - 0x1070], ebx
push 0x1a
mov dword [ebp - 0x1060], ebx
mov dword [ebp - 0x105c], 0xf
mov byte [ebp - 0x1070], bl
call fcn.00408ad5
push ebx
push ebx
push ebx
push ebx
push str.IP_retriver
mov dword [ebp - 4], ebx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebx, eax
xor eax, eax
push eax
push 0x80000000
push eax
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ecx], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
lea eax, [ebp - 0x1070]
push eax
call fcn.00408c05
lea ecx, [ebp - 0x1058]
call fcn.0040eeb5
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x40bf9d
mov eax, dword [eax]
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
lea ecx, [ebp - 0x1058]
mov esi, eax
call fcn.00403cab
lea eax, [ebp - 0x1080]
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
lea ecx, [ebp - 0x1010]
push 0xf
pop esi
mov dword [ebp - 0x1028], eax
lea edx, [ecx + 1]
mov dword [ebp - 0x1018], eax
mov dword [ebp - 0x1014], esi
mov byte [ebp - 0x1028], al
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40bff9
sub ecx, edx
lea eax, [ebp - 0x1010]
push ecx
push eax
lea ecx, [ebp - 0x1028]
call fcn.00408b44
xor ebx, ebx
xor eax, eax
inc ebx
mov byte [ebp - 4], bl
cmp dword [ebp - 0x1018], eax
jne 0x40c056
push eax
mov dword [ebp - 0x1040], eax
lea ecx, [ebp - 0x1040]
push 0x62f563
mov dword [ebp - 0x1030], eax
mov dword [ebp - 0x102c], esi
mov byte [ebp - 0x1040], al
call fcn.00408b44
lea eax, [ebp - 0x1040]
jmp 0x40c083
mov dword [ebp - 0x1058], eax
lea ecx, [ebp - 0x1058]
mov dword [ebp - 0x1048], eax
mov dword [ebp - 0x1044], eax
lea eax, [ebp - 0x1028]
push eax
call fcn.00408c05
push 2
lea eax, [ebp - 0x1058]
pop ebx
push eax
mov ecx, edi
call fcn.004036f2
or ebx, 4
mov esi, 0x1000
test bl, 2
je 0x40c0e7
mov eax, dword [ebp - 0x1044]
and ebx, 0xfffffffd
cmp eax, 0x10
jb 0x40c0e7
mov ecx, dword [ebp - 0x1058]
inc eax
mov dword [ebp - 0x1078], eax
mov dword [ebp - 0x1074], ecx
cmp eax, esi
jb 0x40c0de
lea eax, [ebp - 0x1078]
push eax
lea eax, [ebp - 0x1074]
push eax
call fcn.00403c47
mov eax, dword [ebp - 0x1078]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1074]
push eax
push ecx
call fcn.00482b0d
pop ecx
pop ecx
test bl, 1
je 0x40c150
mov eax, dword [ebp - 0x102c]
cmp eax, 0x10
jb 0x40c138
mov ecx, dword [ebp - 0x1040]
inc eax
mov dword [ebp - 0x1074], eax
mov dword [ebp - 0x1078], ecx
cmp eax, esi
jb 0x40c12f
lea eax, [ebp - 0x1074]
push eax
lea eax, [ebp - 0x1078]
push eax
call fcn.00403c47
mov eax, dword [ebp - 0x1074]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1078]
push eax
push ecx
call fcn.00482b0d
pop ecx
pop ecx
and dword [ebp - 0x1030], 0
mov dword [ebp - 0x102c], 0xf
mov byte [ebp - 0x1040], 0
mov eax, dword [ebp - 0x1014]
cmp eax, 0x10
jb 0x40c19c
mov ecx, dword [ebp - 0x1028]
inc eax
mov dword [ebp - 0x1074], eax
mov dword [ebp - 0x1078], ecx
cmp eax, esi
jb 0x40c193
lea eax, [ebp - 0x1074]
push eax
lea eax, [ebp - 0x1078]
push eax
call fcn.00403c47
mov eax, dword [ebp - 0x1074]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1078]
push eax
push ecx
call fcn.00482b0d
pop ecx
pop ecx
and dword [ebp - 0x1018], 0
mov eax, dword [ebp - 0x105c]
mov dword [ebp - 0x1014], 0xf
mov byte [ebp - 0x1028], 0
cmp eax, 0x10
jb 0x40c200
mov ecx, dword [ebp - 0x1070]
inc eax
mov dword [ebp - 0x1074], eax
mov dword [ebp - 0x1078], ecx
cmp eax, esi
jb 0x40c1f7
lea eax, [ebp - 0x1074]
push eax
lea eax, [ebp - 0x1078]
push eax
call fcn.00403c47
mov eax, dword [ebp - 0x1074]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1078]
push eax
push ecx
call fcn.00482b0d
pop ecx
pop ecx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004828de
leave
ret