Function at 0x450400
Capabilities:
Copy file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x621e17
mov eax, dword fs:[0]
push eax
mov eax, 0x10a8
call fcn.0061eab0
mov eax, dword [0x6c6060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x770]
call fcn.005a0930
cmp eax, 2
je 0x4507c6
push 1
push 1
mov ecx, esi
call fcn.0059e040
push 2
xor eax, eax
mov dword [ebp - 0x1058], 0
mov dword [ebp - 0x1054], 0
lea ecx, [ebp - 0x1068]
push 0x6b43b8
mov dword [ebp - 0x1054], 7
mov dword [ebp - 0x1058], 0
mov word [ebp - 0x1068], ax
call fcn.00447840
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1068]
cmp dword [ebp - 0x1054], 8
mov edx, dword [esi + 4]
cmovae eax, dword [ebp - 0x1068]
sub esp, 0x10
push eax
push 0x6b4284
push ecx
push 0x6b43c0
lea ecx, [ebp - 0x109c]
call fcn.00451db0
add esp, 0x20
mov ecx, eax
mov byte [ebp - 4], 1
cmp dword [ecx + 0x14], 8
jb 0x4504df
mov edx, dword [ecx]
jmp 0x4504e1
mov edx, ecx
push dword [ecx + 0x10]
cmp dword [ebp - 0x1054], 8
lea eax, [ebp - 0x1068]
push edx
cmovae eax, dword [ebp - 0x1068]
push dword [ebp - 0x1058]
push eax
call fcn.00451060
add esp, 0x10
mov esi, eax
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1088]
cmp ecx, 8
jb 0x45052c
inc ecx
push ecx
push dword [ebp - 0x109c]
lea ecx, [ebp - 0x109c]
call fcn.00447940
xor eax, eax
mov dword [ebp - 0x1088], 7
mov dword [ebp - 0x108c], 0
mov word [ebp - 0x109c], ax
test esi, esi
jne 0x450596
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1054]
cmp eax, 8
jb 0x450572
inc eax
lea ecx, [ebp - 0x1068]
push eax
push dword [ebp - 0x1068]
call fcn.00447940
xor eax, eax
mov dword [ebp - 0x1054], 7
mov word [ebp - 0x1068], ax
xor al, al
mov dword [ebp - 0x1058], 0
jmp 0x4507c8
push 0x820
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.005fd040
push 0x820
lea eax, [ebp - 0x1050]
push 0
push eax
call fcn.005fd040
add esp, 0x18
lea eax, [ebp - 0x830]
push 0x410
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
push 0x19
lea eax, [ebp - 0x1050]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x830]
push eax
lea ecx, [ebp - 0x1080]
call fcn.00447700
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1084]
push 1
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x1080]
mov dword [ebp - 0x1084], 0x5c
call fcn.0044dd40
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x10b4]
push eax
lea ecx, [ebp - 0x1080]
call fcn.0044db50
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x1050]
push eax
lea eax, [ebp - 0x109c]
push eax
call fcn.00450ed0
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 4
lea eax, [ebp - 0x1080]
cmp eax, esi
je 0x4506a3
mov eax, dword [ebp - 0x106c]
cmp eax, 8
jb 0x45067a
inc eax
lea ecx, [ebp - 0x1080]
push eax
push dword [ebp - 0x1080]
call fcn.00447940
xor eax, eax
mov dword [ebp - 0x106c], 7
push esi
lea ecx, [ebp - 0x1080]
mov dword [ebp - 0x1070], 0
mov word [ebp - 0x1080], ax
call fcn.0044ab00
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1088]
cmp eax, 8
jb 0x4506c5
inc eax
lea ecx, [ebp - 0x109c]
push eax
push dword [ebp - 0x109c]
call fcn.00447940
xor eax, eax
mov dword [ebp - 0x1088], 7
mov dword [ebp - 0x108c], 0
mov word [ebp - 0x109c], ax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10a0]
cmp eax, 8
jb 0x450704
inc eax
lea ecx, [ebp - 0x10b4]
push eax
push dword [ebp - 0x10b4]
call fcn.00447940
xor eax, eax
mov dword [ebp - 0x10a0], 7
cmp dword [ebp - 0x106c], 8
mov word [ebp - 0x10b4], ax
lea eax, [ebp - 0x1080]
cmovae eax, dword [ebp - 0x1080]
push 0
push eax
lea eax, [ebp - 0x830]
mov dword [ebp - 0x10a4], 0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x106c]
cmp eax, 8
jb 0x450767
inc eax
lea ecx, [ebp - 0x1080]
push eax
push dword [ebp - 0x1080]
call fcn.00447940
xor eax, eax
mov dword [ebp - 0x106c], 7
mov dword [ebp - 0x1070], 0
mov word [ebp - 0x1080], ax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1054]
cmp eax, 8
jb 0x4507a9
inc eax
lea ecx, [ebp - 0x1068]
push eax
push dword [ebp - 0x1068]
call fcn.00447940
xor eax, eax
mov dword [ebp - 0x1054], 7
mov dword [ebp - 0x1058], 0
mov word [ebp - 0x1068], ax
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045acaa
mov esp, ebp
pop ebp
ret