Function at 0x4a025c
Capabilities:
Copy file
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x4a0264
push ecx
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x4a06d6
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x4b2388
mov edx, 0x4a06ec
mov eax, 0x4a0704
call fcn.0043a020
test al, al
je 0x4a06bb
lea eax, [ebp - 4]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [0x4b2388]
call fcn.00404c18
mov eax, dword [ebp - 4]
mov edx, 0x4a0714
call fcn.00404b04
je 0x4a06b1
cmp dword [0x4b2388], 0
je 0x4a06b1
push dword [0x4b1de0]
push dword [0x4b2388]
push 0x4a0720
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404a80
mov eax, dword [ebp - 8]
call fcn.00409180
test al, al
je 0x4a0314
push 0x30
push 0x4a0728
push 0x4a0730
push 0
call sub.user32.dll_MessageBoxA_1
jmp 0x4a06b1
mov edx, dword [0x4b2388]
mov eax, 0x4a0750
call fcn.00404cfc
test eax, eax
jle 0x4a034a
push 0x10
push 0x4a0728
push 0x4a0754
push 0
call sub.user32.dll_MessageBoxA_1
mov eax, 0x4b2388
call fcn.00404708
jmp 0x4a06bb
mov edx, dword [0x4b2388]
mov eax, 0x4a0790
call fcn.00404cfc
test eax, eax
jle 0x4a0380
push 0x10
push 0x4a0728
push 0x4a0754
push 0
call sub.user32.dll_MessageBoxA_1
mov eax, 0x4b2388
call fcn.00404708
jmp 0x4a06bb
mov edx, dword [0x4b2388]
mov eax, 0x4a079c
call fcn.00404cfc
test eax, eax
jle 0x4a03b6
push 0x10
push 0x4a0728
push 0x4a0754
push 0
call sub.user32.dll_MessageBoxA_1
mov eax, 0x4b2388
call fcn.00404708
jmp 0x4a06bb
mov edx, dword [0x4b2388]
mov eax, 0x4a07a8
call fcn.00404cfc
test eax, eax
jle 0x4a03ec
push 0x10
push 0x4a0728
push 0x4a0754
push 0
call sub.user32.dll_MessageBoxA_1
mov eax, 0x4b2388
call fcn.00404708
jmp 0x4a06bb
mov edx, dword [0x4b2388]
mov eax, 0x4a07b4
call fcn.00404cfc
test eax, eax
jle 0x4a0422
push 0x10
push 0x4a0728
push 0x4a0754
push 0
call sub.user32.dll_MessageBoxA_1
mov eax, 0x4b2388
call fcn.00404708
jmp 0x4a06bb
mov edx, dword [0x4b2388]
mov eax, 0x4a07c0
call fcn.00404cfc
test eax, eax
jle 0x4a0458
push 0x10
push 0x4a0728
push 0x4a0754
push 0
call sub.user32.dll_MessageBoxA_1
mov eax, 0x4b2388
call fcn.00404708
jmp 0x4a06bb
mov edx, dword [0x4b2388]
mov eax, 0x4a07cc
call fcn.00404cfc
test eax, eax
jle 0x4a048e
push 0x10
push 0x4a0728
push 0x4a0754
push 0
call sub.user32.dll_MessageBoxA_1
mov eax, 0x4b2388
call fcn.00404708
jmp 0x4a06bb
mov edx, dword [0x4b2388]
mov eax, 0x4a07d8
call fcn.00404cfc
test eax, eax
jle 0x4a04c4
push 0x10
push 0x4a0728
push 0x4a0754
push 0
call sub.user32.dll_MessageBoxA_1
mov eax, 0x4b2388
call fcn.00404708
jmp 0x4a06bb
mov edx, dword [0x4b2388]
mov eax, 0x4a07e4
call fcn.00404cfc
test eax, eax
jle 0x4a04fa
push 0x10
push 0x4a0728
push 0x4a0754
push 0
call sub.user32.dll_MessageBoxA_1
mov eax, 0x4b2388
call fcn.00404708
jmp 0x4a06bb
push 0xffffffffffffffff
push dword [0x4b1de0]
push dword [0x4b2388]
push 0x4a0720
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404a80
mov eax, dword [ebp - 0xc]
call fcn.00404bb8
push eax
lea eax, [ebp - 0x10]
mov ecx, 0x4a07f0
mov edx, dword [0x4b1de4]
call fcn.00404a0c
mov eax, dword [ebp - 0x10]
call fcn.00404bb8
push eax
call sub.kernel32.dll_CopyFileA
test eax, eax
je 0x4a06b1
push 0
push dword [0x4b1de0]
push dword [0x4b2388]
push 0x4a0804
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404a80
mov eax, dword [ebp - 0x14]
call fcn.00404bb8
push eax
lea eax, [ebp - 0x18]
mov ecx, 0x4a0814
mov edx, dword [0x4b1de4]
call fcn.00404a0c
mov eax, dword [ebp - 0x18]
call fcn.00404bb8
push eax
call sub.kernel32.dll_CopyFileA
mov dword [0x4b1dc8], 0xf3
push 0x4b1dc4
lea eax, [ebp - 0x1c]
mov ecx, dword [0x4b2388]
mov edx, 0x4a0828
call fcn.00404a0c
mov eax, dword [ebp - 0x1c]
call fcn.00404bb8
push eax
push 0x80000001
call sub.advapi32.dll_RegCreateKeyA
test eax, eax
jne 0x4a0625
push 0
push dword [0x4b1de0]
push dword [0x4b2388]
push 0x4a0720
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00404a80
mov eax, dword [ebp - 0x20]
call fcn.00404bb8
push eax
push 1
push 0x4a0858
mov eax, dword [0x4b1dc4]
push eax
call sub.advapi32.dll_RegSetValueA
push 4
push 0x4b1dc8
push 4
push 0
push 0x4a085c
mov eax, dword [0x4b1dc4]
push eax
call sub.advapi32.dll_RegSetValueExA
mov eax, dword [0x4b1dc4]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov eax, dword [esi + 0x348]
mov eax, dword [eax + 0x218]
mov edx, dword [0x4b2388]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov ebx, dword [esi + 0x348]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xc4]
mov edx, eax
dec edx
mov cl, 1
mov eax, ebx
call fcn.00433040
mov dl, 1
mov eax, dword [esi + 0x304]
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov dl, 1
mov eax, dword [esi + 0x308]
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov dl, 1
mov eax, dword [esi + 0x30c]
mov ecx, dword [eax]
call dword [ecx + 0x64]
lea eax, [ebp - 0x24]
mov ecx, 0x4a0870
mov edx, dword [0x4b1de4]
call fcn.00404a0c
mov edx, dword [ebp - 0x24]
mov eax, dword [esi + 0x348]
mov eax, dword [eax + 0x218]
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov eax, 0x4b2388
call fcn.00404708
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a06dd
lea eax, [ebp - 0x24]
mov edx, 9
call fcn.0040472c
ret