Function at 0x4061bd
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov eax, 0x1fb4
lea ebp, [esp - 0x1f34]
call fcn.0049f1f0
mov eax, dword [0x4f0dd0]
push ebx
mov ebx, dword [ebp + 0x1f44]
xor eax, ebp
push esi
mov dword [ebp + 0x1f30], eax
mov eax, dword [ebp + 0x1f50]
mov esi, ecx
mov ecx, dword [ebp + 0x1f4c]
push edi
mov edi, dword [ebp + 0x1f3c]
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x80], eax
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::clear_void_]
mov ecx, dword [ebp - 0x80]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::clear_void_]
mov ecx, esi
call fcn.0040612e
test al, al
je 0x406308
mov eax, ebx
neg eax
sbb eax, eax
and eax, dword [ebp + 0x1f48]
push eax
mov eax, edi
neg eax
sbb eax, eax
and eax, dword [ebp + 0x1f40]
push ebx
push eax
push edi
push dword [esi + 0x7c]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x406308
mov edi, dword [sym.imp.WININET.dll_HttpQueryInfoA]
and dword [ebp - 0x7c], 0
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x70]
push eax
push 0x16
push dword [esi + 0x7c]
mov ebx, 0x1fa0
mov dword [ebp - 0x78], ebx
call edi
test eax, eax
jne 0x4062ba
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x406308
cmp dword [ebp - 0x78], 0x10000
ja 0x406308
push dword [ebp - 0x78]
mov ecx, dword [ebp - 0x74]
and dword [ebp - 0x7c], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::resize_unsigned_int_]
mov ecx, dword [ebp - 0x74]
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
push 0x16
push dword [esi + 0x7c]
call edi
test eax, eax
jne 0x4062ca
jmp 0x406308
push dword [ebp - 0x78]
mov ecx, dword [ebp - 0x74]
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const___unsigned_int_]
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
lea eax, [ebp - 0x74]
push eax
mov dword [ebp - 0x78], ebx
push ebx
jmp 0x4062f7
cmp dword [ebp - 0x74], 0
je 0x40630c
push dword [ebp - 0x74]
mov ecx, dword [ebp - 0x80]
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const___unsigned_int_]
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x78]
and dword [ebp - 0x74], 0
lea eax, [ebp - 0x70]
push eax
push dword [esi + 0x7c]
call edi
test eax, eax
jne 0x4062da
xor al, al
jmp 0x40630e
mov al, 1
mov ecx, dword [ebp + 0x1f30]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049f127
add ebp, 0x1f34
leave
ret 0x18