Function at 0x4042b0
Capabilities:
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x432450
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push eax
lea ecx, [ebp - 0x7c]
call fcn.00401560
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push edx
lea ecx, [ebp - 0x64]
call fcn.00401560
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.00404a90
add esp, 0xc
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.004016c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.004016c0
cmp dword [ebp - 0x14], 0
je 0x4043ee
push 0x80
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x4043b3
mov dword [ebp - 0x1c], 1
jmp 0x4043bc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.0040a300
add esp, 0x14
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00401850
add esp, 4
mov dword [ebp - 0x14], 0
lea edx, [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x4c], esp
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov edx, dword [eax]
push edx
call fcn.00401560
call fcn.00404610
add esp, 0x24
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x404465
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 8], 8
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x28]
mov dword [edx + 4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x10]
mov ecx, dword [edx + 0x14]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx], 1
push 0
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00404ff0
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.00401850
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx], 0
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
push eax
call fcn.0041ddb4
add esp, 4
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret