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

Disassembly:
push ebp
lea ebp, [esp - 0x2290]
mov eax, 0x2290
call fcn.00465b20
push 0xffffffffffffffff
push 0x4a3226
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x4d6080]
xor eax, ebp
mov dword [ebp + 0x228c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x2298]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x14], eax
call fcn.004057db
mov esi, eax
xor eax, eax
push 0x7fe
push eax
mov word [ebp + 0x1a78], ax
lea eax, [ebp + 0x1a7a]
push eax
mov dword [ebp - 0x1c], esi
call fcn.00465a60
add esp, 0xc
mov ecx, esi
call fcn.00435ffb
test eax, eax
jne 0x42baea
lea ecx, [ebp - 0x30]
call fcn.00405e89
and dword [ebp - 4], 0
cmp dword [0x4dadb0], 8
mov eax, dword [0x4dad9c]
jae 0x42b9b2
mov eax, 0x4dad9c
push eax
push 0x4daed0
lea eax, [ebp + 0x1a78]
push eax
call fcn.00441d63
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0
lea eax, [ebp + 0x1a78]
push eax
mov ebx, 0x4d9d28
push ebx
call esi
push 0x80
lea eax, [ebp + 0x1a78]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp + 0x1a78]
push eax
lea ecx, [ebp - 0x30]
call fcn.0040c991
xor eax, eax
mov word [ebp + 0x250], ax
push 9
pop ecx
lea edi, [ebp + 0x252]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x294]
movzx eax, word [eax + 0x50]
push eax
lea eax, [ebp + 0x250]
push str._04x
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp + 0xa78]
push eax
lea eax, [ebp + 0x278]
push eax
push ebx
call fcn.0044152b
lea eax, [ebp + 0x250]
push eax
lea eax, [ebp + 0x278]
push eax
lea eax, [ebp + 0xa78]
push eax
call fcn.00441d63
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
mov ebx, str..ini
push ebx
lea eax, [ebp + 0xa78]
push eax
call edi
xor eax, eax
push 0x7fe
push eax
mov word [ebp + 0x1278], ax
lea eax, [ebp + 0x127a]
push eax
call fcn.00465a60
add esp, 0xc
lea eax, [ebp + 0x250]
push eax
push 0x4daed0
lea eax, [ebp + 0x1278]
push eax
call fcn.00441d63
push ebx
lea eax, [ebp + 0x1278]
push eax
call edi
push 0
lea eax, [ebp + 0x1278]
push eax
lea eax, [ebp + 0xa78]
push eax
call esi
lea eax, [ebp + 0x1278]
push eax
lea ecx, [ebp - 0x30]
call fcn.0040c991
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00405e9a
mov esi, dword [ebp - 0x1c]
jmp 0x42bafc
push 0x4d9d28
lea eax, [ebp + 0x1a78]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor ebx, ebx
inc ebx
push ebx
lea eax, [ebp - 0xd]
push eax
push str.NoSuppressRebootKey
lea ecx, [ebp + 0x16c]
call fcn.004018b0
mov dword [ebp - 4], ebx
push ebx
lea eax, [ebp - 0xd]
push eax
push str.Startup
lea ecx, [ebp + 0x1a0]
call fcn.004018b0
mov byte [ebp - 4], 2
push 0xa
push 0
lea eax, [ebp + 0x16c]
push eax
lea eax, [ebp + 0x1a0]
push eax
mov ecx, esi
call fcn.00439d2c
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x1a0]
call fcn.00401670
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x16c]
call fcn.00401670
push ebx
lea eax, [ebp - 0xd]
push eax
lea ecx, [ebp + 0x210]
call fcn.00401f90
push 3
pop edi
mov dword [ebp - 4], edi
and dword [ebp - 0x2c], 0
and dword [ebp - 0x28], 0
mov byte [ebp - 4], 4
push ebx
lea eax, [ebp - 0xd]
push eax
lea ecx, [ebp + 0x104]
call fcn.00401f90
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x1c]
sub eax, 0
je 0x42bbc6
dec eax
je 0x42bbbf
dec eax
jne 0x42bbd6
push str.SoftwareMicrosoftWindowsCurrentVersionRun
lea ecx, [ebp + 0x104]
call fcn.00401fd0
jmp 0x42bbdf
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnceEx
jmp 0x42bbb2
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
lea ecx, [ebp + 0x104]
call fcn.00401fd0
cmp dword [ebp - 0x1c], edi
je 0x42c27a
mov eax, dword [ebp + 0x10c]
push 8
pop edi
cmp dword [ebp + 0x120], edi
jae 0x42bbf6
lea eax, [ebp + 0x10c]
push 0x2001f
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x2c]
call fcn.004014e0
test eax, eax
jne 0x42c27a
push ebx
lea eax, [ebp - 0xd]
push eax
push dword [ebp - 0x14]
lea ecx, [ebp + 0x138]
call fcn.004096ba
mov byte [ebp - 4], 6
cmp dword [ebp + 0x229c], 0
je 0x42bc41
push str._AFTERREBOOT1
lea ecx, [ebp + 0x13c]
call fcn.00415b3a
push ebx
lea eax, [ebp - 0xd]
push eax
lea ecx, [ebp + 0x244]
call fcn.00401f90
mov byte [ebp - 4], 7
mov eax, dword [esi + 0x24]
dec eax
je 0x42bd28
dec eax
je 0x42bcd6
dec eax
je 0x42bc83
dec eax
je 0x42bc79
dec eax
jne 0x42bd38
push 0x4b04a0
jmp 0x42bd2d
push 0x4b0498
jmp 0x42bd2d
push edi
lea eax, [ebp - 0xcc]
push eax
mov ecx, esi
call fcn.0040f5ac
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x98]
push 0x4ade2c
push eax
call fcn.0040f8d6
add esp, 0xc
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp + 0x244]
call fcn.004091a5
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x98]
call fcn.004016d0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xcc]
jmp 0x42bd21
push edi
lea eax, [ebp - 0x64]
push eax
mov ecx, esi
call fcn.0040f5ac
mov byte [ebp - 4], 8
push eax
lea eax, [ebp + 0x1dc]
push 0x4ade68
push eax
call fcn.0040f8d6
add esp, 0xc
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp + 0x244]
call fcn.004091a5
mov byte [ebp - 4], 8
lea ecx, [ebp + 0x1dc]
call fcn.004016d0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x64]
call fcn.004016d0
jmp 0x42bd38
push 0x4adf04
lea ecx, [ebp + 0x244]
call fcn.00401fd0
mov ecx, esi
call fcn.00435ffb
test eax, eax
mov eax, 0x4b0490
jne 0x42bd4d
mov eax, 0x4bde80
push ebx
lea ecx, [ebp - 0xd]
push ecx
push eax
lea ecx, [ebp + 0x1a0]
call fcn.004096ba
mov byte [ebp - 4], 0xc
lea eax, [ebp + 0x16c]
push eax
mov ecx, esi
call fcn.0043777c
mov byte [ebp - 4], 0xd
push ebx
lea eax, [ebp - 0xd]
push eax
mov ecx, esi
call fcn.00435ed7
push eax
lea ecx, [ebp + 0x68]
call fcn.004096ba
mov byte [ebp - 4], 0xe
push ebx
lea eax, [ebp - 0xd]
push eax
push 0x4daed0
lea ecx, [ebp + 0x9c]
call fcn.004096ba
mov byte [ebp - 4], 0xf
mov ecx, esi
call fcn.00435ffb
test eax, eax
je 0x42be5c
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x54], 0
jne 0x42be5c
cmp dword [ebp + 0x1bc], edi
mov edi, dword [ebp + 0x1a8]
jae 0x42bdd6
lea edi, [ebp + 0x1a8]
mov ecx, dword [ebp + 0x140]
push 8
pop eax
cmp dword [ebp + 0x154], eax
jae 0x42bded
lea ecx, [ebp + 0x140]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp + 0xa4]
cmp dword [ebp + 0xb8], eax
jae 0x42be04
lea ecx, [ebp + 0xa4]
mov edx, dword [ebp + 0x70]
mov dword [ebp - 0x14], ecx
cmp dword [ebp + 0x84], eax
jae 0x42be15
lea edx, [ebp + 0x70]
mov ecx, dword [ebp + 0x24c]
cmp dword [ebp + 0x260], eax
jae 0x42be29
lea ecx, [ebp + 0x24c]
cmp dword [ebp + 0x188], eax
mov eax, dword [ebp + 0x174]
jae 0x42be3d
lea eax, [ebp + 0x174]
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x14]
push edx
mov edx, dword [esi + 0x294]
movzx edx, word [edx + 0x50]
push edx
push ecx
push eax
push str.__s___k__s__l_d__t__s___e__s___w__v__s___s
jmp 0x42bef1
cmp dword [ebp + 0x1bc], edi
mov edi, dword [ebp + 0x1a8]
jae 0x42be70
lea edi, [ebp + 0x1a8]
mov ecx, dword [ebp + 0x140]
push 8
pop eax
cmp dword [ebp + 0x154], eax
jae 0x42be87
lea ecx, [ebp + 0x140]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0xa4]
cmp dword [ebp + 0xb8], eax
jae 0x42be9e
lea ecx, [ebp + 0xa4]
mov edx, dword [ebp + 0x70]
mov dword [ebp - 0x20], ecx
cmp dword [ebp + 0x84], eax
jae 0x42beaf
lea edx, [ebp + 0x70]
mov ecx, dword [ebp + 0x24c]
cmp dword [ebp + 0x260], eax
jae 0x42bec3
lea ecx, [ebp + 0x24c]
cmp dword [ebp + 0x188], eax
mov eax, dword [ebp + 0x174]
jae 0x42bed7
lea eax, [ebp + 0x174]
push edi
push dword [ebp - 0x14]
push dword [ebp - 0x20]
push edx
mov edx, dword [esi + 0x294]
movzx edx, word [edx + 0x50]
push edx
push ecx
push eax
push str.__s___s__l_d__t__s___e__s___v__s___s
lea eax, [ebp + 0x210]
push eax
call fcn.0041602c
add esp, 0x24
lea eax, [ebp - 0x64]
push eax
mov ecx, esi
xor edi, edi
call fcn.00422023
mov byte [ebp - 4], 0x10
cmp dword [eax + 0x18], edi
setne byte [ebp - 0xd]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x64]
call fcn.004016d0
cmp byte [ebp - 0xd], 0
je 0x42bf9e
lea eax, [ebp - 0xcc]
push eax
mov ecx, esi
call fcn.00422023
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp + 0x1dc]
push str.__debuglog_
push eax
call fcn.0040f8d6
mov byte [ebp - 4], 0x12
push 0x4ae988
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00415e5d
add esp, 0x18
mov byte [ebp - 4], 0x13
push eax
lea ecx, [ebp + 0x210]
call fcn.0040f04f
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x64]
call fcn.004016d0
mov byte [ebp - 4], 0x11
lea ecx, [ebp + 0x1dc]
call fcn.004016d0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xcc]
call fcn.004016d0
cmp dword [ebp - 0x1c], ebx
jne 0x42bfbe
push edi
push edi
push 0x2001f
push edi
push edi
push str.0001
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x2c]
call fcn.0041f7a1
push ebx
lea eax, [ebp + 0x138]
push eax
lea ecx, [ebp + 0xd0]
call fcn.004091ca
mov byte [ebp - 4], 0x14
push ebx
lea eax, [ebp - 0xd]
push eax
mov ecx, esi
call fcn.00435ed7
push eax
lea ecx, [ebp + 0x34]
call fcn.004096ba
mov byte [ebp - 4], 0x15
push ebx
lea eax, [ebp - 0xd]
push eax
push 0x4daed0
lea ecx, [ebp]
call fcn.004096ba
mov byte [ebp - 4], 0x16
cmp dword [ebp + 0x4c], edi
je 0x42c01e
push edi
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp + 0x34]
call fcn.0041caba
lea ecx, [ebp - 0x64]
call fcn.004016d0
cmp dword [ebp + 0x18], edi
je 0x42c038
push edi
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp]
call fcn.0041caba
lea ecx, [ebp - 0x64]
call fcn.004016d0
cmp dword [ebp + 0x22c], 8
mov eax, dword [ebp + 0x218]
jae 0x42c04d
lea eax, [ebp + 0x218]
push eax
lea eax, [ebp - 0x24]
push str.MsiAction::Reboot_command_line__s
push eax
mov dword [ebp - 0x24], str.C:CodeBasesisdev_srcRuntimeMSISharedSetupmsiaction.cpp
mov dword [ebp - 0x20], 0x711
call fcn.004115dc
add esp, 0xc
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 0x17
push 0x2001f
push str.SoftwareMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x18]
call fcn.004014e0
test eax, eax
jne 0x42c1c4
cmp dword [ebp + 0x50], 8
mov eax, dword [ebp + 0x3c]
jae 0x42c0a2
lea eax, [ebp + 0x3c]
push ebx
push eax
push str._IS_T_
lea ecx, [ebp - 0x18]
call fcn.0041f7ef
cmp dword [ebp + 0x1c], 8
mov eax, dword [ebp + 8]
jae 0x42c0bd
lea eax, [ebp + 8]
push ebx
push eax
mov edi, str._IS_E_
push edi
lea ecx, [ebp - 0x18]
call fcn.0041f7ef
cmp dword [ebp + 0xe8], 0
je 0x42c0fa
cmp dword [ebp + 0xec], 8
mov eax, dword [ebp + 0xd8]
jae 0x42c0eb
lea eax, [ebp + 0xd8]
push ebx
push eax
push str._IS_V_
lea ecx, [ebp - 0x18]
call fcn.0041f7ef
lea ecx, [ebp - 0x18]
call fcn.00401490
push ebx
lea eax, [ebp - 0xd]
push eax
push str._IS_T_
lea ecx, [ebp - 0x98]
call fcn.00409238
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp + 0x34]
push eax
lea ecx, [ebp + 0x210]
call fcn.00408ea5
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x98]
call fcn.004016f0
push ebx
lea eax, [ebp - 0xd]
push eax
push edi
lea ecx, [ebp - 0x98]
call fcn.00409238
mov byte [ebp - 4], 0x19
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp]
push eax
lea ecx, [ebp + 0x210]
call fcn.00408ea5
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x98]
call fcn.004016f0
cmp dword [ebp + 0xe8], 0
je 0x42c1c4
push ebx
lea eax, [ebp - 0xd]
push eax
push str._IS_V_
lea ecx, [ebp - 0x98]
call fcn.00409238
mov byte [ebp - 4], 0x1a
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp + 0xd0]
push eax
lea ecx, [ebp + 0x210]
call fcn.00408ea5
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x98]
call fcn.004016f0
cmp dword [ebp + 0x22c], 8
mov eax, dword [ebp + 0x218]
jae 0x42c1d9
lea eax, [ebp + 0x218]
push ebx
push eax
push str.ISSetup
lea ecx, [ebp - 0x2c]
call fcn.0041f7ef
lea ecx, [ebp - 0x2c]
call fcn.00401490
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x18]
call fcn.00401490
mov byte [ebp - 4], 0x15
lea ecx, [ebp]
call fcn.004016d0
mov byte [ebp - 4], 0x14
lea ecx, [ebp + 0x34]
call fcn.004016d0
mov byte [ebp - 4], 0xf
lea ecx, [ebp + 0xd0]
call fcn.004016d0
mov byte [ebp - 4], 0xe
lea ecx, [ebp + 0x9c]
call fcn.004016d0
mov byte [ebp - 4], 0xd
lea ecx, [ebp + 0x68]
call fcn.004016d0
mov byte [ebp - 4], 0xc
lea ecx, [ebp + 0x16c]
call fcn.004016d0
mov byte [ebp - 4], 7
lea ecx, [ebp + 0x1a0]
call fcn.004016d0
mov byte [ebp - 4], 6
lea ecx, [ebp + 0x244]
call fcn.004016d0
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x138]
call fcn.004016d0
xor eax, eax
mov word [ebp + 0x2278], ax
lea edi, [ebp + 0x227a]
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
push ebx
lea eax, [ebp - 0xd]
push eax
mov edi, str.Type
push edi
lea ecx, [ebp - 0x98]
call fcn.004018b0
mov byte [ebp - 4], 0x1b
push 5
lea eax, [ebp + 0x1dc]
push eax
mov ecx, esi
call fcn.0040f5ac
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x64]
push ecx
mov ecx, eax
call fcn.00421d14
mov byte [ebp - 4], 0x1d
push 0xa
push 0
lea ecx, [ebp - 0x98]
push ecx
push eax
mov ecx, esi
call fcn.00439d2c
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x64]
call fcn.00401670
mov byte [ebp - 4], 0x1b
lea ecx, [ebp + 0x1dc]
call fcn.004016d0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x98]
call fcn.00401670
push 0xb
mov ecx, esi
call fcn.0040ef2e
test al, al
jne 0x42c328
cmp dword [ebp - 0x14], ebx
je 0x42c328
cmp dword [ebp - 0x14], 2
jne 0x42c3cf
push 4
lea eax, [ebp + 0x2278]
push 0x4af5cc
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [ebp + 0x1d4]
call fcn.0040c4ef
mov byte [ebp - 4], 0x1e
lea eax, [ebp + 0x1a78]
push eax
lea ecx, [ebp + 0x1d4]
call fcn.0040c4ce
push 5
lea eax, [ebp - 0x64]
push eax
mov ecx, esi
call fcn.0040f5ac
mov byte [ebp - 4], 0x1f
cmp dword [eax + 0x1c], 8
jb 0x42c37c
mov eax, dword [eax + 8]
jmp 0x42c37f
add eax, 8
lea ecx, [ebp + 0x2278]
push ecx
push edi
push eax
lea ecx, [ebp + 0x1d4]
call fcn.0040bec8
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x64]
call fcn.004016d0
cmp dword [ebp + 0x20c], 8
mov eax, dword [ebp + 0x1f8]
jae 0x42c3b4
lea eax, [ebp + 0x1f8]
push eax
lea ecx, [ebp + 0x1d4]
call fcn.0040a0a0
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x1d4]
call fcn.0040c510
cmp dword [ebp - 0x1c], 3
je 0x42c3f9
mov esi, dword [esi + 0x294]
cmp byte [esi + 1], 0
je 0x42c3ee
cmp byte [esi + 2], 0
jne 0x42c3ee
call fcn.004419af
jmp 0x42c3f9
push 0x453
call fcn.00442e7f
pop ecx
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x104]
call fcn.004016d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.00401490
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x210]
call fcn.004016d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x228c]
xor ecx, ebp
call fcn.004646c1
add ebp, 0x2290
leave
ret 8