Function at 0x45a0a0
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x482a74
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x4a0fe0]
xor eax, esp
mov dword [esp + 0x21c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a0fe0]
xor eax, esp
push eax
lea eax, [esp + 0x234]
mov dword fs:[0], eax
mov ebp, ecx
mov eax, dword [0x4a5a34]
mov edx, dword [eax + 0xc]
mov ecx, 0x4a5a34
mov dword [esp + 0x23c], 0
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, dword [0x4a5a34]
mov edx, dword [eax + 0xc]
mov ecx, 0x4a5a34
mov byte [esp + 0x23c], 1
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
mov eax, dword [0x4a5a34]
mov edx, dword [eax + 0xc]
mov ecx, 0x4a5a34
mov byte [esp + 0x23c], 2
call edx
add eax, 0x10
mov dword [esp + 0x1c], eax
mov edi, dword [esp + 0x244]
push edi
mov byte [esp + 0x240], 3
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
jne 0x45a182
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call esi
push eax
push str._ERROR_ModuleDelete_LoadLibrary_____d__File___s_n
call fcn.00401010
add esp, 0xc
push edi
call esi
push eax
push str.ERROR_ModuleDelete_LoadLibrary_____d__File___s_n
push 2
call fcn.00448d80
add esp, 0x10
jmp 0x45a1c7
push str.DeleteContent
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x45a1be
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call ebx
push eax
push str._ERROR_ModuleDelete_GetProcAddress_____d__File___s_n
call fcn.00401010
add esp, 0xc
push edi
call ebx
push eax
push str.ERROR_ModuleDelete_GetProcAddress_____d__File___s_n
push 2
call fcn.00448d80
add esp, 0x10
jmp 0x45a1c0
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x45a1e2
test al, 1
je 0x45a1e2
and eax, 0xfffffffe
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0
push 0
push 0
push pe_nt_image_headers32
lea eax, [esp + 0x44]
push eax
push 3
lea ecx, [esp + 0x44]
push ecx
push edi
call fcn.0046e6ea
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x40]
push 0x498468
push ecx
call fcn.00448fb0
mov edx, dword [ebp + 0x28c]
mov eax, dword [edx - 0xc]
lea esi, [ebp + 0x28c]
add esp, 0x34
push eax
push 0
lea ecx, [esp + 0x1c]
call fcn.00457410
mov ebx, dword [esp + 0x14]
mov eax, dword [ebx - 0xc]
test eax, eax
je 0x45a304
jl 0x45a2b6
push 0x498464
push ebx
call fcn.0046d66b
add esp, 8
test eax, eax
je 0x45a2b6
sub eax, ebx
sar eax, 1
cmp eax, 0xffffffff
je 0x45a2b6
push eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x1c]
call fcn.0044f870
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x240], 4
call fcn.0044c620
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x23c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45a2c4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x45a2c4
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0044c620
push ecx
mov edx, esp
mov dword [esp + 0x24], esp
lea eax, [esp + 0x1c]
push eax
push esi
push edx
call fcn.0044c550
add esp, 0xc
mov ecx, ebp
call fcn.00459120
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
lea edx, [esp + 0x1c]
push edx
lea eax, [ebp + 0x290]
push eax
push ecx
call fcn.0044c550
add esp, 0xc
mov ecx, ebp
call fcn.00459120
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x23c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45a32c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x23c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45a354
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x23c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45a378
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x23c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45a39f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x234]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.0046d626
add esp, 0x22c
ret 4