Function at 0x41334e
Capabilities:
Accept command line arguments
Persist via run registry key
Set registry value

Disassembly:
mov eax, 0x476297
call fcn.004461a8
sub esp, 0xb4
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x10]
mov edi, 0xf003f
push eax
push edi
push ebx
mov esi, SysReAllocStringLen
push str.SoftwareMicrosoftWindowsCurrentVersion
push esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x413478
lea ecx, [ebp - 0x1c]
call fcn.0040d2f9
mov ecx, dword [ebp - 0x10]
cmp eax, ebx
mov dword [ebp - 0x1c], ecx
jne 0x413478
lea eax, [ebp - 0x48]
push 5
push eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 4]
call fcn.0040832b
lea eax, [ebp - 0x1d]
push ebx
push eax
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 1
mov dword [ebp - 0x98], 0x47e5e0
mov dword [ebp - 0x78], 0x47e5d8
call fcn.004029f5
mov eax, dword [ebp - 0x40]
mov byte [ebp - 4], 2
cmp eax, ebx
jne 0x4133ef
mov eax, 0x47e608
push eax
lea eax, [ebp - 0x98]
push str.__IS_PREREQ____s
push eax
call fcn.00414bf6
add esp, 0xc
lea ecx, [ebp - 0x70]
push 1
push dword [ebp + 8]
call fcn.00414781
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x10], 0x47e608
cmp eax, ebx
je 0x413425
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp + 8], 0x47e5b8
cmp eax, ebx
je 0x413436
mov dword [ebp + 8], eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 8]
push 1
push ebx
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x70]
call fcn.00401bc7
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 1
call fcn.00401f6c
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.00401f6c
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0x3c], bl
jne 0x413491
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0040d2f9
jmp 0x413783
mov dword [ebp - 0x14], ebx
lea eax, [ebp + 8]
mov byte [ebp - 4], 3
push eax
push edi
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push esi
mov dword [ebp + 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x4134c3
lea ecx, [ebp - 0x14]
call fcn.0040d2f9
mov ecx, dword [ebp + 8]
cmp eax, ebx
mov dword [ebp - 0x14], ecx
je 0x4134fd
lea eax, [ebp - 0x10]
mov dword [ebp + 8], ebx
push eax
lea eax, [ebp + 8]
push eax
push ebx
push edi
push ebx
push ebx
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x413766
lea ecx, [ebp - 0x14]
call fcn.0040d2f9
mov ecx, dword [ebp + 8]
cmp eax, ebx
mov dword [ebp - 0x14], ecx
jne 0x413766
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x48]
push 0x15
push eax
mov ecx, dword [esi + 4]
call fcn.0040832b
cmp dword [ebp - 0x3c], ebx
mov byte [ebp - 4], 4
mov edi, 0x49cc4c
jne 0x413531
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
cmp eax, ebx
jne 0x413528
mov eax, edi
push eax
lea ecx, [ebp - 0x48]
call fcn.00403ca9
lea eax, [ebp + 0xb]
push 1
push eax
push 0x492bbc
lea ecx, [ebp - 0xc0]
call fcn.00403c0d
lea eax, [ebp - 0xc0]
lea ecx, [ebp - 0x48]
push eax
mov byte [ebp - 4], 5
call fcn.00414731
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 4
call fcn.00401f6c
mov ecx, dword [esi + 4]
call fcn.0042e55c
cmp eax, ebx
mov dword [ebp - 0x70], 0x47e5e0
mov dword [ebp - 0x50], 0x47e5d8
jne 0x413585
mov eax, edi
lea ecx, [ebp + 0xb]
push ebx
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.00403c0d
lea eax, [ebp - 0x98]
push ebx
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 6
call fcn.0040240a
lea eax, [ebp - 0x70]
lea ecx, [ebp - 0x6c]
neg eax
sbb eax, eax
push ebx
and eax, ecx
lea ecx, [ebp - 0x44]
push eax
mov byte [ebp - 4], 7
call fcn.004095f0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x98]
neg eax
sbb eax, eax
lea ecx, [ebp - 0x94]
and eax, ecx
push ebx
push eax
lea ecx, [ebp - 0x44]
call fcn.004095f0
mov esi, str..exe
mov edi, eax
push esi
mov dword [ebp - 0x10], edi
call fcn.004468ff
pop ecx
push eax
push ebx
push esi
lea ecx, [ebp - 0x44]
call fcn.00402abf
push ebx
lea ecx, [ebp - 0x44]
mov esi, eax
call fcn.0041578a
cmp word [eax], 0x22
je 0x4136bc
cmp dword [ebp - 0x18], ebx
jne 0x41361b
mov edi, dword [ebp - 0x64]
jmp 0x413638
mov eax, dword [0x47e5e8]
cmp eax, edi
je 0x41362e
mov eax, dword [ebp - 0x8c]
add edi, eax
jmp 0x413638
cmp eax, esi
lea edi, [esi + 4]
jne 0x413638
mov edi, dword [ebp - 0x3c]
mov esi, 0x492cac
push esi
call fcn.004468ff
pop ecx
push eax
push esi
push edi
lea ecx, [ebp - 0x44]
call fcn.00414d34
mov eax, dword [ebp - 0x18]
cmp dword [0x47e5e8], eax
jne 0x4136a8
cmp dword [ebp - 0x10], ebx
jne 0x4136a8
mov eax, dword [ebp - 0x64]
lea ecx, [ebp - 0x70]
sub eax, dword [ebp - 0x8c]
push eax
lea eax, [ebp - 0xc0]
push ebx
push eax
call fcn.00402c05
push dword [0x47e5e8]
mov ecx, eax
add eax, 4
mov byte [ebp - 4], 8
neg ecx
sbb ecx, ecx
push ebx
and ecx, eax
push ecx
push ebx
lea ecx, [ebp - 0x44]
call fcn.00415353
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 7
call fcn.00401f6c
push esi
call fcn.004468ff
pop ecx
push eax
push esi
push ebx
lea ecx, [ebp - 0x44]
call fcn.00414d34
jmp 0x413715
mov eax, dword [ebp - 0x18]
cmp dword [0x47e5e8], eax
jne 0x413715
cmp edi, 1
jne 0x413715
mov eax, dword [ebp - 0x64]
lea ecx, [ebp - 0x70]
sub eax, dword [ebp - 0x8c]
push eax
lea eax, [ebp - 0xc0]
push ebx
push eax
call fcn.00402c05
push dword [0x47e5e8]
mov ecx, eax
add eax, 4
mov byte [ebp - 4], 9
neg ecx
sbb ecx, ecx
push ebx
and ecx, eax
push ecx
push edi
lea ecx, [ebp - 0x44]
call fcn.00415353
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 7
call fcn.00401f6c
mov esi, dword [ebp - 0x40]
cmp esi, ebx
jne 0x413721
mov esi, 0x47e608
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push ebx
push str.__ISSetupPrerequisistes
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 6
call fcn.00401f6c
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 4
call fcn.00401f6c
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.00401f6c
cmp dword [ebp - 0x14], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x413779
push dword [ebp - 0x14]
call esi
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x1c], ebx
je 0x413783
push dword [ebp - 0x1c]
call esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4