Function at 0x436b4d
Capabilities:
Move file

Disassembly:
push 0x34
mov eax, 0x4f0c12
call fcn.004d2924
mov esi, ecx
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
mov ebx, 0x1042
push ebx
push dword [esi + 0x1d0]
call edi
cmp eax, 0xffffffff
je 0x436e21
push 0
push 0
push ebx
push dword [esi + 0x1d0]
call edi
push 0
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [esi + 0x1b0]
call fcn.004c64d2
and dword [ebp - 4], 0
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
mov ebx, 0x4ff58c
push ebx
call fcn.004247e9
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.004247e9
push ecx
mov byte [ebp - 4], 2
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], esp
mov ecx, esp
push eax
call fcn.00424ecd
push ecx
mov byte [ebp - 4], 3
lea eax, [esi + 0xa0]
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
call fcn.004247d4
mov byte [ebp - 4], 1
call fcn.00477ed0
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.004247d4
lea edi, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00477ed0
add esp, 0xc
push dword [esi + 0x20]
lea ebx, [ebp - 0x40]
call fcn.00433923
mov byte [ebp - 4], 6
push 0x2e
lea ecx, [ebp - 0x14]
call fcn.00437a74
cmp eax, 0xffffffff
je 0x436c4e
push 0x2e
lea ecx, [ebp - 0x14]
call fcn.00437a74
mov edi, eax
jmp 0x436c54
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.00478610
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.00433c40
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.0042201a
test bl, bl
jne 0x436dff
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x10]
call fcn.004247e9
xor edi, edi
push edi
push 0x5c
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
call fcn.00426fbe
cmp eax, 0xffffffff
jne 0x436dbd
push 0x504008
lea ecx, [ebp - 0x10]
call fcn.00424df8
test eax, eax
je 0x436dbd
push 0x507374
lea ecx, [ebp - 0x10]
call fcn.00424df8
test eax, eax
je 0x436dbd
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
mov ebx, 0x4ff58c
push ebx
call fcn.004247e9
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.004247e9
push ecx
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x10]
mov dword [ebp - 0x34], esp
mov ecx, esp
push eax
call fcn.00424ecd
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
lea ebx, [esi + 0xa0]
push ebx
mov byte [ebp - 4], 0xb
call fcn.004247d4
mov byte [ebp - 4], 9
call fcn.00477ed0
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.004247d4
lea edi, [ebp - 0x20]
mov byte [ebp - 4], 8
call fcn.00477ed0
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.0042201a
test edi, edi
jne 0x436de3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00477a80
mov eax, dword [eax]
pop ecx
pop ecx
push edi
push str.Error
push eax
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.0042201a
jmp 0x436dcf
push edi
push str.Error
push str.Illegal_character_found.
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0042201a
jmp 0x436c31
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
push ebx
call fcn.004247d4
call fcn.00436748
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0042201a
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 5
call fcn.004339e8
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0042201a
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0042201a
call fcn.004d29fc
ret