Function at 0x418230
Capabilities:
Move file

Disassembly:
mov eax, 0x2054
call fcn.00530230
mov eax, dword [0x58cb30]
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.0x41829e.457
mov edx, dword [edi]
cmp dword [ebx], edx
jne case.0x41829e.457
mov eax, dword [ebx + 8]
mov dword [esp + 0x10], 0
cmp eax, 0xfffffe64
ja 0x4185ea
je 0x418587
add eax, 0x1cc
cmp eax, 9
ja case.0x41829e.457
jmp dword [eax*4 + 0x4186b8]
push 0x800
lea eax, [esp + 0x64]
push eax
lea eax, [ebx + 0x38]
push eax
push esi
call fcn.00417e90
test al, al
je case.0x41829e.457
cmp word [esp + 0x60], 0
jne 0x4182e6
cmp byte [0x5943f4], 0
je 0x4182e6
push 0x800
push 0x5588cc
lea eax, [esp + 0x68]
push eax
call fcn.004bdae0
lea eax, [esp + 0x60]
push eax
push 1
call fcn.00414560
jmp case.0x41829e.457
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x418337
lea ecx, [esp + 0x60]
push ecx
push dword [eax + 8]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x418337
lea eax, [esp + 0x60]
push eax
call fcn.00491350
test al, al
je 0x418337
lea eax, [esp + 0x60]
push eax
call fcn.004a3770
cmp word [eax], 0
je 0x418337
mov byte [edi + 9], 1
jmp case.0x41829e.457
mov eax, 1
jmp 0x41869d
mov byte [edi + 9], 0
cmp dword [ebx + 0x1c], 0
je case.0x41829e.457
mov eax, dword [ebx + 0x30]
test eax, eax
je case.0x41829e.457
lea ecx, [esp + 0x1060]
push ecx
push dword [eax + 8]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je case.0x41829e.457
push 0x800
lea eax, [esp + 0x1064]
push eax
lea eax, [esp + 0x68]
push eax
call fcn.004bdae0
lea eax, [esp + 0x60]
push eax
call fcn.004a3770
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 0x4183a0
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 0x4183b7
sub ecx, ebx
sar ecx, 1
lea eax, [ecx + edx]
cmp eax, 0x800
jae case.0x41829e.457
push 0x800
push esi
lea eax, [esp + 0x68]
push eax
call fcn.004bda80
lea eax, [esp + 0x60]
push eax
call fcn.00491350
test al, al
je 0x41840a
push 0x50d
call fcn.004b7300
push eax
call fcn.005037c0
add esp, 4
jmp case.0x41829e.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.0x41829e.457
movzx eax, byte [edi + 8]
mov ecx, edi
push eax
call fcn.004190b0
push 1
lea eax, [esp + 0x64]
mov ecx, edi
push eax
call fcn.00418fb0
jmp case.0x41829e.457
mov edi, dword [ebx + 0x34]
test edi, edi
je case.0x41829e.457
mov eax, dword [edi]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x55770c]
call esi
mov eax, dword [0x600948]
push dword [edi + 4]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x14]
mov ecx, esi
call dword [0x55770c]
call esi
mov eax, dword [0x600948]
push dword [edi + 8]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x14]
mov ecx, esi
call dword [0x55770c]
call esi
mov eax, dword [0x600948]
push edi
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x14]
mov ecx, esi
call dword [0x55770c]
call esi
jmp case.0x41829e.457
push 0x800
lea eax, [esp + 0x1064]
push eax
lea eax, [ebx + 0x38]
push eax
push esi
call fcn.00417e90
test al, al
je case.0x41829e.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.0x41829e.457
test byte [ebx + 0x40], 0x40
jne case.0x41829e.457
mov ebp, dword [ebx + 0x5c]
test ebp, ebp
je case.0x41829e.457
mov eax, dword [0x58d784]
mov ecx, eax
inc eax
mov dword [0x58d784], eax
test ecx, ecx
jne case.0x41829e.457
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov esi, dword [eax + 0x14]
lea eax, [esp + 0x10]
push eax
push 0x56eca0
push 0
push dword [ebp + 4]
push ecx
mov ecx, esi
call dword [0x55770c]
call esi
test eax, eax
js 0x418551
push dword [ebx + 0x3c]
mov ecx, edi
push dword [ebp + 8]
push dword [esp + 0x18]
push dword [edi]
call fcn.00417370
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], 0x419070
mov dword [esp + 0x44], 0
call dword [sym.imp.USER32.dll_SendMessageW]
dec dword [0x58d784]
jmp case.0x41829e.457
movzx eax, word [ebx + 0xc]
mov ecx, eax
cmp ecx, 0x2e
je 0x4185de
cmp ecx, 0x71
je 0x4185b1
cmp eax, 0x74
jne case.0x41829e.457
movzx eax, byte [edi + 8]
mov ecx, edi
push eax
call fcn.004190b0
jmp case.0x41829e.457
push 0
push 9
push 0x110a
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je case.0x41829e.457
push eax
push 0
push 0x1141
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x41829e.457
mov ecx, edi
call fcn.00416ff0
jmp case.0x41829e.457
cmp eax, 0xfffffffb
jne case.0x41829e.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.0x41829e.457
push eax
push 9
push 0x110b
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
test byte [esp + 0x24], 4
je case.0x41829e.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.0x41829e.457
mov eax, dword [esp + 0x5c]
test eax, eax
je case.0x41829e.457
lea ecx, [esp + 0x14]
push ecx
push dword [eax + 4]
mov ecx, edi
push dword [eax]
push esi
call fcn.00417130
xor eax, eax
mov ecx, dword [esp + 0x2060]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00530218
add esp, 0x2054
ret 0x10