Function at 0x445610
Capabilities:
Check if file exists
Get file attributes
Move file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4bb607
mov eax, dword fs:[0]
push eax
sub esp, 0x378
mov eax, dword [0x4f36a0]
xor eax, esp
mov dword [esp + 0x374], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f36a0]
xor eax, esp
push eax
lea eax, [esp + 0x38c]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x39c]
mov edi, dword [esp + 0x3a0]
mov ebp, ecx
lea ecx, [esp + 0x264]
mov dword [esp + 0x18], ebx
call fcn.00448930
xor eax, eax
cmp dword [esp + 0x384], eax
je 0x44567d
mov dword [esp + 0x384], eax
mov ecx, 1
lea esi, [esp + 0x26c]
mov dword [esp + 0x268], eax
call fcn.004495a0
cmp byte [esp + 0x380], 0
lea eax, [esp + 0x270]
jne 0x4456ad
mov eax, dword [esp + 0x26c]
xor ecx, ecx
mov word [eax + 4], cx
lea edx, [esp + 0x264]
mov dword [esp + 0x394], ecx
push edx
mov ecx, edi
call fcn.00445ae0
test al, al
je 0x445717
push 0
push ebx
lea ecx, [esp + 0x26c]
call fcn.00445080
test al, al
jne 0x445717
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
cmp byte [esp + 0x380], 0
jne 0x445710
mov eax, dword [esp + 0x26c]
lea ecx, [esp + 0x270]
cmp eax, ecx
je 0x445710
push eax
call fcn.00498f5b
add esp, 4
xor al, al
jmp 0x445916
cmp byte [esp + 0x3a4], 0
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov esi, 0xa
jne 0x445772
cmp byte [edi + 0x11c], 0
mov esi, 0xb
lea eax, [edi + 0xc]
jne 0x445740
mov eax, dword [edi + 8]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x445772
shr eax, 4
not al
and al, 1
je 0x445772
cmp byte [edi + 0x11c], 0
lea eax, [edi + 0xc]
jne 0x445767
mov eax, dword [edi + 8]
push 0x80
add eax, 4
push eax
call ebx
cmp byte [edi + 0x11c], 0
lea ecx, [edi + 0xc]
jne 0x445781
mov ecx, dword [edi + 8]
cmp byte [ebp + 0x11c], 0
lea eax, [ebp + 0xc]
jne 0x445790
mov eax, dword [ebp + 8]
push esi
add ecx, 4
push ecx
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x44589f
cmp byte [edi + 0x11c], al
je 0x4457b4
add edi, 0xc
jmp 0x4457b7
mov edi, dword [edi + 8]
lea ecx, [esp + 0x1c]
call fcn.00448930
lea eax, [edi + 4]
lea edx, [esp + 0x1c]
call fcn.00448b50
cmp byte [ebp + 0x11c], 0
lea esi, [ebp + 0xc]
jne 0x4457db
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x140]
call fcn.00448930
lea eax, [esi + 4]
lea edx, [esp + 0x140]
call fcn.00448b50
mov byte [esp + 0x394], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [esp + 0x18]
mov ecx, ebx
mov edi, eax
call fcn.00447720
mov esi, eax
call fcn.00447a60
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, ebx
call fcn.00447720
lea edx, [esp + 0x140]
push edx
mov edi, eax
push 0x4e2acc
lea eax, [esp + 0x24]
call fcn.00447c40
cmp byte [esp + 0x25c], 0
mov esi, vtable.t_str.0
mov dword [esp + 0x140], esi
jne 0x445870
mov eax, dword [esp + 0x148]
lea ecx, [esp + 0x14c]
cmp eax, ecx
je 0x445870
push eax
call fcn.00498f5b
add esp, 4
cmp byte [esp + 0x138], 0
mov dword [esp + 0x1c], esi
jne 0x445893
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x28]
cmp eax, edx
je 0x445893
push eax
call fcn.00498f5b
add esp, 4
mov dword [esp + 0x264], esi
jmp 0x4456eb
cmp byte [edi + 0x11c], 0
lea eax, [edi + 0xc]
jne 0x4458ae
mov eax, dword [edi + 8]
push 0x80
add eax, 4
push eax
call ebx
cmp byte [edi + 0x11c], 0
lea eax, [edi + 0xc]
jne 0x4458c8
mov eax, dword [edi + 8]
push 1
push 0x10000000
add eax, 4
push 1
push eax
call fcn.00453060
add esp, 0x10
mov eax, edi
call fcn.00446990
cmp byte [esp + 0x380], 0
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
jne 0x445914
mov eax, dword [esp + 0x26c]
lea edx, [esp + 0x270]
cmp eax, edx
je 0x445914
push eax
call fcn.00498f5b
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x38c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x374]
xor ecx, esp
call fcn.00497c58
add esp, 0x384
ret 0xc