Function at 0x4352aa
Capabilities:
Move file

Disassembly:
push 0x34
mov eax, 0x4f1c92
call fcn.004d37c4
mov esi, ecx
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
mov ebx, 0x1042
push ebx
push dword [esi + 0x1d4]
call edi
cmp eax, 0xffffffff
je 0x43557d
push 0
push 0
push ebx
push dword [esi + 0x1d4]
call edi
push 0
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [esi + 0x1b4]
call fcn.004c7248
and dword [ebp - 4], 0
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
mov ebx, 0x50057c
push ebx
call fcn.00422827
push ecx
mov byte [ebp - 4], 1
mov edi, esp
mov dword [ebp - 0x20], esp
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push ebx
call fcn.00422827
push ecx
mov byte [ebp - 4], 2
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], esp
mov ecx, esp
push eax
call fcn.00422f20
push ecx
mov byte [ebp - 4], 3
lea eax, [esi + 0xa0]
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
call fcn.00422812
mov byte [ebp - 4], 1
call fcn.004770a0
mov byte [ebp - 4], 4
mov eax, dword [esi + 0xa4]
add esp, 8
add eax, 8
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
call fcn.00422812
lea edi, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.004770a0
add esp, 0xc
push dword [esi + 0x20]
lea ebx, [ebp - 0x40]
call fcn.00431bef
mov byte [ebp - 4], 6
push 0x2e
lea ecx, [ebp - 0x14]
call fcn.004364f7
cmp eax, 0xffffffff
je 0x4353ab
push 0x2e
lea ecx, [ebp - 0x14]
call fcn.004364f7
mov edi, eax
jmp 0x4353b1
mov eax, dword [ebp - 0x14]
mov edi, dword [eax - 0xc]
push dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
push str.New_name_for__s:
push eax
call fcn.004777e0
add esp, 0xc
push edi
mov byte [ebp - 4], 7
push dword [ebp - 0x14]
mov eax, dword [eax]
push eax
push str.Rename
lea eax, [ebp - 0x40]
push eax
call fcn.00431f0c
mov ebx, eax
neg ebx
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1c]
sbb bl, bl
add ecx, 0xfffffff0
inc bl
call fcn.0042001a
test bl, bl
jne 0x43555b
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x10]
call fcn.00422827
push 0
push 0x5c
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
call fcn.00424fc5
cmp eax, 0xffffffff
jne 0x435519
push 0x5050b0
lea ecx, [ebp - 0x10]
call fcn.00422e4b
test eax, eax
je 0x435519
push 0x508524
lea ecx, [ebp - 0x10]
call fcn.00422e4b
test eax, eax
je 0x435519
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
mov ebx, 0x50057c
push ebx
call fcn.00422827
push ecx
mov byte [ebp - 4], 9
mov edi, esp
mov dword [ebp - 0x2c], esp
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push ebx
call fcn.00422827
push ecx
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x10]
mov dword [ebp - 0x34], esp
mov ecx, esp
push eax
call fcn.00422f20
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
lea ebx, [esi + 0xa0]
push ebx
mov byte [ebp - 4], 0xb
call fcn.00422812
mov byte [ebp - 4], 9
call fcn.004770a0
mov byte [ebp - 4], 0xc
mov eax, dword [esi + 0xa4]
add esp, 8
add eax, 8
mov ecx, esp
mov dword [ebp - 0x38], esp
push eax
call fcn.00422812
lea edi, [ebp - 0x20]
mov byte [ebp - 4], 8
call fcn.004770a0
add esp, 0xc
push dword [eax]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov edi, eax
call fcn.0042001a
test edi, edi
jne 0x43553f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00476c50
mov eax, dword [eax]
pop ecx
pop ecx
push str.Error
push eax
push esi
xor eax, eax
call fcn.0043644c
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.0042001a
jmp 0x43552b
push str.Error
push str.Illegal_character_found.
push esi
xor eax, eax
call fcn.0043644c
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0042001a
jmp 0x43538e
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
push ebx
call fcn.00422812
call fcn.00434ea5
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0042001a
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 5
call fcn.00431cb4
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0042001a
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0042001a
call fcn.004d389c
ret