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

Disassembly:
push ebp
mov eax, 0x1fb4
lea ebp, [esp - 0x1f34]
call fcn.004d2080
mov eax, dword [0x52f220]
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.00409cf2
test al, al
je 0x409ecc
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 0x409ecc
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 0x409e7e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x409ecc
cmp dword [ebp - 0x78], 0x10000
ja 0x409ecc
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 0x409e8e
jmp 0x409ecc
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 0x409ebb
cmp dword [ebp - 0x74], 0
je 0x409ed0
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 0x409e9e
xor al, al
jmp 0x409ed2
mov al, 1
mov ecx, dword [ebp + 0x1f30]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d1f17
add ebp, 0x1f34
leave
ret 0x18