Function at 0x408ffd
Capabilities:
Delete file
Get file attributes
Hide graphical window
Move file
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x41f479
push eax
mov dword fs:[0], esp
sub esp, 0x96c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0x14]
add ecx, 0x20c
call fcn.0041b9b0
xor edi, edi
mov ebp, eax
test edi, edi
jg 0x409021
jl 0x40901d
test ebp, ebp
jae 0x409021
xor ebp, ebp
xor edi, edi
mov ecx, dword [esi + 0x14]
add ecx, 0x380
call fcn.0041b9b0
xor ecx, ecx
test ecx, ecx
jg 0x40903f
jl 0x40903b
test eax, eax
jae 0x40903f
xor eax, eax
xor ecx, ecx
add eax, ebp
adc ecx, edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x54], ecx
lea ecx, [esp + 0xb0]
push eax
push ecx
call edi
mov edx, dword [esi + 0x14]
lea eax, [esp + 0x1b4]
add edx, 0x105
push edx
push eax
call edi
mov ebp, dword [sym.imp.MSVCRT.dll__mbsrchr]
push str._tmp.ddf
lea ecx, [esp + 0xb4]
push 0x2e
push ecx
call ebp
add esp, 8
push eax
call edi
push str._tmp.dtf
lea edx, [esp + 0x1b8]
push 0x2e
push edx
call ebp
add esp, 8
push eax
call edi
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea eax, [esp + 0xb0]
push eax
call edi
or ebx, 0xffffffff
cmp eax, ebx
je 0x4090e7
lea ecx, [esp + 0xb0]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x4090e7
mov edx, dword [esi + 4]
push eax
mov eax, dword [esi]
push 5
push edx
push eax
call fcn.00419650
add esp, 0x10
jmp 0x409958
lea ecx, [esp + 0x1b4]
push ecx
call edi
cmp eax, ebx
je 0x40911e
lea edx, [esp + 0x1b4]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x40911e
mov ecx, dword [esi]
push eax
mov eax, dword [esi + 4]
push 5
push eax
push ecx
call fcn.00419650
add esp, 0x10
jmp 0x409958
lea ecx, [esp + 0x308]
call fcn.00410340
lea edx, [esp + 0xb0]
lea ecx, [esp + 0x308]
push edx
mov dword [esp + 0x988], 0
call fcn.00410700
test eax, eax
jge 0x40916e
mov eax, dword [esi + 8]
mov ecx, dword [esi]
push 0x30
push 0xb
push 6
push eax
push ecx
call fcn.004195b0
add esp, 0x14
mov dword [esp + 0x984], ebx
jmp 0x40994c
mov edx, dword [esi + 8]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 5
push 0x19c
push edx
call edi
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebp
mov eax, dword [esi + 8]
push 5
push 0x19a
push eax
call edi
push eax
call ebp
mov ecx, dword [esi + 8]
mov ebp, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
xor eax, eax
push 0x3e80000
push eax
push 0x401
push 0x19a
push ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x54], ebx
call ebp
mov edx, dword [esi + 8]
push 0x3e80000
push 0
push 0x401
push 0x19c
push edx
call ebp
mov eax, dword [esi + 8]
mov ebx, dword [sym.imp.USER32.dll_SetDlgItemTextA]
push 0x426fec
push 0x19b
push eax
call ebx
mov edx, dword [esi]
lea ecx, [esp + 0x60]
push 0x50
push ecx
push 0xa
push edx
call dword [sym.imp.USER32.dll_LoadStringA]
mov ecx, dword [esi + 8]
lea eax, [esp + 0x60]
push eax
push 0xf2
push ecx
call ebx
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0x60]
push edx
push eax
push ecx
call fcn.00419470
mov eax, dword [esi + 8]
add esp, 0xc
lea edx, [esp + 0x60]
push edx
push 0x19d
push eax
call ebx
mov ecx, dword [esi + 8]
push 0x194
push ecx
call edi
push 0
mov ebp, eax
push 0
push 0x110a
push ebp
mov dword [esp + 0x5c], ebp
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x10], eax
test eax, eax
je 0x409705
mov ecx, dword [esi + 0x1c]
test ecx, ecx
jne 0x4097a5
push eax
push ebp
call fcn.00419c10
mov edi, eax
mov dword [esp + 0x28], 0
add esp, 8
mov dword [esp + 0x28], edi
mov eax, dword [edi]
mov ecx, dword [eax + 0x10]
test ecx, ecx
jle 0x40967e
mov ecx, dword [esi + 0x14]
lea edx, [esp + 0x20]
push edx
push eax
call fcn.00413660
mov ecx, dword [edi]
lea eax, [esp + 0x878]
push eax
push ecx
mov ecx, dword [esi + 0x14]
call fcn.00413760
mov edx, dword [edi]
push 0
add edx, 0x14
lea eax, [esp + 0x87c]
push edx
push eax
lea ecx, [esp + 0x314]
call fcn.004131d0
mov ecx, dword [edi]
mov edx, dword [esi + 8]
add ecx, 0x14
mov dword [esp + 0x14], eax
push ecx
push 0x19b
push edx
call ebx
mov eax, dword [esp + 0x10]
push eax
push 9
push 0x110b
push ebp
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x10]
push ecx
push 0
push 0x1114
push ebp
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esi + 8]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [esp + 0x20]
xor ecx, ecx
cmp eax, ecx
je 0x40967e
cmp dword [esp + 0x14], ecx
je 0x40967e
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 0x14]
add eax, 8
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x48], 0xffffffff
mov dword [eax + 0x14], ecx
mov ecx, dword [edx]
test ebx, ebx
mov dword [eax + 0x18], ecx
je 0x409375
test ecx, ecx
jne 0x409375
mov ecx, dword [eax + 8]
lea ebx, [ecx - 1]
mov ecx, dword [eax + 0x14]
cmp ecx, ebx
jge 0x409375
inc ecx
mov dword [eax + 0x14], ecx
mov ecx, dword [edx + ecx*4]
test ecx, ecx
mov dword [eax + 0x18], ecx
je 0x409360
mov ebx, dword [eax + 0x18]
test ebx, ebx
je 0x409628
jmp 0x40938a
mov ebp, dword [esp + 0x4c]
mov edi, dword [esp + 0x28]
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x409628
push 0x98
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebp, eax
add esp, 4
mov dword [esp + 0x2c], ebp
test ebp, ebp
mov byte [esp + 0x984], 1
je 0x4093ca
push ebx
mov ecx, ebp
call fcn.004186c0
mov eax, dword [ebx + 0x90]
mov dword [ebp + 0x90], eax
jmp 0x4093cc
xor ebp, ebp
push 0xffffffffffffffff
mov ecx, ebp
mov byte [esp + 0x988], 0
call fcn.00418d50
test ebp, ebp
je 0x409419
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x10]
mov ecx, ebp
push edx
call fcn.00418e40
mov edi, eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx + edi*4]
mov ecx, ebp
push eax
call fcn.00418e90
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0xc]
mov dword [edx + edi*4], ebp
mov ecx, dword [eax + 0x14]
mov edi, dword [esp + 0x28]
inc ecx
mov dword [eax + 0x14], ecx
test byte [edi + 4], 4
jne 0x4094dc
mov ecx, ebx
call fcn.00418d40
test eax, eax
jl 0x4094dc
lea eax, [esp + 0x24]
lea ecx, [esp + 0x44]
push eax
lea edx, [esp + 0x30]
xor edi, edi
push ecx
push edx
mov ecx, ebx
mov dword [esp + 0x38], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x30], edi
call fcn.00418d40
mov ecx, dword [esi + 0x14]
push eax
add ecx, 0x380
call fcn.0041af80
test eax, eax
jne 0x4094dc
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x2c]
push eax
push ecx
push edx
lea ecx, [esp + 0x694]
call fcn.0041b640
push eax
mov ecx, ebp
call fcn.00418d50
mov ecx, ebp
call fcn.00418d40
test eax, eax
jle 0x4094c5
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
xor ecx, ecx
add edx, eax
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x30]
adc ebp, ecx
add edx, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x1c], ebp
adc eax, ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
push edi
mov ecx, ebx
call fcn.00418d40
mov ecx, dword [esi + 0x14]
push eax
add ecx, 0x380
call fcn.0041b2a0
mov eax, dword [esi + 0x28]
mov edi, dword [esi + 0x20]
fild qword [esp + 0x18]
mov ecx, dword [esi + 0x2c]
mov edx, dword [esi + 0x24]
add eax, edi
fmul qword [0x421570]
adc ecx, edx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
fild qword [esp + 0x58]
fdivp st(1)
call sub.MSVCRT.dll__ftol
mov ebx, dword [esp + 0x40]
mov edi, eax
cmp edi, ebx
je 0x40958d
mov eax, 0x66666667
imul edi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 0x66666667
mov ecx, edx
imul ebx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp ecx, edx
je 0x409568
push ecx
mov ecx, dword [esi]
push 8
lea edx, [esp + 0x2c0]
push ecx
push edx
call fcn.00419bc0
mov ecx, dword [esi + 8]
add esp, 0x10
lea eax, [esp + 0x2b8]
push eax
push 0xf2
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov edx, dword [esi + 8]
push 0
push edi
push 0x402
push 0x19a
push edx
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov dword [esp + 0x40], edi
fild qword [esp + 0x30]
mov ecx, dword [esp + 0x28]
fmul qword [0x421570]
fild qword [ecx + 0x10]
fdivp st(1)
call sub.MSVCRT.dll__ftol
mov edi, eax
mov eax, dword [esp + 0x48]
cmp edi, eax
je 0x4095d4
mov edx, dword [esi + 8]
push 0
push edi
push 0x402
push 0x19c
push edx
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov dword [esp + 0x48], edi
mov ecx, dword [esp + 0x20]
lea edi, [ecx + 8]
mov ecx, dword [ecx + 0x20]
test ecx, ecx
je 0x4095ea
call fcn.00418ea0
mov dword [edi + 0x18], eax
mov eax, dword [edi + 0x18]
test eax, eax
jne 0x40960f
mov eax, dword [edi + 8]
lea ecx, [eax - 1]
mov eax, dword [edi + 0x14]
cmp eax, ecx
jge 0x40960f
mov edx, dword [edi + 4]
inc eax
mov dword [edi + 0x14], eax
mov eax, dword [edx + eax*4]
test eax, eax
mov dword [edi + 0x18], eax
je 0x4095f7
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 8]
cmp eax, ecx
je 0x409624
mov ebx, dword [edi + 0x18]
test ebx, ebx
jne 0x409382
mov ebp, dword [esp + 0x4c]
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
mov edx, dword [ecx + 0x30]
mov ecx, edi
mov dword [edi + 0x30], edx
call fcn.0040ece0
mov ecx, dword [edi + 0x2c]
lea eax, [esp + 0x38]
push eax
push 0
push ecx
lea ecx, [esp + 0x520]
call fcn.0041b600
test eax, eax
jne 0x409678
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x18]
add eax, 0x78
mov dword [esp + 0x38], eax
add ecx, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], ecx
adc eax, 0
mov dword [esp + 0x1c], eax
mov ebx, dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov edx, dword [esp + 0x10]
push edx
push 4
push 0x110a
push ebp
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
test edi, edi
jne 0x4096e3
mov ecx, dword [esp + 0x10]
push ecx
push 1
push 0x110a
push ebp
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
test edi, edi
jne 0x4096e3
mov eax, dword [esp + 0x10]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push 3
push 0x110a
push ebp
call edi
test eax, eax
mov dword [esp + 0x10], eax
je 0x409705
push 0
push 0
push 0x110a
push ebp
call edi
mov ecx, dword [esp + 0x10]
cmp ecx, eax
je 0x409705
jmp 0x40969b
push 0
push 0
push 0x110a
push ebp
call dword [sym.imp.USER32.dll_SendMessageA]
cmp edi, eax
je 0x409705
mov eax, edi
test edi, edi
mov dword [esp + 0x10], eax
jne 0x409267
mov ecx, dword [esi + 0x14]
call fcn.004109f0
lea ecx, [esp + 0x308]
call fcn.004109f0
mov edx, dword [esi + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edx
call edi
test eax, eax
je 0x40992e
mov eax, dword [esi + 0x14]
add eax, 0x105
push eax
call edi
test eax, eax
je 0x40992e
mov ecx, dword [esi + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileA]
lea edx, [esp + 0xb0]
push ecx
push edx
call edi
test eax, eax
je 0x409921
mov eax, dword [esi + 0x14]
lea ecx, [esp + 0x1b4]
add eax, 0x105
push eax
push ecx
call edi
test eax, eax
je 0x409921
mov ecx, dword [esi + 0x14]
push ecx
call fcn.00410700
test eax, eax
jge 0x4097b4
lea edx, [esp + 0xb0]
push edx
push str.ImageDB::Open__s__failed_n
push str.C:devACDSee5.0.1CommonIDBSvrIDBDefrag.cpp
push 0x4a1
call fcn.00419cd0
jmp 0x40993e
lea ecx, [esp + 0x308]
push ecx
push 0
jmp 0x409903
mov ecx, dword [esi + 0x14]
add ecx, 0x20c
call fcn.0041b9b0
xor edi, edi
mov ebp, eax
test edi, edi
jg 0x4097d4
jl 0x4097d0
test ebp, ebp
jae 0x4097d4
xor ebp, ebp
xor edi, edi
mov ecx, dword [esi + 0x14]
add ecx, 0x380
call fcn.0041b9b0
xor ecx, ecx
test ecx, ecx
jg 0x4097f2
jl 0x4097ee
test eax, eax
jae 0x4097f2
xor eax, eax
xor ecx, ecx
add eax, ebp
adc ecx, edi
mov edi, eax
lea eax, [esp + 0x60]
mov ebp, ecx
push eax
push ebp
push edi
call fcn.00419470
mov edx, dword [esi + 8]
add esp, 0xc
lea ecx, [esp + 0x60]
push ecx
push 0x19e
push edx
call ebx
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x60]
push eax
mov eax, dword [esp + 0x54]
sub eax, edi
sbb ecx, ebp
push ecx
push eax
call fcn.00419470
mov edx, dword [esi + 8]
add esp, 0xc
lea ecx, [esp + 0x60]
push ecx
push 0x19f
push edx
call ebx
mov eax, dword [esi]
push 0x64
push 0x66
lea ecx, [esp + 0x68]
push eax
push ecx
call fcn.00419bc0
mov eax, dword [esi + 8]
add esp, 0x10
lea edx, [esp + 0x60]
push edx
push 0xf2
push eax
call ebx
mov ecx, 0x426838
call dword [sym.imp.ExtDB.dll_public:_int___thiscall_CExtendedDB::Optimize_void_]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x3c], 0
push ecx
mov ecx, 0x426838
call dword [sym.imp.ExtDB.dll_public:_int___thiscall_CExtendedDB::GetSize_long_int__]
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x60]
push edx
cdq
push edx
push eax
call fcn.00419470
mov ecx, dword [esi + 8]
add esp, 0xc
lea eax, [esp + 0x60]
push eax
push 0x1ad
push ecx
call ebx
mov edx, dword [esi]
push 0x64
push 8
lea eax, [esp + 0x68]
push edx
push eax
call fcn.00419bc0
mov edx, dword [esi + 8]
add esp, 0x10
lea ecx, [esp + 0x60]
push ecx
push 0xf2
push edx
call ebx
mov ecx, dword [esi]
lea eax, [esp + 0x60]
push 0x50
push eax
push 9
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
mov eax, dword [esi + 8]
lea edx, [esp + 0x60]
push edx
push 2
push eax
call ebx
mov ecx, esi
call fcn.004083d0
lea ecx, [esp + 0x308]
push ecx
push 1
lea edx, [esp + 0x1bc]
lea eax, [esp + 0xb8]
push edx
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, esi
call fcn.00408ee0
jmp 0x409941
mov edx, dword [esi + 8]
mov eax, dword [esi]
push 0
push 7
push edx
push eax
jmp 0x409939
mov ecx, dword [esi + 8]
mov edx, dword [esi]
push 0
push 5
push ecx
push edx
call fcn.00419650
add esp, 0x10
mov dword [esp + 0x984], 0xffffffff
lea ecx, [esp + 0x308]
call fcn.00410490
mov ecx, dword [esp + 0x97c]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x978
ret