Function at 0x4110c0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp - 8]
push edi
sub esp, 0x8f4
mov dword [ebp - 0x88c], eax
lea eax, [ebp - 0x8ac]
mov dword [esp], eax
mov dword [ebp - 0x884], esp
mov dword [ebp - 0x894], 0x41e9c0
mov dword [ebp - 0x890], 0x41f24e
mov dword [ebp - 0x888], 0x4115a5
call fcn.0041a840
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x48]
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x8a8], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.SHLWAPI.DLL_PathFindExtensionA]
sub esp, 4
test eax, eax
mov dword [ebp - 0x8b8], eax
je 0x4114e0
lea ecx, [ebp - 0x46c]
mov dword [esp], ecx
mov dword [esp + 4], 0x42517f
call sub.KERNEL32.dll_lstrcpyA
mov eax, dword [ebp - 0x8b8]
lea edx, [ebp - 0x46c]
sub esp, 8
mov dword [esp], edx
mov dword [esp + 4], eax
call sub.KERNEL32.dll_lstrcatA
lea ecx, [ebp - 0x46c]
sub esp, 8
mov dword [esp], ecx
mov dword [esp + 4], 0x425193
call sub.KERNEL32.dll_lstrcatA
lea eax, [ebp - 0x46c]
sub esp, 8
mov dword [esp], eax
call sub.KERNEL32.dll_lstrlenA
sub esp, 4
lea eax, [ebp + eax - 0x46b]
mov dword [ebp - 0x8b4], eax
mov dword [esp + 4], 0x425195
mov dword [esp], eax
call sub.KERNEL32.dll_lstrcpyA
mov ecx, dword [ebp - 0x8b4]
mov edx, dword [ebp - 0x8b8]
sub esp, 8
mov dword [esp], ecx
mov dword [esp + 4], edx
call sub.KERNEL32.dll_lstrcatA
mov eax, dword [ebp - 0x8b4]
sub esp, 8
mov dword [esp], eax
call sub.KERNEL32.dll_lstrlenA
mov edx, dword [ebp - 0x8b4]
sub esp, 4
lea eax, [edx + eax + 1]
mov dword [ebp - 0x8bc], eax
mov dword [esp + 4], 0x425197
mov dword [esp], eax
call sub.KERNEL32.dll_lstrcpyA
mov ecx, dword [ebp - 0x8bc]
sub esp, 8
mov dword [esp], ecx
call sub.KERNEL32.dll_lstrlenA
mov edx, dword [ebp - 0x8bc]
sub esp, 4
lea eax, [edx + eax + 1]
mov dword [esp + 4], 0x4251a7
mov dword [esp], eax
call sub.KERNEL32.dll_lstrcpyA
sub esp, 8
lea ecx, [ebp - 0x6c]
xor eax, eax
mov dword [ebp - 0x8cc], ecx
mov edi, dword [ebp - 0x8cc]
mov ecx, 0x13
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 8]
mov eax, dword [eax + 0x48]
mov eax, dword [eax + 0x34]
test eax, eax
je 0x4114cd
mov dword [ebp - 0x68], edx
lea edx, [ebp - 0x46c]
mov dword [ebp - 0x6c], 0x4c
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x4c], 0x104
mov dword [ebp - 0x3c], 0x4251b9
mov dword [ebp - 0x38], 6
mov dword [ebp - 0x30], 0x425133
cmp byte [eax], 0
je 0x4114cd
lea edx, [ebp - 0x86c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [ebp - 0x8a8], 0xffffffff
call sub.KERNEL32.dll_lstrcpyA
lea ecx, [ebp - 0x86c]
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x50], ecx
sub esp, 8
mov dword [esp], eax
call sub.COMDLG32.DLL_GetSaveFileNameA
sub esp, 4
test eax, eax
jne 0x411508
lea eax, [ebp - 0x10]
mov dword [esp], eax
mov dword [ebp - 0x10], 0x400
mov dword [ebp - 0xc], 0
mov dword [esp + 4], 0x400
mov dword [ebp - 0x8a8], 0xffffffff
call fcn.004029c0
mov eax, dword [ebp - 0xc]
mov dword [esp + 8], 0x400
mov dword [esp], 0
mov dword [ebp - 0x8a8], 3
mov dword [esp + 4], eax
call sub.KERNEL32.dll_GetModuleFileNameA
mov eax, dword [ebp - 0xc]
sub esp, 0xc
mov ecx, dword [ebp + 8]
mov dword [esp + 4], eax
mov eax, dword [ecx + 0x80]
mov dword [esp], eax
call sub.KERNEL32.dll_lstrcmpiA
sub esp, 8
test eax, eax
jne 0x4114be
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], 0
mov dword [esp + 4], 1
mov dword [esp], eax
call fcn.004029c0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], 0
mov dword [esp + 4], 1
mov dword [esp], eax
mov dword [ebp - 0x8a8], 2
call fcn.004029c0
mov dword [ebp - 0x8b0], 1
jmp 0x4113b2
mov dword [esp], eax
call sub.KERNEL32.dll_CloseHandle
add dword [ebp - 0x8b0], 1
sub esp, 4
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], str._s
mov dword [ebp - 0x8a8], 1
mov dword [esp + 8], eax
lea eax, [ebp - 0x20]
mov dword [esp], eax
call fcn.00402bf0
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], str..exe
mov dword [esp], eax
call fcn.004026e0
test eax, eax
je 0x411414
mov byte [eax], 0
mov edx, dword [ebp - 0x8b0]
lea ecx, [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], str._s._d.exe
mov dword [esp], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
call fcn.00402bf0
mov eax, dword [ebp - 0x14]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], 0x80000000
mov dword [esp], eax
mov dword [ebp - 0x8a8], 1
call sub.KERNEL32.dll_CreateFileA
sub esp, 0x1c
cmp eax, 0xffffffff
jne 0x4113a0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x8a8], 1
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.KERNEL32.dll_MoveFileA
mov edx, dword [ebp + 8]
sub esp, 8
mov eax, dword [edx + 0x48]
mov edx, dword [ebp - 0x14]
mov byte [eax + 0x50], 1
add eax, 0x54
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00402d50
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4114af
mov dword [esp], eax
call fcn.0041dc40
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4114be
mov dword [esp], eax
call fcn.0041dc40
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4114cd
mov dword [esp], eax
call fcn.0041dc40
lea eax, [ebp - 0x8ac]
mov dword [esp], eax
call fcn.0041a7e0
mov edi, dword [ebp - 4]
leave
ret
lea eax, [ebp - 0x46c]
mov dword [esp + 4], str.All_files
mov dword [esp], eax
mov dword [ebp - 0x8a8], 0xffffffff
call sub.KERNEL32.dll_lstrcpyA
sub esp, 8
jmp 0x41122d
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x50]
mov dword [esp + 4], eax
mov eax, dword [edx + 0x80]
mov dword [ebp - 0x8a8], 0xffffffff
mov dword [esp], eax
call sub.KERNEL32.dll_lstrcpyA
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x50]
sub esp, 8
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040dd30
cmp eax, 1
mov eax, dword [ebp + 8]
sete byte [eax + 0x8d]
mov edx, eax
mov eax, dword [eax + 0x4c]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.0040dd30
mov ecx, dword [ebp + 8]
cmp eax, 1
mov eax, dword [ecx + 0x54]
sete byte [ecx + 0x8c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040dd30
cmp eax, 1
mov eax, dword [ebp + 8]
sete byte [eax + 0x8e]
mov edx, eax
mov eax, dword [eax + 0x80]
mov dword [esp + 4], eax
mov eax, dword [edx + 0x64]
mov dword [esp], eax
call sub.USER32.dll_SetWindowTextA
sub esp, 8
jmp 0x4112cf