Function at 0x403500
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push 0xffffffffffffffff
push 0x40442f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x460
mov eax, dword [str.phaffjfdjg]
push ebx
push ebp
mov ebp, ecx
mov ecx, dword [0x4071b4]
mov dword [esp + 0x44], eax
mov al, byte [0x4071bc]
mov dword [esp + 0x48], ecx
mov ecx, dword [str.8_:jfd]
mov byte [esp + 0x50], al
mov eax, dword [str.kh_mjfd]
mov dword [esp + 0x54], ecx
mov ecx, dword [0x4071a0]
push esi
push edi
xor ebx, ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x65]
mov byte [esp + 0x64], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x169]
mov byte [esp + 0x168], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x26d]
mov byte [esp + 0x26c], bl
rep stosd dword es:[edi], eax
mov edx, dword [0x4071b8]
push 9
stosw word es:[edi], ax
mov dword [esp + 0x58], edx
mov edx, dword [0x4071ac]
stosb byte es:[edi], al
lea eax, [esp + 0x68]
lea ecx, [esp + 0x50]
mov dword [esp + 0x64], edx
mov dx, word [0x4071a4]
push eax
push ecx
mov ecx, ebp
mov dword [esp + 0x34], ebx
mov word [esp + 0x54], dx
call fcn.00402710
lea edx, [esp + 0x168]
push 9
lea eax, [esp + 0x60]
push edx
push eax
mov ecx, ebp
call fcn.00402710
lea ecx, [esp + 0x26c]
push 9
lea edx, [esp + 0x44]
push ecx
push edx
mov ecx, ebp
call fcn.00402710
mov al, byte [esp + 0x13]
mov dword [esp + 0x30], ebx
mov byte [esp + 0x2c], al
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov cl, byte [esp + 0x13]
push ebx
mov byte [esp + 0x1c], cl
lea ecx, [esp + 0x1c]
mov dword [esp + 0x47c], ebx
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea edi, [esp + 0x64]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
lea ecx, [esp + 0x1c]
push esi
mov dword [esp + 0x1c], esi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x40367f
mov edi, dword [esp + 0x1c]
mov ecx, esi
mov edx, ecx
lea esi, [esp + 0x64]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x18]
push ecx
push 1
push edx
lea ecx, [esp + 0x38]
mov byte [esp + 0x484], 1
call fcn.00403ae0
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x47c], bl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov al, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1c], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea edi, [esp + 0x168]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
lea ecx, [esp + 0x1c]
push esi
mov dword [esp + 0x1c], esi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x403712
mov edi, dword [esp + 0x1c]
mov ecx, esi
mov edx, ecx
lea esi, [esp + 0x168]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x18]
push ecx
push 1
push edx
lea ecx, [esp + 0x38]
mov byte [esp + 0x484], 2
call fcn.00403ae0
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x47c], bl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov al, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1c], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea edi, [esp + 0x26c]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
lea ecx, [esp + 0x1c]
push esi
mov dword [esp + 0x1c], esi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x4037a5
mov edi, dword [esp + 0x1c]
mov ecx, esi
mov edx, ecx
lea esi, [esp + 0x26c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x18]
push ecx
push 1
push edx
lea ecx, [esp + 0x38]
mov byte [esp + 0x484], 3
call fcn.00403ae0
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x47c], bl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 0x3e8
lea eax, [esp + 0x30]
push 1
push eax
mov ecx, ebp
call fcn.00403480
test eax, eax
jne 0x403980
push ebx
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
cmp edi, ebx
mov dword [esp + 0x3c], edi
je 0x403930
push 1
push ebx
push 3
push 0x4071ec
push 0x4071ec
push 0x50
push 0x40746c
push edi
call dword [sym.imp.WININET.dll_InternetConnectA]
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x14], esi
je 0x403929
mov cl, byte [esp + 0x13]
push ebx
mov byte [esp + 0x1c], cl
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edi, str.__uid
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x1c]
push ebp
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x403892
mov edi, dword [esp + 0x1c]
mov ecx, ebp
mov edx, ecx
mov esi, str.__uid
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x20], ebp
mov byte [eax + ebp], bl
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jne 0x40389f
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push 1
lea ecx, [esp + 0x374]
push 0x84480000
push ecx
push 0x4071ec
push str.HTTP_1.1
push eax
push 0x407064
push esi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edi, eax
cmp edi, ebx
je 0x4038e2
push ebx
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x4038e2
mov dword [esp + 0x28], 1
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x403907
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4038fe
cmp al, 0xff
je 0x4038fe
dec al
mov byte [ecx], al
jmp 0x403907
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
cmp edi, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
je 0x40391e
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edi, dword [esp + 0x3c]
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
cmp esi, edi
mov dword [esp + 0x478], 0xffffffff
je 0x40395a
push ebx
mov ecx, esi
call fcn.00403a80
add esi, 0x10
cmp esi, edi
jne 0x403947
mov esi, dword [esp + 0x30]
push esi
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x474]
mov eax, dword [esp + 0x2c]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x46c
ret
mov dword [esp + 0x28], 1
jmp 0x403930