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

Disassembly:
push 0x4ac
mov eax, 0x41bc80
call fcn.0041a287
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 0x40a820
cmp dword [ebp - 0x4a0], ebx
je 0x40a843
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 0x40a7ea
push 0x422ac8
push 0x422ad4
push str.bugreport
call fcn.0041209a
add esp, 0xc
cmp dword [ebp - 0x414], 0x10
mov eax, dword [ebp - 0x428]
jae 0x40a858
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x4ac]
push eax
call fcn.00411b49
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x4ac]
push esi
push str.6e0Rs
push str.bugreport
call fcn.0041209a
add esp, 0x14
cmp dword [ebp - 0x418], ebx
jne 0x40a8be
push str.RecvBasicInfoAck:_failed__data_null._r_n
push 0x421360
call fcn.0041209a
pop ecx
pop ecx
lea eax, [esi - 0x10]
call fcn.004016a2
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.0041a30a
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 0x422b50
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 0x40aa51
push edi
push 0x422b50
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 0x40aa5d
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 0x422b54
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 0x40aa02
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 0x40a9bb
cmp dword [ebp - 0x44c], 0x10
mov eax, dword [ebp - 0x460]
jae 0x40a9ab
lea eax, [ebp - 0x460]
push eax
call dword [sym.imp.MSVCR80.dll_atoi]
pop ecx
mov dword [ebp - 0x4a4], eax
jmp 0x40a9e2
lea eax, [ebp - 0x480]
push eax
push str.Config
call esi
test al, al
pop ecx
pop ecx
je 0x40a9e2
lea eax, [ebp - 0x464]
push eax
lea ecx, [ebp - 0x448]
call dword [0x41d1ec]
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 [0x41d1ec]
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 0x40a8f0
cmp dword [ebp - 0x434], ebx
je 0x40ab54
cmp dword [ebp - 0x430], 0x10
mov eax, dword [ebp - 0x444]
jae 0x40aa7e
lea eax, [ebp - 0x444]
push dword [ebp - 0x434]
push eax
lea eax, [ebp - 0x4b0]
push eax
call fcn.0040e4e5
add esp, 0xc
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x4b0]
cmp dword [eax - 0xc], ebx
je 0x40ab46
push eax
call fcn.00401815
mov esi, eax
call fcn.004088b8
test eax, eax
je 0x40ab35
lea eax, [ebp - 0x4a8]
push eax
mov dword [ebp - 0x4a8], ebx
call fcn.004010c5
push eax
call fcn.004041be
test eax, eax
je 0x40ab2e
lea eax, [ebp - 0x4b4]
push eax
call fcn.004010c5
call fcn.004017bb
mov edi, eax
mov byte [ebp - 4], 8
call fcn.004010c5
lea esi, [ebp - 0x4b8]
call fcn.0040179f
mov byte [ebp - 4], 9
push dword [edi]
push eax
push dword [ebp - 0x4a8]
call fcn.0040ed6f
mov eax, dword [ebp - 0x4b8]
add esp, 0xc
add eax, 0xfffffff0
call fcn.004016a2
mov eax, dword [ebp - 0x4b4]
add eax, 0xfffffff0
call fcn.004016a2
jmp 0x40ab46
push str.no_need_set_fdump_flag_
jmp 0x40ab3a
push str.parse_config_failed_
push 0x421360
call fcn.0041209a
pop ecx
pop ecx
mov eax, dword [ebp - 0x4b0]
add eax, 0xfffffff0
call fcn.004016a2
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.004016a2
mov esi, dword [ebp - 0x4a4]
jmp 0x40a8a6