Function at 0x414c10
Capabilities:
Move file

Disassembly:
sub esp, 0xa54
mov eax, dword [0x5c96a4]
xor eax, esp
mov dword [esp + 0xa4c], eax
push ebx
push ebp
push esi
push edi
push 0
mov ebx, ecx
mov eax, dword [ebx + 0x1130]
push 9
lea ebp, [ebx + 0x1110]
push 0x110a
push eax
mov dword [esp + 0x28], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp + 0x120]
test ecx, ecx
je 0x41507e
mov edx, dword [ecx]
mov dword [esp + 0x14], edx
cmp dword [edx], eax
je 0x414c6e
mov ecx, dword [ecx + 4]
test ecx, ecx
jne 0x414c58
jmp 0x41507e
mov edx, dword [edx + 0x18]
mov eax, dword [0x5e1988]
push 0
push ecx
mov dword [esp + 0x24], edx
lea esi, [esp + 0x38]
mov dword [esp + 0x18], esp
mov edi, esp
cmp edx, 2
je 0x414c91
mov eax, dword [0x5e1980]
add eax, 0xfffffff0
push eax
call fcn.0040a200
add esp, 4
add eax, 0x10
push ebx
mov dword [edi], eax
call fcn.00421ac0
add esp, 0xc
test eax, eax
je 0x41507e
mov edi, 0x2e
lea edx, [esp + 0x30]
call fcn.00415360
test eax, eax
je 0x414cca
xor ecx, ecx
mov word [eax], cx
mov esi, dword [esp + 0x14]
mov eax, dword [esi]
mov edx, dword [ebp + 0x20]
push eax
push 3
push 0x110a
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x414cf6
mov dword [esp + 0x10], 0xffff0000
mov eax, dword [esp + 0x10]
push 0
lea ecx, [esp + 0x34]
push ecx
push 0x4126a0
push eax
mov ecx, ebp
call fcn.0043fd00
test eax, eax
je 0x414d21
push ebx
mov ecx, 0x5e1974
call fcn.00421920
add esp, 4
jmp 0x41507e
mov ecx, dword [esi]
lea edx, [esp + 0x440]
push edx
mov ebx, ebp
call fcn.00418f00
add esp, 4
test eax, eax
jne 0x414d50
mov eax, dword [esp + 0x18]
push eax
mov ecx, str.Rename_failed.
call fcn.004219e0
add esp, 4
jmp 0x41507e
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
cmp esi, 2
jne 0x414db0
mov ecx, dword [ebx]
push ecx
mov ecx, ebp
call fcn.0044f8de
test eax, eax
jne 0x414db0
mov eax, dword [ebp + 0x120]
mov ebx, dword [ebx]
test eax, eax
je 0x41507e
jmp 0x414d80
mov ecx, dword [eax]
cmp dword [ecx], ebx
je 0x414d92
mov eax, dword [eax + 4]
test eax, eax
jne 0x414d80
jmp 0x41507e
push 0
push 0
push 0
push 0
push 0
lea edx, [esp + 0x44]
push edx
push 1
push ebx
mov ecx, ebp
call fcn.0044f90e
jmp 0x41507e
mov edi, 0x5c
lea edx, [esp + 0x440]
call fcn.00415360
mov edi, eax
test edi, edi
je 0x41507e
add edi, 2
push edi
push 0x5996c0
push 0x103
lea eax, [esp + 0x85c]
push 0x104
push eax
call fcn.005403d0
xor ecx, ecx
mov word [edi], cx
add esp, 0x14
xor edi, edi
cmp esi, 1
jne 0x414e75
mov edx, dword [ebx + 0x10]
call fcn.0043b220
test eax, eax
je 0x41507e
lea edx, [esp + 0x30]
push edx
push 0x5996c0
push 0x27
add eax, 0x14
push 0x28
push eax
call fcn.005403d0
mov eax, dword [ebx]
add esp, 0x14
push ebp
push edi
push ebx
push eax
call fcn.004192c0
add esp, 0x10
lea eax, [esp + 0x850]
push eax
lea ecx, [esp + 0x444]
push ecx
push 0x59acec
push 0x103
lea edx, [esp + 0x658]
push 0x104
push edx
call fcn.005403d0
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x45c]
push ecx
push 0x59b5b4
jmp 0x414f5b
cmp esi, 2
jne 0x414f1d
mov esi, dword [ebx]
mov edi, ebp
call fcn.00418e00
mov dword [esp + 0x14], eax
test eax, eax
je 0x414e9d
mov ecx, dword [esp + 0x18]
mov edi, dword [ebx]
push ecx
mov esi, ebp
call fcn.00418d80
lea edx, [esp + 0x850]
push edx
mov eax, edx
push eax
lea ecx, [esp + 0x448]
push ecx
push str._s_s_s.png
push 0x103
lea edx, [esp + 0x65c]
push 0x104
push edx
call fcn.005403d0
add esp, 0x1c
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x854]
push ecx
lea edx, [esp + 0x448]
push edx
push str._s_s_s.png
push 0x103
lea eax, [esp + 0x24c]
push 0x104
push eax
call fcn.005403d0
add esp, 0x1c
lea ecx, [esp + 0x238]
push ecx
lea edx, [esp + 0x64c]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x850]
push eax
lea ecx, [esp + 0x444]
push ecx
push 0x59acec
push 0x103
lea edx, [esp + 0x658]
push 0x104
push edx
call fcn.005403d0
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x45c]
push ecx
push 0x59acec
push 0x103
lea edx, [esp + 0x260]
push 0x104
push edx
call fcn.005403d0
add esp, 0x30
lea eax, [esp + 0x238]
push eax
lea ecx, [esp + 0x64c]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x414fce
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Rename_failed._err0x_x
push 0x103
lea edx, [esp + 0x654]
push 0x104
push edx
call fcn.005403d0
mov eax, dword [esp + 0x2c]
add esp, 0x14
push eax
lea ecx, [esp + 0x64c]
call fcn.004219e0
add esp, 4
jmp 0x41507e
test edi, edi
je 0x415097
lea ecx, [esp + 0x30]
push ecx
mov edx, ecx
push edx
lea eax, [esp + 0x448]
push eax
push str._s_s_s.png
push 0x103
lea ecx, [esp + 0x24c]
push 0x104
push ecx
call fcn.005403d0
mov ebx, dword [esp + 0x2c]
add esp, 0x1c
push 5
push 0
push 0
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x248]
push eax
push 1
push 0
push ebp
call fcn.0043fa40
cmp dword [esp + 0x1c], 2
mov esi, eax
jne 0x41507e
lea edx, [esp + 0x238]
push edx
mov ecx, esi
mov ebx, ebp
call fcn.00418f00
mov ecx, dword [0x5dfe10]
xor eax, eax
add esp, 4
lea edx, [esp + 0x20]
mov dword [esp + 0x28], eax
push edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x23c]
push 1
push eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], esi
mov dword [esp + 0x38], ecx
call fcn.00419400
add esp, 0xc
mov ecx, dword [esp + 0xa5c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0053fb0e
add esp, 0xa54
ret
mov eax, dword [ebp + 0x120]
mov ebx, dword [ebx]
test eax, eax
je 0x41507e
mov ecx, dword [eax]
cmp dword [ecx], ebx
je 0x4150b2
mov eax, dword [eax + 4]
test eax, eax
jne 0x4150a3
jmp 0x41507e
push 0
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x44]
push ecx
push 1
push ebx
mov ecx, ebp
call fcn.0044f90e
jmp 0x41507e