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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x585d0c
mov eax, dword fs:[0]
push eax
sub esp, 0x340
mov eax, dword [0x5d4074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov bl, dl
mov dword [ebp - 0x34c], ecx
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
sub esp, 8
lea ecx, [ebp - 0x58]
cmp dword [ebp + 0x1c], 8
mov esi, esp
cmovae eax, dword [ebp + 8]
mov dword [esi], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 4], eax
call fcn.0041b550
mov byte [ebp - 4], 1
test bl, bl
je 0x44d37f
lea ecx, [ebp - 0x58]
call fcn.00419770
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x44d559
push 3
push ecx
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x344]
call fcn.00427a50
mov byte [ebp - 4], 2
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
push 0x5be0f0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.00405800
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.0041a100
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x44d0bd
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004074b0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea ecx, [ebp - 0x344]
lea eax, [ebp - 0x70]
mov dword [ebp - 0x30], 0
push eax
call fcn.00427c20
mov byte [ebp - 4], 5
cmp dword [ebp - 0x60], 0
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
je 0x44d234
lea ecx, [ebp - 0x70]
call fcn.00419770
test al, al
jne 0x44d1ce
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x70]
call fcn.0041bc70
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x28]
call fcn.0041c1f0
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x8c]
cmp eax, 8
jb 0x44d146
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.004074b0
xor eax, eax
mov dword [ebp - 0x8c], 7
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x90], 0
mov word [ebp - 0xa0], ax
call fcn.0041c310
test al, al
jne 0x44d186
lea ecx, [ebp - 0x40]
call fcn.0041c310
test al, al
jne 0x44d186
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x70]
call fcn.0041a4d0
cmp dword [ebp - 0x30], 0x104
jae 0x44d1a1
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 5
cmovae eax, dword [ebp - 0x40]
push 0
push eax
call esi
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x44d1ba
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004074b0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x344]
call fcn.00427c20
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 6
cmp ecx, eax
je 0x44d1f5
push 0xffffffffffffffff
push 0
push eax
call fcn.004062c0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x74]
cmp eax, 8
jb 0x44d214
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.004074b0
xor eax, eax
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
cmp dword [ebp - 0x60], eax
jne 0x44d0f4
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x44d24d
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.004074b0
xor eax, eax
mov dword [ebp - 0x5c], 7
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
call fcn.0041c310
test al, al
jne 0x44d284
lea ecx, [ebp - 0x28]
call fcn.0041c310
test al, al
jne 0x44d284
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x58]
call fcn.0041a4d0
cmp dword [ebp - 0x18], 0x104
jae 0x44d29f
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 5
cmovae eax, dword [ebp - 0x28]
push 0
push eax
call esi
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x44d2b8
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004074b0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xf0]
cmp eax, 0xffffffff
je 0x44d2e2
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0xb4]
call fcn.00428030
push 1
push dword [ebp - 0xb4]
call fcn.00424710
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xb4], 0
cmp eax, 8
jb 0x44d322
inc eax
lea ecx, [ebp - 0xcc]
push eax
push dword [ebp - 0xcc]
call fcn.004074b0
xor eax, eax
mov dword [ebp - 0xb8], 7
mov word [ebp - 0xcc], ax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xbc], 0
cmp eax, 8
jb 0x44d35d
inc eax
lea ecx, [ebp - 0xec]
push eax
push dword [ebp - 0xec]
call fcn.004074b0
xor eax, eax
mov dword [ebp - 0xd8], 7
mov dword [ebp - 0xdc], 0
mov word [ebp - 0xec], ax
jmp 0x44d559
mov ebx, dword [ebp - 0x34c]
xor ecx, ecx
mov dword [ebp - 0x348], ecx
mov eax, 0x2aaaaaab
mov ecx, dword [ebx + 4]
mov esi, dword [ebx]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x44d559
xor edi, edi
nop dword [eax]
lea eax, [esi + edi]
sub esp, 8
cmp dword [eax + 0x14], 8
mov edx, esp
jb 0x44d3c2
mov ecx, dword [eax]
jmp 0x44d3c4
mov ecx, eax
mov dword [edx], ecx
lea ecx, [ebp - 0x58]
mov eax, dword [eax + 0x10]
mov dword [edx + 4], eax
lea eax, [ebp - 0x40]
push eax
call fcn.0041c020
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xa
call fcn.00419770
test al, al
jne 0x44d4ff
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xb
push eax
call fcn.00419d30
mov eax, dword [ebx]
add eax, edi
push ecx
mov edx, esp
cmp dword [eax + 0x14], 8
jb 0x44d42c
mov ecx, dword [eax]
jmp 0x44d42e
mov ecx, eax
mov dword [edx], ecx
lea ecx, [ebp - 0x28]
mov eax, dword [eax + 0x10]
mov dword [edx + 4], eax
lea eax, [ebp - 0x88]
push eax
call fcn.0041c020
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xc
cmp ecx, eax
je 0x44d45a
push 0xffffffffffffffff
push 0
push eax
call fcn.004062c0
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x74]
cmp eax, 8
jb 0x44d479
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.004074b0
xor eax, eax
mov dword [ebp - 0x74], 7
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
call fcn.0041c310
test al, al
jne 0x44d4b3
lea ecx, [ebp - 0x28]
call fcn.0041c310
test al, al
jne 0x44d4b3
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.0041a4d0
cmp dword [ebp - 0x18], 0x104
jae 0x44d4d2
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 5
cmovae eax, dword [ebp - 0x28]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x44d4eb
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004074b0
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x44d518
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004074b0
mov ecx, dword [ebx + 4]
xor eax, eax
mov esi, dword [ebx]
add edi, 0x18
inc dword [ebp - 0x348]
sub ecx, esi
mov word [ebp - 0x40], ax
mov eax, 0x2aaaaaab
imul ecx
mov dword [ebp - 0x2c], 7
sar edx, 2
mov eax, edx
mov dword [ebp - 0x30], 0
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x348], eax
jb 0x44d3b0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x44d572
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004074b0
xor eax, eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov dword [ebp - 0x48], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x1c]
cmp eax, 8
jb 0x44d59e
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.004074b0
xor eax, eax
mov dword [ebp + 0x1c], 7
mov dword [ebp + 0x18], 0
mov word [ebp + 8], ax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a04e0
mov esp, ebp
pop ebp
ret