Function at 0x42e140
Capabilities:
Move file

Disassembly:
sub esp, 0x554
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x568]
mov dword [esp + 0x10], 4
mov dword [esp + 0x14], eax
lea eax, [ebp + 0x3c]
test eax, eax
mov dword [esp + 0x18], 0
je 0x42e17e
mov eax, dword [eax + 0x1c]
lea ecx, [esp + 0x10]
push ecx
push 0
push 0x1005
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, dword [esp + 0x30]
mov edx, dword [esp + 0x56c]
mov esi, eax
lea eax, [esp + 0x3c]
neg esi
sbb esi, esi
push edx
and esi, ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push eax
call ebx
mov edx, dword [esi + 0x34]
lea ecx, [esp + 0x144]
push 0x105
push ecx
push edx
call sub.comdlg32.dll_GetFileTitleA
lea eax, [esp + 0x144]
push 0x2e
push eax
call fcn.004a7c73
mov edi, eax
mov eax, dword [esi + 0x34]
push 0x2e
push eax
call fcn.004a7c73
add esp, 0x10
test eax, eax
je 0x42e20f
test edi, edi
je 0x42e203
mov edx, dword [esi + 0x34]
mov ecx, eax
sub ecx, edx
lea edx, [esp + 0x144]
sub edi, edx
cmp edi, ecx
je 0x42e20f
push eax
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0x24c]
push 0
push ecx
mov ecx, esi
call fcn.004257f0
lea edx, [esp + 0x24c]
lea eax, [esp + 0x354]
push edx
push eax
call ebx
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x354]
push ecx
push edx
call fcn.00471a00
add esp, 4
push eax
call ebx
lea eax, [esp + 0x38]
lea ecx, [esp + 0x45c]
push eax
push ecx
lea edx, [esp + 0x35c]
push 0x105
push edx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
mov ecx, dword [ebp + 0x78]
push esi
call fcn.00417240
lea eax, [esp + 0x45c]
lea ecx, [esp + 0x24c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
je 0x42e40f
lea edx, [esp + 0x3c]
mov ecx, esi
push edx
call fcn.004252f0
mov ecx, esi
mov dword [esp + 0x18], 0
call fcn.00425560
lea ebx, [ebp + 0x3c]
mov dword [esp + 0x24], eax
test ebx, ebx
jne 0x42e2bb
xor eax, eax
jmp 0x42e2be
mov eax, dword [ebx + 0x1c]
mov edx, dword [esp + 0x568]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x10]
push ecx
push edx
push 0x102e
push eax
call edi
mov ecx, dword [ebp + 0x78]
push esi
call fcn.004165b0
mov ecx, esi
call fcn.00425340
test eax, eax
je 0x42e2f4
mov ecx, esi
call fcn.00425540
mov eax, dword [0x4f83ec]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov al, byte [edx + 0x22c]
test al, al
je 0x42e32c
push 0
mov ecx, ebp
call fcn.0042ee00
test ebx, ebx
jne 0x42e31e
xor eax, eax
jmp 0x42e321
mov eax, dword [ebx + 0x1c]
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, esi
call fcn.00425db0
test eax, eax
je 0x42e362
mov eax, dword [ebp + 0x78]
lea ecx, [eax + 0x2548]
mov eax, dword [eax + 0x2548]
call dword [eax + 0xc8]
test eax, eax
je 0x42e362
mov ecx, dword [ebp + 0x78]
push 1
push 0
add ecx, 0x2548
call fcn.00434c10
test ebx, ebx
jne 0x42e36a
xor eax, eax
jmp 0x42e36d
mov eax, dword [ebx + 0x1c]
push 1
push 0xffffffffffffffff
push 0x100c
push eax
call edi
mov edx, eax
cmp edx, 0xffffffff
jne 0x42e384
xor eax, eax
jmp 0x42e3c5
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
test ebx, ebx
mov dword [esp + 0x10], 4
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
je 0x42e3a8
mov ebx, dword [ebx + 0x1c]
lea ecx, [esp + 0x10]
push ecx
push 0
push 0x1005
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x30]
neg eax
sbb eax, eax
and eax, ecx
mov edi, dword [ebp + 0xf8]
xor ecx, ecx
cmp eax, edi
mov dword [ebp + 0xf8], eax
setne cl
push ecx
mov ecx, dword [ebp + 0x78]
call fcn.00417180
mov eax, dword [ebp + 0x78]
dec dword [eax + 0x16c]
call fcn.00471a30
cmp eax, 1
jne 0x42e3fd
mov ebp, dword [ebp + 0x78]
dec dword [ebp + 0x16c]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x554
ret 8
mov eax, dword [ebp + 0x78]
test eax, eax
je 0x42e419
mov eax, dword [eax + 0x1c]
mov edx, dword [0x4f5e08]
push 0x224
push eax
push edx
call fcn.00471660
mov eax, dword [ebp + 0x1c]
add esp, 0xc
push 0
push 0x4e88
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x554
ret 8