Function at 0x415650
Capabilities:
Move file

Disassembly:
mov eax, 0x2054
call fcn.0051dcc0
mov eax, dword [0x572844]
xor eax, esp
mov dword [esp + 0x2050], eax
cmp dword [esp + 0x205c], 0x4e
push ebx
mov ebx, dword [esp + 0x2068]
push ebp
push esi
mov esi, dword [esp + 0x2064]
push edi
mov edi, ecx
jne case.0x4156be.457
mov edx, dword [edi]
cmp dword [ebx], edx
jne case.0x4156be.457
mov eax, dword [ebx + 8]
mov dword [esp + 0x10], 0
cmp eax, 0xfffffe64
ja 0x415a0a
je 0x4159a7
add eax, 0x1cc
cmp eax, 9
ja case.0x4156be.457
jmp dword [eax*4 + 0x415ad8]
push 0x800
lea eax, [esp + 0x64]
push eax
lea eax, [ebx + 0x38]
push eax
push esi
call fcn.004152b0
test al, al
je case.0x4156be.457
cmp word [esp + 0x60], 0
jne 0x415706
cmp byte [0x57a0e0], 0
je 0x415706
push 0x800
push 0x5428ac
lea eax, [esp + 0x68]
push eax
call fcn.004b0360
lea eax, [esp + 0x60]
push eax
push 1
call fcn.00411f50
jmp case.0x4156be.457
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x415757
lea ecx, [esp + 0x60]
push ecx
push dword [eax + 8]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x415757
lea eax, [esp + 0x60]
push eax
call fcn.004837b0
test al, al
je 0x415757
lea eax, [esp + 0x60]
push eax
call fcn.00495850
cmp word [eax], 0
je 0x415757
mov byte [edi + 9], 1
jmp case.0x4156be.457
mov eax, 1
jmp 0x415abd
mov byte [edi + 9], 0
cmp dword [ebx + 0x1c], 0
je case.0x4156be.457
mov eax, dword [ebx + 0x30]
test eax, eax
je case.0x4156be.457
lea ecx, [esp + 0x1060]
push ecx
push dword [eax + 8]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je case.0x4156be.457
push 0x800
lea eax, [esp + 0x1064]
push eax
lea eax, [esp + 0x68]
push eax
call fcn.004b0360
lea eax, [esp + 0x60]
push eax
call fcn.00495850
xor ecx, ecx
lea edx, [esp + 0x60]
mov word [eax], cx
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4157c0
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 0x4157d7
sub ecx, ebx
sar ecx, 1
lea eax, [ecx + edx]
cmp eax, 0x800
jae case.0x4156be.457
push 0x800
push esi
lea eax, [esp + 0x68]
push eax
call fcn.004b0300
lea eax, [esp + 0x60]
push eax
call fcn.004837b0
test al, al
je 0x41582a
push 0x50d
call fcn.004a9c90
push eax
call fcn.004f27d0
add esp, 4
jmp case.0x4156be.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.0x4156be.457
movzx eax, byte [edi + 8]
mov ecx, edi
push eax
call fcn.004164d0
push 1
lea eax, [esp + 0x64]
mov ecx, edi
push eax
call fcn.004163d0
jmp case.0x4156be.457
mov edi, dword [ebx + 0x34]
test edi, edi
je case.0x4156be.457
mov eax, dword [edi]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x541740]
call esi
mov eax, dword [0x5e3c10]
push dword [edi + 4]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x14]
mov ecx, esi
call dword [0x541740]
call esi
mov eax, dword [0x5e3c10]
push dword [edi + 8]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x14]
mov ecx, esi
call dword [0x541740]
call esi
mov eax, dword [0x5e3c10]
push edi
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x14]
mov ecx, esi
call dword [0x541740]
call esi
jmp case.0x4156be.457
push 0x800
lea eax, [esp + 0x1064]
push eax
lea eax, [ebx + 0x38]
push eax
push esi
call fcn.004152b0
test al, al
je case.0x4156be.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.0x4156be.457
test byte [ebx + 0x40], 0x40
jne case.0x4156be.457
mov ebp, dword [ebx + 0x5c]
test ebp, ebp
je case.0x4156be.457
mov eax, dword [0x573474]
mov ecx, eax
inc eax
mov dword [0x573474], eax
test ecx, ecx
jne case.0x4156be.457
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov esi, dword [eax + 0x14]
lea eax, [esp + 0x10]
push eax
push 0x557ad4
push 0
push dword [ebp + 4]
push ecx
mov ecx, esi
call dword [0x541740]
call esi
test eax, eax
js 0x415971
push dword [ebx + 0x3c]
mov ecx, edi
push dword [ebp + 8]
push dword [esp + 0x18]
push dword [edi]
call fcn.00414790
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], 0x416490
mov dword [esp + 0x44], 0
call dword [sym.imp.USER32.dll_SendMessageW]
dec dword [0x573474]
jmp case.0x4156be.457
movzx eax, word [ebx + 0xc]
mov ecx, eax
cmp ecx, 0x2e
je 0x4159fe
cmp ecx, 0x71
je 0x4159d1
cmp eax, 0x74
jne case.0x4156be.457
movzx eax, byte [edi + 8]
mov ecx, edi
push eax
call fcn.004164d0
jmp case.0x4156be.457
push 0
push 9
push 0x110a
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je case.0x4156be.457
push eax
push 0
push 0x1141
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x4156be.457
mov ecx, edi
call fcn.00414410
jmp case.0x4156be.457
cmp eax, 0xfffffffb
jne case.0x4156be.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 ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
push 0
push 0x1111
push dword [edi]
mov dword [esp + 0x30], ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x28]
test eax, eax
je case.0x4156be.457
push eax
push 9
push 0x110b
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
test byte [esp + 0x24], 4
je case.0x4156be.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.0x4156be.457
mov eax, dword [esp + 0x5c]
test eax, eax
je case.0x4156be.457
lea ecx, [esp + 0x14]
push ecx
push dword [eax + 4]
mov ecx, edi
push dword [eax]
push esi
call fcn.00414550
xor eax, eax
mov ecx, dword [esp + 0x2060]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0051dca8
add esp, 0x2054
ret 0x10