Function at 0x414b40
Capabilities:
Move file

Disassembly:
mov eax, 0x2054
call fcn.00507730
mov eax, dword [0x5755c4]
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 0x414a6c
xor eax, eax
jmp 0x414e75
mov eax, dword [ebx]
cmp eax, dword [edi]
jne 0x414a65
mov eax, dword [ebx + 8]
mov dword [esp + 0xc], 0
push ebp
cmp eax, 0xfffffe64
ja 0x414dc1
je 0x414d87
add eax, 0x1cc
cmp eax, 9
ja case.0x414a9d.457
jmp dword [eax*4 + 0x414e90]
push 0x800
lea eax, [esp + 0x64]
push eax
lea eax, [ebx + 0x38]
push eax
push esi
call fcn.004146f0
test al, al
je case.0x414a9d.457
cmp word [esp + 0x60], 0
jne 0x414ae5
cmp byte [0x57dfb4], 0
je 0x414ae5
push 0x800
push 0x541db4
lea eax, [esp + 0x68]
push eax
call fcn.0049dc20
lea eax, [esp + 0x60]
push eax
push 1
call fcn.00411650
jmp case.0x414a9d.457
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x414b2d
lea ecx, [esp + 0x60]
push ecx
push dword [eax + 8]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x414b2d
lea eax, [esp + 0x60]
push eax
call fcn.004750c0
test al, al
je 0x414b2d
lea eax, [esp + 0x60]
push eax
call fcn.00486220
cmp word [eax], 0
jne 0x414b37
mov eax, 1
jmp 0x414e74
mov byte [edi + 9], 1
jmp case.0x414a9d.457
mov byte [edi + 9], 0
cmp dword [ebx + 0x1c], 0
je case.0x414a9d.457
mov eax, dword [ebx + 0x30]
test eax, eax
je case.0x414a9d.457
lea ecx, [esp + 0x1060]
push ecx
push dword [eax + 8]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je case.0x414a9d.457
push 0x800
lea eax, [esp + 0x1064]
push eax
lea eax, [esp + 0x68]
push eax
call fcn.0049dc20
lea eax, [esp + 0x60]
push eax
call fcn.00486220
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 0x414ba0
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 0x414bb7
sub ecx, ebx
sar ecx, 1
lea eax, [ecx + edx]
cmp eax, 0x800
jae case.0x414a9d.457
push 0x800
push esi
lea eax, [esp + 0x68]
push eax
call fcn.0049dbe0
lea eax, [esp + 0x60]
push eax
call fcn.004750c0
test al, al
je 0x414c0a
push 0x50d
call fcn.00497960
push eax
call fcn.004dcc30
add esp, 4
jmp case.0x414a9d.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.0x414a9d.457
movzx eax, byte [edi + 8]
mov ecx, edi
push eax
call fcn.00415760
push 1
lea eax, [esp + 0x64]
mov ecx, edi
push eax
call fcn.00415640
jmp case.0x414a9d.457
mov edi, dword [ebx + 0x34]
test edi, edi
je case.0x414a9d.457
mov eax, dword [edi]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x540780]
call esi
mov eax, dword [0x5e4c48]
push dword [edi + 4]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x14]
mov ecx, esi
call dword [0x540780]
call esi
mov eax, dword [0x5e4c48]
push dword [edi + 8]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x14]
mov ecx, esi
call dword [0x540780]
call esi
mov eax, dword [0x5e4c48]
push edi
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x14]
mov ecx, esi
call dword [0x540780]
call esi
jmp case.0x414a9d.457
push 0x800
lea eax, [esp + 0x1064]
push eax
lea eax, [ebx + 0x38]
push eax
push esi
call fcn.004146f0
test al, al
je case.0x414a9d.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.0x414a9d.457
test byte [ebx + 0x40], 0x40
jne case.0x414a9d.457
mov ebp, dword [ebx + 0x5c]
test ebp, ebp
je case.0x414a9d.457
mov eax, dword [0x577330]
mov ecx, eax
inc eax
mov dword [0x577330], eax
test ecx, ecx
jne case.0x414a9d.457
mov eax, dword [ebp]
lea ecx, [esp + 0x10]
push ecx
push 0x555f20
push 0
mov esi, dword [eax]
push dword [ebp + 4]
push eax
mov esi, dword [esi + 0x14]
mov ecx, esi
call dword [0x540780]
call esi
test eax, eax
js 0x414d51
push dword [ebx + 0x3c]
mov ecx, edi
push dword [ebp + 8]
push dword [esp + 0x18]
push dword [edi]
call fcn.00413d00
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], 0x415700
mov dword [esp + 0x44], 0
call dword [sym.imp.USER32.dll_SendMessageW]
dec dword [0x577330]
jmp case.0x414a9d.457
movzx eax, word [ebx + 0xc]
cmp eax, 0x2e
je 0x414db7
cmp eax, 0x71
je 0x414dad
cmp eax, 0x74
jne case.0x414a9d.457
movzx eax, byte [edi + 8]
push eax
call fcn.00415760
jmp case.0x414a9d.457
call fcn.00415400
jmp case.0x414a9d.457
call fcn.00413970
jmp case.0x414a9d.457
cmp eax, 0xfffffffb
jne case.0x414a9d.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.0x414a9d.457
push eax
push 9
push 0x110b
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
test byte [esp + 0x24], 4
je case.0x414a9d.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.0x414a9d.457
mov eax, dword [esp + 0x5c]
test eax, eax
je case.0x414a9d.457
lea ecx, [esp + 0x14]
push ecx
push dword [eax + 4]
mov ecx, edi
push dword [eax]
push esi
call fcn.00413ac0
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x205c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00507712
add esp, 0x2054
ret 0x10