Function at 0x401060
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x234
mov eax, dword [0x40b03c]
xor eax, esp
mov dword [esp + 0x230], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x408398
push eax
call fcn.004013a0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x401365
lea eax, [ebx + 3]
push 0x408394
push eax
call fcn.004013a0
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
test edi, edi
je 0x401365
lea eax, [edi + 2]
push 0x408390
push eax
mov dword [esp + 0x28], eax
call fcn.004013a0
mov esi, eax
add esp, 8
test esi, esi
je 0x401365
sub edi, ebx
dec edi
push edi
inc ebx
push str.__mv178
push ebx
call fcn.00401675
add esp, 0xc
test eax, eax
jne 0x401117
mov ebx, str.MVDLG_CLASS
mov dword [esp + 0xc], str.SoftwareXDTechMV
mov dword [esp + 0x10], 0x408364
mov dword [esp + 0x14], 0x40833c
mov dword [esp + 0x1c], str.http:__download.mv178.com_download_MVSetup.exe
jmp 0x4011c7
push edi
push str.__chaorj
push ebx
call fcn.00401675
add esp, 0xc
test eax, eax
jne 0x401151
mov ebx, str.CRJDLG_CLASS
mov dword [esp + 0xc], str.SoftwareSDXTechChaoRJ
mov dword [esp + 0x10], 0x4082d4
mov dword [esp + 0x14], 0x4082a8
mov dword [esp + 0x1c], str.http:__download.chaorj.com_download_CRJSetup.exe
jmp 0x4011c7
push edi
push str.__ktvshow
push ebx
call fcn.00401675
add esp, 0xc
test eax, eax
jne 0x40118b
mov ebx, str.KSDLG_CLASS
mov dword [esp + 0xc], str.SoftwareKSTechKS
mov dword [esp + 0x10], 0x408244
mov dword [esp + 0x14], 0x408218
mov dword [esp + 0x1c], str.http:__download.ktvshow.cn_download_KSSetup.exe
jmp 0x4011c7
push edi
push str.__99huiyou
push ebx
call fcn.00401675
add esp, 0xc
test eax, eax
jne 0x401365
mov ebx, str.HYDLG_CLASS
mov dword [esp + 0xc], str.SoftwareHYTechHY
mov dword [esp + 0x10], 0x4081b8
mov dword [esp + 0x14], 0x408190
mov dword [esp + 0x1c], str.http:__download.99huiyou.com_download_HYSetup.exe
sub esi, dword [esp + 0x18]
sub esi, 2
lea ecx, [esi + 1]
push ecx
call fcn.00401704
mov edx, dword [esp + 0x24]
push esi
mov edi, eax
push edx
push edi
mov dword [esp + 0x28], edi
call fcn.00401780
push 0xc
mov byte [edi + esi], 0
call fcn.00401704
mov edi, eax
mov eax, dword [esp + 0x2c]
push ebx
mov dword [esp + 0x3c], edi
mov dword [edi + 4], esi
mov dword [edi], 0
mov dword [edi + 8], eax
call section..text
add esp, 0x18
test eax, eax
je 0x401228
push edi
push 0
push 0x4a
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x401352
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x20]
push ecx
push edx
push 0x80000001
mov dword [esp + 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x401326
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x134]
push ecx
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x18]
push edx
push 0
push eax
push ecx
mov dword [esp + 0x24], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x401326
mov byte [esp + 0x233], al
mov ecx, 0x41
lea esi, [esp + 0x130]
lea edi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
mov byte [esp + 0x12b], al
lea eax, [esp + 0x28]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4012a8
sub eax, edx
add eax, 0xffffffff
js 0x4012ca
mov cl, 0x5c
cmp byte [esp + eax + 0x28], cl
je 0x4012c5
sub eax, 1
jns 0x4012b8
jmp 0x4012ca
mov byte [esp + eax + 0x28], 0
push 1
lea edx, [esp + 0x2c]
push edx
push 0
lea eax, [esp + 0x13c]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
push 0x3a98
inc esi
call edi
push ebx
call section..text
add esp, 4
test eax, eax
jne 0x401310
cmp esi, 3
jl 0x4012f0
mov edi, dword [esp + 0x24]
jmp 0x401352
mov ecx, dword [esp + 0x24]
push ecx
push 0
push 0x4a
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [esp + 0x24]
jmp 0x401352
mov edx, dword [esp + 0x14]
push 0
push 0x408148
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [esp + 0x1c]
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0040168f
push edi
call fcn.0040168f
add esp, 8
mov ecx, dword [esp + 0x23c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401769
mov esp, ebp
pop ebp
ret