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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4cb321
push eax
mov dword fs:[0], esp
sub esp, 0x3c8
xor ecx, ecx
mov eax, 0x4e24ac
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x3f4]
mov edx, dword [edi + 0x20]
cmp dword [eax], edx
je 0x45550f
add eax, 4
inc ecx
cmp eax, 0x4e24c0
jl 0x455500
cmp ecx, 5
jne 0x455516
xor ecx, ecx
mov ecx, dword [ecx*4 + 0x4e24c0]
mov esi, dword [esp + 0x3f0]
lea eax, [esp + 0xac]
push eax
push ecx
push esi
call fcn.0044a320
add esp, 0xc
lea edx, [esp + 0xac]
mov dword [0x4eba3c], 0
push esi
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov ebp, eax
mov eax, dword [edi]
neg ebp
sbb ebp, ebp
inc ebp
cmp eax, 2
mov dword [esp + 0x14], ebp
je 0x45556c
test ebp, ebp
je 0x455586
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x455586
lea eax, [esp + 0xac]
push 0x5f
lea ecx, [esp + 0xb0]
push eax
push ecx
call fcn.0044c210
add esp, 0xc
mov eax, dword [esp + 0x3e8]
lea edx, [esp + 0x1b0]
push 0x226
push edx
push 0x44c
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + 0x1b0]
push 0x104
push ecx
call edi
lea edx, [esp + eax + 0x1b4]
push edx
push esi
call sub.comdlg32.dll_GetFileTitleA
lea eax, [esp + 0x1b0]
push str.___
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0x1b0]
push 0x104
push ecx
call edi
lea edx, [esp + eax + 0x1b4]
lea eax, [esp + 0xb0]
push edx
push eax
call sub.comdlg32.dll_GetFileTitleA
mov edi, dword [esp + 0x3f8]
lea ecx, [esp + 0x1b0]
push ecx
push 0x1fb
push edi
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov ebx, dword [esp + 0x3fc]
mov esi, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push 0
push ebx
push 0x402
push 0x208
push edi
call esi
push edi
call dword [sym.imp.USER32.dll_UpdateWindow]
lea edx, [esp + 0xac]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4556b3
mov ecx, dword [esp + 0x3f4]
mov eax, dword [ecx]
cmp eax, 1
jne 0x455665
jmp 0x455866
xor edx, edx
test eax, eax
setne dl
test ebp, ebp
mov eax, edx
je 0x455679
mov edx, dword [ecx + 0x1c]
test edx, edx
jne 0x4556b3
test eax, eax
je 0x4556b3
mov eax, dword [esp + 0x3ec]
mov ecx, dword [esp + 0x3e8]
push 0x104
push 0x44e
push 0x44d
push eax
push ecx
call fcn.0044adc0
add esp, 0x14
cmp eax, 6
je 0x4556b3
mov eax, 1
jmp 0x455866
push edi
call dword [sym.imp.USER32.dll_SetFocus]
test edi, edi
jne 0x4556d1
push 0x7f02
push edi
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov edx, dword [esp + 0x3f0]
lea ecx, [esp + 0x18]
push edx
call fcn.00459cd0
lea ecx, [esp + 0x74]
mov dword [esp + 0x3e0], 0
call fcn.00459c90
mov eax, 1
mov dword [esp + 0x94], 0
test edi, edi
mov dword [esp + 0x98], eax
mov dword [esp + 0x7c], 4
mov dword [esp + 0x8c], eax
je 0x45580f
lea eax, [esp + 0x74]
lea ecx, [esp + 0x18]
push eax
call fcn.0045a2c0
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
call fcn.0045ad90
mov ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 6
mov ecx, edx
mov eax, 0x14
shr ecx, 0x1f
add edx, ecx
sub eax, edx
cmp eax, 1
jge 0x455763
mov ebp, 1
jmp 0x455788
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
call fcn.0045ad90
mov ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 6
mov ecx, edx
mov ebp, 0x14
shr ecx, 0x1f
add edx, ecx
sub ebp, edx
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
call fcn.0045b0c0
test eax, eax
jne 0x4557fe
mov eax, dword [0x4eba3c]
test eax, eax
jne 0x4557fe
push 0
push 0
push ebp
lea ecx, [esp + 0x24]
call fcn.0045a6b0
test eax, eax
je 0x4557fe
mov eax, dword [esp + 0x400]
push 0
cdq
sub eax, edx
push 0x2710
sar eax, 1
push eax
lea ecx, [esp + 0x24]
call fcn.0045b270
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
add eax, ebx
push eax
push 0x402
push 0x208
push edi
call esi
push edi
call fcn.00453a20
add esp, 4
lea ecx, [esp + 0x18]
push 0xffffffffffffffff
call fcn.0045b0c0
test eax, eax
je 0x455797
push 1
lea ecx, [esp + 0x1c]
call fcn.0045a850
mov ebp, dword [esp + 0x14]
jmp 0x45581d
lea edx, [esp + 0x74]
lea ecx, [esp + 0x18]
push edx
call fcn.0045aec0
or ebx, 0xffffffff
lea ecx, [esp + 0x18]
push ebx
call fcn.0045b0c0
test eax, eax
jne 0x45587f
mov eax, dword [0x4eba3c]
test eax, eax
jne case.0x45588e.1
mov eax, dword [esp + 0x3e8]
push 0
push 0x3e9
push 0x3eb
push edi
push eax
call fcn.0044adc0
add esp, 0x14
mov dword [esp + 0x3e0], ebx
lea ecx, [esp + 0x18]
call fcn.00459f00
xor eax, eax
mov ecx, dword [esp + 0x3d8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3d4
ret
mov esi, dword [esp + 0x3f4]
mov eax, dword [esi + 0x20]
cmp eax, 5
ja case.0x45588e.1
jmp dword [eax*4 + 0x455b9c]
push 0x3c
call fcn.004be967
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x3e0], 1
je 0x45595a
mov ecx, eax
call fcn.00466720
jmp 0x45595c
push 0x278
call fcn.004be967
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x3e0], 2
je 0x45595a
add esi, 4
mov ecx, eax
push esi
call fcn.00466290
jmp 0x45595c
push 0x48
call fcn.004be967
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x3e0], 3
je 0x45595a
mov ecx, eax
call fcn.00466e70
jmp 0x45595c
push 0x4c
call fcn.004be967
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x3e0], 4
je 0x45595a
add esi, 0x24
mov ecx, eax
push esi
call fcn.00466900
jmp 0x45595c
push 0x50
call fcn.004be967
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x3e0], 5
je 0x45595a
add esi, 0x2c
mov ecx, eax
push esi
call fcn.00465d20
jmp 0x45595c
xor eax, eax
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3e4], 0
mov ebx, eax
call fcn.0045afc0
push eax
mov ecx, ebx
call fcn.00465940
lea ecx, [esp + 0xac]
push ecx
mov ecx, ebx
call fcn.004657a0
mov ecx, ebx
call fcn.00465ac0
test eax, eax
mov dword [esp + 0x10], eax
jl 0x455a6b
test edi, edi
je 0x455a4e
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
xor ebp, ebp
call fcn.0045acc0
test eax, eax
jle 0x455a2c
mov eax, dword [0x4eba3c]
test eax, eax
jne 0x455a2c
push 1
mov ecx, ebx
call fcn.00465b10
test eax, eax
mov dword [esp + 0x10], eax
jl 0x455a67
mov eax, dword [esp + 0x400]
push 0
cdq
sub eax, edx
push 0xffffffffffffffff
mov esi, eax
lea ecx, [esp + 0x20]
sar esi, 1
call fcn.0045acc0
push eax
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov edx, dword [esp + 0x400]
add eax, esi
add eax, edx
push eax
push 0x402
push 0x208
push edi
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push edi
call fcn.00453a20
add esp, 4
lea ecx, [esp + 0x18]
inc ebp
push 0xffffffffffffffff
call fcn.0045acc0
cmp ebp, eax
jl 0x4559b4
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x455a6b
mov eax, dword [0x4eba3c]
test eax, eax
jne 0x455a6b
mov ecx, ebx
call fcn.00465b20
mov dword [esp + 0x10], eax
jmp 0x455a6b
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
call fcn.0045acc0
push eax
mov ecx, ebx
call fcn.00465b10
mov dword [esp + 0x10], eax
jmp 0x455a30
mov ebp, dword [esp + 0x14]
test ebx, ebx
je 0x455a77
mov edx, dword [ebx]
push 1
mov ecx, ebx
call dword [edx]
mov eax, dword [0x4eba3c]
test eax, eax
je 0x455a9e
lea eax, [esp + 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [esp + 0x3e0], 0xffffffff
jmp 0x45585b
mov eax, dword [esp + 0x10]
push 0
test eax, eax
jge 0x455ad4
mov ecx, dword [esp + 0x3ec]
push 0x3e9
push 0x3ea
push 0
push ecx
call fcn.0044adc0
add esp, 0x14
mov dword [esp + 0x3e0], 0xffffffff
jmp 0x45585b
mov esi, dword [esp + 0x3f4]
push esi
call fcn.0044b550
add esp, 8
test eax, eax
je 0x455afd
push 0
push 1
lea edx, [esp + 0xb4]
push eax
push edx
call fcn.0044b810
add esp, 0x10
mov eax, dword [esp + 0x3f4]
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x455b69
test ebp, ebp
push esi
je 0x455b42
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x455b2b
lea ecx, [esp + 0xac]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
jmp 0x455b69
mov edx, dword [esp + 0x3ec]
mov eax, dword [esp + 0x3e8]
push 0x3e8
push edx
push eax
jmp 0x455b61
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x455b69
mov ecx, dword [esp + 0x3ec]
mov edx, dword [esp + 0x3e8]
push 0x3e8
push ecx
push edx
call fcn.0044aec0
add esp, 0xc
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
lea ecx, [esp + 0x18]
mov dword [esp + 0x3e0], 0xffffffff
call fcn.00459f00
mov eax, 1
jmp 0x455866