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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4118a7
push eax
mov eax, 0x106c
mov dword fs:[0], esp
call fcn.004106b0
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0
push 0
push 0
push 0
push 0x4197cc
mov dword [esp + 0x1098], 2
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
test edi, edi
mov dword [esp + 0x38], edi
jne 0x407a3c
push 1
lea ecx, [esp + 0x1090]
mov byte [esp + 0x1088], 1
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 1
lea ecx, [esp + 0x10a0]
mov byte [esp + 0x1088], 0
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 1
lea ecx, [esp + 0x10b0]
mov dword [esp + 0x1088], 0xffffffff
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
xor eax, eax
jmp 0x4080d6
push 0
push 0
push 3
push 0
push 0
push 0x50
push 0x4197b4
push edi
call dword [sym.imp.WININET.dll_InternetConnectA]
test eax, eax
mov dword [esp + 0x40], eax
jne 0x407ab2
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push 1
lea ecx, [esp + 0x1090]
mov byte [esp + 0x1088], 1
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 1
lea ecx, [esp + 0x10a0]
mov byte [esp + 0x1088], 0
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 1
lea ecx, [esp + 0x10b0]
mov dword [esp + 0x1088], 0xffffffff
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
xor eax, eax
jmp 0x4080d6
mov al, byte [esp + 0x37]
push 0
lea ecx, [esp + 0x28]
mov byte [esp + 0x28], 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_]
mov edi, 0x41c354
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x41c354
lea ecx, [esp + 0x2c]
call dword [sym.imp.MSVCP60.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__::assign_char_const___unsigned_int_]
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x7c]
mov byte [esp + 0x1084], 3
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x10bc]
sub eax, 0
je 0x407d59
dec eax
je 0x407c4c
dec eax
jne 0x407e72
mov eax, dword [esp + 0x10b0]
test eax, eax
jne 0x407b2f
mov ecx, 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]
mov dword [esp + 0x18], ecx
jmp 0x407b33
mov dword [esp + 0x18], eax
lea edx, [esp + 0x109c]
lea eax, [esp + 0x4c]
push edx
push eax
mov ecx, esi
call fcn.00408100
mov ecx, dword [eax + 4]
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]
test ecx, ecx
mov dword [esp + 0x14], eax
je 0x407b5b
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 0x180]
mov dword [esp + 0x10], eax
test ecx, ecx
je 0x407b6d
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 0x170]
mov dword [esp + 0x20], eax
test ecx, ecx
je 0x407b7f
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0x160]
mov dword [esp + 0x1c], eax
test ecx, ecx
je 0x407b91
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0x150]
mov ebx, eax
test ecx, ecx
je 0x407b9f
mov ebx, ecx
mov ecx, dword [esi + 0x140]
mov ebp, eax
test ecx, ecx
je 0x407bad
mov ebp, ecx
mov edi, dword [esi + 0x120]
test edi, edi
jne 0x407bb9
mov edi, eax
mov edx, dword [esp + 0x1090]
test edx, edx
jne 0x407bc6
mov edx, eax
mov ecx, dword [esi + 0x100]
test ecx, ecx
jne 0x407bd2
mov ecx, eax
mov esi, dword [esi + 0xf0]
test esi, esi
je 0x407bde
mov eax, esi
mov esi, dword [esp + 0x18]
push esi
mov esi, dword [esp + 0x18]
push esi
mov esi, dword [esp + 0x18]
push esi
mov esi, dword [esp + 0x2c]
push esi
mov esi, dword [esp + 0x2c]
push esi
push ebx
push ebp
push 0x41c354
push edi
push edx
push ecx
push eax
lea ecx, [esp + 0xac]
push 0x41973c
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esp + 0x88]
add esp, 0x38
test eax, eax
je 0x407e72
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x407c3e
cmp al, 0xff
je 0x407c3e
dec al
mov byte [ecx], al
jmp 0x407e72
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
jmp 0x407e72
mov eax, dword [esp + 0x10b0]
test eax, eax
jne 0x407c63
mov edx, 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]
mov dword [esp + 0x1c], edx
jmp 0x407c67
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x109c]
lea ecx, [esp + 0x6c]
push eax
push ecx
mov ecx, esi
call fcn.00408100
mov ecx, dword [eax + 4]
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]
test ecx, ecx
mov dword [esp + 0x20], eax
je 0x407c8f
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0x180]
mov dword [esp + 0x10], eax
test ecx, ecx
je 0x407ca1
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 0x170]
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x407cb3
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 0x160]
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x407cc5
mov dword [esp + 0x18], ecx
mov ecx, dword [esi + 0x150]
mov ebx, eax
test ecx, ecx
je 0x407cd3
mov ebx, ecx
mov ecx, dword [esi + 0x130]
mov ebp, eax
test ecx, ecx
je 0x407ce1
mov ebp, ecx
mov ecx, dword [esi + 0x120]
mov edi, eax
test ecx, ecx
je 0x407cef
mov edi, ecx
mov edx, dword [esp + 0x1090]
test edx, edx
jne 0x407cfc
mov edx, eax
mov ecx, dword [esi + 0x100]
test ecx, ecx
jne 0x407d08
mov ecx, eax
mov esi, dword [esi + 0xf0]
test esi, esi
je 0x407d14
mov eax, esi
mov esi, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x24]
push esi
mov esi, dword [esp + 0x18]
push esi
mov esi, dword [esp + 0x20]
push esi
mov esi, dword [esp + 0x28]
push esi
push ebx
push 0x41c354
push ebp
push edi
push edx
push ecx
push eax
lea edx, [esp + 0xac]
push 0x41973c
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x38
lea ecx, [esp + 0x6c]
push 1
jmp 0x407e6c
mov eax, dword [esp + 0x10b0]
test eax, eax
jne 0x407d69
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]
lea ecx, [esp + 0x109c]
lea edx, [esp + 0x5c]
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x24], eax
call fcn.00408100
mov ecx, dword [eax + 4]
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]
test ecx, ecx
mov dword [esp + 0x20], eax
je 0x407d95
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0x180]
mov dword [esp + 0x10], eax
test ecx, ecx
je 0x407da7
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 0x170]
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x407db9
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 0x160]
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x407dcb
mov dword [esp + 0x18], ecx
mov ecx, dword [esi + 0x150]
mov dword [esp + 0x3c], eax
test ecx, ecx
je 0x407ddd
mov dword [esp + 0x3c], ecx
mov ecx, dword [esi + 0x140]
mov ebx, eax
test ecx, ecx
je 0x407deb
mov ebx, ecx
mov ecx, dword [esi + 0x130]
mov ebp, eax
test ecx, ecx
je 0x407df9
mov ebp, ecx
mov ecx, dword [esi + 0x120]
mov edi, eax
test ecx, ecx
je 0x407e07
mov edi, ecx
mov edx, dword [esp + 0x1090]
test edx, edx
jne 0x407e14
mov edx, eax
mov ecx, dword [esi + 0x100]
test ecx, ecx
jne 0x407e20
mov ecx, eax
mov esi, dword [esi + 0xf0]
test esi, esi
je 0x407e2c
mov eax, esi
mov esi, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x24]
push esi
mov esi, dword [esp + 0x18]
push esi
mov esi, dword [esp + 0x20]
push esi
mov esi, dword [esp + 0x28]
push esi
mov esi, dword [esp + 0x50]
push esi
push ebx
push ebp
push edi
push edx
push ecx
push eax
lea eax, [esp + 0xac]
push 0x41973c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x38
lea ecx, [esp + 0x5c]
push 1
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 + 0x7c]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x28]
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 0x407eb7
mov edi, dword [esp + 0x28]
mov ecx, ebp
mov edx, ecx
lea esi, [esp + 0x7c]
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 + 0x28]
mov dword [esp + 0x2c], ebp
mov byte [eax + ebp], 0
mov eax, dword [esp + 0x28]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x44], 0x419738
mov dword [esp + 0x48], ebx
jne 0x407ed2
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]
mov edi, dword [esp + 0x40]
push ebx
lea ecx, [esp + 0x48]
push 0x4000000
push ecx
push ebx
push ebx
push eax
push 0x419734
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
cmp esi, ebx
jne 0x407fe5
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
mov edx, dword [esp + 0x38]
push edx
call esi
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
je 0x407f2e
mov al, byte [ecx - 1]
test al, al
je 0x407f24
cmp al, 0xff
je 0x407f24
dec al
mov byte [ecx - 1], al
jmp 0x407f2e
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x1090]
mov dword [esp + 0x28], ebx
cmp ecx, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x407f61
mov al, byte [ecx - 1]
test al, al
je 0x407f57
cmp al, 0xff
je 0x407f57
dec al
mov byte [ecx - 1], al
jmp 0x407f61
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x10a0]
mov dword [esp + 0x1090], ebx
cmp ecx, ebx
mov dword [esp + 0x1094], ebx
mov dword [esp + 0x1098], ebx
je 0x407f9d
mov al, byte [ecx - 1]
test al, al
je 0x407f93
cmp al, 0xff
je 0x407f93
dec al
mov byte [ecx - 1], al
jmp 0x407f9d
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x10b0]
mov dword [esp + 0x10a0], ebx
cmp ecx, ebx
mov dword [esp + 0x10a4], ebx
mov dword [esp + 0x10a8], ebx
je 0x407fde
mov al, byte [ecx - 1]
test al, al
je 0x407fd4
cmp al, 0xff
je 0x407fd4
dec al
mov byte [ecx - 1], al
xor eax, eax
jmp 0x4080d6
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
xor eax, eax
jmp 0x4080d6
push ebx
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
push edi
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ebp, eax
call edi
mov eax, dword [esp + 0x38]
push eax
call edi
push esi
call edi
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
je 0x408029
mov al, byte [ecx - 1]
test al, al
je 0x40801f
cmp al, 0xff
je 0x40801f
dec al
mov byte [ecx - 1], al
jmp 0x408029
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x1090]
mov dword [esp + 0x28], ebx
cmp ecx, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x40805c
mov al, byte [ecx - 1]
test al, al
je 0x408052
cmp al, 0xff
je 0x408052
dec al
mov byte [ecx - 1], al
jmp 0x40805c
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x10a0]
mov dword [esp + 0x1090], ebx
cmp ecx, ebx
mov dword [esp + 0x1094], ebx
mov dword [esp + 0x1098], ebx
je 0x408098
mov al, byte [ecx - 1]
test al, al
je 0x40808e
cmp al, 0xff
je 0x40808e
dec al
mov byte [ecx - 1], al
jmp 0x408098
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x10b0]
mov dword [esp + 0x10a0], ebx
cmp ecx, ebx
mov dword [esp + 0x10a4], ebx
mov dword [esp + 0x10a8], ebx
je 0x4080d4
mov al, byte [ecx - 1]
test al, al
je 0x4080ca
cmp al, 0xff
je 0x4080ca
dec al
mov byte [ecx - 1], al
jmp 0x4080d4
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x107c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1078
ret 0x34