Function at 0x41479e
Capabilities:
Copy file
Persist via run registry key
Set file attributes
Set registry value

Disassembly:
mov eax, 0x4342ba
call fcn.00427498
mov eax, 0x1c08
call fcn.00427bc0
push ebx
push esi
push edi
mov dword [ebp - 0x1c], ecx
call fcn.00401046
mov esi, eax
xor ebx, ebx
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x120b]
mov byte [ebp - 0x120c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, esi
mov dword [ebp - 0x28], esi
stosb byte es:[edi], al
call fcn.0041ce8d
test eax, eax
jne 0x414929
lea ecx, [ebp - 0x40]
call fcn.0040197c
push dword [0x43e660]
lea eax, [ebp - 0x120c]
mov dword [ebp - 4], ebx
push 0x445024
push eax
call fcn.00420c44
lea eax, [ebp - 0x120c]
push ebx
push eax
push 0x444150
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea eax, [ebp - 0x120c]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [ebp - 0x120c]
lea ecx, [ebp - 0x40]
push eax
call fcn.00401ded
xor eax, eax
lea edi, [ebp - 0xa3]
mov byte [ebp - 0xa4], bl
push dword [0x44476c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0xa4]
push str._04x
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0xe0c]
push eax
lea eax, [ebp - 0xa0c]
push eax
push 0x444150
call fcn.00420a03
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0xa0c]
push eax
lea eax, [ebp - 0xe0c]
push eax
call fcn.00420c44
lea eax, [ebp - 0xe0c]
push str..ini
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x60b]
mov byte [ebp - 0x60c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x60c]
push 0x445024
push eax
call fcn.00420c44
lea eax, [ebp - 0x60c]
push str..ini
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x60c]
push ebx
push eax
lea eax, [ebp - 0xe0c]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea eax, [ebp - 0x60c]
lea ecx, [ebp - 0x40]
push eax
call fcn.00401ded
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004019a9
jmp 0x41493b
lea eax, [ebp - 0x120c]
push 0x444150
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x1814]
push 0x104
push eax
push ebx
push dword [0x436614]
lea ecx, [esi + 0x4020]
push dword [0x4365e4]
call fcn.00407585
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], ebx
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x160b]
mov byte [ebp - 0x160c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], 1
sub eax, ebx
je 0x4149ac
dec eax
je 0x414998
dec eax
jne 0x4149be
push str.SoftwareMicrosoftWindowsCurrentVersionRun
jmp 0x41499d
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnceEx
lea eax, [ebp - 0x160c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x4149c8
lea eax, [ebp - 0x160c]
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp dword [ebp - 0x20], 3
je 0x414e83
lea eax, [ebp - 0x160c]
push 0xf003f
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x14]
call fcn.0040f736
test eax, eax
jne 0x414e83
mov ecx, 0xff
lea edi, [ebp - 0x60b]
mov byte [ebp - 0x60c], bl
push dword [ebp + 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x60c]
push eax
call fcn.00426fd0
cmp dword [ebp + 0xc], ebx
pop ecx
pop ecx
je 0x414a27
lea eax, [ebp - 0x60c]
push str._AFTERREBOOT1
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0xa0b]
mov byte [ebp - 0xa0c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esi + 0x14bc]
dec eax
je 0x414a95
dec eax
je 0x414a87
dec eax
je 0x414a69
dec eax
je 0x414a62
dec eax
je 0x414a5b
push 0x442430
jmp 0x414a9a
push 0x43e028
jmp 0x414a9a
push 0x43e024
jmp 0x414a9a
lea eax, [esi + 0x14c0]
push eax
push str._j_s
lea eax, [ebp - 0xa0c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x414aa9
lea eax, [esi + 0x14c0]
push eax
push str._f_s
jmp 0x414a75
push 0x43d768
lea eax, [ebp - 0xa0c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
pop ecx
pop ecx
push 0x104
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.00427d00
add esp, 0xc
mov ecx, esi
call fcn.0041ce8d
test eax, eax
je 0x414adb
lea eax, [ebp - 0x20c]
push 0x43e010
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0xe0b]
mov byte [ebp - 0xe0c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, esi
stosb byte es:[edi], al
call fcn.0041c1a9
push eax
lea eax, [ebp - 0xe0c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, esi
call fcn.0041ce8d
test eax, eax
je 0x414b51
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x38], ebx
jne 0x414b51
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
lea eax, [ebp - 0x60c]
push eax
push 0x445024
call fcn.0041c1f7
push eax
lea eax, [ebp - 0xa0c]
push dword [0x44476c]
push eax
lea eax, [ebp - 0xe0c]
push eax
push str.__s___k__s__l_d__t__s___e__s___w__v__s___s
jmp 0x414b85
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
lea eax, [ebp - 0x60c]
push eax
push 0x445024
call fcn.0041c1f7
push eax
lea eax, [ebp - 0xa0c]
push dword [0x44476c]
push eax
lea eax, [ebp - 0xe0c]
push eax
push str.__s___s__l_d__t__s___e__s___v__s___s
lea eax, [ebp - 0x1c14]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x24
push 1
pop edi
cmp dword [ebp - 0x20], edi
jne 0x414bed
lea eax, [ebp - 0x160c]
push str.0001
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp + 0xc]
mov dword [ebp + 8], ebx
push eax
lea eax, [ebp + 8]
push eax
push ebx
push 0xf003f
push ebx
push ebx
lea eax, [ebp - 0x160c]
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
jne 0x414bed
cmp dword [ebp - 0x14], ebx
je 0x414be7
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0xb]
push edi
push eax
lea eax, [ebp - 0x1c14]
push eax
lea ecx, [ebp - 0x108]
call fcn.004014ff
lea eax, [ebp + 0xf]
push edi
push eax
lea eax, [ebp - 0x60c]
push eax
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 2
call fcn.004014ff
lea eax, [ebp - 0x21]
push edi
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.0041c1f7
push eax
lea ecx, [ebp - 0xb8]
call fcn.004014ff
lea eax, [ebp - 0xd]
push edi
push eax
push 0x445024
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 4
call fcn.004014ff
cmp dword [ebp - 0xac], ebx
mov byte [ebp - 4], 5
je 0x414c78
lea eax, [ebp - 0x68]
push ebx
push eax
lea ecx, [ebp - 0xb8]
call fcn.004184f4
lea ecx, [ebp - 0x68]
call fcn.0040191f
cmp dword [ebp - 0x84], ebx
je 0x414c98
lea eax, [ebp - 0x68]
push ebx
push eax
lea ecx, [ebp - 0x90]
call fcn.004184f4
lea ecx, [ebp - 0x68]
call fcn.0040191f
mov dword [ebp - 0x18], ebx
push 0xf003f
push str.SoftwareMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.0040f736
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x414dff
lea ecx, [ebp - 0xb8]
call fcn.004016f0
push eax
mov dword [ebp - 0x1c], eax
call esi
inc eax
push eax
push dword [ebp - 0x1c]
push 1
push ebx
push str._IS_T_
push dword [ebp - 0x18]
call edi
lea ecx, [ebp - 0x90]
call fcn.004016f0
push eax
mov dword [ebp - 0x1c], eax
call esi
inc eax
push eax
push dword [ebp - 0x1c]
push 1
push ebx
push str._IS_E_
push dword [ebp - 0x18]
call edi
cmp dword [ebp - 0xd4], ebx
je 0x414d3b
lea ecx, [ebp - 0xe0]
call fcn.004016f0
push eax
mov dword [ebp - 0x1c], eax
call esi
inc eax
push eax
push dword [ebp - 0x1c]
push 1
push ebx
push str._IS_V_
push dword [ebp - 0x18]
call edi
cmp dword [ebp - 0x18], ebx
je 0x414d4c
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0xd]
push 1
push eax
push str._IS_T_
lea ecx, [ebp - 0x68]
call fcn.0041826d
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0x108]
push eax
lea eax, [ebp - 0xb8]
push eax
mov byte [ebp - 4], 7
call fcn.0040b77c
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 6
call fcn.0040191f
lea eax, [ebp - 0xd]
push 1
push eax
push str._IS_E_
lea ecx, [ebp - 0x68]
call fcn.0041826d
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0x108]
push eax
lea eax, [ebp - 0x90]
push eax
mov byte [ebp - 4], 8
call fcn.0040b77c
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 6
call fcn.0040191f
cmp dword [ebp - 0xd4], ebx
je 0x414dff
lea eax, [ebp - 0xd]
push 1
push eax
push str._IS_V_
lea ecx, [ebp - 0x68]
call fcn.0041826d
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0x108]
push eax
lea eax, [ebp - 0xe0]
push eax
mov byte [ebp - 4], 9
call fcn.0040b77c
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 6
call fcn.0040191f
lea ecx, [ebp - 0x108]
call fcn.004016f0
push eax
mov dword [ebp - 0x1c], eax
call esi
inc eax
push eax
push dword [ebp - 0x1c]
push 1
push ebx
push str.ISSetup
push dword [ebp - 0x14]
call edi
cmp dword [ebp - 0x14], ebx
je 0x414e33
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x18], ebx
je 0x414e44
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 4
call fcn.0040191f
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 3
call fcn.0040191f
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 2
call fcn.0040191f
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 1
call fcn.0040191f
mov esi, dword [ebp - 0x28]
xor eax, eax
lea edi, [ebp - 0x33]
mov byte [ebp - 0x34], bl
push 0x104
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [ebp - 0x1710]
lea edi, [esi + 0x8ac]
push eax
push ebx
push dword [0x4365f4]
lea ecx, [esi + 0x4020]
push edi
call fcn.00407585
cmp dword [esi + 0x1cfc], ebx
jne 0x414ec5
cmp eax, 1
je 0x414ec5
cmp eax, 2
jne 0x414f38
push 4
lea eax, [ebp - 0x34]
push 0x43dfb0
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x88]
call fcn.00402375
lea eax, [ebp - 0x120c]
lea ecx, [ebp - 0x88]
push eax
mov byte [ebp - 4], 0xa
call fcn.004023bd
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x88]
push eax
push dword [0x4365f4]
push edi
call fcn.004023fc
lea ecx, [ebp - 0x88]
call fcn.004023e9
push 1
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0xb
call fcn.004042e4
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 1
call fcn.004037e4
cmp dword [ebp - 0x20], 3
je 0x414f58
cmp dword [0x44542c], ebx
je 0x414f4d
call fcn.00421166
jmp 0x414f58
push 0x453
call fcn.004204c6
pop ecx
cmp dword [ebp - 0x14], ebx
je 0x414f66
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8