Function at 0x436b45
Capabilities:
Move file

Disassembly:
push 0x34
mov eax, 0x4f0429
call fcn.004d2094
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 0x436e19
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.004c5c3f
and dword [ebp - 4], 0
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
mov ebx, 0x4fe58c
push ebx
call fcn.004247ea
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.004247ea
push ecx
mov byte [ebp - 4], 2
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], esp
mov ecx, esp
push eax
call fcn.00424eef
push ecx
mov byte [ebp - 4], 3
lea eax, [esi + 0xa0]
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
call fcn.004247d5
mov byte [ebp - 4], 1
call fcn.00477ad0
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.004247d5
lea edi, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00477ad0
add esp, 0xc
push dword [esi + 0x20]
lea ebx, [ebp - 0x40]
call fcn.0043391b
mov byte [ebp - 4], 6
push 0x2e
lea ecx, [ebp - 0x14]
call fcn.00437a6c
cmp eax, 0xffffffff
je 0x436c46
push 0x2e
lea ecx, [ebp - 0x14]
call fcn.00437a6c
mov edi, eax
jmp 0x436c4c
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.00478210
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.00433c38
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 0x436df7
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x10]
call fcn.004247ea
xor edi, edi
push edi
push 0x5c
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
call fcn.00426fbf
cmp eax, 0xffffffff
jne 0x436db5
push 0x502ff0
lea ecx, [ebp - 0x10]
call fcn.00424e1a
test eax, eax
je 0x436db5
push 0x50635c
lea ecx, [ebp - 0x10]
call fcn.00424e1a
test eax, eax
je 0x436db5
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
mov ebx, 0x4fe58c
push ebx
call fcn.004247ea
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.004247ea
push ecx
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x10]
mov dword [ebp - 0x34], esp
mov ecx, esp
push eax
call fcn.00424eef
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
lea ebx, [esi + 0xa0]
push ebx
mov byte [ebp - 4], 0xb
call fcn.004247d5
mov byte [ebp - 4], 9
call fcn.00477ad0
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.004247d5
lea edi, [ebp - 0x20]
mov byte [ebp - 4], 8
call fcn.00477ad0
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 0x436ddb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00477680
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 0x436dc7
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 0x436c29
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
push ebx
call fcn.004247d5
call fcn.00436740
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0042201a
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 5
call fcn.004339e0
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0042201a
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0042201a
call fcn.004d216c
ret