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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff9e0
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov edi, 0x4ba028
test ebx, ebx
je 0x44d63e
cmp dword [ebx + 0x379], 0
je 0x44d63e
cmp dword [ebx + 0x3a1], 0
jne 0x44d648
mov eax, 1
jmp 0x44d9d8
lea edx, [edi + 0x4c4]
push edx
lea ecx, [ebx + 0x271]
push ecx
call fcn.004a5374
add esp, 8
mov esi, eax
test esi, esi
jne 0x44d670
mov dword [ebp - 4], 0xffffffff
jmp 0x44d6f3
mov eax, dword [ebx + 0x379]
push eax
push 0
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x44d690
mov dword [ebp - 4], 0xffffffff
jmp 0x44d6ec
push esi
mov edx, dword [ebx + 0x379]
push edx
push 1
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004a55d0
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x379]
cmp eax, dword [ebp - 8]
je 0x44d6bd
mov dword [ebp - 4], 0xffffffff
jmp 0x44d6e3
push eax
mov edx, dword [ebx + 0x3a1]
push edx
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004a37d4
add esp, 0xc
test eax, eax
jne 0x44d6dc
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x44d6e3
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0xc]
push edx
call sub.KERNEL32.DLL_GlobalFree
push esi
call fcn.004a4ed8
pop ecx
cmp dword [ebp + 0xc], 0
jne 0x44d706
cmp dword [ebp - 4], 0
jne 0x44d706
xor eax, eax
jmp 0x44d9d8
cmp dword [ebp + 0xc], 0
jne 0x44d760
lea edx, [ebx + 0x271]
push edx
lea ecx, [edi + 0x636]
push ecx
lea eax, [ebp - 0x214]
push eax
call fcn.004a6c2c
add esp, 0xc
lea edx, [edi + 0x700]
lea ecx, [ebp - 0x214]
mov eax, dword [0x4d3b7c]
push 0x10023
push edx
push ecx
push eax
call sub.USER32.DLL_MessageBoxA
cmp eax, 2
jne 0x44d754
or eax, 0xffffffff
jmp 0x44d9d8
cmp eax, 7
jne 0x44d7b3
xor eax, eax
jmp 0x44d9d8
cmp dword [ebp + 0xc], 1
jne 0x44d7b3
cmp dword [ebp - 4], 0
jne 0x44d7b3
lea edx, [ebx + 0x271]
push edx
lea ecx, [edi + 0x70d]
push ecx
lea eax, [ebp - 0x214]
push eax
call fcn.004a6c2c
add esp, 0xc
lea edx, [edi + 0x763]
lea ecx, [ebp - 0x214]
mov eax, dword [0x4d3b7c]
push 0x10024
push edx
push ecx
push eax
call sub.USER32.DLL_MessageBoxA
cmp eax, 7
jne 0x44d7b3
xor eax, eax
jmp 0x44d9d8
push edi
lea edx, [ebx + 0x271]
xor eax, eax
mov edi, edx
or ecx, 0xffffffff
lea esi, [ebp - 0x318]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
push 0x80
lea eax, [edi + 6]
push eax
lea edx, [ebp - 0x318]
push edx
lea ecx, [edi + 0x772]
push ecx
call sym._L__.exe__Browsefilename
add esp, 0x10
test eax, eax
jne 0x44d80a
xor eax, eax
jmp 0x44d9d8
lea edx, [ebx + 0x271]
push edx
lea ecx, [ebp - 0x318]
push ecx
call fcn.004a38bc
add esp, 8
test eax, eax
jne 0x44d869
lea eax, [ebp - 0x318]
push eax
lea edx, [edi + 0x77f]
push edx
lea ecx, [ebp - 0x214]
push ecx
call fcn.004a6c2c
add esp, 0xc
lea eax, [edi + 0x7bd]
lea edx, [ebp - 0x214]
mov ecx, dword [0x4d3b7c]
push 0x10124
push eax
push edx
push ecx
call sub.USER32.DLL_MessageBoxA
cmp eax, 6
jne 0x44d7e0
lea eax, [ebp - 0x318]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x44d899
test al, 5
je 0x44d899
lea edx, [ebp - 0x318]
push edx
lea ecx, [edi + 0x7c9]
push ecx
call sym._L__.exe__Error
add esp, 8
jmp 0x44d7e0
inc eax
je 0x44d929
push 0
lea eax, [ebp - 0x620]
push eax
lea edx, [ebp - 0x51c]
push edx
lea ecx, [ebp - 0xf]
push ecx
lea eax, [ebp - 0x318]
push eax
call fcn.004a51bc
add esp, 0x14
lea edx, [edi + 0x804]
lea ecx, [ebp - 0x620]
lea eax, [ebp - 0x51c]
push edx
push ecx
push eax
lea edx, [ebp - 0xf]
push edx
lea ecx, [ebp - 0x41c]
push ecx
call fcn.004a5198
add esp, 0x14
lea eax, [ebp - 0x41c]
push eax
call sub.KERNEL32.DLL_DeleteFileA
lea edx, [ebp - 0x41c]
push edx
lea ecx, [ebp - 0x318]
push ecx
call sub.KERNEL32.DLL_MoveFileA
test eax, eax
jmp 0x44d929
lea ecx, [edi + 0x42e]
push ecx
lea eax, [ebp - 0x318]
push eax
call fcn.004a5374
add esp, 8
mov esi, eax
test esi, esi
jne 0x44d960
lea eax, [ebp - 0x318]
push eax
lea edx, [edi + 0x83d]
push edx
call sym._L__.exe__Error
add esp, 8
jmp 0x44d7e0
push esi
mov ecx, dword [ebx + 0x379]
push ecx
push 1
mov eax, dword [ebx + 0x3a1]
push eax
call fcn.004a5744
add esp, 0x10
mov dword [ebp - 8], eax
push esi
call fcn.004a4ed8
pop ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebx + 0x379]
jne 0x44d9bd
add ebx, 0x271
xor eax, eax
lea edi, [ebp - 0x318]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, ebx
xchg edi, esi
mov edx, ecx
mov eax, edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor eax, eax
jmp 0x44d9d8
lea edx, [ebp - 0x318]
push edx
lea ecx, [edi + 0x871]
push ecx
call sym._L__.exe__Error
add esp, 8
jmp 0x44d7e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret