Function at 0x402690
Capabilities:
Set registry value

Disassembly:
sub esp, 0x10c
mov ecx, 0x41
xor eax, eax
push ebx
push ebp
push esi
push edi
lea edi, [esp + 0x18]
push str.FileOnline
rep stosd dword es:[edi], eax
lea eax, [esp + 0x1c]
push str._shell_s
push eax
call fcn.0045a0fd
add esp, 0xc
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push ecx
push edx
push 0
push 0xf003f
push 0
push 0
lea eax, [esp + 0x30]
push 0
push eax
push Ordinal_2
call ebx
mov edx, dword [0x49a340]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
dec ecx
push ecx
mov ecx, dword [esp + 0x14]
push edx
push 1
push eax
push eax
push ecx
call ebp
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x18]
push str.FileOnline
rep stosd dword es:[edi], eax
lea eax, [esp + 0x1c]
push str._shell_scommand
push eax
call fcn.0045a0fd
add esp, 0xc
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
lea eax, [esp + 0x18]
push ecx
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
push Ordinal_2
call ebx
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x18]
lea edx, [esp + 0x18]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x120]
push ecx
push 0x48f430
push edx
call fcn.0045a0fd
mov edi, 0x48f6c8
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x18]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x18]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x14]
push eax
push 1
push 0
push 0
push ecx
call ebp
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call esi
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x18]
push str.FileOnline
rep stosd dword es:[edi], eax
lea eax, [esp + 0x1c]
push str.Folder_shell_s
push eax
call fcn.0045a0fd
add esp, 0xc
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
lea eax, [esp + 0x18]
push ecx
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
push Ordinal_2
call ebx
mov edx, dword [0x49a340]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0x14]
push edx
push 1
push eax
push eax
push ecx
call ebp
mov edx, dword [esp + 0x10]
push edx
call esi
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x18]
push str.FileOnline
rep stosd dword es:[edi], eax
lea eax, [esp + 0x1c]
push str.Folder_shell_scommand
push eax
call fcn.0045a0fd
add esp, 0xc
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
lea eax, [esp + 0x18]
push ecx
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
push Ordinal_2
call ebx
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x18]
lea edx, [esp + 0x18]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x120]
push ecx
push 0x48f430
push edx
call fcn.0045a0fd
mov edi, 0x48f6c8
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x18]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x18]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x14]
push eax
push 1
push 0
push 0
push ecx
call ebp
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret 4