Function at 0x44e550
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fbe73
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x5365f0]
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
xor eax, eax
xor ebx, ebx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov word [ebp - 0x50], ax
push ebx
mov eax, 0x517384
lea esi, [ebp - 0x50]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x3c], 7
mov dword [ebp - 0x40], ebx
call fcn.004027c0
mov dword [ebp - 4], ebx
mov ecx, 1
lea edx, [ebp - 0x34]
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x98], edx
mov dword [ebp - 0x8c], 9
jmp 0x44e5e8
mov ecx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x98]
lea esi, [ebp - 0x88]
mov dword [eax], ecx
call fcn.0044e480
mov esi, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
mov edi, 8
cmp ecx, esi
je 0x44e66c
cmp dword [ebp - 0x3c], edi
jb 0x44e61e
mov edx, dword [ebp - 0x50]
push edx
call fcn.004d5559
add esp, 4
xor eax, eax
mov dword [ebp - 0x3c], 7
mov dword [ebp - 0x40], ebx
mov word [ebp - 0x50], ax
cmp dword [esi + 0x14], edi
jae 0x44e64a
mov eax, dword [esi + 0x10]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [ebp - 0x50]
push esi
push edx
call fcn.004d5b50
add esp, 0xc
jmp 0x44e651
mov eax, dword [esi]
mov dword [ebp - 0x50], eax
mov dword [esi], ebx
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x40], ecx
mov edx, dword [esi + 0x14]
mov dword [ebp - 0x3c], edx
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], ax
mov byte [ebp - 4], bl
cmp dword [ebp - 0x74], edi
jb 0x44e683
mov ecx, dword [ebp - 0x88]
push ecx
call fcn.004d5559
add esp, 4
mov eax, dword [ebp - 0x50]
xor edx, edx
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], ebx
mov word [ebp - 0x88], dx
cmp dword [ebp - 0x3c], edi
jae 0x44e6a1
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44e70d
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp + eax*4 - 0x34]
lea esi, [ebp - 0x6c]
call fcn.0044e480
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], edi
jb 0x44e6c9
mov eax, dword [eax]
mov ecx, dword [ebp - 0x50]
cmp dword [ebp - 0x3c], edi
jae 0x44e6d4
lea ecx, [ebp - 0x50]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov byte [ebp - 4], bl
cmp dword [ebp - 0x58], edi
jb 0x44e6f0
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.004d5559
add esp, 4
xor edx, edx
mov eax, 1
add dword [ebp - 0x90], eax
mov dword [ebp - 0x58], 7
mov dword [ebp - 0x5c], ebx
mov word [ebp - 0x6c], dx
jmp 0x44e712
mov eax, 1
add dword [ebp - 0x98], 4
add dword [ebp - 0x94], eax
sub dword [ebp - 0x8c], eax
jne 0x44e5e2
call fcn.0044e380
mov edi, dword [ebp - 0x90]
mov dword [ebp - 0x8c], eax
cmp edi, eax
jle 0x44e790
mov ecx, edi
lea esi, [ebp - 0x6c]
call fcn.0044e480
mov byte [ebp - 4], 3
mov esi, 8
cmp dword [eax + 0x14], esi
jb 0x44e75a
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], bl
cmp dword [ebp - 0x58], esi
jb 0x44e775
mov eax, dword [ebp - 0x6c]
push eax
call fcn.004d5559
add esp, 4
xor ecx, ecx
dec edi
mov dword [ebp - 0x58], 7
mov dword [ebp - 0x5c], ebx
mov word [ebp - 0x6c], cx
cmp edi, dword [ebp - 0x8c]
jg 0x44e740
jmp 0x44e795
mov esi, 8
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x3c], esi
jb 0x44e7ad
mov edx, dword [ebp - 0x50]
push edx
call fcn.004d5559
add esp, 4
xor eax, eax
mov dword [ebp - 0x3c], 7
mov dword [ebp - 0x40], ebx
mov word [ebp - 0x50], 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.004d5564
mov esp, ebp
pop ebp
ret