Function at 0x417290
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4a4148
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
mov eax, dword [0x4cbba0]
xor eax, esp
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x50]
push ebx
mov dword [esp + 8], eax
mov eax, dword [ecx + 0x184]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 4], ecx
je 0x4172e8
push ebx
push ebx
push str.ShareFile
mov ecx, eax
mov edx, dword [ecx]
push ebx
lea eax, [esp + 0x28]
push eax
call dword [edx + 0x14]
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x4172ef
xor eax, eax
jmp 0x417540
mov eax, dword [eax + 0xc]
push ebp
mov ebp, dword [eax]
cmp ebp, eax
push esi
push edi
je 0x4174a7
nop
lea ecx, [esp + 0x18]
call fcn.0044c250
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push 1
push ebx
push ebx
push str.file
push ebx
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x70], ebx
call dword [edx + 0x10]
mov eax, dword [esp + 0x1c]
mov edi, dword [eax]
cmp edi, eax
je 0x41738d
mov ecx, dword [edi + 8]
mov edx, dword [ecx]
lea eax, [esp + 0x28]
push eax
push 0x4aeaf8
call dword [edx + 0xc]
cmp byte [esp + 0x28], bl
je 0x417383
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x28]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x41737a
cmp cl, bl
je 0x417376
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x41737a
add eax, 2
add esi, 2
cmp cl, bl
jne 0x417356
xor eax, eax
jmp 0x41737f
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x4173e9
mov edi, dword [edi]
mov eax, dword [esp + 0x1c]
cmp edi, eax
jne 0x417336
mov ecx, dword [eax]
mov dword [eax], eax
mov eax, dword [esp + 0x1c]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x1c]
cmp ecx, eax
mov dword [esp + 0x58], 0xffffffff
mov dword [esp + 0x20], ebx
je 0x4173c5
lea esp, [esp]
mov esi, dword [ecx]
push ecx
call sub.MFC71.DLL_operator_delete_1
mov eax, dword [esp + 0x20]
add esp, 4
cmp esi, eax
mov ecx, esi
jne 0x4173b0
push eax
call sub.MFC71.DLL_operator_delete_1
mov eax, dword [esp + 0x28]
mov ebp, dword [ebp]
mov ecx, dword [eax + 0xc]
add esp, 4
cmp ebp, ecx
mov dword [esp + 0x1c], ebx
jne 0x417300
jmp 0x4174a7
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov esi, dword [edi + 8]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x1c]
mov dword [ecx + 4], ecx
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
mov dword [esp + 0x58], 0xffffffff
mov dword [esp + 0x20], ebx
je 0x417425
nop
mov edi, dword [eax]
push eax
call sub.MFC71.DLL_operator_delete_1
mov ecx, dword [esp + 0x20]
add esp, 4
cmp edi, ecx
mov eax, edi
jne 0x417410
push ecx
call sub.MFC71.DLL_operator_delete_1
add esp, 4
cmp esi, ebx
mov dword [esp + 0x1c], ebx
je 0x4174a7
cmp dword [esp + 0x64], ebx
je 0x417474
mov ecx, dword [esi + 4]
cmp ecx, ebx
je 0x417449
push esi
call fcn.00439d60
mov eax, dword [esp + 0x10]
add eax, 0x188
cmp eax, ebx
je 0x4174a7
cmp byte [eax], bl
je 0x4174a7
mov esi, dword [esp + 0x10]
mov ecx, dword [esi + 0x184]
push ebx
push eax
call fcn.00439070
mov ecx, esi
call fcn.0040d6e0
jmp 0x4174a7
mov edx, dword [esi]
push 0x4ad3b0
push str.DeleteFlag
mov ecx, esi
call dword [edx + 8]
mov eax, dword [esp + 0x10]
add eax, 0x188
cmp eax, ebx
je 0x4174a7
cmp byte [eax], bl
je 0x4174a7
push ebx
push eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x184]
call fcn.00439070
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x41753b
cmp dword [esp + 0x64], ebx
je 0x41753b
mov edi, dword [esp + 0x10]
mov ecx, dword [edi + 0x160]
cmp ecx, ebx
mov eax, dword [esi + 0x230]
je 0x41753b
push 0x4ade80
push esi
push eax
call fcn.00403b70
cmp eax, ebx
je 0x41753b
mov ecx, dword [edi + 0x160]
cmp ecx, ebx
je 0x4174f1
push esi
call fcn.00404cf0
add esi, 0x128
push esi
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
call esi
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
mov ecx, edi
call fcn.0040c800
mov ecx, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call esi
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [edi + 0x160]
cmp ecx, ebx
je 0x41753b
call fcn.00403b90
jmp 0x41753d
xor eax, eax
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x40]
pop ebx
xor ecx, esp
call fcn.004a17d1
add esp, 0x4c
ret 8