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

Disassembly:
push ebp
lea ebp, [esp - 0x2290]
mov eax, 0x2290
call fcn.004688f0
push 0xffffffffffffffff
push 0x4a624d
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x4db020]
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.004056af
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.00468830
add esp, 0xc
mov ecx, esi
call fcn.0043601e
test eax, eax
jne 0x42bb0d
lea ecx, [ebp - 0x30]
call fcn.00405e1a
and dword [ebp - 4], 0
cmp dword [0x4dfd50], 8
mov eax, dword [0x4dfd3c]
jae 0x42b9d5
mov eax, 0x4dfd3c
push eax
push 0x4dfe70
lea eax, [ebp + 0x1a78]
push eax
call fcn.004435cf
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0
lea eax, [ebp + 0x1a78]
push eax
mov ebx, 0x4decc8
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.0040c9f1
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.00442dd3
lea eax, [ebp + 0x250]
push eax
lea eax, [ebp + 0x278]
push eax
lea eax, [ebp + 0xa78]
push eax
call fcn.004435cf
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.00468830
add esp, 0xc
lea eax, [ebp + 0x250]
push eax
push 0x4dfe70
lea eax, [ebp + 0x1278]
push eax
call fcn.004435cf
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.0040c9f1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00405e2b
mov esi, dword [ebp - 0x1c]
jmp 0x42bb1f
push 0x4decc8
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.00401850
mov dword [ebp - 4], ebx
push ebx
lea eax, [ebp - 0xd]
push eax
push str.Startup
lea ecx, [ebp + 0x1a0]
call fcn.00401850
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.0043a1a3
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x1a0]
call fcn.00401600
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x16c]
call fcn.00401600
push ebx
lea eax, [ebp - 0xd]
push eax
lea ecx, [ebp + 0x210]
call fcn.00401f10
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.00401f10
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x1c]
sub eax, 0
je 0x42bbe9
dec eax
je 0x42bbe2
dec eax
jne 0x42bbf9
push str.SoftwareMicrosoftWindowsCurrentVersionRun
lea ecx, [ebp + 0x104]
call fcn.00401f50
jmp 0x42bc02
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnceEx
jmp 0x42bbd5
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
lea ecx, [ebp + 0x104]
call fcn.00401f50
cmp dword [ebp - 0x1c], edi
je 0x42c29d
mov eax, dword [ebp + 0x10c]
push 8
pop edi
cmp dword [ebp + 0x120], edi
jae 0x42bc19
lea eax, [ebp + 0x10c]
push 0x2001f
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x2c]
call fcn.00401470
test eax, eax
jne 0x42c29d
push ebx
lea eax, [ebp - 0xd]
push eax
push dword [ebp - 0x14]
lea ecx, [ebp + 0x138]
call fcn.00409071
mov byte [ebp - 4], 6
cmp dword [ebp + 0x229c], 0
je 0x42bc64
push str._AFTERREBOOT1
lea ecx, [ebp + 0x13c]
call fcn.00415b0e
push ebx
lea eax, [ebp - 0xd]
push eax
lea ecx, [ebp + 0x244]
call fcn.00401f10
mov byte [ebp - 4], 7
mov eax, dword [esi + 0x24]
dec eax
je 0x42bd4b
dec eax
je 0x42bcf9
dec eax
je 0x42bca6
dec eax
je 0x42bc9c
dec eax
jne 0x42bd5b
push 0x4b4158
jmp 0x42bd50
push 0x4b4150
jmp 0x42bd50
push edi
lea eax, [ebp - 0xcc]
push eax
mov ecx, esi
call fcn.0040f536
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x98]
push 0x4b1b34
push eax
call fcn.0040f82a
add esp, 0xc
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp + 0x244]
call fcn.00408f7f
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x98]
call fcn.00401660
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xcc]
jmp 0x42bd44
push edi
lea eax, [ebp - 0x64]
push eax
mov ecx, esi
call fcn.0040f536
mov byte [ebp - 4], 8
push eax
lea eax, [ebp + 0x1dc]
push 0x4b1b70
push eax
call fcn.0040f82a
add esp, 0xc
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp + 0x244]
call fcn.00408f7f
mov byte [ebp - 4], 8
lea ecx, [ebp + 0x1dc]
call fcn.00401660
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x64]
call fcn.00401660
jmp 0x42bd5b
push 0x4b1c0c
lea ecx, [ebp + 0x244]
call fcn.00401f50
mov ecx, esi
call fcn.0043601e
test eax, eax
mov eax, 0x4b4148
jne 0x42bd70
mov eax, 0x4c1ca0
push ebx
lea ecx, [ebp - 0xd]
push ecx
push eax
lea ecx, [ebp + 0x1a0]
call fcn.00409071
mov byte [ebp - 4], 0xc
lea eax, [ebp + 0x16c]
push eax
mov ecx, esi
call fcn.004378a3
mov byte [ebp - 4], 0xd
push ebx
lea eax, [ebp - 0xd]
push eax
mov ecx, esi
call fcn.00435efa
push eax
lea ecx, [ebp + 0x68]
call fcn.00409071
mov byte [ebp - 4], 0xe
push ebx
lea eax, [ebp - 0xd]
push eax
push 0x4dfe70
lea ecx, [ebp + 0x9c]
call fcn.00409071
mov byte [ebp - 4], 0xf
mov ecx, esi
call fcn.0043601e
test eax, eax
je 0x42be7f
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x54], 0
jne 0x42be7f
cmp dword [ebp + 0x1bc], edi
mov edi, dword [ebp + 0x1a8]
jae 0x42bdf9
lea edi, [ebp + 0x1a8]
mov ecx, dword [ebp + 0x140]
push 8
pop eax
cmp dword [ebp + 0x154], eax
jae 0x42be10
lea ecx, [ebp + 0x140]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp + 0xa4]
cmp dword [ebp + 0xb8], eax
jae 0x42be27
lea ecx, [ebp + 0xa4]
mov edx, dword [ebp + 0x70]
mov dword [ebp - 0x14], ecx
cmp dword [ebp + 0x84], eax
jae 0x42be38
lea edx, [ebp + 0x70]
mov ecx, dword [ebp + 0x24c]
cmp dword [ebp + 0x260], eax
jae 0x42be4c
lea ecx, [ebp + 0x24c]
cmp dword [ebp + 0x188], eax
mov eax, dword [ebp + 0x174]
jae 0x42be60
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 0x42bf14
cmp dword [ebp + 0x1bc], edi
mov edi, dword [ebp + 0x1a8]
jae 0x42be93
lea edi, [ebp + 0x1a8]
mov ecx, dword [ebp + 0x140]
push 8
pop eax
cmp dword [ebp + 0x154], eax
jae 0x42beaa
lea ecx, [ebp + 0x140]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0xa4]
cmp dword [ebp + 0xb8], eax
jae 0x42bec1
lea ecx, [ebp + 0xa4]
mov edx, dword [ebp + 0x70]
mov dword [ebp - 0x20], ecx
cmp dword [ebp + 0x84], eax
jae 0x42bed2
lea edx, [ebp + 0x70]
mov ecx, dword [ebp + 0x24c]
cmp dword [ebp + 0x260], eax
jae 0x42bee6
lea ecx, [ebp + 0x24c]
cmp dword [ebp + 0x188], eax
mov eax, dword [ebp + 0x174]
jae 0x42befa
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.00416000
add esp, 0x24
lea eax, [ebp - 0x64]
push eax
mov ecx, esi
xor edi, edi
call fcn.00422065
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.00401660
cmp byte [ebp - 0xd], 0
je 0x42bfc1
lea eax, [ebp - 0xcc]
push eax
mov ecx, esi
call fcn.00422065
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp + 0x1dc]
push str.__debuglog_
push eax
call fcn.0040f82a
mov byte [ebp - 4], 0x12
push 0x4b2630
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00415c88
add esp, 0x18
mov byte [ebp - 4], 0x13
push eax
lea ecx, [ebp + 0x210]
call fcn.0040f009
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x64]
call fcn.00401660
mov byte [ebp - 4], 0x11
lea ecx, [ebp + 0x1dc]
call fcn.00401660
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xcc]
call fcn.00401660
cmp dword [ebp - 0x1c], ebx
jne 0x42bfe1
push edi
push edi
push 0x2001f
push edi
push edi
push str.0001
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x2c]
call fcn.0041f7e9
push ebx
lea eax, [ebp + 0x138]
push eax
lea ecx, [ebp + 0xd0]
call fcn.00408fa4
mov byte [ebp - 4], 0x14
push ebx
lea eax, [ebp - 0xd]
push eax
mov ecx, esi
call fcn.00435efa
push eax
lea ecx, [ebp + 0x34]
call fcn.00409071
mov byte [ebp - 4], 0x15
push ebx
lea eax, [ebp - 0xd]
push eax
push 0x4dfe70
lea ecx, [ebp]
call fcn.00409071
mov byte [ebp - 4], 0x16
cmp dword [ebp + 0x4c], edi
je 0x42c041
push edi
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp + 0x34]
call fcn.0041cacb
lea ecx, [ebp - 0x64]
call fcn.00401660
cmp dword [ebp + 0x18], edi
je 0x42c05b
push edi
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp]
call fcn.0041cacb
lea ecx, [ebp - 0x64]
call fcn.00401660
cmp dword [ebp + 0x22c], 8
mov eax, dword [ebp + 0x218]
jae 0x42c070
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], 0x716
call fcn.00411596
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.00401470
test eax, eax
jne 0x42c1e7
cmp dword [ebp + 0x50], 8
mov eax, dword [ebp + 0x3c]
jae 0x42c0c5
lea eax, [ebp + 0x3c]
push ebx
push eax
push str._IS_T_
lea ecx, [ebp - 0x18]
call fcn.0041f840
cmp dword [ebp + 0x1c], 8
mov eax, dword [ebp + 8]
jae 0x42c0e0
lea eax, [ebp + 8]
push ebx
push eax
mov edi, str._IS_E_
push edi
lea ecx, [ebp - 0x18]
call fcn.0041f840
cmp dword [ebp + 0xe8], 0
je 0x42c11d
cmp dword [ebp + 0xec], 8
mov eax, dword [ebp + 0xd8]
jae 0x42c10e
lea eax, [ebp + 0xd8]
push ebx
push eax
push str._IS_V_
lea ecx, [ebp - 0x18]
call fcn.0041f840
lea ecx, [ebp - 0x18]
call fcn.00401420
push ebx
lea eax, [ebp - 0xd]
push eax
push str._IS_T_
lea ecx, [ebp - 0x98]
call fcn.00408f08
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp + 0x34]
push eax
lea ecx, [ebp + 0x210]
call fcn.0040890a
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x98]
call fcn.00401680
push ebx
lea eax, [ebp - 0xd]
push eax
push edi
lea ecx, [ebp - 0x98]
call fcn.00408f08
mov byte [ebp - 4], 0x19
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp]
push eax
lea ecx, [ebp + 0x210]
call fcn.0040890a
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x98]
call fcn.00401680
cmp dword [ebp + 0xe8], 0
je 0x42c1e7
push ebx
lea eax, [ebp - 0xd]
push eax
push str._IS_V_
lea ecx, [ebp - 0x98]
call fcn.00408f08
mov byte [ebp - 4], 0x1a
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp + 0xd0]
push eax
lea ecx, [ebp + 0x210]
call fcn.0040890a
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x98]
call fcn.00401680
cmp dword [ebp + 0x22c], 8
mov eax, dword [ebp + 0x218]
jae 0x42c1fc
lea eax, [ebp + 0x218]
push ebx
push eax
push str.ISSetup
lea ecx, [ebp - 0x2c]
call fcn.0041f840
lea ecx, [ebp - 0x2c]
call fcn.00401420
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x18]
call fcn.00401420
mov byte [ebp - 4], 0x15
lea ecx, [ebp]
call fcn.00401660
mov byte [ebp - 4], 0x14
lea ecx, [ebp + 0x34]
call fcn.00401660
mov byte [ebp - 4], 0xf
lea ecx, [ebp + 0xd0]
call fcn.00401660
mov byte [ebp - 4], 0xe
lea ecx, [ebp + 0x9c]
call fcn.00401660
mov byte [ebp - 4], 0xd
lea ecx, [ebp + 0x68]
call fcn.00401660
mov byte [ebp - 4], 0xc
lea ecx, [ebp + 0x16c]
call fcn.00401660
mov byte [ebp - 4], 7
lea ecx, [ebp + 0x1a0]
call fcn.00401660
mov byte [ebp - 4], 6
lea ecx, [ebp + 0x244]
call fcn.00401660
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x138]
call fcn.00401660
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.00401850
mov byte [ebp - 4], 0x1b
push 5
lea eax, [ebp + 0x1dc]
push eax
mov ecx, esi
call fcn.0040f536
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x64]
push ecx
mov ecx, eax
call fcn.00421d56
mov byte [ebp - 4], 0x1d
push 0xa
push 0
lea ecx, [ebp - 0x98]
push ecx
push eax
mov ecx, esi
call fcn.0043a1a3
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x64]
call fcn.00401600
mov byte [ebp - 4], 0x1b
lea ecx, [ebp + 0x1dc]
call fcn.00401660
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x98]
call fcn.00401600
push 0xb
mov ecx, esi
call fcn.0040eee8
test al, al
jne 0x42c34b
cmp dword [ebp - 0x14], ebx
je 0x42c34b
cmp dword [ebp - 0x14], 2
jne 0x42c3f2
push 4
lea eax, [ebp + 0x2278]
push 0x4b327c
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [ebp + 0x1d4]
call fcn.0040c51c
mov byte [ebp - 4], 0x1e
lea eax, [ebp + 0x1a78]
push eax
lea ecx, [ebp + 0x1d4]
call fcn.0040c4fb
push 5
lea eax, [ebp - 0x64]
push eax
mov ecx, esi
call fcn.0040f536
mov byte [ebp - 4], 0x1f
cmp dword [eax + 0x1c], 8
jb 0x42c39f
mov eax, dword [eax + 8]
jmp 0x42c3a2
add eax, 8
lea ecx, [ebp + 0x2278]
push ecx
push edi
push eax
lea ecx, [ebp + 0x1d4]
call fcn.0040bef5
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x64]
call fcn.00401660
cmp dword [ebp + 0x20c], 8
mov eax, dword [ebp + 0x1f8]
jae 0x42c3d7
lea eax, [ebp + 0x1f8]
push eax
lea ecx, [ebp + 0x1d4]
call fcn.0040a66a
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x1d4]
call fcn.0040c53d
cmp dword [ebp - 0x1c], 3
je 0x42c41c
mov esi, dword [esi + 0x294]
cmp byte [esi + 1], 0
je 0x42c411
cmp byte [esi + 2], 0
jne 0x42c411
call fcn.00443257
jmp 0x42c41c
push 0x453
call fcn.00444736
pop ecx
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x104]
call fcn.00401660
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.00401420
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x210]
call fcn.00401660
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.00467491
add ebp, 0x2290
leave
ret 8