Function at 0x401ca0
Capabilities:
Copy file
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea8
push esi
push edi
mov eax, 0x476000
call fcn.0046a008
mov word [ebp - 0x40], 0x14
lea eax, [ebp - 0x1c]
call fcn.00401abc
mov edx, eax
inc dword [ebp - 0x34]
mov ecx, dword [0x482a30]
mov eax, dword [ecx]
call fcn.004556b4
lea edx, [ebp - 0x1c]
push dword [edx]
lea eax, [ebp - 4]
call fcn.00401abc
mov edx, eax
inc dword [ebp - 0x34]
pop eax
call fcn.00420ff8
dec dword [ebp - 0x34]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00473f7c
mov word [ebp - 0x40], 8
mov word [ebp - 0x40], 0x20
lea eax, [ebp - 0x24]
call fcn.00401abc
push eax
inc dword [ebp - 0x34]
mov edx, 0x475496
lea eax, [ebp - 0x20]
call fcn.00473eac
inc dword [ebp - 0x34]
lea edx, [ebp - 0x20]
lea eax, [ebp - 4]
pop ecx
call fcn.00473fd4
lea ecx, [ebp - 0x24]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x41e6b4]
call fcn.00401f2c
mov dword [ebp - 0x54], eax
dec dword [ebp - 0x34]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00473f7c
dec dword [ebp - 0x34]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00473f7c
mov word [ebp - 0x40], 8
mov esi, 0x4752bc
lea edi, [ebp - 0x158]
mov ecx, 0x41
rep movsd dword es:[edi], dword [esi]
push 0x104
lea eax, [ebp - 0x158]
push eax
call sub.KERNEL32.DLL_GetSystemDirectoryA
mov word [ebp - 0x40], 0x2c
lea edx, [ebp - 0x158]
lea eax, [ebp - 8]
call fcn.00473eac
inc dword [ebp - 0x34]
mov word [ebp - 0x40], 8
mov word [ebp - 0x40], 0x38
lea eax, [ebp - 0xc]
call fcn.00401abc
push eax
inc dword [ebp - 0x34]
mov edx, str._so.dll
lea eax, [ebp - 0x28]
call fcn.00473eac
inc dword [ebp - 0x34]
lea edx, [ebp - 0x28]
lea eax, [ebp - 8]
pop ecx
call fcn.00473fd4
dec dword [ebp - 0x34]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00473f7c
mov word [ebp - 0x40], 8
mov word [ebp - 0x40], 0x44
lea eax, [ebp - 0x10]
call fcn.00401abc
push eax
inc dword [ebp - 0x34]
mov edx, 0x4754a7
lea eax, [ebp - 0x2c]
call fcn.00473eac
inc dword [ebp - 0x34]
lea edx, [ebp - 0x2c]
lea eax, [ebp - 4]
pop ecx
call fcn.00473fd4
dec dword [ebp - 0x34]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.00473f7c
mov word [ebp - 0x40], 8
mov eax, dword [ebp - 0xc]
call fcn.00420f2c
test al, al
jne 0x401e58
push 0
lea eax, [ebp - 0xc]
call fcn.00401fd8
push eax
lea eax, [ebp - 0x10]
call fcn.00401fd8
push eax
call sub.KERNEL32.DLL_CopyFileA
mov word [ebp - 0x40], 0x50
mov edx, 0x4754ae
lea eax, [ebp - 0x14]
call fcn.00473eac
inc dword [ebp - 0x34]
mov word [ebp - 0x40], 8
mov word [ebp - 0x40], 0x5c
lea eax, [ebp - 0x18]
call fcn.00401abc
mov ecx, eax
inc dword [ebp - 0x34]
lea edx, [ebp - 0xc]
mov eax, 0x4754bb
call fcn.00474350
mov word [ebp - 0x40], 8
push 0
push 0
lea eax, [ebp - 0x18]
call fcn.00401fd8
push eax
lea eax, [ebp - 0x14]
call fcn.00401fd8
push eax
push 0x4754bf
push 0
call sub.SHELL32.DLL_ShellExecuteA
dec dword [ebp - 0x34]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00473f7c
dec dword [ebp - 0x34]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00473f7c
dec dword [ebp - 0x34]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00473f7c
dec dword [ebp - 0x34]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00473f7c
dec dword [ebp - 0x34]
lea eax, [ebp - 8]
mov edx, 2
call fcn.00473f7c
dec dword [ebp - 0x34]
lea eax, [ebp - 4]
mov edx, 2
call fcn.00473f7c
mov ecx, dword [ebp - 0x50]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret