Function at 0x41b570
Capabilities:
Check if file exists
Move file

Disassembly:
sub esp, 0x82c
push ebx
push ebp
push esi
push edi
mov ebx, ecx
call fcn.0044d486
mov eax, dword [eax + 4]
xor esi, esi
mov dword [esp + 0x14], eax
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x43e]
mov word [esp + 0x43c], si
mov word [esp + 0x3c], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x3e]
push esi
rep stosd dword es:[edi], eax
mov ecx, dword [ebx + 0x248c]
push esi
push 0x1032
push ecx
stosw word es:[edi], ax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, esi
mov dword [esp + 0x38], eax
jg 0x41b5e3
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x82c
ret 0x10
mov esi, dword [esp + 0x840]
mov ebp, dword [esp + 0x848]
cmp esi, 3
je 0x41b657
test ebp, ebp
jne 0x41b609
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x82c
ret 0x10
cmp word [ebp], 0
jne 0x41b61f
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x82c
ret 0x10
cmp esi, 4
push ebp
jne 0x41b63e
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
jne 0x41b657
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x82c
ret 0x10
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x41b657
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x82c
ret 0x10
mov ecx, 6
xor eax, eax
lea edi, [esp + 0x1c]
mov edx, dword [ebx + 0x1c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov al, byte [esp + 0x844]
mov dword [esp + 0x18], edx
test al, al
mov dword [esp + 0x1c], esi
jne 0x41b681
or byte [esp + 0x28], 0x40
cmp esi, 1
je 0x41b68f
cmp esi, 4
jne 0x41b898
or byte [esp + 0x28], 0x20
cmp esi, 4
jne 0x41b898
mov ebp, dword [esp + 0x84c]
test ebp, ebp
jge 0x41b6b7
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x82c
ret 0x10
push 0
mov ecx, ebx
call fcn.004480c6
lea eax, [esp + 0x43c]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
dec ebp
mov byte [esp + 0x13], 0
mov edx, dword [ebx + 0x248c]
push 2
push ebp
push 0x100c
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebp, eax
mov al, byte [esp + 0x13]
test al, al
je 0x41b705
cmp ebp, dword [esp + 0x84c]
jge 0x41b880
test ebp, ebp
jge 0x41b71b
test al, al
jne 0x41b880
mov byte [esp + 0x13], 1
or ebp, 0xffffffff
jmp 0x41b6d9
push ebp
lea ecx, [ebx + 0x2470]
call fcn.00443c52
push 0
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [eax + 0x110]
call fcn.00411d00
mov esi, eax
test esi, esi
je 0x41b6d9
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x43c]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0x3c]
rep stosd dword es:[edi], eax
lea edi, [esi + 0x250]
lea ecx, [esp + 0x43c]
push edi
push ecx
call fcn.004330d3
add esp, 8
add esi, 0x2c
lea edx, [esp + 0x43c]
push esi
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [esp + 0x3c]
push edi
push eax
call fcn.004330d3
mov ecx, dword [esp + 0x850]
add esp, 8
lea edx, [esp + 0x3c]
push ecx
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp dword [esp + 0x38], 1
jle 0x41b7d0
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
lea ecx, [esp + 0x3c]
push eax
push ecx
call fcn.004330a9
add esp, 8
or byte [esp + 0x28], 8
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
jne 0x41b6d9
mov eax, dword [esp + 0x2a]
test eax, eax
jne 0x41b6d9
mov ecx, dword [esp + 0x2e]
test ecx, ecx
je 0x41b853
cmp dword [ecx], 1
jne 0x41b848
mov eax, dword [ecx + 4]
cmp dword [eax + 0xc], 0x200
jge 0x41b848
mov eax, dword [eax + 4]
cmp word [eax], 0
je 0x41b848
mov cl, byte [eax + 1]
test cl, cl
jne 0x41b82d
push 0x1ff
push eax
lea eax, [esp + 0x44]
push eax
call fcn.00432ab0
add esp, 0xc
jmp 0x41b844
lea ecx, [esp + 0x3c]
push 0x200
push ecx
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, dword [esp + 0x2e]
test ecx, ecx
je 0x41b853
push ecx
call dword [sym.imp.SHELL32.dll_SHFreeNameMappings]
lea edx, [esp + 0x3c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41b6d9
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push esi
call fcn.004330d3
add esp, 8
jmp 0x41b6d9
push 1
mov ecx, ebx
call fcn.004480c6
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x82c
ret 0x10
cmp esi, 3
je 0x41b8a1
mov dword [esp + 0x24], ebp
lea eax, [ebx + 0x2470]
test eax, eax
je 0x41b8ae
mov eax, dword [eax + 0x1c]
mov ecx, dword [esp + 0x14]
push 0
push 0
push 1
lea ebp, [ecx + 0x110]
push ebp
push eax
call fcn.00417d10
add esp, 0x14
mov ecx, ebx
mov dword [esp + 0x20], eax
push 0
call fcn.004480c6
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
sete byte [esp + 0x13]
cmp esi, 1
je 0x41b8f5
cmp esi, 3
jne 0x41b9a7
mov eax, dword [ebx + 0x248c]
push 2
push 0xffffffffffffffff
push 0x100c
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
test esi, esi
jl 0x41b9a7
push esi
lea ecx, [ebx + 0x2470]
call fcn.00443c52
push 0
push eax
mov ecx, ebp
call fcn.00411d00
mov edi, eax
test edi, edi
je 0x41b988
lea ecx, [edi + 0x250]
lea edx, [esp + 0x43c]
push ecx
push edx
call fcn.004330d3
add esp, 8
lea eax, [edi + 0x2c]
lea ecx, [esp + 0x43c]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [esp + 0x43c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41b988
push eax
mov eax, dword [ebx + 0x248c]
push esi
push 0x1008
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [edi + 0x478], 1
dec esi
mov ecx, dword [ebx + 0x248c]
push 2
push esi
push 0x100c
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
test esi, esi
jge 0x41b915
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push 1
mov ecx, ebx
call fcn.004480c6
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x82c
ret 0x10