Function at 0x411840
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b5b28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x2a7c
call fcn.00461c80
push ebx
push esi
mov esi, ecx
push edi
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x10], esp
lea eax, [esi + 0x10]
lea edi, [esi + 4]
mov dword [ebp - 0x28], eax
push ecx
mov dword [eax], 0
mov eax, dword [ebp + 0x10]
mov ecx, edi
mov dword [ebp - 0x14], esi
mov dword [esi + 0x14], eax
mov dword [esi + 0x50], 0
call fcn.00460f9e
mov ecx, edi
call sub.MFC42.DLL_CString::TrimLeft
mov ecx, edi
call sub.MFC42.DLL_CString::TrimRight
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4118c4
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 ebx, [esi + 0xa4]
lea ecx, [esi + 0x9c]
lea edx, [esi + 0x98]
push ebx
push ecx
push edx
push eax
mov ecx, esi
call fcn.00412db0
test eax, eax
jne 0x411947
push edi
lea edx, [ebp + 0x10]
push str.http:__
push edx
call sub.MFC42.DLL_operator
push eax
mov ecx, edi
mov dword [ebp - 4], 0
call sub.MFC42.DLL_CString::operator_3
lea ecx, [ebp + 0x10]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov edi, dword [edi]
lea eax, [esi + 0x9c]
push ebx
push eax
lea eax, [esi + 0x98]
mov ecx, esi
push eax
push edi
call fcn.00412db0
test eax, eax
jne 0x411947
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 edi, [esi + 8]
push eax
mov ecx, edi
call fcn.00460f9e
mov ecx, edi
call sub.MFC42.DLL_CString::TrimLeft
mov ecx, edi
call sub.MFC42.DLL_CString::TrimRight
mov ecx, dword [edi]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x411984
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 ebx, [esi + 0xc]
push edi
mov ecx, ebx
call sub.MFC42.DLL_CString::operator_3
push str..down
mov ecx, ebx
call fcn.00461304
mov eax, dword [esi + 0x18]
xor edi, edi
cmp eax, edi
jne 0x4119ad
mov ebx, dword [ebx]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [esi + 0x28], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x24], edi
mov dword [ebp + 0x10], 1
push 0
mov ecx, esi
call fcn.00411f40
cmp eax, 3
ja case.default.0x4119d2
jmp dword [eax*4 + 0x411f18]
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x4119f8
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 0x411aa9
mov eax, dword [esi + 8]
lea edx, [ebp - 0x170]
push edx
push eax
call sub.MFC42.DLL_CFile::GetStatus
test eax, eax
je 0x411aa9
push ecx
lea edi, [esi + 0x34]
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.00414350
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0x16c]
push eax
call fcn.00414360
mov ecx, eax
call fcn.00414340
test eax, eax
je 0x411aa9
push ecx
lea edx, [ebp - 0x16c]
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.00414350
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
call fcn.00414360
mov ecx, eax
call fcn.00414340
test eax, eax
je 0x411aa9
mov ecx, dword [ebp - 0x164]
mov eax, dword [esi + 0x1c]
cmp ecx, eax
jne 0x411aa9
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_1
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 0x411af7
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00460f32
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 0x411b12
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 + 0x9c]
push 0x2f
mov ecx, ebx
call sub.MFC42.DLL_CString::ReverseFind
cmp eax, 0xffffffff
jne 0x411b34
push 0x5c
mov ecx, ebx
call sub.MFC42.DLL_CString::ReverseFind
cmp eax, 0xffffffff
je 0x411ba4
mov ecx, dword [ebx]
mov edx, dword [ecx - 8]
cmp edx, 1
jle 0x411ba4
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 + 0xa0]
push eax
mov ecx, edi
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::operator_3
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
jmp 0x411bb2
lea edi, [esi + 0xa0]
push ebx
mov ecx, edi
call sub.MFC42.DLL_CString::operator_3
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x411c49
mov eax, dword [esi + 0x64]
test eax, eax
je 0x411c49
lea ecx, [ebp - 0x2c]
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [esi + 0x1c]
push edi
mov dword [ebp - 0x34], ecx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::operator_3
mov edx, dword [esi + 0x20]
mov ecx, dword [esi + 0x6c]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x38]
mov dword [ebp - 0x30], edx
mov edx, dword [esi + 0x68]
push eax
push 2
push ecx
push edx
mov dword [ebp - 0x38], 2
call ebx
mov ecx, dword [esi + 0x6c]
mov edx, dword [esi + 0x68]
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 1
push eax
push 2
push ecx
push edx
call ebx
mov ecx, dword [esi + 0x6c]
mov edx, dword [esi + 0x68]
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 3
push eax
push 2
push ecx
push edx
call ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp + 0x10], 0
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
jmp 0x411c4f
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esi + 0x28], 0
mov eax, dword [ebp - 0x28]
cmp dword [eax], 0
je 0x411c85
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00460f32
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 - 0x2a8c]
lea edx, [ebp - 0x2a8c]
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 0x44]
stosb byte es:[edi], al
mov eax, dword [esi + 0xac]
push ecx
push 0x2800
push edx
push eax
call fcn.00414650
mov edi, eax
add esp, 0x10
test edi, edi
jg 0x411cdd
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CFile::Close
mov eax, dword [esi + 0x5c]
lea ecx, [ebp - 0x24]
inc eax
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x5c], eax
call fcn.00460f32
jmp 0x4119c0
lea ecx, [ebp - 0x2a8c]
push edi
push ecx
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CFile::Write
mov edx, dword [esi + 0x28]
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x64]
add edx, edi
add ecx, edi
mov dword [ebp - 4], 1
test eax, eax
mov dword [esi + 0x28], edx
mov dword [esi + 0x20], ecx
je 0x411d59
lea ecx, [ebp - 0x3c]
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
lea ecx, [esi + 0xa0]
mov byte [ebp - 4], 8
push ecx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x44], eax
call sub.MFC42.DLL_CString::operator_3
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x68]
lea edx, [ebp - 0x48]
push edx
push 2
push eax
push ecx
call ebx
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
mov edx, dword [esi + 0x28]
mov eax, dword [esi + 0x24]
cmp edx, eax
jb 0x411c56
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CFile::Close
mov ecx, esi
call fcn.004117f0
mov eax, dword [esi + 8]
mov byte [ebp - 4], 9
push eax
call sub.MFC42.DLL_CFile::Remove
jmp 0x411d96
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
push eax
mov dword [ebp - 4], 1
push ecx
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CFile::Rename
jmp 0x411dc1
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x288]
push ecx
mov dword [ebp - 4], 1
push eax
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CFile::GetStatus
mov edx, dword [esi + 0x34]
mov esi, dword [esi + 8]
lea eax, [ebp - 0x288]
mov dword [ebp - 0x284], edx
push eax
push esi
call sub.MFC42.DLL_CFile::SetStatus
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00460f32
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, 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 ecx, dword [ebp - 0x28]
cmp dword [ecx], 0
je 0x411e84
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 + 0x4c]
sub eax, 0
je 0x411ee7
dec eax
je 0x411eaa
dec eax
je 0x411ed0
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 + 0x50]
mov ecx, dword [esi + 0x58]
cmp eax, ecx
jbe 0x411ecc
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 + 0x50], eax
mov eax, dword [esi + 0x54]
test eax, eax
jbe 0x4119c0
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4119c0
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