Function at 0x427989
Capabilities:
Move file

Disassembly:
mov eax, 0x185c
call fcn.0049ebb0
mov eax, dword [0x4c03a0]
xor eax, esp
mov dword [esp + 0x1858], eax
cmp dword [esp + 0x1864], 0x4e
push ebp
mov ebp, dword [esp + 0x1864]
push esi
mov esi, dword [esp + 0x1874]
push edi
mov edi, ecx
mov dword [esp + 0xc], edi
je 0x4278a0
xor eax, eax
jmp 0x427f23
mov ecx, dword [edi]
cmp dword [esi], ecx
jne 0x427899
mov eax, dword [esi + 8]
push ebx
mov dword [esp + 0x14], 0
cmp eax, 0xfffffffb
ja case.0x4278cf.408
je 0x427e79
add eax, 0x19c
cmp eax, 0xa
ja case.0x4278cf.408
jmp dword [eax*4 + 0x427f40]
movzx eax, word [esi + 0xc]
cmp eax, 0x2e
je 0x42790a
cmp eax, 0x71
je 0x4278fe
cmp eax, 0x74
jne case.0x4278cf.408
movzx eax, byte [edi + 8]
push eax
mov ecx, edi
call fcn.00427550
jmp case.0x4278cf.408
mov ecx, edi
call fcn.00426990
jmp case.0x4278cf.408
mov ecx, edi
call fcn.00427630
jmp case.0x4278cf.408
mov esi, dword [esi + 0x30]
test esi, esi
je 0x427976
xor ecx, ecx
lea edx, [esp + 0x68]
mov word [esp + 0x868], cx
mov eax, dword [esi + 8]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x427976
mov eax, dword [0x4c7578]
test eax, eax
je 0x427951
mov edx, dword [esi + 8]
lea ecx, [esp + 0x868]
push ecx
push edx
call eax
lea eax, [esp + 0x868]
push eax
lea ecx, [esp + 0x6c]
push ecx
call fcn.0042fc80
test al, al
je 0x427976
lea edx, [esp + 0x68]
push edx
call fcn.0044daf0
cmp byte [eax], 0
jne 0x427980
mov eax, 1
jmp 0x427f22
mov byte [edi + 9], 1
jmp case.0x4278cf.408
mov byte [edi + 9], 0
cmp dword [esi + 0x1c], 0
je case.0x4278cf.408
mov eax, dword [esi + 0x30]
test eax, eax
je case.0x4278cf.408
mov edx, dword [eax + 8]
lea ecx, [esp + 0x68]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je case.0x4278cf.408
xor eax, eax
jmp 0x4279c0
mov cl, byte [esp + eax + 0x68]
mov byte [esp + eax + 0x468], cl
inc eax
test cl, cl
jne 0x4279c0
lea eax, [esp + 0x468]
push eax
call fcn.0044daf0
mov byte [eax], 0
lea eax, [esp + 0x468]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4279f0
mov esi, dword [esi + 0x1c]
mov ecx, esi
sub eax, edx
lea edi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x427a01
sub ecx, edi
add ecx, eax
cmp ecx, 0x400
jae case.0x4278cf.408
mov eax, esi
mov edx, esi
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x427a20
lea edi, [esp + 0x468]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x427a31
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0
lea ecx, [esp + 0x46c]
push ecx
call fcn.0042fc80
test al, al
je 0x427a72
push 0x50d
call fcn.0045be10
push eax
call fcn.0048cd40
add esp, 4
jmp case.0x4278cf.408
lea edx, [esp + 0x468]
push edx
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
je case.0x4278cf.408
mov esi, dword [esp + 0x10]
movzx ecx, byte [esi + 8]
push ecx
mov ecx, esi
call fcn.00427550
push 1
lea edx, [esp + 0x46c]
push edx
mov ecx, esi
call fcn.00426e40
jmp case.0x4278cf.408
mov esi, dword [esi + 0x34]
test esi, esi
je case.0x4278cf.408
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [0x4f81ac]
mov edx, dword [esi + 4]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, dword [0x4f81ac]
mov edx, dword [esi + 8]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, dword [0x4f81ac]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push esi
push eax
call edx
jmp case.0x4278cf.408
mov edi, dword [esi + 0x5c]
test edi, edi
jne 0x427d01
mov ebx, dword [esi + 0x3c]
xor eax, eax
mov word [esp + 0x1068], ax
lea eax, [esp + 0x24]
push eax
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0x110c
lea edx, [esp + 0x474]
push ecx
mov byte [esp + 0x78], 0
mov dword [esp + 0x34], 1
mov dword [esp + 0x38], ebx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], 0x400
call edi
test eax, eax
je case.0x4278cf.408
mov ebp, dword [esp + 0x10]
mov ecx, dword [ebp]
push ebx
push 3
push 0x110a
push ecx
call edi
mov ebx, eax
test ebx, ebx
je 0x427cdd
lea eax, [esp + 0x68]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x427b78
sub eax, edx
mov edx, eax
lea eax, [esp + 0x468]
lea esi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x427b90
sub eax, esi
add eax, edx
cmp eax, 0x3ff
jae 0x427c01
cmp byte [esp + 0x68], cl
je 0x427bef
lea edx, [esp + 0x468]
push edx
call fcn.0044df70
lea eax, [esp + 0x68]
mov edx, eax
jmp 0x427bc0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x427bc0
lea edi, [esp + 0x468]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x427bd1
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
xor eax, eax
mov cl, byte [esp + eax + 0x468]
mov byte [esp + eax + 0x68], cl
inc eax
test cl, cl
jne 0x427bf1
call fcn.0043cdb0
test eax, eax
je 0x427c9f
mov edx, dword [ebp]
lea ecx, [esp + 0x24]
push ecx
push 0
push 0x113e
lea eax, [esp + 0x874]
push edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], 0x400
call edi
test eax, eax
je 0x427c9f
lea eax, [esp + 0x868]
push eax
call fcn.0046db10
lea ecx, [esp + 0x1068]
push ecx
mov esi, eax
call fcn.0046db10
add esi, eax
cmp esi, 0x3ff
jae 0x427c9f
cmp word [esp + 0x1068], 0
je 0x427c8a
lea edx, [esp + 0x868]
push edx
call fcn.0044d930
lea eax, [esp + 0x1068]
push eax
lea ecx, [esp + 0x86c]
push ecx
call fcn.0046db90
lea edx, [esp + 0x868]
push edx
lea eax, [esp + 0x106c]
push eax
call fcn.0046db30
mov eax, dword [ebp]
lea edx, [esp + 0x24]
push edx
push 0
push 0x110c
lea ecx, [esp + 0x474]
push eax
mov dword [esp + 0x34], 1
mov dword [esp + 0x38], ebx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], 0x400
call edi
test eax, eax
jne 0x427b55
jmp case.0x4278cf.408
mov eax, dword [ebp]
lea ecx, [esp + 0x1068]
push ecx
lea edx, [esp + 0x6c]
push edx
push 0x40a
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call edi
jmp case.0x4278cf.408
mov eax, dword [edi + 8]
mov esi, dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
lea edx, [esp + 0x68]
push edx
xor ecx, ecx
push eax
mov word [esp + 0x870], cx
call esi
test eax, eax
je case.0x4278cf.408
cmp byte [0x4c7580], 0
jne 0x427d5a
lea ecx, [esp + 0x20]
push ecx
push 0x13
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov edx, dword [esp + 0x20]
push 0x4c7580
push edx
call esi
mov eax, dword [0x4f81ac]
mov edx, dword [esp + 0x20]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, 0x4c7580
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x427d62
sub eax, edx
push eax
lea ecx, [esp + 0x6c]
push ecx
push 0x4c7580
call fcn.0049f7bf
add esp, 0xc
test eax, eax
jne 0x427db2
lea edx, [esp + 0x468]
push edx
lea eax, [edi + 4]
push eax
push edi
push ebp
call fcn.004269d0
test al, al
je 0x427dc9
xor eax, eax
jmp 0x427da0
mov cl, byte [esp + eax + 0x468]
mov byte [esp + eax + 0x68], cl
inc eax
test cl, cl
jne 0x427da0
jmp 0x427dc9
mov eax, dword [0x4c7578]
test eax, eax
je 0x427dc9
mov edx, dword [edi + 8]
lea ecx, [esp + 0x868]
push ecx
push edx
call eax
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x868]
push eax
mov eax, dword [edx]
lea ecx, [esp + 0x6c]
push ecx
push 0x40a
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp case.0x4278cf.408
test byte [esi + 0x40], 0x40
jne case.0x4278cf.408
mov edi, dword [esi + 0x5c]
test edi, edi
je case.0x4278cf.408
mov eax, dword [edi]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
mov edx, dword [edi + 4]
push 0x4b5d3c
push 0
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
test eax, eax
jl 0x427e44
mov ecx, dword [esi + 0x3c]
mov edx, dword [edi + 8]
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
push ecx
mov ecx, dword [edi]
push edx
push eax
push ecx
mov ecx, edi
call fcn.00426360
jmp 0x427e48
mov edi, dword [esp + 0x10]
mov ecx, dword [edi]
mov edx, dword [esi + 0x3c]
lea eax, [esp + 0x5c]
push eax
push 0
push 0x1115
push ecx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], 0x426700
mov dword [esp + 0x74], 0
call dword [sym.imp.USER32.dll_SendMessageA]
jmp case.0x4278cf.408
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [esp + 0x18]
push eax
push ebp
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [esp + 0x4c]
push eax
push 0
mov dword [esp + 0x54], ecx
mov ecx, dword [edi]
push 0x1111
push ecx
mov dword [esp + 0x60], edx
call esi
mov eax, dword [esp + 0x58]
test eax, eax
je case.0x4278cf.408
mov edx, dword [edi]
push eax
push 9
push 0x110b
push edx
call esi
mov ebx, 4
test byte [esp + 0x54], bl
je case.0x4278cf.408
lea eax, [esp + 0x18]
push eax
push ebp
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [edi]
mov ecx, dword [esp + 0x58]
lea edx, [esp + 0x24]
push edx
push 0
push 0x110c
push eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ecx
call esi
test eax, eax
je case.0x4278cf.408
mov eax, dword [esp + 0x48]
test eax, eax
je case.0x4278cf.408
mov edx, dword [eax + 4]
mov eax, dword [eax]
lea ecx, [esp + 0x18]
push ecx
push edx
push eax
push ebp
mov ecx, edi
call fcn.00425f00
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1864]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0049e626
add esp, 0x185c
ret 0x10