Function at 0x428420
Capabilities:
Get common file path
Move file
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x1068
call fcn.004a4490
mov eax, dword [0x4ca3b0]
xor eax, esp
mov dword [esp + 0x1064], eax
cmp dword [esp + 0x1070], 0x4e
push ebp
mov ebp, dword [esp + 0x1070]
push esi
mov esi, dword [esp + 0x1080]
push edi
mov edi, ecx
mov dword [esp + 0xc], edi
je 0x428460
xor eax, eax
jmp 0x428b87
mov ecx, dword [edi]
cmp dword [esi], ecx
jne 0x428459
mov eax, dword [esi + 8]
push ebx
mov dword [esp + 0x18], 0
cmp eax, 0xfffffe64
ja 0x428ad4
je 0x428a94
add eax, 0x1cc
cmp eax, 9
ja case.0x428491.457
jmp dword [eax*4 + 0x428ba4]
mov esi, dword [esi + 0x30]
test esi, esi
je 0x4284d9
mov ecx, dword [esi + 8]
lea eax, [esp + 0x874]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x4284d9
lea edx, [esp + 0x874]
push edx
call fcn.00431560
test al, al
je 0x4284d9
lea eax, [esp + 0x874]
push eax
call fcn.004515b0
cmp word [eax], 0
jne 0x4284e3
mov eax, 1
jmp 0x428b86
mov byte [edi + 9], 1
jmp case.0x428491.457
mov byte [edi + 9], 0
cmp dword [esi + 0x1c], 0
je case.0x428491.457
mov eax, dword [esi + 0x30]
test eax, eax
je case.0x428491.457
mov edx, dword [eax + 8]
lea ecx, [esp + 0x874]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je case.0x428491.457
xor eax, eax
jmp 0x428530
movzx ecx, word [esp + eax + 0x874]
mov word [esp + eax + 0x74], cx
add eax, 2
test cx, cx
jne 0x428530
lea eax, [esp + 0x74]
push eax
call fcn.004515b0
xor ecx, ecx
mov word [eax], cx
lea eax, [esp + 0x74]
lea edx, [eax + 2]
jmp 0x428560
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x428560
mov esi, dword [esi + 0x1c]
sub eax, edx
mov ecx, esi
sar eax, 1
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x428577
sub ecx, edi
sar ecx, 1
add ecx, eax
cmp ecx, 0x400
jae case.0x428491.457
mov eax, esi
mov edx, esi
jmp 0x4285a0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4285a0
lea edi, [esp + 0x74]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4285b4
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea edx, [esp + 0x74]
mov ecx, eax
push edx
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
call fcn.00431510
test al, al
je 0x4285f6
push 0x50d
call fcn.00460a30
push eax
call fcn.004926f0
add esp, 4
jmp case.0x428491.457
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x878]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je case.0x428491.457
mov esi, dword [esp + 0x10]
movzx edx, byte [esi + 8]
push edx
mov ecx, esi
call fcn.00428200
push 1
lea eax, [esp + 0x78]
push eax
mov ecx, esi
call fcn.00427bb0
jmp case.0x428491.457
mov esi, dword [esi + 0x34]
test esi, esi
je case.0x428491.457
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [0x50fc04]
mov edx, dword [esi + 4]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, dword [0x50fc04]
mov edx, dword [esi + 8]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, dword [0x50fc04]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push esi
push eax
call edx
jmp case.0x428491.457
mov edi, dword [esi + 0x5c]
test edi, edi
jne 0x428820
mov ebx, dword [esi + 0x3c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
mov word [esp + 0x874], ax
lea eax, [esp + 0x40]
push eax
push edi
push 0x113e
lea edx, [esp + 0x80]
push ecx
mov dword [esp + 0x50], 1
mov dword [esp + 0x54], ebx
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], 0x400
call ebp
test eax, eax
je case.0x428491.457
mov edi, dword [esp + 0x10]
mov ecx, dword [edi]
push ebx
push 3
push 0x110a
push ecx
call ebp
mov ebx, eax
mov eax, dword [edi]
test ebx, ebx
je 0x428802
lea edx, [esp + 0x40]
push edx
push 0
push 0x113e
push eax
call ebp
test eax, eax
je 0x4287c5
lea eax, [esp + 0x874]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x428710
sub eax, edx
sar eax, 1
mov edx, eax
lea eax, [esp + 0x74]
lea esi, [eax + 2]
jmp 0x428730
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x428730
sub eax, esi
sar eax, 1
add eax, edx
cmp eax, 0x3ff
jae 0x4287c5
cmp word [esp + 0x874], cx
je 0x4287a0
lea ecx, [esp + 0x74]
push ecx
call fcn.00451050
lea eax, [esp + 0x874]
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x428765
lea edi, [esp + 0x74]
sub eax, edx
add edi, 0xfffffffe
lea esp, [esp]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x428780
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 [esp + 0x10]
xor eax, eax
jmp 0x4287b0
movzx ecx, word [esp + eax + 0x74]
mov word [esp + eax + 0x874], cx
add eax, 2
test cx, cx
jne 0x4287b0
mov ecx, dword [edi]
lea eax, [esp + 0x40]
push eax
push 0
push 0x113e
lea edx, [esp + 0x80]
push ecx
mov dword [esp + 0x50], 1
mov dword [esp + 0x54], ebx
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], 0x400
call ebp
test eax, eax
jne 0x4286d1
jmp case.0x428491.457
lea edx, [esp + 0x874]
push edx
push 0
push 0x40a
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call ebp
jmp case.0x428491.457
mov eax, dword [edi + 8]
mov esi, dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea edx, [esp + 0x874]
push edx
xor ecx, ecx
push eax
mov word [esp + 0x87c], cx
call esi
test eax, eax
je 0x42891d
cmp word [0x4d2488], 0
jne 0x42887d
lea ecx, [esp + 0x14]
push ecx
push 0x13
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov edx, dword [esp + 0x14]
push 0x4d2488
push edx
call esi
mov eax, dword [0x50fc04]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, 0x4d2488
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x428885
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x878]
push ecx
push 0x4d2488
call fcn.004a663a
add esp, 0xc
test eax, eax
jne 0x4288e7
lea edx, [esp + 0x74]
push edx
lea eax, [edi + 4]
push eax
push edi
push ebp
call fcn.00427720
test al, al
je 0x4288f5
xor eax, eax
jmp 0x4288d0
movzx ecx, word [esp + eax + 0x74]
mov word [esp + eax + 0x874], cx
add eax, 2
test cx, cx
jne 0x4288d0
jmp 0x4288f5
mov edx, dword [edi + 8]
lea ecx, [esp + 0x874]
push ecx
push edx
call esi
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
lea eax, [esp + 0x874]
push eax
push 0
push 0x40a
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x428491.457
call fcn.0043e920
cmp eax, 0x601
jb case.0x428491.457
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je case.0x428491.457
push str.SHCreateItemFromIDList
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je case.0x428491.457
mov edx, dword [edi + 8]
lea ecx, [esp + 0x28]
push ecx
push 0x4b9c44
push edx
call eax
test eax, eax
jne case.0x428491.457
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x2c]
push eax
push 0x4b9c24
push 0
push ecx
call fcn.004276b0
test eax, eax
jne case.0x428491.457
mov eax, dword [esp + 0x2c]
mov edx, dword [eax]
mov edx, dword [edx + 0x24]
lea ecx, [esp + 0x24]
push ecx
push 0x4b9c44
push 1
push eax
call edx
test eax, eax
jne case.0x428491.457
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push 0x80058000
push eax
mov eax, dword [ecx + 0x14]
call eax
test eax, eax
jne case.0x428491.457
mov ecx, dword [esp + 0x14]
push 0x400
push ecx
lea edx, [esp + 0x7c]
push edx
call fcn.0046a270
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
lea ecx, [esp + 0x74]
push ecx
push 0
push 0x40a
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x428491.457
test byte [esi + 0x40], 0x40
jne case.0x428491.457
mov edi, dword [esi + 0x5c]
test edi, edi
je case.0x428491.457
mov eax, dword [edi]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
mov edx, dword [edi + 4]
push 0x4bfc98
push 0
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
test eax, eax
jl 0x428a5c
mov ecx, dword [esi + 0x3c]
mov edx, dword [edi + 8]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
push ecx
mov ecx, dword [edi]
push edx
push eax
push ecx
mov ecx, edi
call fcn.00427050
jmp 0x428a60
mov edi, dword [esp + 0x10]
mov ecx, dword [edi]
mov edx, dword [esi + 0x3c]
lea eax, [esp + 0x68]
push eax
push 0
push 0x1115
push ecx
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], 0x4273c0
mov dword [esp + 0x80], 0
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x428491.457
movzx eax, word [esi + 0xc]
cmp eax, 0x2e
je 0x428ac8
cmp eax, 0x71
je 0x428abc
cmp eax, 0x74
jne case.0x428491.457
movzx edx, byte [edi + 8]
push edx
mov ecx, edi
call fcn.00428200
jmp case.0x428491.457
mov ecx, edi
call fcn.00427670
jmp case.0x428491.457
mov ecx, edi
call fcn.004282e0
jmp case.0x428491.457
cmp eax, 0xfffffffb
jne case.0x428491.457
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea ecx, [esp + 0x1c]
push ecx
push ebp
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0x30]
push ecx
push 0
mov dword [esp + 0x38], edx
mov edx, dword [edi]
push 0x1111
push edx
mov dword [esp + 0x44], eax
call esi
mov eax, dword [esp + 0x3c]
test eax, eax
je case.0x428491.457
push eax
mov eax, dword [edi]
push 9
push 0x110b
push eax
call esi
mov ebx, 4
test byte [esp + 0x38], bl
je case.0x428491.457
lea ecx, [esp + 0x1c]
push ecx
push ebp
call dword [sym.imp.USER32.dll_ClientToScreen]
mov ecx, dword [edi]
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x40]
push eax
push 0
push 0x113e
push ecx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], edx
call esi
test eax, eax
je case.0x428491.457
mov eax, dword [esp + 0x64]
test eax, eax
je case.0x428491.457
mov ecx, dword [eax + 4]
lea edx, [esp + 0x1c]
push edx
mov edx, dword [eax]
push ecx
push edx
push ebp
mov ecx, edi
call fcn.00426c10
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1070]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.004a3c63
add esp, 0x1068
ret 0x10