Function at 0x43877d
Capabilities:
Check if file exists
Delete file
Get file attributes
Hide graphical window
Move file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4d28b9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x874
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0x14]
add ecx, 0x330
call fcn.0047c860
mov ecx, dword [esi + 0x14]
mov ebx, eax
add ecx, 0x20c
call fcn.0047c860
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
add ebx, eax
mov eax, dword [esi + 0x14]
lea ecx, [esp + 0xb4]
xor ebp, ebp
push eax
push ecx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebp
call edi
mov edx, dword [esi + 0x14]
lea eax, [esp + 0x208]
add edx, 0x105
push edx
push eax
call edi
push str._tmp.ddf
lea ecx, [esp + 0xb8]
push 0x2e
push ecx
call fcn.004a7c73
add esp, 8
push eax
call edi
push str._tmp.dtf
lea edx, [esp + 0x20c]
push 0x2e
push edx
call fcn.004a7c73
add esp, 8
push eax
call edi
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea eax, [esp + 0xb4]
push eax
call edi
cmp eax, 0xffffffff
je 0x43884c
lea ecx, [esp + 0xb4]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x43884c
mov edx, dword [esi + 4]
mov eax, dword [esi]
push 0x22e
push edx
push eax
call fcn.00471660
add esp, 0xc
mov eax, 0x80004005
jmp 0x4390de
lea ecx, [esp + 0x208]
push ecx
call edi
cmp eax, 0xffffffff
je 0x43888b
lea edx, [esp + 0x208]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x43888b
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push 0x22e
push eax
push ecx
call fcn.00471660
add esp, 0xc
mov eax, 0x80004005
jmp 0x4390de
lea ecx, [esp + 0x30c]
call fcn.0043b900
lea edx, [esp + 0xb4]
lea ecx, [esp + 0x30c]
push edx
mov dword [esp + 0x890], ebp
call fcn.0043ba90
test eax, eax
jge 0x4388d6
mov eax, dword [esi + 8]
mov ecx, dword [esi]
push 0x30
push 0xfa
push 0x22f
push eax
push ecx
call fcn.00471530
add esp, 0x14
jmp 0x4390c5
mov edx, dword [esi + 8]
mov ebp, dword [sym.imp.USER32.dll_GetDlgItem]
push 5
push 0x19c
push edx
call ebp
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call edi
mov eax, dword [esi + 8]
push 5
push 0x19a
push eax
call ebp
push eax
call edi
mov ecx, dword [esi + 8]
mov edi, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
xor eax, eax
push 0x3e80000
push eax
push 0x401
push 0x19a
push ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], 0xffffffff
call edi
mov edx, dword [esi + 8]
push 0x3e80000
push 0
push 0x401
push 0x19c
push edx
call edi
mov eax, dword [esi + 8]
mov edi, dword [sym.imp.USER32.dll_SetDlgItemTextA]
push 0x4f55a8
push 0x19b
push eax
call edi
mov edx, dword [esi]
lea ecx, [esp + 0x64]
push 0x50
push ecx
push 0xc2
push edx
call dword [sym.imp.USER32.dll_LoadStringA]
mov ecx, dword [esi + 8]
lea eax, [esp + 0x64]
push eax
push 0xf2
push ecx
call edi
mov eax, dword [esp + 0x58]
lea edx, [esp + 0x64]
push edx
push eax
push ebx
call fcn.00471310
mov edx, dword [esi + 8]
add esp, 0xc
lea ecx, [esp + 0x64]
push ecx
push 0x19d
push edx
call edi
mov eax, dword [esi + 8]
push 0x194
push eax
call ebp
push 0
mov ebp, eax
push 0
push 0x110a
push ebp
mov dword [esp + 0x3c], ebp
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, eax
test ebx, ebx
je 0x438dfa
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x438f65
push ebx
push ebp
call fcn.00473500
mov dword [esp + 0x20], eax
mov eax, dword [eax]
add esp, 8
mov ecx, dword [eax + 0x10]
test ecx, ecx
jle 0x438d89
mov ecx, dword [esi + 0x14]
push eax
call fcn.0043e1a0
mov edx, dword [esp + 0x18]
mov edi, eax
lea ecx, [esp + 0x780]
mov eax, dword [edx]
push ecx
mov ecx, dword [esi + 0x14]
push eax
call fcn.0043e430
mov ecx, dword [esp + 0x18]
push 0
lea eax, [esp + 0x784]
mov edx, dword [ecx]
lea ecx, [esp + 0x310]
add edx, 0x14
push edx
push eax
call fcn.0043d9e0
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 8]
mov edx, dword [ecx]
add edx, 0x14
push edx
push 0x19b
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push ebx
push 9
push 0x110b
push ebp
call dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push 0
push 0x1114
push ebp
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
test edi, edi
je 0x438d89
mov eax, dword [esp + 0x14]
test eax, eax
je 0x438d89
mov ecx, dword [edi + 0xc]
xor edx, edx
cmp dword [edi + 0x14], edx
mov dword [edi + 0x1c], edx
mov eax, dword [ecx]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], 0xffffffff
mov dword [edi + 0x20], eax
je 0x438ad2
cmp eax, edx
jne 0x438ad2
mov eax, dword [edi + 0x10]
lea edx, [eax - 1]
mov eax, dword [edi + 0x1c]
cmp eax, edx
jge 0x438ad2
inc eax
mov dword [edi + 0x1c], eax
mov eax, dword [ecx + eax*4]
test eax, eax
mov dword [edi + 0x20], eax
je 0x438abd
mov eax, dword [edi + 0x20]
test eax, eax
mov dword [esp + 0x10], eax
je 0x438d41
jmp 0x438ae7
mov ebp, dword [esp + 0x2c]
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x438d41
push 0x54
call fcn.004bd49b
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov byte [esp + 0x88c], 1
je 0x438b1c
mov edx, dword [esp + 0x10]
mov ecx, eax
push edx
call fcn.00439250
mov ebp, eax
jmp 0x438b1e
xor ebp, ebp
xor ecx, ecx
mov byte [esp + 0x88c], 0
cmp ebp, ecx
mov dword [ebp + 0x20], 0xffffffff
je 0x438b5e
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x10]
push ecx
mov ecx, ebp
call fcn.004396f0
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0xc]
mov edx, dword [edx + eax*4]
mov dword [ebp + 0x50], edx
mov edx, dword [ecx + 0xc]
mov dword [edx + eax*4], ebp
mov eax, dword [ecx + 0x14]
inc eax
mov dword [ecx + 0x14], eax
xor ecx, ecx
mov eax, dword [esp + 0x18]
test byte [eax + 4], 4
jne 0x438bf5
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x20]
cmp eax, ecx
jl 0x438bf5
mov dword [esp + 0x24], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x44]
lea ecx, [esp + 0x28]
push edx
push ecx
mov ecx, dword [esi + 0x14]
push eax
add ecx, 0x330
call fcn.0047c3b0
test eax, eax
jne 0x438bf5
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x24]
push edx
push eax
push ecx
lea ecx, [esp + 0x648]
call fcn.0047c4f0
test eax, eax
mov dword [ebp + 0x20], eax
jle 0x438bf5
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
xor ecx, ecx
add edx, eax
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x30]
adc ebp, ecx
add edx, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x20], ebp
adc eax, ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
mov edx, dword [esi + 0x28]
mov ebp, dword [esi + 0x20]
fild qword [esp + 0x1c]
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x24]
add edx, ebp
fmul qword [0x4d8ec8]
adc eax, ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
fild qword [esp + 0x44]
fdivp st(1)
call fcn.004a7d38
mov ebp, eax
mov eax, dword [esp + 0x28]
cmp ebp, eax
je 0x438cab
mov eax, 0x66666667
imul ebp
sar edx, 2
mov ecx, edx
mov eax, 0x66666667
shr ecx, 0x1f
add edx, ecx
mov ecx, edx
imul dword [esp + 0x28]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp ecx, edx
je 0x438c86
push ecx
mov ecx, dword [esi]
push 0xc0
lea edx, [esp + 0x1c0]
push ecx
push edx
call fcn.00472a10
mov ecx, dword [esi + 8]
add esp, 0x10
lea eax, [esp + 0x1b8]
push eax
push 0xf2
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov edx, dword [esi + 8]
push 0
push ebp
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 + 0x28], ebp
fild qword [esp + 0x30]
mov ecx, dword [esp + 0x18]
fmul qword [0x4d8ec8]
fild qword [ecx + 0x10]
fdivp st(1)
call fcn.004a7d38
mov ebp, eax
mov eax, dword [esp + 0x38]
cmp ebp, eax
je 0x438cf2
mov edx, dword [esi + 8]
push 0
push ebp
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 + 0x38], ebp
mov eax, dword [edi + 0x20]
test eax, eax
je 0x438cff
mov eax, dword [eax + 0x50]
mov dword [edi + 0x20], eax
mov eax, dword [edi + 0x20]
test eax, eax
jne 0x438d24
mov eax, dword [edi + 0x10]
lea ecx, [eax - 1]
mov eax, dword [edi + 0x1c]
cmp eax, ecx
jge 0x438d24
mov edx, dword [edi + 0xc]
inc eax
mov dword [edi + 0x1c], eax
mov eax, dword [edx + eax*4]
test eax, eax
mov dword [edi + 0x20], eax
je 0x438d0c
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x10]
cmp eax, ecx
je 0x438d3d
mov eax, dword [edi + 0x20]
test eax, eax
mov dword [esp + 0x10], eax
jne 0x438ae3
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
call fcn.0043a0f0
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x3c]
push ecx
push 0
mov eax, dword [edx + 0x2c]
lea ecx, [esp + 0x520]
push eax
call fcn.0047c480
test eax, eax
jne 0x438d89
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x1c]
add eax, 0x78
mov dword [esp + 0x3c], eax
add ecx, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x1c], ecx
adc eax, 0
mov dword [esp + 0x20], eax
push ebx
push 4
push 0x110a
push ebp
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
test edi, edi
jne 0x438ddc
push ebx
push 1
push 0x110a
push ebp
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
test edi, edi
jne 0x438ddc
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push 3
push 0x110a
push ebp
call edi
mov ebx, eax
test ebx, ebx
je 0x438dfa
push 0
push 0
push 0x110a
push ebp
call edi
cmp ebx, eax
je 0x438dfa
jmp 0x438d9e
push 0
push 0
push 0x110a
push ebp
call dword [sym.imp.USER32.dll_SendMessageA]
cmp edi, eax
je 0x438dfa
test edi, edi
mov ebx, edi
jne 0x4389d0
mov ecx, dword [esi + 0x14]
call fcn.0043bd40
lea ecx, [esp + 0x30c]
call fcn.0043bd40
mov ecx, dword [esi + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ecx
call edi
test eax, eax
je 0x4390b1
mov edx, dword [esi + 0x14]
add edx, 0x105
push edx
call edi
test eax, eax
je 0x4390b1
mov eax, dword [esi + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileA]
lea ecx, [esp + 0xb4]
push eax
push ecx
call edi
test eax, eax
je 0x4390a3
mov edx, dword [esi + 0x14]
lea eax, [esp + 0x208]
add edx, 0x105
push edx
push eax
call edi
test eax, eax
je 0x4390a3
mov ecx, dword [esi + 0x14]
push ecx
call fcn.0043ba90
test eax, eax
jge 0x438e9f
lea ecx, [esp + 0xb4]
push ecx
push str.ImageDB::Open__s__failed_n
push str.C:devReleaseACDSee_3.1.1DIPROD_srcACDSeeIDBDefrag.cpp
push 0x36e
call fcn.004735c0
add esp, 0x10
jmp 0x4390c5
mov ecx, dword [esi + 0x14]
add ecx, 0x330
call fcn.0047c860
mov ecx, dword [esi + 0x14]
mov edi, eax
add ecx, 0x20c
call fcn.0047c860
lea edx, [esp + 0x64]
xor ebp, ebp
add edi, eax
push edx
push ebp
push edi
call fcn.00471310
mov ecx, dword [esi + 8]
mov ebx, dword [sym.imp.USER32.dll_SetDlgItemTextA]
add esp, 0xc
lea eax, [esp + 0x64]
push eax
push 0x19e
push ecx
call ebx
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
sub eax, edi
lea edx, [esp + 0x64]
sbb ecx, ebp
push edx
push ecx
push eax
call fcn.00471310
mov ecx, dword [esi + 8]
add esp, 0xc
lea eax, [esp + 0x64]
push eax
push 0x19f
push ecx
call ebx
mov edx, dword [esi]
push 0x64
push 0xc0
lea eax, [esp + 0x6c]
push edx
push eax
call fcn.00472a10
mov edx, dword [esi + 8]
add esp, 0x10
lea ecx, [esp + 0x64]
push ecx
push 0xf2
push edx
call ebx
mov ecx, dword [esi]
lea eax, [esp + 0x64]
push 0x50
push eax
push 0xc1
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
mov eax, dword [esi + 8]
lea edx, [esp + 0x64]
push edx
push 2
push eax
call ebx
mov ecx, esi
call fcn.00437dc0
mov ebp, dword [esp + 0x2c]
push 0
push 0
push 0x110a
push ebp
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
push edi
push 9
push 0x110b
push ebp
call ebx
push edi
push 0
push 0x1114
push ebp
call ebx
mov ecx, dword [esi + 8]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0x19c
push ecx
call ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 8]
push 0
push 0x3e8
push 0x402
push 0x19a
push edx
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
mov eax, dword [esi + 8]
push 0x4f55a8
push 0x19b
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x4390c5
lea ecx, [esp + 0x30c]
call fcn.0043bd40
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0xb4]
push ecx
call edi
lea edx, [esp + 0x208]
push edx
call edi
mov ecx, dword [esi + 8]
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x44]
push eax
push ecx
call edi
mov eax, dword [esi + 8]
lea edx, [esp + 0x54]
push edx
push 2
push eax
call ebx
push eax
call edi
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x48]
mov ebp, dword [esp + 0x44]
push 6
lea eax, [ecx + 0xa]
mov dword [esp + 0x54], eax
sub eax, edx
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [esi + 8]
sub edx, ebp
push edx
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov edx, dword [esi + 8]
push 1
push 1
push edx
call ebx
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call edi
mov eax, dword [esi + 8]
push 1
push 0x37
push eax
call ebx
push eax
call edi
mov ecx, dword [esi + 8]
push 1
push 0x39
push ecx
call ebx
push eax
call edi
mov edx, dword [esi + 8]
push 1
push 0x38
push edx
call ebx
push eax
call edi
jmp 0x4390c5
mov eax, dword [esi + 8]
mov ecx, dword [esi]
push 0x231
push eax
push ecx
jmp 0x4390bd
mov edx, dword [esi + 8]
mov eax, dword [esi]
push 0x22e
push edx
push eax
call fcn.00471660
add esp, 0xc
lea ecx, [esp + 0x30c]
mov dword [esp + 0x88c], 0xffffffff
call fcn.0043b970
xor eax, eax
mov ecx, dword [esp + 0x884]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x880
ret