Function at 0x40b2c0
Capabilities:
Read data from internet
Receive data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4169c4
mov eax, dword fs:[0]
push eax
sub esp, 0x4e8
mov eax, dword [0x42001c]
xor eax, esp
mov dword [esp + 0x4e0], eax
push ebx
push esi
push edi
mov eax, dword [0x42001c]
xor eax, esp
push eax
lea eax, [esp + 0x4f8]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x60]
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, [esp + 0x14]
push eax
push 0x400
lea ecx, [esp + 0xf4]
xor ebx, ebx
mov dword [esp + 0x508], ebx
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
push ecx
push esi
mov dword [esp + 0x24], ebx
call edi
test eax, eax
je 0x40b370
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x40b39b
push eax
lea edx, [esp + 0xf0]
push edx
lea ecx, [esp + 0x68]
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, [esp + 0x14]
push eax
push 0x400
lea ecx, [esp + 0xf4]
push ecx
push esi
mov dword [esp + 0x24], ebx
call edi
test eax, eax
jne 0x40b338
push 0x419050
push str.func
push 0xdf
push str.file
mov ecx, 0x417f80
mov edx, str.bugreport
mov edi, 2
call fcn.00401a20
add esp, 0x10
cmp dword [esp + 0x78], 0x10
mov eax, dword [esp + 0x64]
mov byte [esp + 0x10], bl
jae 0x40b3ae
lea eax, [esp + 0x64]
mov edx, dword [esp + 0x10]
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0xffffffffffffffff
push eax
push edx
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_struct_tagUTF8__char_const___int_]
push str.func
push 0xea
push str.file
mov ecx, str.RecvBasicInfoAck:_recv__s
mov edx, 0x417d14
mov edi, 2
call fcn.00405fe0
add esp, 0x10
cmp dword [esp + 0x74], ebx
jne 0x40b48a
mov dword [esp + 0x10], str.RecvBasicInfoAck:_failed__data_null._r_n
mov dword [esp + 0x50], str.file
mov dword [esp + 0x54], str.func
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x24], 0xf2
mov dword [esp + 0x28], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x38], ebx
call dword [sym.imp.MSVCR80.dll__time64]
add esp, 4
lea ecx, [esp + 0x10]
push ecx
push 0x417f80
lea edx, [esp + 0x24]
push 0x417d14
push edx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
call dword [sym.imp.Common.dll_void___cdecl_TXLog_DoTXLogVW_struct_tagLogObj___wchar_t_const___wchar_t_const___char__]
add esp, 0x10
lea ecx, [esp + 0x60]
mov dword [esp + 0x500], 0xffffffff
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, edi
jmp 0x40b716
lea ecx, [esp + 0x7c]
mov dword [esp + 0x10], edi
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 0x4190e0
lea ecx, [esp + 0x64]
mov byte [esp + 0x504], 1
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
cmp dword [esp + 0x74], ebx
je 0x40b658
push edi
push 0x4190e0
lea ecx, [esp + 0x68]
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 0x40b658
push edi
push ebx
lea eax, [esp + 0xd8]
push eax
lea ecx, [esp + 0x6c]
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 0x4190e4
lea ecx, [esp + 0xd8]
mov byte [esp + 0x508], 2
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 0x40b5f2
push esi
push ebx
lea ecx, [esp + 0xa0]
push ecx
lea ecx, [esp + 0xdc]
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 [esp + 0x500], 3
mov edx, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov eax, dword [edx]
push eax
add esi, 1
push esi
lea ecx, [esp + 0xbc]
push ecx
lea ecx, [esp + 0xdc]
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 edx, [esp + 0x98]
push edx
mov byte [esp + 0x504], 4
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
add esp, 8
test al, al
je 0x40b59d
cmp dword [esp + 0xcc], 0x10
mov eax, dword [esp + 0xb8]
jae 0x40b58d
lea eax, [esp + 0xb8]
push eax
call dword [sym.imp.MSVCR80.dll_atoi]
add esp, 4
mov dword [esp + 0x10], eax
jmp 0x40b5c8
lea eax, [esp + 0x98]
push eax
push str.Config
call esi
add esp, 8
test al, al
je 0x40b5c8
lea ecx, [esp + 0xb4]
push ecx
lea ecx, [esp + 0x80]
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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0xb4]
mov byte [esp + 0x500], 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, [esp + 0x98]
mov byte [esp + 0x500], 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_]
mov edx, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov eax, dword [edx]
push eax
lea ecx, [edi + 1]
push ecx
lea edx, [esp + 0xa0]
push edx
lea ecx, [esp + 0x6c]
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, [esp + 0x64]
mov byte [esp + 0x504], 5
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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x98]
mov byte [esp + 0x500], 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_]
lea ecx, [esp + 0xd0]
mov byte [esp + 0x500], 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_]
cmp dword [esp + 0x74], ebx
jne 0x40b4bb
mov ecx, dword [esp + 0x90]
cmp ecx, ebx
je 0x40b6ec
cmp dword [esp + 0x94], 0x10
mov eax, dword [esp + 0x80]
jae 0x40b67f
lea eax, [esp + 0x80]
push ecx
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00411620
add esp, 0xc
lea ecx, [esp + 0x18]
mov byte [esp + 0x500], 6
call dword [sym.imp.Common.dll_public:_bool___thiscall_CTXStringA::IsEmpty_void_const]
test al, al
jne 0x40b6da
lea ecx, [esp + 0x18]
call dword [sym.imp.Common.dll_public:_char_const____thiscall_CTXStringA::operator_char_const__void_const]
mov esi, eax
call fcn.00401c10
push eax
mov ecx, esi
call fcn.00409670
test eax, eax
je 0x40b6da
call fcn.004010b0
push eax
call fcn.00404dd0
test eax, eax
je 0x40b6da
push 1
call fcn.00412130
add esp, 4
lea ecx, [esp + 0x18]
mov byte [esp + 0x500], 1
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringA::destructor_void_]
lea ecx, [esp + 0x7c]
mov byte [esp + 0x500], bl
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, [esp + 0x60]
mov dword [esp + 0x500], 0xffffffff
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 [esp + 0x10]
mov ecx, dword [esp + 0x4f8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4e0]
xor ecx, esp
call fcn.00413efc
mov esp, ebp
pop ebp
ret