Function at 0x418dd0
Capabilities:
Delete file
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41e678
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x2aa8
call fcn.00406460
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
push edi
mov dword [ebp - 0x10], esp
lea ebx, [esi + 4]
xor edi, edi
push ecx
mov ecx, ebx
mov dword [ebp - 0x14], esi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], eax
mov dword [esi + 0x5c], edi
call fcn.00406060
mov ecx, ebx
call sub.MFC42.DLL_CString::TrimLeft
mov ecx, ebx
call sub.MFC42.DLL_CString::TrimRight
mov eax, dword [ebx]
cmp dword [eax - 8], edi
jne 0x418e47
mov eax, 3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea edi, [esi + 0xb0]
lea ecx, [esi + 0xa8]
lea edx, [esi + 0xa4]
push edi
push ecx
push edx
push eax
mov ecx, esi
call fcn.0041a400
test eax, eax
jne 0x418eca
push ebx
lea edx, [ebp + 0x10]
push str.http:__
push edx
call sub.MFC42.DLL_operator_1
push eax
mov ecx, ebx
mov dword [ebp - 4], 0
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp + 0x10]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ebx, dword [ebx]
lea eax, [esi + 0xa8]
push edi
push eax
lea eax, [esi + 0xa4]
mov ecx, esi
push eax
push ebx
call fcn.0041a400
test eax, eax
jne 0x418eca
mov eax, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0xc]
lea ebx, [esi + 8]
push eax
mov ecx, ebx
call fcn.00406060
mov ecx, ebx
call sub.MFC42.DLL_CString::TrimLeft
mov ecx, ebx
call sub.MFC42.DLL_CString::TrimRight
mov ecx, dword [ebx]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x418f07
mov eax, 5
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea edi, [esi + 0xc]
push ebx
mov ecx, edi
call sub.MFC42.DLL_CString::operator_1
push str..down
mov ecx, edi
call fcn.0040615c
xor eax, eax
mov dword [ebp + 0x10], 1
mov dword [esi + 0x34], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x30], eax
push 0
mov ecx, esi
call fcn.00419640
cmp eax, 3
ja case.default.0x418f45
jmp dword [eax*4 + 0x4195cc]
mov eax, dword [esi + 0x30]
test eax, eax
jne 0x418f6b
mov eax, 0xb
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x41901f
mov eax, dword [esi + 8]
lea edx, [ebp - 0x19c]
push edx
push eax
call sub.MFC42.DLL_CFile::GetStatus
test eax, eax
je 0x41901f
push ecx
lea edi, [esi + 0x40]
mov dword [ebp + 0xc], esp
mov eax, esp
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push edi
mov dword [eax], 2
call fcn.00411e30
lea eax, [ebp - 0x84]
lea ecx, [ebp - 0x198]
push eax
call fcn.00405a30
mov ecx, eax
call fcn.0041b200
test eax, eax
je 0x41901f
push ecx
lea edx, [ebp - 0x198]
mov dword [ebp + 0xc], esp
mov eax, esp
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push edx
mov dword [eax], 2
call fcn.00411e30
lea eax, [ebp - 0x78]
mov ecx, edi
push eax
call fcn.00405a30
mov ecx, eax
call fcn.0041b200
test eax, eax
je 0x41901f
mov ecx, dword [ebp - 0x190]
mov eax, dword [esi + 0x1c]
cmp ecx, eax
jne 0x41901f
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CFile::CFile
mov eax, dword [esi + 0xc]
push 0
mov edi, 1
push 0x3021
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call sub.MFC42.DLL_CFile::Open
test eax, eax
jne 0x41906d
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.0040633c
mov eax, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi + 0x18]
test eax, eax
je 0x419088
mov edx, dword [ebp - 0x24]
push 2
push 0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call dword [edx + 0x30]
mov dword [ebp - 4], edi
lea ebx, [esi + 0xa8]
push 0x2f
mov ecx, ebx
call sub.MFC42.DLL_CString::ReverseFind
cmp eax, 0xffffffff
jne 0x4190aa
push 0x5c
mov ecx, ebx
call sub.MFC42.DLL_CString::ReverseFind
cmp eax, 0xffffffff
je 0x41911a
mov ecx, dword [ebx]
mov edx, dword [ecx - 8]
cmp edx, 1
jle 0x41911a
mov ecx, edx
sub ecx, eax
lea eax, [ebp + 8]
dec ecx
push ecx
push eax
mov ecx, ebx
call sub.MFC42.DLL_CString::Right
lea edi, [esi + 0xac]
push eax
mov ecx, edi
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
jmp 0x419128
lea edi, [esi + 0xac]
push ebx
mov ecx, edi
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x419231
mov eax, dword [esi + 0x70]
test eax, eax
je 0x419231
lea ecx, [ebp - 0x40]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString_2
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString_2
or eax, 0xffffffff
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], eax
mov ecx, dword [esi + 0x1c]
push edi
mov dword [ebp - 0x48], ecx
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esi + 0x24]
mov edx, dword [esi + 0x20]
mov ecx, dword [esi + 0x28]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x44], edx
mov edx, dword [esi + 0x2c]
lea eax, [esi + 0xc0]
mov dword [ebp - 0x2c], ecx
push eax
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x28], edx
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esi + 0xbc]
push ecx
lea ecx, [ebp - 0x3c]
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [esi + 0xc4]
mov ecx, dword [esi + 0x78]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x38], edx
mov edx, dword [esi + 0x74]
push eax
push 2
push ecx
push edx
mov dword [ebp - 0x4c], 2
call ebx
mov ecx, dword [esi + 0x78]
mov edx, dword [esi + 0x74]
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], 1
push eax
push 2
push ecx
push edx
call ebx
mov ecx, dword [esi + 0x78]
mov edx, dword [esi + 0x74]
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], 3
push eax
push 2
push ecx
push edx
call ebx
mov dword [ebp + 0x10], 0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
jmp 0x419237
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esi + 0x34], 0
mov eax, dword [esi + 0x10]
test eax, eax
je 0x419274
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CFile::Close
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.0040633c
mov eax, 2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, 0xa00
xor eax, eax
lea edi, [ebp - 0x2ab8]
mov edx, dword [esi + 0xb8]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov eax, dword [esi + 0x50]
lea ecx, [ebp - 0x2ab8]
push eax
push 0x2800
push ecx
push edx
call fcn.0041bce0
mov edi, eax
add esp, 0x10
test edi, edi
jg 0x4192cc
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CFile::Close
mov eax, dword [esi + 0x68]
lea ecx, [ebp - 0x24]
inc eax
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x68], eax
call fcn.0040633c
jmp 0x418f33
push 0xa
mov byte [ebp - 4], 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x2ab8]
push edi
push eax
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CFile::Write
mov edx, dword [esi + 0x34]
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x70]
add edx, edi
add ecx, edi
mov dword [ebp - 4], 1
test eax, eax
mov dword [esi + 0x34], edx
mov dword [esi + 0x20], ecx
je 0x4193c6
lea ecx, [ebp - 0x68]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::CString_2
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::CString_2
or eax, 0xffffffff
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], eax
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x1c]
lea eax, [esi + 0xac]
mov dword [ebp - 0x6c], ecx
push eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x74], 3
mov dword [ebp - 0x70], edx
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x58], ecx
lea ecx, [esi + 0xc0]
mov dword [ebp - 0x54], edx
push ecx
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x50], eax
call sub.MFC42.DLL_CString::operator_1
lea edx, [esi + 0xbc]
lea ecx, [ebp - 0x64]
push edx
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0x78]
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x60], eax
mov eax, dword [esi + 0x74]
push ecx
push 2
push edx
push eax
call ebx
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esi + 0x34]
mov eax, dword [esi + 0x30]
cmp ecx, eax
jb 0x41923e
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CFile::Close
mov ecx, esi
call fcn.00418d80
mov eax, dword [esi + 8]
mov byte [ebp - 4], 0x11
push eax
call sub.MFC42.DLL_CFile::Remove
jmp 0x419403
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
push eax
mov dword [ebp - 4], 1
push ecx
mov byte [ebp - 4], 0x13
call sub.MFC42.DLL_CFile::Rename
jmp 0x41942e
mov eax, dword [esi + 8]
lea edx, [ebp - 0x2b4]
push edx
mov dword [ebp - 4], 1
push eax
mov byte [ebp - 4], 0x15
call sub.MFC42.DLL_CFile::GetStatus
mov eax, dword [esi + 0x40]
mov esi, dword [esi + 8]
lea ecx, [ebp - 0x2b4]
mov dword [ebp - 0x2b0], eax
push ecx
push esi
call sub.MFC42.DLL_CFile::SetStatus
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.0040633c
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi + 0xc]
push 0
push eax
call dword [sym.imp.MSVCRT.dll__access]
add esp, 8
cmp eax, 0xffffffff
je 0x4194dc
mov edx, dword [esi + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x418f33
mov eax, 6
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi + 0x10]
test eax, eax
je 0x419513
mov eax, 2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi + 0x58]
sub eax, 0
je 0x419576
dec eax
je 0x419539
dec eax
je 0x41955f
mov eax, 9
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi + 0x5c]
mov ecx, dword [esi + 0x64]
cmp eax, ecx
jbe 0x41955b
mov eax, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
inc eax
mov dword [esi + 0x5c], eax
mov eax, dword [esi + 0x60]
test eax, eax
jbe 0x418f33
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x418f33
mov eax, dword [esi + 0xc]
push 0
push eax
call dword [sym.imp.MSVCRT.dll__access]
add esp, 8
cmp eax, 0xffffffff
je 0x419599
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x418f33
mov eax, 7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 0xa
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc