Function at 0x414998
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49ef6d
mov eax, dword fs:[0]
push eax
sub esp, 0x104
mov eax, dword [0x4c3360]
xor eax, esp
mov dword [esp + 0xfc], eax
push ebx
push esi
mov eax, dword [0x4c3360]
xor eax, esp
push eax
lea eax, [esp + 0x110]
mov dword fs:[0], eax
lea ecx, [esp + 0x94]
mov dword [esp + 0x90], 0x4b0d2c
call fcn.00407632
xor ebx, ebx
mov byte [esp + 0xb0], bl
mov dword [esp + 0x118], ebx
mov eax, dword [edi + 0x1c]
push 0x4ae0f8
push eax
call fcn.0041f44f
push eax
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x98]
call fcn.00424b78
cmp dword [esp + 0x70], 8
mov eax, dword [esp + 0x5c]
jae 0x414a2d
lea eax, [esp + 0x5c]
push dword [esp + 0x6c]
push eax
call fcn.0043d86a
pop ecx
pop ecx
mov ecx, dword [esp + 0x24]
and ecx, 0xffffff02
or ecx, 2
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x11c], 2
mov eax, dword [edi + 0x1c]
push 0x4ae114
push eax
call fcn.0041f44f
mov esi, eax
call fcn.0041ecf1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x118], 1
call fcn.0041ec6c
push dword [edi + 0x1c]
lea eax, [esp + 0xf0]
push eax
lea ecx, [esp + 0x98]
call fcn.00424b78
lea ecx, [esp + 0x1c]
call fcn.00421140
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x11c], 4
call fcn.0041571b
push ebx
push 1
lea ecx, [esp + 0x24]
mov byte [esp + 0x120], 6
call fcn.00407ab4
mov eax, dword [edi + 0x1c]
push 0x4ae0f8
push eax
call fcn.0041f44f
push 0x4ae14c
push eax
call fcn.0041f44f
push 0x4ae0e0
push eax
call fcn.0041f44f
lea esi, [esp + 0x74]
mov ecx, eax
call fcn.0041ee43
lea eax, [esp + 0xb4]
push eax
call fcn.004211d8
pop ecx
mov byte [esp + 0x118], 8
cmp dword [esp + 0xc8], ebx
je 0x414b5e
lea eax, [esp + 0xb4]
push eax
lea eax, [esp + 0x20]
push 0x4b01e4
push eax
call fcn.004166f0
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
mov byte [esp + 0x124], 9
call fcn.0040ce4d
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [esp + 0x24]
mov byte [esp + 0x120], 8
call fcn.00407ab4
jmp 0x414b61
xor esi, esi
inc esi
push 0x4ae348
lea ecx, [esp + 0x78]
call fcn.0040cce3
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x40]
call fcn.00415753
lea eax, [esp + 0x3c]
push eax
call fcn.00416279
pop ecx
test al, al
je 0x414bec
cmp dword [esp + 0x54], 8
mov eax, dword [esp + 0x40]
jae 0x414b9b
lea eax, [esp + 0x40]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [esp + 0x54], 8
mov eax, dword [esp + 0x40]
jae 0x414bb6
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x414bec
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x414bd5
and eax, 0xffff
or eax, 0x80070000
push 0x4b01e8
push esi
push eax
push dword [edi + 0x10c]
call fcn.00418e71
jmp 0x414ce8
lea ecx, [esp + 0xc]
call fcn.0043b911
mov byte [esp + 0x118], 0xa
cmp dword [esp + 0x54], 8
mov eax, dword [esp + 0x40]
jae 0x414c0c
lea eax, [esp + 0x40]
push ebx
push 0x80
push 2
push ebx
push 2
push 0x40000000
push eax
lea ecx, [esp + 0x28]
call fcn.0043bc01
test eax, eax
jne 0x414c4a
lea ecx, [esp + 0xc]
call fcn.0043eae2
push eax
push esi
push 0x80047e48
push dword [edi + 0x10c]
call fcn.00418ee2
jmp 0x414cdf
lea eax, [esp + 0xec]
push eax
lea eax, [esp + 0xd4]
push eax
call fcn.00421719
cmp dword [esp + 0xf0], 0x10
mov eax, dword [esp + 0xdc]
pop ecx
pop ecx
jae 0x414c79
lea eax, [esp + 0xd4]
push dword [esp + 0xe4]
lea ecx, [esp + 0x10]
push eax
call fcn.0043ba2e
test eax, eax
jne 0x414ca9
push 0x4b0230
push ebx
lea ecx, [esp + 0x14]
call fcn.0043eae2
push eax
push dword [edi + 0x10c]
call fcn.00418e71
lea ecx, [esp + 0xc]
call fcn.0043baa5
test eax, eax
jne 0x414cd1
push 0x4b0278
push ebx
lea ecx, [esp + 0x14]
call fcn.0043eae2
push eax
push dword [edi + 0x10c]
call fcn.00418e71
push ebx
push esi
lea ecx, [esp + 0xd8]
call fcn.004050f1
lea ecx, [esp + 0xc]
call fcn.0043bbea
push ebx
push esi
lea ecx, [esp + 0xbc]
call fcn.00407ab4
push ebx
push esi
lea ecx, [esp + 0x7c]
call fcn.00407ab4
push ebx
push esi
lea ecx, [esp + 0x44]
call fcn.00407ab4
push ebx
push esi
lea ecx, [esp + 0xf4]
call fcn.00407ab4
push ebx
push esi
lea ecx, [esp + 0x60]
call fcn.00407ab4
push ebx
push esi
lea ecx, [esp + 0x9c]
call fcn.00407ab4
mov ecx, dword [esp + 0x110]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0xfc]
xor ecx, esp
call fcn.0044fc8e
mov esp, ebp
pop ebp
ret