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

Disassembly:
push 0x4ac
mov eax, 0x41baca
call fcn.0041a007
mov esi, ecx
lea ecx, [ebp - 0x42c]
mov dword [ebp - 0x4a4], esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea eax, [ebp - 0x4a0]
push eax
mov edi, 0x400
push edi
lea eax, [ebp - 0x410]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
push esi
mov esi, dword [sym.imp.WININET.dll_InternetReadFile]
jmp 0x40a8f4
cmp dword [ebp - 0x4a0], ebx
je 0x40a917
push dword [ebp - 0x4a0]
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x42c]
call dword [sym.imp.MSVCP80.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 - 0x4a0]
push eax
push edi
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0x4a4]
mov dword [ebp - 0x4a0], ebx
call esi
test eax, eax
jne 0x40a8be
push 0x421ac8
push 0x421ad4
push str.bugreport
call fcn.00411e0e
add esp, 0xc
cmp dword [ebp - 0x414], 0x10
mov eax, dword [ebp - 0x428]
jae 0x40a92c
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x4ac]
push eax
call fcn.004118bd
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x4ac]
push esi
push str.6e0Rs
push str.bugreport
call fcn.00411e0e
add esp, 0x14
cmp dword [ebp - 0x418], ebx
jne 0x40a992
push str.RecvBasicInfoAck:_failed__data_null._r_n
push 0x420360
call fcn.00411e0e
pop ecx
pop ecx
lea eax, [esi - 0x10]
call fcn.004016a7
push 2
pop esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x42c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, esi
call fcn.0041a08a
ret
lea ecx, [ebp - 0x448]
mov dword [ebp - 0x4a4], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
push 0x421b50
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP80.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__::operator_char_const__]
xor edi, edi
jmp 0x40ab25
push edi
push 0x421b50
lea ecx, [ebp - 0x42c]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int_const]
mov edi, eax
cmp edi, 0xffffffff
je 0x40ab31
push edi
push ebx
lea eax, [ebp - 0x49c]
push eax
lea ecx, [ebp - 0x42c]
call dword [sym.imp.MSVCP80.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__::substr_unsigned_int__unsigned_int_]
push ebx
push 0x421b54
lea ecx, [ebp - 0x49c]
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int_const]
mov esi, eax
cmp esi, 0xffffffff
je 0x40aad6
push esi
push ebx
lea eax, [ebp - 0x480]
push eax
lea ecx, [ebp - 0x49c]
call dword [sym.imp.MSVCP80.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__::substr_unsigned_int__unsigned_int_]
mov byte [ebp - 4], 4
mov eax, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
push dword [eax]
inc esi
push esi
lea eax, [ebp - 0x464]
push eax
lea ecx, [ebp - 0x49c]
call dword [sym.imp.MSVCP80.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__::substr_unsigned_int__unsigned_int_]
lea eax, [ebp - 0x480]
push eax
mov byte [ebp - 4], 5
mov esi, dword [sym.imp.MSVCP80.dll_bool___cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___char_const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
push str.nRet
call esi
test al, al
pop ecx
pop ecx
je 0x40aa8f
cmp dword [ebp - 0x44c], 0x10
mov eax, dword [ebp - 0x460]
jae 0x40aa7f
lea eax, [ebp - 0x460]
push eax
call dword [sym.imp.MSVCR80.dll_atoi]
pop ecx
mov dword [ebp - 0x4a4], eax
jmp 0x40aab6
lea eax, [ebp - 0x480]
push eax
push str.Config
call esi
test al, al
pop ecx
pop ecx
je 0x40aab6
lea eax, [ebp - 0x464]
push eax
lea ecx, [ebp - 0x448]
call dword [0x41c1ec]
lea ecx, [ebp - 0x464]
mov byte [ebp - 4], 4
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp - 0x480]
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
push dword [eax]
lea eax, [edi + 1]
push eax
lea eax, [ebp - 0x480]
push eax
lea ecx, [ebp - 0x42c]
call dword [sym.imp.MSVCP80.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__::substr_unsigned_int__unsigned_int_]
push eax
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 6
call dword [0x41c1ec]
lea ecx, [ebp - 0x480]
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp - 0x49c]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
cmp dword [ebp - 0x418], ebx
jne 0x40a9c4
cmp dword [ebp - 0x434], ebx
je 0x40ac28
cmp dword [ebp - 0x430], 0x10
mov eax, dword [ebp - 0x444]
jae 0x40ab52
lea eax, [ebp - 0x444]
push dword [ebp - 0x434]
push eax
lea eax, [ebp - 0x4b0]
push eax
call fcn.0040e105
add esp, 0xc
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x4b0]
cmp dword [eax - 0xc], ebx
je 0x40ac1a
push eax
call fcn.00401810
mov esi, eax
call fcn.004089ea
test eax, eax
je 0x40ac09
lea eax, [ebp - 0x4a8]
push eax
mov dword [ebp - 0x4a8], ebx
call fcn.004010c5
push eax
call fcn.004041b9
test eax, eax
je 0x40ac02
lea eax, [ebp - 0x4b4]
push eax
call fcn.004010c5
call fcn.004017b6
mov edi, eax
mov byte [ebp - 4], 8
call fcn.004010c5
lea esi, [ebp - 0x4b8]
call fcn.0040179a
mov byte [ebp - 4], 9
push dword [edi]
push eax
push dword [ebp - 0x4a8]
call fcn.0040e98f
mov eax, dword [ebp - 0x4b8]
add esp, 0xc
add eax, 0xfffffff0
call fcn.004016a7
mov eax, dword [ebp - 0x4b4]
add eax, 0xfffffff0
call fcn.004016a7
jmp 0x40ac1a
push str.no_need_set_fdump_flag_
jmp 0x40ac0e
push str.parse_config_failed_
push 0x420360
call fcn.00411e0e
pop ecx
pop ecx
mov eax, dword [ebp - 0x4b0]
add eax, 0xfffffff0
call fcn.004016a7
lea ecx, [ebp - 0x448]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [ebp - 0x4ac]
add eax, 0xfffffff0
call fcn.004016a7
mov esi, dword [ebp - 0x4a4]
jmp 0x40a97a