Function at 0x45a3d0
Capabilities:
Access peb ldr_data
Check if file exists
Delete file
Move file

Disassembly:
push 0xffffffffffffffff
push 0x482b08
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a0fe0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x4a5a34]
mov edx, dword [eax + 0xc]
mov ecx, 0x4a5a34
mov dword [esp + 0x38], 1
call edx
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [0x4a5a34]
mov edx, dword [eax + 0xc]
mov ecx, 0x4a5a34
mov byte [esp + 0x38], 2
call edx
add eax, 0x10
mov dword [esp + 0x1c], eax
mov eax, dword [0x4a5a34]
mov edx, dword [eax + 0xc]
mov ecx, 0x4a5a34
mov byte [esp + 0x38], 3
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 + 0x38], 4
call edx
add eax, 0x10
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov ebp, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 8
push eax
push ecx
mov byte [esp + 0x44], 5
call ebp
test eax, eax
setne al
test al, al
mov byte [esp + 0x17], al
jne 0x45a4b6
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
push eax
push str._ERROR_ModuleRename___MoveFileEx___d__n
call fcn.00401010
add esp, 8
call edi
push eax
push str.ERROR_ModuleRename___MoveFileEx___d__n
push 2
call fcn.00448d80
add esp, 0xc
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x24]
call fcn.0044c620
mov eax, dword [esi + 0x28c]
mov eax, dword [eax - 0xc]
push eax
push 0
lea ecx, [esp + 0x28]
call fcn.00457410
mov edi, dword [esp + 0x20]
mov eax, dword [edi - 0xc]
test eax, eax
jl 0x45a544
push 0x498464
push edi
call fcn.0046d66b
add esp, 8
test eax, eax
je 0x45a544
sub eax, edi
sar eax, 1
cmp eax, 0xffffffff
je 0x45a544
push eax
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x28]
call fcn.0044f870
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 6
call fcn.0044c620
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x38], 5
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45a552
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x45a552
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x20]
call fcn.0044c620
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x1c]
call fcn.0044c620
mov eax, dword [esi + 0x28c]
mov eax, dword [eax - 0xc]
push eax
push 0
lea ecx, [esp + 0x20]
call fcn.00457410
mov edi, dword [esp + 0x18]
cmp dword [edi - 0xc], 0
jl 0x45a5df
push 0x498464
push edi
call fcn.0046d66b
add esp, 8
test eax, eax
je 0x45a5df
sub eax, edi
sar eax, 1
cmp eax, 0xffffffff
je 0x45a5df
push eax
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x20]
call fcn.0044f870
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x3c], 7
call fcn.0044c620
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x38], 5
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45a5ed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x45a5ed
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x28]
call fcn.0044c620
lea edx, [esp + 0x1c]
push edx
add esi, 0x290
lea eax, [esp + 0x2c]
push esi
push eax
call fcn.0044c550
mov eax, dword [eax]
add esp, 0xc
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov eax, dword [esp + 0x28]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45a634
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x45a6db
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x2c]
push esi
push edx
call fcn.0044c550
mov eax, dword [eax]
push eax
push str.____ModuleRename___ProgramData_Not_Directory___s__n
mov byte [esp + 0x4c], 8
call fcn.00401010
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
add esp, 0x14
mov byte [esp + 0x38], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45a686
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x2c]
push esi
push edx
call fcn.0044c550
mov eax, dword [eax]
push eax
push str.ModuleRename___ProgramData_Not_Directory___s__n
push 0
mov byte [esp + 0x50], 9
call fcn.00448d80
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
add esp, 0x18
mov byte [esp + 0x38], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45a6d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov bl, byte [esp + 0x17]
jmp 0x45a789
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x30]
push esi
push edx
call fcn.0044c550
mov edi, eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x38]
push esi
push ecx
mov byte [esp + 0x50], 0xa
call fcn.0044c550
mov edi, dword [edi]
mov eax, dword [eax]
add esp, 0x18
push 8
push edi
push eax
call ebp
test eax, eax
mov eax, dword [esp + 0x28]
setne bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45a734
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x38], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45a759
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x45a785
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push eax
push str._ERROR_ModuleRename___MoveFileEx___d__n
call fcn.00401010
add esp, 8
call esi
push eax
push str.ERROR_ModuleRename___MoveFileEx___d__n
push 2
call fcn.00448d80
add esp, 0xc
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x38], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45a7ae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x38], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45a7cf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x38], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45a7f4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x38], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45a819
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov byte [esp + 0x38], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45a83e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov dword [esp + 0x38], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45a866
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 8