Function at 0x416c50
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f329e
mov eax, dword fs:[0]
push eax
sub esp, 0x270
push ebx
push esi
push edi
mov eax, dword [0x545628]
xor eax, esp
push eax
lea eax, [esp + 0x280]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
jne 0x416c93
mov eax, dword [esi + 8]
push 0x80
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp byte [ebp + 0x10], 0
jne 0x416d85
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
jne 0x416cbb
mov eax, dword [esi + 8]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x416ffb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [ebp + 0xc], 0
mov edi, eax
jne 0x416cea
mov ecx, esi
call fcn.00416500
test al, al
je 0x416ffb
cmp byte [esi + 0x11c], 0
je 0x416cf8
add esi, 0xc
jmp 0x416cfb
mov esi, dword [esi + 8]
lea ecx, [esp + 0x34]
call fcn.00410c10
lea eax, [esi + 4]
lea edx, [esp + 0x34]
call fcn.00410e40
mov ebx, dword [ebp + 8]
mov ecx, ebx
mov dword [esp + 0x288], 1
call fcn.0040fa50
mov esi, eax
call fcn.004108a0
mov ecx, ebx
call fcn.0040fa50
lea ecx, [esp + 0x34]
push ecx
push 0x52b5c4
mov ecx, eax
call fcn.00410a10
cmp byte [esp + 0x150], 0
mov dword [esp + 0x34], vtable.t_str.0
jne 0x416d6b
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x40]
cmp eax, edx
je 0x416d6b
push eax
call fcn.004d1d15
add esp, 4
xor al, al
mov ecx, dword [esp + 0x280]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp byte [ebp + 0xc], 0
jne 0x416d9a
mov ecx, esi
call fcn.00416500
test al, al
je 0x416ffb
mov ebx, dword [esi + 4]
add ebx, 2
lea eax, [ebx + ebx]
push eax
mov dword [esp + 0x14], eax
call fcn.004d1df2
mov edi, eax
add esp, 4
test edi, edi
jne 0x416e24
cmp byte [esi + 0x11c], al
je 0x416dc3
add esi, 0xc
jmp 0x416dc6
mov esi, dword [esi + 8]
lea ecx, [esp + 0x34]
call fcn.00410c10
lea eax, [esi + 4]
lea edx, [esp + 0x34]
call fcn.00410e40
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x34]
push eax
push 0x52b5d4
mov dword [esp + 0x290], 3
call fcn.0040fa50
mov ecx, eax
call fcn.00410a10
cmp byte [esp + 0x150], 0
mov dword [esp + 0x34], vtable.t_str.0
jne 0x416d6b
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x40]
cmp eax, ecx
jmp 0x416d60
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
jne 0x416e33
mov eax, dword [esi + 8]
add eax, 4
push eax
push ebx
push edi
call fcn.004d2c76
mov eax, dword [esp + 0x1c]
xor edx, edx
mov word [eax + edi - 2], dx
xor eax, eax
add esp, 0xc
lea edx, [esp + 0x14]
mov ecx, 0x454
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
push edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov word [esp + 0x34], ax
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], 3
mov word [esp + 0x28], cx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
push edi
mov ebx, eax
call fcn.004d1d15
add esp, 4
test ebx, ebx
je 0x416ffb
cmp ebx, 0x402
jne 0x416f67
cmp byte [esi + 0x11c], 0
je 0x416ec1
add esi, 0xc
jmp 0x416ec4
mov esi, dword [esi + 8]
lea ecx, [esp + 0x34]
call fcn.00410c10
lea eax, [esi + 4]
lea edx, [esp + 0x34]
call fcn.00410e40
push 0x52b5ec
lea ecx, [esp + 0x15c]
mov dword [esp + 0x28c], 5
call fcn.00410d40
mov esi, eax
push 0x402
push 0x51a920
mov edx, esi
mov byte [esp + 0x290], 6
call fcn.004114a0
push 0x52b608
push 0x52a3bc
mov edx, esi
call fcn.004114a0
add esp, 0x10
cmp byte [esi + 0x11c], 0
je 0x416f32
add esi, 0xc
jmp 0x416f35
mov esi, dword [esi + 8]
mov ebx, dword [ebp + 8]
lea eax, [esp + 0x34]
push eax
add esi, 4
push esi
call fcn.00410870
mov ecx, eax
call fcn.00410a10
lea ecx, [esp + 0x158]
call fcn.004161d0
lea ecx, [esp + 0x34]
call fcn.004161d0
jmp 0x416d6b
cmp byte [esi + 0x11c], 0
je 0x416f75
add esi, 0xc
jmp 0x416f78
mov esi, dword [esi + 8]
lea ecx, [esp + 0x34]
call fcn.00410c10
lea eax, [esi + 4]
lea edx, [esp + 0x34]
call fcn.00410e40
push 0x52b5ec
lea ecx, [esp + 0x15c]
mov dword [esp + 0x28c], 8
call fcn.00410d40
mov esi, eax
push ebx
push 0x51a920
mov edx, esi
mov byte [esp + 0x290], 9
call fcn.004114a0
push 0x52b608
push 0x52a3bc
mov edx, esi
call fcn.004114a0
add esp, 0x10
cmp byte [esi + 0x11c], 0
je 0x416fe2
add esi, 0xc
jmp 0x416fe5
mov esi, dword [esi + 8]
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [ebp + 8]
add esi, 4
push esi
call fcn.0040fa50
jmp 0x416f46
mov al, 1
mov ecx, dword [esp + 0x280]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc