Function at 0x411bd0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x498b2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x758
mov eax, dword [0x4bc410]
xor eax, esp
mov dword [esp + 0x754], eax
mov eax, dword [esp + 0x768]
push ebx
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 0x184]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x1c], ecx
je 0x411c31
push ebx
push ebx
push str.ShareFile
mov ecx, eax
mov edx, dword [ecx]
push ebx
lea eax, [esp + 0x24]
push eax
call dword [edx + 0x14]
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x411c38
xor eax, eax
jmp 0x411d97
mov eax, dword [eax + 0xc]
push ebp
mov ebp, dword [eax]
cmp ebp, eax
push esi
push edi
je 0x411d92
jmp 0x411c50
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
lea eax, [esp + 0x34]
push eax
push 0x4a2278
call dword [edx + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
lea eax, [esp + 0x2c]
push eax
push str.style
call dword [edx + 0xc]
mov edi, 0x4a095c
lea esi, [esp + 0x2c]
mov ecx, 1
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x411ca0
mov edi, 0x4a1648
lea esi, [esp + 0x2c]
mov ecx, 2
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x411d82
lea ecx, [esp + 0x10]
call fcn.004249b0
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push 1
push ebx
push ebx
push 0x4a2270
push ebx
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x788], ebx
call dword [edx + 0x10]
mov eax, dword [esp + 0x14]
mov edi, dword [eax]
cmp edi, eax
je 0x411d3b
lea esp, [esp]
mov ecx, dword [edi + 8]
mov edx, dword [ecx]
lea eax, [esp + 0x40]
push eax
push 0x4a2260
call dword [edx + 0xc]
mov eax, dword [esp + 0x1c]
lea esi, [esp + 0x40]
lea ebx, [ebx]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x411d24
cmp cl, bl
je 0x411d20
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x411d24
add eax, 2
add esi, 2
cmp cl, bl
jne 0x411d00
xor eax, eax
jmp 0x411d29
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x411dbd
mov edi, dword [edi]
mov eax, dword [esp + 0x14]
cmp edi, eax
jne 0x411ce0
mov ecx, dword [eax]
mov dword [eax], eax
mov eax, dword [esp + 0x14]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x14]
cmp ecx, eax
mov dword [esp + 0x770], 0xffffffff
mov dword [esp + 0x18], ebx
je 0x411d75
lea ecx, [ecx]
mov esi, dword [ecx]
push ecx
call sub.MFC71.DLL_operator_delete_1
mov eax, dword [esp + 0x18]
add esp, 4
cmp esi, eax
mov ecx, esi
jne 0x411d60
push eax
call sub.MFC71.DLL_operator_delete_1
add esp, 4
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x20]
mov ebp, dword [ebp]
cmp ebp, dword [eax + 0xc]
jne 0x411c50
xor eax, eax
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x75c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x758]
pop ebx
xor ecx, esp
call fcn.00496ace
add esp, 0x764
ret 8
cmp dword [esp + 0x77c], ebx
je 0x411e63
lea ecx, [esp + 0x264]
push ecx
mov ecx, dword [edi + 8]
push str.filepath
call fcn.00430fb0
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edx, [esp + 0x264]
push edx
call esi
lea eax, [esp + 0x164]
push eax
lea ecx, [esp + 0x668]
push ecx
lea edx, [esp + 0x6c]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x274]
push ecx
call dword [sym.imp.MSVCR71.dll__splitpath]
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x178]
push edx
push eax
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x288]
push str._s_s_s_s.jfenc
push eax
call dword [sym.imp.MSVCR71.dll_sprintf]
add esp, 0x2c
lea ecx, [esp + 0x264]
push ecx
call esi
mov edi, dword [edi + 8]
mov ecx, dword [edi + 4]
cmp ecx, ebx
je 0x411e75
push edi
call fcn.00431070
jmp 0x411e75
mov ecx, dword [edi + 8]
mov edx, dword [ecx]
push 0x4a112c
push str.DeleteFlag
call dword [edx + 8]
mov eax, dword [esp + 0x28]
lea ecx, [eax + 0x188]
push ebx
push ecx
mov ecx, dword [eax + 0x184]
call fcn.00430300
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x14]
mov dword [ecx + 4], ecx
mov ecx, dword [esp + 0x14]
cmp eax, ecx
mov dword [esp + 0x18], ebx
je 0x411ebc
mov esi, dword [eax]
push eax
call sub.MFC71.DLL_operator_delete_1
mov ecx, dword [esp + 0x18]
add esp, 4
cmp esi, ecx
mov eax, esi
jne 0x411ea7
push ecx
call sub.MFC71.DLL_operator_delete_1
add esp, 4
mov eax, 1
jmp 0x411d94