Function at 0x402600
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x404a1f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x494
push ebx
push ebp
push esi
push edi
push 0
push 0
push 0
push 0
push 1
push str.session
lea ecx, [esp + 0x44]
mov dword [esp + 0x4c4], 2
mov dword [esp + 0x2c], 0
call fcn.0040458e
lea eax, [esp + 0x4bc]
mov ecx, 0x422380
push eax
mov byte [esp + 0x4b0], 3
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esp + 0x4b4]
push 0
push 0
push 0x50
push ecx
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CInternetSession::GetHttpConnection
mov edx, dword [esp + 0x4b8]
push 0x20000000
push 0
push 0
push 1
mov ebx, eax
push 0
push edx
push 0
mov ecx, ebx
call sub.MFC42.DLL_CHttpConnection::OpenRequest
mov ebp, eax
mov edi, str.Content_Type:_application_x_www_form_urlencoded
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x40]
mov eax, ecx
mov esi, edi
mov edi, edx
push 0xffffffffffffffff
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0x10000000
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x48]
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CHttpFile::AddRequestHeaders
lea edi, [esp + 0x40]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, dword [0x422380]
mov edx, ecx
mov esi, edi
mov edi, 0x42231c
push 8
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 [eax - 8]
push eax
mov ecx, ebp
call sub.MFC42.DLL_CHttpFile::SendRequestEx
mov eax, dword [0x422380]
mov edx, dword [ebp]
push eax
mov ecx, ebp
call dword [edx + 0x5c]
push 1
push 0
push 0
mov ecx, ebp
call sub.MFC42.DLL_CHttpFile::EndRequest
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CHttpFile::QueryInfoStatusCode
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_1
push 0
push 0
push 0
lea ecx, [esp + 0x28]
mov byte [esp + 0x4b8], 4
call sub.MFC42.DLL_CMutex::CMutex
push 0xffffffffffffffff
lea ecx, [esp + 0x20]
mov byte [esp + 0x4b0], 5
call sub.MFC42.DLL_CSyncObject::Lock
push 0x40971c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [ebp]
lea eax, [esp + 0xa4]
push 0x3ff
push eax
mov ecx, ebp
mov byte [esp + 0x4b4], 6
call dword [edx + 0x3c]
test eax, eax
jbe 0x4027f0
lea ecx, [esp + 0xa4]
push eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.004045b8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x4b0], 7
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x24]
mov byte [esp + 0x4ac], 6
call sub.MFC42.DLL_CString::CString
mov edx, dword [ebp]
lea eax, [esp + 0xa4]
push 0x3ff
push eax
mov ecx, ebp
call dword [edx + 0x3c]
test eax, eax
ja 0x4027a2
mov ecx, dword [esp + 0x10]
push str.byebye
push ecx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
je 0x402819
push 0x407d3c
mov esi, 1
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x40281d
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CMutex::Unlock
test ebp, ebp
je 0x402834
mov edx, dword [ebp]
push 1
mov ecx, ebp
call dword [edx + 4]
test ebx, ebx
je 0x402841
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 4]
lea ecx, [esp + 0x10]
mov byte [esp + 0x4ac], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4ac], 4
call fcn.004045ac
lea ecx, [esp + 0x18]
mov byte [esp + 0x4ac], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4ac], 2
call sub.MFC42.DLL_CInternetSession::CInternetSession
lea ecx, [esp + 0x4b4]
mov byte [esp + 0x4ac], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x4b8]
mov byte [esp + 0x4ac], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x4bc]
mov dword [esp + 0x4ac], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x4a4]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x4a0
ret