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

Disassembly:
mov eax, 0x47412e
call fcn.00444d58
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 - 0x14]
mov edi, 0xf003f
push eax
push edi
push ebx
mov esi, SysFreeString
push str.SoftwareMicrosoftWindowsCurrentVersion
push esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x41383c
lea ecx, [ebp - 0x1c]
call fcn.0040d722
mov ecx, dword [ebp - 0x14]
cmp eax, ebx
mov dword [ebp - 0x1c], ecx
jne 0x41383c
lea eax, [ebp - 0x48]
push 5
push eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 4]
call fcn.004083bc
lea eax, [ebp - 0x1d]
push ebx
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
mov dword [ebp - 0x70], 0x47b5a0
mov dword [ebp - 0x50], 0x47b598
call fcn.00402b2c
mov eax, dword [ebp - 0x40]
mov byte [ebp - 4], 2
cmp eax, ebx
jne 0x4137ba
mov eax, 0x47b5bc
push eax
lea eax, [ebp - 0x70]
push str.__IS_PREREQ____s
push eax
call fcn.00414f6e
add esp, 0xc
lea ecx, [ebp - 0x98]
push 1
push dword [ebp + 8]
call fcn.00414ac1
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 3
call fcn.0040198d
lea ecx, [ebp - 0x70]
mov dword [ebp + 8], eax
call fcn.0040305e
push dword [ebp + 8]
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push dword [ebp + 8]
push 1
push ebx
push dword [ebp - 0x14]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 2
call fcn.00401bc2
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
call fcn.00401f95
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.00401f95
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0x3c], bl
jne 0x413855
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0040d722
jmp 0x413b58
mov dword [ebp - 0x10], ebx
lea eax, [ebp + 8]
mov byte [ebp - 4], 4
push eax
push edi
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push esi
mov dword [ebp + 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x413887
lea ecx, [ebp - 0x10]
call fcn.0040d722
mov ecx, dword [ebp + 8]
cmp eax, ebx
mov dword [ebp - 0x10], ecx
je 0x4138c1
lea eax, [ebp - 0x14]
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_RegCreateKeyExA]
cmp eax, ebx
jne 0x413b3b
lea ecx, [ebp - 0x10]
call fcn.0040d722
mov ecx, dword [ebp + 8]
cmp eax, ebx
mov dword [ebp - 0x10], ecx
jne 0x413b3b
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x48]
push 0x15
push eax
mov ecx, dword [esi + 4]
call fcn.004083bc
cmp dword [ebp - 0x3c], ebx
mov byte [ebp - 4], 5
jne 0x413915
lea eax, [ebp + 0xb]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
lea ecx, [ebp - 0xc0]
call fcn.00402caf
lea eax, [ebp - 0xc0]
lea ecx, [ebp - 0x48]
push eax
mov byte [ebp - 4], 6
call fcn.0040200f
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 5
call fcn.00401f95
lea eax, [ebp + 0xb]
push 1
push eax
push 0x48f9b8
lea ecx, [ebp - 0xc0]
call fcn.00403ed5
lea eax, [ebp - 0xc0]
lea ecx, [ebp - 0x48]
push eax
mov byte [ebp - 4], 7
call fcn.00414a71
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 5
call fcn.00401f95
mov ecx, dword [esi + 4]
lea eax, [ebp + 0xb]
push 1
push eax
call fcn.0042ddbd
push eax
lea ecx, [ebp - 0x98]
call fcn.00402caf
lea eax, [ebp - 0x70]
push ebx
push eax
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 8
call fcn.00402512
lea eax, [ebp - 0x98]
lea ecx, [ebp - 0x94]
neg eax
sbb eax, eax
push ebx
and eax, ecx
lea ecx, [ebp - 0x44]
push eax
mov byte [ebp - 4], 9
call fcn.00415140
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x70]
neg eax
sbb eax, eax
lea ecx, [ebp - 0x6c]
and eax, ecx
push ebx
push eax
lea ecx, [ebp - 0x44]
call fcn.00415140
mov esi, str..exe
mov edi, eax
push esi
mov dword [ebp - 0x14], edi
call fcn.004454af
pop ecx
push eax
push ebx
push esi
lea ecx, [ebp - 0x44]
call fcn.00404016
push ebx
lea ecx, [ebp - 0x44]
mov esi, eax
call fcn.00415b12
cmp word [eax], 0x22
je 0x413a93
cmp dword [ebp - 0x18], ebx
jne 0x4139f2
mov edi, dword [ebp - 0x8c]
jmp 0x413a0c
mov eax, dword [0x47b5a8]
cmp eax, edi
je 0x413a02
mov eax, dword [ebp - 0x64]
add edi, eax
jmp 0x413a0c
cmp eax, esi
lea edi, [esi + 4]
jne 0x413a0c
mov edi, dword [ebp - 0x3c]
mov esi, 0x48faa4
push esi
call fcn.004454af
pop ecx
push eax
push esi
push edi
lea ecx, [ebp - 0x44]
call fcn.004150ac
mov eax, dword [ebp - 0x18]
cmp dword [0x47b5a8], eax
jne 0x413a7f
cmp dword [ebp - 0x14], ebx
jne 0x413a7f
mov eax, dword [ebp - 0x8c]
lea ecx, [ebp - 0x98]
sub eax, dword [ebp - 0x64]
push eax
lea eax, [ebp - 0xc0]
push ebx
push eax
call fcn.00402d31
push dword [0x47b5a8]
mov ecx, eax
add eax, 4
mov byte [ebp - 4], 0xa
neg ecx
sbb ecx, ecx
push ebx
and ecx, eax
push ecx
push ebx
lea ecx, [ebp - 0x44]
call fcn.004156db
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 9
call fcn.00401f95
push esi
call fcn.004454af
pop ecx
push eax
push esi
push ebx
lea ecx, [ebp - 0x44]
call fcn.004150ac
jmp 0x413aef
mov eax, dword [ebp - 0x18]
cmp dword [0x47b5a8], eax
jne 0x413aef
cmp edi, 1
jne 0x413aef
mov eax, dword [ebp - 0x8c]
lea ecx, [ebp - 0x98]
sub eax, dword [ebp - 0x64]
push eax
lea eax, [ebp - 0xc0]
push ebx
push eax
call fcn.00402d31
push dword [0x47b5a8]
mov ecx, eax
add eax, 4
mov byte [ebp - 4], 0xb
neg ecx
sbb ecx, ecx
push ebx
and ecx, eax
push ecx
push edi
lea ecx, [ebp - 0x44]
call fcn.004156db
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 9
call fcn.00401f95
lea ecx, [ebp - 0x48]
call fcn.0040305e
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push esi
push 1
push ebx
push str.__ISSetupPrerequisistes
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 8
call fcn.00401f95
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 5
call fcn.00401f95
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 4
call fcn.00401f95
cmp dword [ebp - 0x10], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x413b4e
push dword [ebp - 0x10]
call esi
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x1c], ebx
je 0x413b58
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