Function at 0x4096c0
Capabilities:
Connect to http server
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40e0dc
mov eax, dword fs:[0]
push eax
sub esp, 0x484
mov eax, dword [0x41501c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
push 0x410cf6
mov esi, edx
mov dword [ebp - 0x460], eax
mov dword [ebp - 0x468], ecx
mov dword [eax], 0x194
call dword [0x40f060]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
push eax
push ecx
push esi
lea edx, [ebp - 0x44c]
call fcn.00408bc0
xor eax, eax
mov dword [ebp - 4], eax
mov edi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringA::constructor_void_]
lea ecx, [ebp - 0x450]
mov dword [ebp - 0x470], str.text_
mov dword [ebp - 0x46c], eax
call edi
lea ecx, [ebp - 0x454]
mov byte [ebp - 4], 1
call edi
lea edx, [ebp - 0x464]
push edx
lea edx, [ebp - 0x45c]
lea edi, [ebp - 0x450]
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.00409580
test al, al
jne 0x4097d7
push 0x410c28
push 0x410718
push 0x1e8
push str.file
mov ecx, 0x410cf0
mov edx, str.bugreport
mov edi, 2
call fcn.0040aed0
add esp, 0x10
mov byte [ebp - 4], 1
mov esi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringA::destructor_void_]
lea ecx, [ebp - 0x454]
call esi
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 0
call esi
lea ecx, [ebp - 0x44c]
mov dword [ebp - 4], 0xffffffff
call esi
xor al, al
jmp 0x409b9f
mov eax, dword [ebp - 0x464]
mov edi, dword [sym.imp.Common.dll_public:_char_const____thiscall_CTXStringA::operator_char_const__void_const]
push 0
push 0
push 3
push 0
push 0
push eax
lea ecx, [ebp - 0x450]
call edi
mov ecx, dword [esi + 0x4c]
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ebx, eax
test ebx, ebx
je 0x4097a3
mov eax, dword [ebp - 0x45c]
push 0
push 0
lea edx, [ebp - 0x470]
push edx
push 0
push str.HTTP_1.1
push eax
push str.POST
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
test esi, esi
jne 0x409896
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push 0x410c3c
push 0x410718
push 0x1f2
push str.file
mov ecx, 0x410cf0
mov edx, str.bugreport
lea edi, [esi + 2]
call fcn.0040aed0
mov byte [ebp - 4], 1
mov esi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringA::destructor_void_]
add esp, 0x10
lea ecx, [ebp - 0x454]
call esi
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 0
call esi
lea ecx, [ebp - 0x44c]
mov dword [ebp - 4], 0xffffffff
call esi
xor al, al
jmp 0x409b9f
lea ecx, [ebp - 0x44c]
call dword [sym.imp.Common.dll_public:_int___thiscall_CTXStringA::GetLength_void_const]
push eax
lea ecx, [ebp - 0x44c]
call edi
push eax
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
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__::constructor_void_]
lea ecx, [ebp - 0x458]
push ecx
push 0x400
lea edx, [ebp - 0x410]
mov byte [ebp - 4], 3
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
push edx
push esi
mov dword [ebp - 0x458], 0
call edi
test eax, eax
je 0x409933
mov eax, dword [ebp - 0x458]
test eax, eax
je 0x40995e
push eax
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 ecx, [ebp - 0x458]
push ecx
push 0x400
lea edx, [ebp - 0x410]
push edx
push esi
mov dword [ebp - 0x458], 0
call edi
test eax, eax
jne 0x4098f1
push 0x410c48
push 0x410718
push 0x1ff
push str.file
mov ecx, 0x410cf0
mov edx, str.bugreport
mov edi, 2
call fcn.0040aed0
add esp, 0x10
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push ebx
call esi
mov eax, dword [ebp - 0x428]
mov ebx, 0x10
cmp dword [ebp - 0x414], ebx
mov byte [ebp - 0x45c], 0
jae 0x40998a
lea eax, [ebp - 0x428]
push ecx
mov ecx, esp
mov dword [ebp - 0x464], esp
push 0xffffffffffffffff
push eax
mov eax, dword [ebp - 0x45c]
push eax
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_struct_tagUTF8__char_const___int_]
push 0x410718
push 0x208
push str.file
mov ecx, 0x410c54
mov edx, str.bugreport
mov edi, 2
call fcn.0040ae70
add esp, 0x10
cmp dword [ebp - 0x418], 3
jae 0x409a0d
push str.6e0Rs
push 0x410718
push 0x20d
push str.file
mov ecx, 0x410cf0
mov edx, str.bugreport
call fcn.0040aed0
add esp, 0x10
lea ecx, [ebp - 0x42c]
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_]
jmp 0x4097a3
push 0
push 0x20
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__unsigned_int_const]
mov esi, eax
cmp esi, dword [ebp - 0x418]
jae 0x409b1e
cmp esi, 3
mov eax, 3
ja 0x409a37
mov eax, esi
push eax
push 0
lea ecx, [ebp - 0x48c]
push ecx
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_]
cmp dword [eax + 0x18], ebx
jb 0x409a57
mov eax, dword [eax + 4]
jmp 0x409a5a
add eax, 4
push eax
call dword [sym.imp.MSVCR80.dll_atoi]
mov edx, dword [ebp - 0x460]
add esp, 4
lea ecx, [ebp - 0x48c]
mov dword [edx], eax
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]
mov ecx, dword [eax]
push ecx
add esi, 1
push esi
lea edx, [ebp - 0x448]
push edx
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_]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x434]
test eax, eax
mov esi, eax
jbe 0x409af1
lea edi, [eax - 1]
push edi
lea ecx, [ebp - 0x448]
call dword [sym.imp.MSVCP80.dll_public:_char____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator___unsigned_int_]
cmp byte [eax], 0xa
jne 0x409acb
mov esi, edi
push esi
lea ecx, [ebp - 0x448]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::resize_unsigned_int_]
test esi, esi
jbe 0x409af1
add esi, 0xffffffff
push esi
lea ecx, [ebp - 0x448]
call dword [sym.imp.MSVCP80.dll_public:_char____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator___unsigned_int_]
cmp byte [eax], 0xd
jne 0x409af1
push esi
lea ecx, [ebp - 0x448]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::resize_unsigned_int_]
cmp dword [ebp - 0x430], ebx
mov eax, dword [ebp - 0x444]
jae 0x409b05
lea eax, [ebp - 0x444]
mov ecx, dword [ebp - 0x468]
push eax
call dword [0x40f060]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x448]
jmp 0x409b5a
push 3
push 0
lea eax, [ebp - 0x48c]
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_]
cmp dword [eax + 0x18], ebx
jb 0x409b3f
mov eax, dword [eax + 4]
jmp 0x409b42
add eax, 4
push eax
call dword [sym.imp.MSVCR80.dll_atoi]
mov ecx, dword [ebp - 0x460]
mov dword [ecx], eax
add esp, 4
lea ecx, [ebp - 0x48c]
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 - 0x42c]
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_]
mov byte [ebp - 4], 1
mov esi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringA::destructor_void_]
lea ecx, [ebp - 0x454]
call esi
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 0
call esi
lea ecx, [ebp - 0x44c]
mov dword [ebp - 4], 0xffffffff
call esi
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040c926
mov esp, ebp
pop ebp
ret 0x10