Function at 0x410d50
Capabilities:
Check http status code
Connect to http server
Create http request
Reference http user-agent string
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x450b33
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x46b114]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
push esi
push edi
mov eax, dword [0x46b114]
xor eax, esp
push eax
lea eax, [esp + 0x120]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [esp + 0xac]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
xor ebx, ebx
push str.User_Agent_tMozilla_5.0__compatible__MSIE_9.0__Windows_NT_6.1__Trident_5.0_
lea ecx, [esp + 0x58]
mov dword [esp + 0x12c], ebx
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov byte [esp + 0x128], 1
mov eax, dword [esp + 0x58]
mov edi, 8
cmp dword [esp + 0x6c], edi
jae 0x410dd4
lea eax, [esp + 0x58]
push ebx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, eax
mov dword [esp + 0x18], esi
cmp esi, ebx
je 0x410f20
lea ecx, [esp + 0x70]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ecx, [esp + 0x8c]
mov byte [esp + 0x128], 2
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x90]
push ecx
lea edx, [esp + 0x78]
push edx
lea ecx, [esp + 0xb4]
mov byte [esp + 0x134], 3
call fcn.00413130
cmp dword [esp + 0x14], 4
mov eax, 0x50
jne 0x410e43
mov eax, 0x1bb
mov ecx, dword [esp + 0x74]
cmp dword [esp + 0x88], edi
jae 0x410e54
lea ecx, [esp + 0x74]
push ebx
push ebx
push 3
push ebx
push ebx
push eax
push ecx
push esi
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [esp + 0x14], eax
cmp eax, ebx
je 0x410ef9
mov ecx, dword [esp + 0x90]
cmp dword [esp + 0xa4], edi
jae 0x410e86
lea ecx, [esp + 0x90]
push ebx
push 0x84200000
push ebx
push ebx
push ebx
push ecx
push 0x45bd18
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov esi, eax
cmp esi, ebx
je 0x410ef9
lea ecx, [esp + 0xc4]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov byte [esp + 0x128], 4
mov eax, dword [esp + 0xc8]
cmp dword [esp + 0xdc], edi
jae 0x410ece
lea eax, [esp + 0xc8]
mov ecx, dword [esp + 0xd8]
push ebx
push ebx
push ecx
push eax
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x410f53
lea ecx, [esp + 0xc4]
mov byte [esp + 0x128], 3
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x8c]
mov byte [esp + 0x128], 2
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x70]
mov byte [esp + 0x128], 1
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x54]
mov byte [esp + 0x128], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0xa8]
mov dword [esp + 0x128], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
xor eax, eax
xor edx, edx
jmp 0x4110cc
push 0x16
lea edx, [esp + 0x100]
push edx
xor edi, edi
call fcn.004132a0
push 1
lea eax, [esp + 0xe4]
push eax
mov byte [esp + 0x130], 5
call fcn.004132a0
push 0x13
lea ecx, [esp + 0x3c]
push ecx
mov byte [esp + 0x130], 6
call fcn.004132a0
mov byte [esp + 0x128], 7
cmp dword [esp + 0x4c], edi
je 0x411012
cmp dword [esp + 0x50], 8
mov eax, dword [esp + 0x3c]
jae 0x410fac
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.MSVCR90.dll__wtoi]
add esp, 4
cmp eax, 0xc8
jne 0x411012
push 5
lea edx, [esp + 0x20]
push edx
call fcn.004132a0
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x12c], 8
call dword [0x454368]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x128], 7
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp dword [esp + 0x4c], 0
je 0x411012
cmp dword [esp + 0x50], 8
mov eax, dword [esp + 0x3c]
jae 0x411004
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.MSVCR90.dll__wtoi64]
add esp, 4
mov edi, eax
mov ebx, edx
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push eax
call esi
mov ecx, dword [esp + 0x18]
push ecx
call esi
lea ecx, [esp + 0x38]
mov byte [esp + 0x128], 6
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0xe0]
mov byte [esp + 0x128], 5
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0xfc]
mov byte [esp + 0x128], 4
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0xc4]
mov byte [esp + 0x128], 3
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x8c]
mov byte [esp + 0x128], 2
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x70]
mov byte [esp + 0x128], 1
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x54]
mov byte [esp + 0x128], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0xa8]
mov dword [esp + 0x128], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, edi
mov edx, ebx
mov ecx, dword [esp + 0x120]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.004390e8
mov esp, ebp
pop ebp
ret 4