Function at 0x401900
Capabilities:
Connect to http server
Create http request
Parse url
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x403759
push eax
mov eax, 0x48c8
mov dword fs:[0], esp
call fcn.00402ff0
push ebx
push ebp
push esi
push edi
xor eax, eax
mov ecx, 0xe
lea edi, [esp + 0x18]
mov dword [esp + 0x14], 0x3c
rep stosd dword es:[edi], eax
mov eax, 0x800
mov dword [esp + 0x28], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], eax
lea eax, [esp + 0xc8]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x10d0]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x4900]
xor ebp, ebp
lea ecx, [esp + 0x18d4]
lea edx, [esp + 0x8cc]
cmp eax, 0x10
mov eax, dword [esp + 0x48ec]
mov dword [esp + 0x48e0], ebp
mov dword [esp + 0x40], ecx
mov dword [esp + 0x30], edx
jae 0x40199c
lea eax, [esp + 0x48ec]
lea ecx, [esp + 0x14]
push ecx
push ebp
push ebp
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
mov edx, dword [esp + 0x24]
mov esi, eax
mov eax, dword [esp + 0x28]
mov byte [edx + eax], 0
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov byte [ecx + edx], 0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov byte [eax + ecx], 0
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x58]
mov byte [edx + eax], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esp + 0x90]
mov byte [esp + 0x48e0], 1
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esp + 0xac]
mov byte [esp + 0x48e0], 2
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esp + 0x74]
mov byte [esp + 0x48e0], 3
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
cmp esi, ebp
mov byte [esp + 0x48e0], 4
je 0x401a7a
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x2c]
push ecx
lea ecx, [esp + 0x5c]
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__::operator_char_const__]
mov edx, dword [esp + 0x40]
push edx
lea ecx, [esp + 0x94]
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__::operator_char_const__]
mov eax, dword [esp + 0x30]
push eax
lea ecx, [esp + 0xb0]
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__::operator_char_const__]
mov ecx, dword [esp + 0x38]
push ecx
lea ecx, [esp + 0x78]
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__::operator_char_const__]
jmp 0x401a82
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x10]
push ebp
push ebp
push ebp
push 1
push ebp
mov dword [esp + 0x64], 0x40441c
mov dword [esp + 0x68], ebp
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebx, eax
cmp ebx, ebp
je 0x401b6c
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x78]
mov eax, 0x10
cmp ecx, eax
jae 0x401abc
lea edx, [esp + 0x78]
cmp dword [esp + 0xc4], eax
mov ecx, dword [esp + 0xb0]
jae 0x401ad3
lea ecx, [esp + 0xb0]
cmp dword [esp + 0x70], eax
mov eax, dword [esp + 0x5c]
jae 0x401ae1
lea eax, [esp + 0x5c]
push 1
push ebp
push esi
push edx
push ecx
push edi
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov esi, eax
cmp esi, ebp
jne 0x401aff
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x401b6c
cmp dword [esp + 0xa8], 0x10
mov eax, dword [esp + 0x94]
jae 0x401b17
lea eax, [esp + 0x94]
push 1
push 0x84480000
lea edx, [esp + 0x58]
push edx
push ebp
push str.HTTP_1.1
push eax
push str.POST
push esi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov ebp, eax
test ebp, ebp
jne 0x401b4a
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push ebx
call esi
jmp 0x401b6c
push 0
push 0
push 0
push 0
push ebp
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x401bd9
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebp
call edi
push esi
call edi
push ebx
call edi
lea ecx, [esp + 0x74]
mov byte [esp + 0x48e0], 3
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xac]
mov byte [esp + 0x48e0], 2
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x90]
mov byte [esp + 0x48e0], 1
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x58]
mov byte [esp + 0x48e0], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x48e8]
mov dword [esp + 0x48e0], 0xffffffff
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
xor eax, eax
jmp 0x401c95
xor eax, eax
mov ecx, 0xa00
lea edi, [esp + 0x20d8]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
push 0x2800
lea ecx, [esp + 0x20e0]
push ecx
push ebp
call dword [sym.imp.WININET.dll_InternetReadFile]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebp
call edi
push esi
call edi
push ebx
call edi
mov ecx, dword [esp + 0x4904]
lea edx, [esp + 0x20d8]
push edx
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__::operator_char_const__]
lea ecx, [esp + 0x74]
mov byte [esp + 0x48e0], 3
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xac]
mov byte [esp + 0x48e0], 2
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x90]
mov byte [esp + 0x48e0], 1
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x58]
mov byte [esp + 0x48e0], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x48e8]
mov dword [esp + 0x48e0], 0xffffffff
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, 1
mov ecx, dword [esp + 0x48d8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x48d4
ret 0x20