Function at 0x4c39b4
Capabilities:
Copy file
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x12
push 0
push 0
dec ecx
jne 0x4c39bc
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x4c3f6d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x20]
push eax
mov ecx, 4
mov edx, 2
mov eax, 0x4c3f84
call fcn.00404154
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 8]
mov ecx, 0x4c3f94
call fcn.00403f98
lea eax, [ebp - 0xc]
mov edx, dword [ebx + 0x14780]
call fcn.00403d64
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
call fcn.00404110
push eax
push 0x80000000
call sub.advapi32.dll_RegCreateKeyA
push 0
mov eax, dword [ebp - 0xc]
call fcn.00404110
push eax
push 1
push 0x4c3f9c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueA
lea eax, [ebp - 8]
mov edx, 0x4c3f84
call fcn.00403d64
lea eax, [ebp - 0x24]
push eax
mov eax, 0x4c3f84
mov ecx, 4
mov edx, 2
call fcn.00404154
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0xc]
mov ecx, 0x4c3f94
call fcn.00403f98
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
call fcn.00404110
push eax
push 0x80000000
call sub.advapi32.dll_RegCreateKeyA
push 0
mov eax, dword [ebp - 0xc]
call fcn.00404110
push eax
push 1
push 0x4c3f9c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueA
mov dl, 1
mov eax, dword [0x46c838]
call fcn.0046c938
mov esi, eax
mov edx, 0x80000000
mov eax, esi
call fcn.0046c9d8
lea eax, [ebp - 0x28]
push eax
mov eax, 0x4c3f84
mov ecx, 4
mov edx, 2
call fcn.00404154
lea eax, [ebp - 0x28]
mov edx, 0x4c3fa8
call fcn.00403f54
mov edx, dword [ebp - 0x28]
xor ecx, ecx
mov eax, esi
call fcn.0046ca40
test al, al
je 0x4c3aff
lea ecx, [ebp - 0x10]
xor edx, edx
mov eax, esi
call fcn.0046ce08
mov eax, esi
call fcn.0046c9a8
mov eax, esi
call fcn.00402f80
push dword [ebx + 0x153fc]
push dword [ebx + 0x14780]
push 0x4c3fc0
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.0040400c
mov eax, dword [ebp - 0x10]
mov edx, 0x4c3fd0
call fcn.0040405c
jb 0x4c3b4a
mov eax, dword [ebp - 0x14]
call fcn.00409718
test al, al
jne 0x4c3d39
mov eax, dword [ebx + 0x143bc]
call fcn.00409718
test al, al
je 0x4c3b8f
push 0
mov eax, dword [ebp - 0x14]
call fcn.00404110
push eax
mov eax, dword [ebx + 0x143bc]
call fcn.00404110
push eax
call sub.kernel32.dll_CopyFileA
test eax, eax
jne 0x4c3b8f
lea eax, [ebp - 0x18]
push eax
mov ecx, 3
mov edx, 1
mov eax, dword [ebp - 0x14]
call fcn.00404154
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x4c3f84
mov ecx, 4
mov edx, 2
call fcn.00404154
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 8]
mov ecx, 0x4c3f94
call fcn.00403f98
lea eax, [ebp - 0xc]
mov edx, 0x4c3fd0
call fcn.00403d64
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
call fcn.00404110
push eax
push 0x80000000
call sub.advapi32.dll_RegCreateKeyA
push 0x104
mov eax, dword [ebp - 0xc]
call fcn.00404110
push eax
push 1
push 0x4c3fd8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueA
push 0
push dword [ebx + 0x153fc]
lea eax, [ebp - 0x34]
push eax
mov eax, 0x4c3f84
mov ecx, 4
mov edx, 2
call fcn.00404154
push dword [ebp - 0x34]
push 0x4c3fe8
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.0040400c
mov eax, dword [ebp - 0x30]
call fcn.00404110
push eax
lea edx, [ebp - 0x40]
mov eax, dword [0x503418]
mov eax, dword [eax]
call fcn.00453e58
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x3c]
call fcn.004097fc
push dword [ebp - 0x3c]
lea eax, [ebp - 0x44]
push eax
mov eax, 0x4c3f84
mov ecx, 4
mov edx, 2
call fcn.00404154
push dword [ebp - 0x44]
push 0x4c3fe8
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.0040400c
mov eax, dword [ebp - 0x38]
call fcn.00404110
push eax
call sub.kernel32.dll_CopyFileA
push dword [ebx + 0x153fc]
push 0x4c3ff8
push 0x4c3f84
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.0040400c
lea edx, [ebp - 0x50]
mov eax, dword [0x503418]
mov eax, dword [eax]
call fcn.00453e58
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 0x4c]
call fcn.004097fc
push dword [ebp - 0x4c]
push 0x4c3ff8
push 0x4c3f84
lea eax, [ebp - 0x48]
mov edx, 3
call fcn.0040400c
mov eax, dword [ebp - 0x48]
call fcn.00409718
test al, al
je 0x4c3d39
push 0
mov eax, dword [ebp - 0x1c]
call fcn.00404110
push eax
lea edx, [ebp - 0x5c]
mov eax, dword [0x503418]
mov eax, dword [eax]
call fcn.00453e58
mov eax, dword [ebp - 0x5c]
lea edx, [ebp - 0x58]
call fcn.004097fc
push dword [ebp - 0x58]
push 0x4c3ff8
push 0x4c3f84
lea eax, [ebp - 0x54]
mov edx, 3
call fcn.0040400c
mov eax, dword [ebp - 0x54]
call fcn.00404110
push eax
call sub.kernel32.dll_CopyFileA
lea eax, [ebp - 0x60]
push eax
mov eax, 0x4c3f84
mov ecx, 4
mov edx, 2
call fcn.00404154
mov edx, dword [ebp - 0x60]
lea eax, [ebp - 8]
mov ecx, 0x4c3f94
call fcn.00403f98
lea eax, [ebp - 0xc]
mov ecx, 0x4c4008
mov edx, dword [ebp - 0x14]
call fcn.00403f98
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
call fcn.00404110
push eax
push 0x80000000
call sub.advapi32.dll_RegCreateKeyA
push 0x104
mov eax, dword [ebp - 0xc]
call fcn.00404110
push eax
push 1
push 0x4c400c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueA
lea eax, [ebp - 0x64]
push eax
mov eax, 0x4c3f84
mov ecx, 4
mov edx, 2
call fcn.00404154
mov edx, dword [ebp - 0x64]
lea eax, [ebp - 8]
mov ecx, 0x4c3f94
call fcn.00403f98
push dword [ebp - 0x14]
push 0x4c4028
lea edx, [ebp - 0x68]
mov eax, 1
call fcn.00409428
push dword [ebp - 0x68]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040400c
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
call fcn.00404110
push eax
push 0x80000000
call sub.advapi32.dll_RegCreateKeyA
push 0x104
mov eax, dword [ebp - 0xc]
call fcn.00404110
push eax
push 1
push 0x4c402c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueA
lea eax, [ebp - 0x6c]
mov ecx, 0x4c4040
mov edx, dword [ebx + 0x153f8]
call fcn.00403f98
mov eax, dword [ebp - 0x6c]
call fcn.00409764
lea eax, [ebp - 0x70]
mov ecx, 0x4c4054
mov edx, dword [ebx + 0x153f8]
call fcn.00403f98
mov eax, dword [ebp - 0x70]
call fcn.00409764
push dword [ebx + 0x153fc]
lea eax, [ebp - 0x78]
push eax
mov eax, 0x4c3f84
mov ecx, 4
mov edx, 2
call fcn.00404154
push dword [ebp - 0x78]
push 0x4c3fe8
lea eax, [ebp - 0x74]
mov edx, 3
call fcn.0040400c
mov eax, dword [ebp - 0x74]
call fcn.00409718
test al, al
jne 0x4c3f4f
push 0
push dword [ebx + 0x153fc]
lea eax, [ebp - 0x80]
push eax
mov eax, 0x4c3f84
mov ecx, 4
mov edx, 2
call fcn.00404154
push dword [ebp - 0x80]
push 0x4c3fe8
lea eax, [ebp - 0x7c]
mov edx, 3
call fcn.0040400c
mov eax, dword [ebp - 0x7c]
call fcn.00404110
push eax
lea edx, [ebp - 0x8c]
mov eax, dword [0x503418]
mov eax, dword [eax]
call fcn.00453e58
mov eax, dword [ebp - 0x8c]
lea edx, [ebp - 0x88]
call fcn.004097fc
push dword [ebp - 0x88]
lea eax, [ebp - 0x90]
push eax
mov eax, 0x4c3f84
mov ecx, 4
mov edx, 2
call fcn.00404154
push dword [ebp - 0x90]
push 0x4c3fe8
lea eax, [ebp - 0x84]
mov edx, 3
call fcn.0040400c
mov eax, dword [ebp - 0x84]
call fcn.00404110
push eax
call sub.kernel32.dll_CopyFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c3f74
lea eax, [ebp - 0x90]
mov edx, 0x23
call fcn.00403cf0
ret