Function at 0x421386
Capabilities:
Move file

Disassembly:
mov eax, 0x467a52
call fcn.00466f40
sub esp, 0xc6c
push ebx
push esi
mov esi, ecx
push edi
push dword [ebp + 8]
xor ebx, ebx
lea edi, [esi + 0x42c]
mov dword [ebp - 0x20], ebx
mov ecx, edi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x14], edi
call fcn.00466799
mov eax, dword [eax]
cmp dword [ebp + 0xc], ebx
mov dword [ebp - 0x18], eax
jne 0x4213d3
push dword [esi + 0x464]
lea eax, [esi + 0x46c]
lea ecx, [esi + 0x444]
push eax
call fcn.004529f0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], 1
jmp 0x4213e2
push dword [ebp + 0xc]
mov ecx, edi
call fcn.00466799
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov dx, word [0x469bb8]
mov ebx, 0x81
mov ecx, ebx
xor eax, eax
lea edi, [ebp - 0x65e]
mov word [ebp - 0x660], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, ebx
xor eax, eax
lea edi, [ebp - 0x866]
mov word [ebp - 0x868], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, 0x104
lea eax, [ebp - 0x660]
push edi
push eax
push dword [ebp - 0x18]
lea ecx, [esi + 0x444]
mov dword [ebp - 0x10], ecx
call fcn.00452d97
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x868]
push edi
push eax
push dword [ebp - 0x1c]
call fcn.00452d97
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0x44]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esi + 4]
and dword [ebp - 0x2e], 0
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x868]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x660]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x40], 1
mov word [ebp - 0x34], 0x44
mov dword [ebp - 0x2a], 0x469bb8
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
jne 0x42172b
cmp dword [ebp - 0x32], eax
jne 0x42172b
push dword [ebp + 8]
mov eax, dword [esi + 0x430]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 3
push 0x110a
push eax
call edi
cmp dword [ebp + 0xc], eax
je 0x42172b
cmp dword [ebp + 0xc], 0
je 0x4214e3
mov eax, dword [esi + 0x430]
push 0xffffffffffffffff
push dword [ebp + 0xc]
push 0x1127
push eax
call edi
test al, 0x40
je 0x42172b
mov dx, word [0x469bb8]
mov ecx, ebx
xor eax, eax
lea edi, [ebp - 0x24e]
mov word [ebp - 0x250], dx
mov word [ebp - 0xa70], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, ebx
xor eax, eax
lea edi, [ebp - 0xa6e]
mov word [ebp - 0xc78], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, ebx
xor eax, eax
lea edi, [ebp - 0xc76]
mov word [ebp - 0x458], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, ebx
xor eax, eax
lea edi, [ebp - 0x456]
push 0x5c
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [sym.imp.MSVCRT.dll_wcsrchr]
lea eax, [ebp - 0x660]
push eax
call edi
pop ecx
test eax, eax
pop ecx
je 0x42172b
and word [eax], 0
inc eax
inc eax
push eax
lea eax, [ebp - 0x868]
push eax
push 0x40b0b4
lea eax, [ebp - 0xa70]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov ecx, dword [ebp - 0x10]
add esp, 0x14
lea eax, [ebp - 0xa70]
push 0xffffffffffffffff
push eax
call fcn.004529f0
test eax, eax
mov dword [ebp - 0x18], eax
je 0x42172b
push 0x8001
lea ecx, [ebp - 0x250]
push 0x104
push ecx
mov ecx, dword [ebp - 0x10]
push eax
call fcn.00452d12
test eax, eax
je 0x42172b
lea eax, [ebp - 0x250]
push 0x2e
push eax
call edi
mov edi, eax
pop ecx
test edi, edi
pop ecx
je 0x421609
lea eax, [ebp - 0x250]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
lea edx, [ebp - 0x250]
mov ecx, edi
sub ecx, edx
sar ecx, 1
sub eax, ecx
cmp eax, 4
jne 0x421609
push eax
lea eax, [ebp - 0xc78]
push edi
push eax
call dword [sym.imp.MSVCRT.dll_wcsncpy]
add esp, 0xc
and word [edi], 0
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
call fcn.004668c6
mov ebx, eax
test ebx, ebx
je 0x421694
mov ecx, 0x82
xor eax, eax
lea edi, [ebp - 0x458]
push 0x104
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x458]
push eax
push ebx
call fcn.00466969
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x458]
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
pop ecx
test eax, eax
pop ecx
je 0x42166f
mov eax, dword [esi + 0x430]
push ebx
push 1
push 0x110a
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x421614
mov ecx, dword [ebp - 0x14]
push ebx
call fcn.00466799
mov ecx, dword [ebp - 0x10]
mov edi, eax
push dword [edi]
call fcn.00452c09
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], ebx
test ebx, ebx
mov dword [edi], eax
jne 0x42172b
push 0x22c
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x48], eax
xor edi, edi
cmp eax, edi
mov dword [ebp - 4], edi
je 0x4216b4
mov ecx, eax
call fcn.00413668
mov edi, eax
or dword [ebp - 4], 0xffffffff
test edi, edi
je 0x42172b
mov eax, dword [ebp - 0x18]
mov ebx, dword [sym.imp.MSVCRT.dll_wcscpy]
mov dword [edi], eax
lea eax, [ebp - 0x250]
push eax
lea eax, [edi + 0x18]
push eax
call ebx
lea eax, [ebp - 0xc78]
push eax
lea eax, [edi + 0x220]
push eax
call ebx
mov ecx, dword [ebp - 0x10]
add esp, 0x10
push dword [ebp - 0x18]
call fcn.00452efb
mov dword [edi + 0x10], eax
mov eax, dword [esi]
push 0xffffffffffffffff
push edi
mov ecx, esi
call dword [eax + 0x7c]
push dword [esi + 0x8ac]
mov ecx, dword [ebp - 0x10]
mov ebx, eax
push dword [ebp - 0x18]
call fcn.004531d2
mov ecx, dword [ebp - 0x14]
push eax
push ebx
push ebx
lea eax, [ebp - 0x250]
push edi
push eax
push dword [ebp + 0xc]
call fcn.00466717
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x24], 0
pop edi
pop esi
pop ebx
je 0x42173f
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
call fcn.00452c09
push dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
call fcn.004668dd
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x20]
mov dword fs:[0], ecx
leave
ret 8