Function at 0x4148a0
Capabilities:
Move file

Disassembly:
mov eax, 0x2054
call fcn.00502fa0
mov eax, dword [0x5513d4]
xor eax, esp
mov dword [esp + 0x2050], eax
cmp dword [esp + 0x205c], 0x4e
push ebx
mov ebx, dword [esp + 0x2068]
push esi
mov esi, dword [esp + 0x2060]
push edi
mov edi, ecx
je 0x4148dc
xor eax, eax
jmp 0x414ce5
mov eax, dword [ebx]
cmp eax, dword [edi]
jne 0x4148d5
mov eax, dword [ebx + 8]
mov dword [esp + 0xc], 0
push ebp
cmp eax, 0xfffffe64
ja 0x414c31
je 0x414bf7
add eax, 0x1cc
cmp eax, 9
ja case.0x41490d.457
jmp dword [eax*4 + 0x414d00]
push 0x800
lea eax, [esp + 0x64]
push eax
lea eax, [ebx + 0x38]
push eax
push esi
call fcn.00414560
test al, al
je case.0x41490d.457
cmp word [esp + 0x60], 0
jne 0x414955
cmp byte [0x558b34], 0
je 0x414955
push 0x800
push 0x524704
lea eax, [esp + 0x68]
push eax
call fcn.0049ce90
lea eax, [esp + 0x60]
push eax
push 1
call fcn.004114d0
jmp case.0x41490d.457
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x41499d
lea ecx, [esp + 0x60]
push ecx
push dword [eax + 8]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x41499d
lea eax, [esp + 0x60]
push eax
call fcn.00474160
test al, al
je 0x41499d
lea eax, [esp + 0x60]
push eax
call fcn.00485280
cmp word [eax], 0
jne 0x4149a7
mov eax, 1
jmp 0x414ce4
mov byte [edi + 9], 1
jmp case.0x41490d.457
mov byte [edi + 9], 0
cmp dword [ebx + 0x1c], 0
je case.0x41490d.457
mov eax, dword [ebx + 0x30]
test eax, eax
je case.0x41490d.457
lea ecx, [esp + 0x1060]
push ecx
push dword [eax + 8]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je case.0x41490d.457
push 0x800
lea eax, [esp + 0x1064]
push eax
lea eax, [esp + 0x68]
push eax
call fcn.0049ce90
lea eax, [esp + 0x60]
push eax
call fcn.00485280
xor ecx, ecx
lea edx, [esp + 0x60]
mov word [eax], cx
lea ecx, [edx + 2]
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x414a10
mov esi, dword [ebx + 0x1c]
sub edx, ecx
mov ecx, esi
sar edx, 1
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414a27
sub ecx, ebx
sar ecx, 1
lea eax, [ecx + edx]
cmp eax, 0x800
jae case.0x41490d.457
push 0x800
push esi
lea eax, [esp + 0x68]
push eax
call fcn.0049ce50
lea eax, [esp + 0x60]
push eax
call fcn.00474160
test al, al
je 0x414a7a
push 0x50d
call fcn.00496b20
push eax
call fcn.004db310
add esp, 4
jmp case.0x41490d.457
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x1064]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je case.0x41490d.457
movzx eax, byte [edi + 8]
mov ecx, edi
push eax
call fcn.004155d0
push 1
lea eax, [esp + 0x64]
mov ecx, edi
push eax
call fcn.004154b0
jmp case.0x41490d.457
mov edi, dword [ebx + 0x34]
test edi, edi
je case.0x41490d.457
mov eax, dword [edi]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x523720]
call esi
mov eax, dword [0x5b976c]
push dword [edi + 4]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x14]
mov ecx, esi
call dword [0x523720]
call esi
mov eax, dword [0x5b976c]
push dword [edi + 8]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x14]
mov ecx, esi
call dword [0x523720]
call esi
mov eax, dword [0x5b976c]
push edi
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x14]
mov ecx, esi
call dword [0x523720]
call esi
jmp case.0x41490d.457
push 0x800
lea eax, [esp + 0x1064]
push eax
lea eax, [ebx + 0x38]
push eax
push esi
call fcn.00414560
test al, al
je case.0x41490d.457
lea eax, [esp + 0x1060]
push eax
push 0
push 0x800b
push dword [edi]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x41490d.457
test byte [ebx + 0x40], 0x40
jne case.0x41490d.457
mov ebp, dword [ebx + 0x5c]
test ebp, ebp
je case.0x41490d.457
mov eax, dword [0x551e5c]
mov ecx, eax
inc eax
mov dword [0x551e5c], eax
test ecx, ecx
jne case.0x41490d.457
mov eax, dword [ebp]
lea ecx, [esp + 0x10]
push ecx
push 0x5381c4
push 0
mov esi, dword [eax]
push dword [ebp + 4]
push eax
mov esi, dword [esi + 0x14]
mov ecx, esi
call dword [0x523720]
call esi
test eax, eax
js 0x414bc1
push dword [ebx + 0x3c]
mov ecx, edi
push dword [ebp + 8]
push dword [esp + 0x18]
push dword [edi]
call fcn.00413b70
mov eax, dword [ebx + 0x3c]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
push eax
push 0
push 0x1115
push dword [edi]
mov dword [esp + 0x40], 0x415570
mov dword [esp + 0x44], 0
call dword [sym.imp.USER32.dll_SendMessageW]
dec dword [0x551e5c]
jmp case.0x41490d.457
movzx eax, word [ebx + 0xc]
cmp eax, 0x2e
je 0x414c27
cmp eax, 0x71
je 0x414c1d
cmp eax, 0x74
jne case.0x41490d.457
movzx eax, byte [edi + 8]
push eax
call fcn.004155d0
jmp case.0x41490d.457
call fcn.00415270
jmp case.0x41490d.457
call fcn.004137f0
jmp case.0x41490d.457
cmp eax, 0xfffffffb
jne case.0x41490d.457
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1c]
push eax
push 0
push 0x1111
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x28]
test eax, eax
je case.0x41490d.457
push eax
push 9
push 0x110b
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
test byte [esp + 0x24], 4
je case.0x41490d.457
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x38]
push eax
push 0
push 0x113e
push dword [edi]
mov dword [esp + 0x48], 4
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je case.0x41490d.457
mov eax, dword [esp + 0x5c]
test eax, eax
je case.0x41490d.457
lea ecx, [esp + 0x14]
push ecx
push dword [eax + 4]
mov ecx, edi
push dword [eax]
push esi
call fcn.00413940
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x205c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00502f8e
add esp, 0x2054
ret 0x10