Function at 0x4011a0
Capabilities:
Copy file
Create process on windows
Get common file path
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x424586
mov eax, dword fs:[0]
push eax
sub esp, 0x4c0
mov eax, dword [0x42dd80]
xor eax, esp
mov dword [esp + 0x4b8], eax
push ebx
push esi
push edi
mov eax, dword [0x42dd80]
xor eax, esp
push eax
lea eax, [esp + 0x4d0]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00403568
mov eax, dword [esi + 0x280]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
mov eax, dword [esi + 0x20]
push 1
push 0x80
push eax
call edi
mov eax, dword [esi + 0x280]
mov ecx, dword [esi + 0x20]
push eax
push 0
push 0x80
push ecx
call edi
mov edx, dword [0x428bb8]
mov eax, dword [0x428bbc]
mov ecx, dword [0x428bc0]
mov dword [esp + 0x88], edx
mov edx, dword [0x428bc4]
mov dword [esp + 0x8c], eax
mov eax, dword [0x428bc8]
mov dword [esp + 0x90], ecx
mov cx, word [0x428bcc]
mov dword [esp + 0x94], edx
mov edx, dword [str.Login.exe]
mov dword [esp + 0x98], eax
mov eax, dword [0x428bd4]
mov word [esp + 0x9c], cx
mov ecx, dword [0x428bd8]
mov dword [esp + 0xa0], edx
mov edx, dword [0x428bdc]
mov dword [esp + 0xa4], eax
mov eax, dword [0x428be0]
mov dword [esp + 0xa8], ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0xac], edx
mov dword [esp + 0xb0], eax
call fcn.00405db5
mov dword [esp + 0x4d8], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx eax, ax
movzx eax, ax
mov edi, eax
sar eax, 0xa
and edi, 0xff
and eax, 0xff
cmp edi, 4
mov ebx, eax
je 0x4012e3
mov edi, 9
mov ebx, 1
lea ecx, [esp + 0xb4]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edx, [esp + 0x2bc]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x2c0]
push 0x104
push ecx
call fcn.0040ff47
add esp, 0xc
lea edx, [esp + 0xa0]
push edx
lea eax, [esp + 0xb8]
push 0x104
push eax
call fcn.0040ff47
add esp, 0xc
push 0
lea ecx, [esp + 0xb8]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00405e8e
push 0x80
lea edx, [esp + 0xb8]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0x2c4]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x40139c
lea edx, [esp + 0xb4]
push edx
mov ecx, esi
call fcn.00401600
test eax, eax
je 0x401425
push 0x44
lea eax, [esp + 0x40]
push 0
push eax
call fcn.00410890
add esp, 0xc
xor eax, eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x40]
push edx
push eax
push eax
push eax
push eax
push eax
push eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
lea eax, [esp + 0xd4]
push eax
push 0
mov dword [esp + 0x64], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40140c
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x24]
mov dword [esp + 0x4d8], 0xffffffff
call fcn.00405ddb
xor eax, eax
jmp 0x4014eb
mov ecx, dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call edi
mov edx, dword [esp + 0x18]
push edx
call edi
jmp 0x4014cb
call fcn.004061bd
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40143f
push 0x80004005
call fcn.00401bc0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x4d8], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp edi, 4
jne 0x401486
cmp ebx, 1
jne 0x401474
push eax
push 0x428be4
lea ecx, [esp + 0x18]
push ecx
jmp 0x401491
cmp ebx, 2
jne 0x401486
push eax
push 0x428bf4
lea edx, [esp + 0x18]
push edx
jmp 0x401491
push eax
push 0x428c04
lea eax, [esp + 0x18]
push eax
call fcn.00401ed0
mov edi, dword [esp + 0x1c]
add esp, 0xc
push 0
push 0
push edi
call fcn.0040505e
lea eax, [edi - 0x10]
mov byte [esp + 0x4d8], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4014cb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, esi
call fcn.00403281
lea ecx, [esp + 0x24]
mov dword [esp + 0x4d8], 0xffffffff
call fcn.00405ddb
mov eax, 1
mov ecx, dword [esp + 0x4d0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4b8]
xor ecx, esp
call fcn.0040f639
mov esp, ebp
pop ebp
ret