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

Disassembly:
mov eax, 0x2860
call fcn.00405580
push ebx
push ebp
push esi
push edi
mov ecx, 8
mov esi, str.SOFTWAREJiangMinKV2009Install
lea edi, [esp + 0x270]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 0x77
lea edi, [esp + 0x291]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 8
mov esi, str.SOFTWAREJiangMinKV.NETInstall
lea edi, [esp + 0x670]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 0x77
lea edi, [esp + 0x691]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 9
mov esi, str.KVShell.AutoPlay.1_shellopencommand
lea edi, [esp + 0x470]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, 0x76
lea edi, [esp + 0x496]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [esp + 0x14], 0x200
mov dword [esp + 0x18], 0
mov bl, byte [esp + 0x287]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x270]
push eax
dec bl
push ecx
push 0x80000002
mov byte [esp + 0x293], bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x402a0f
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
lea eax, [esp + 0x70]
push edx
push eax
push 0
push 0
push str.Path
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x402a0f
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x30]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x70]
lea ecx, [esp + 0x870]
push eax
push str._sKvXP.kxp
push ecx
mov dword [esp + 0x38], 0x44
call fcn.00405520
lea edx, [esp + 0x87c]
push 0
push edx
call fcn.00409106
add esp, 0x14
cmp eax, 0xffffffff
je 0x402a0f
lea eax, [esp + 0x70]
lea ecx, [esp + 0x870]
push eax
push str.__sKvXP.kxp_
push ecx
call fcn.00405520
mov ebx, dword [0x4102d4]
add esp, 0xc
test ebx, ebx
jle 0x4029e1
mov edx, 0x40c2d4
or ecx, 0xffffffff
mov edi, 0x40b0bc
xor eax, eax
lea ebp, [esp + 0x870]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, ebp
mov ebp, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea ebp, [esp + 0x870]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
add edx, 0x200
mov esi, edi
mov edi, ebp
mov ebp, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea ebp, [esp + 0x870]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x40b0b8
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, ebp
mov ebp, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
dec ebx
rep movsb byte es:[edi], byte [esi]
jne 0x402948
lea edx, [esp + 0x1c]
lea eax, [esp + 0x2c]
push edx
push eax
push 0
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x88c]
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x402bc6
mov eax, dword [esp + 0x18]
inc eax
cmp eax, 6
mov dword [esp + 0x18], eax
jl 0x402873
lea edx, [esp + 0x10]
lea eax, [esp + 0x470]
push edx
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x402bf7
lea ecx, [esp + 0x14]
lea edx, [esp + 0x70]
push ecx
push edx
push eax
push eax
mov eax, dword [esp + 0x20]
push 0x4102d8
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x402bf7
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x30]
lea edx, [esp + 0x70]
push 0x20
push edx
rep stosd dword es:[edi], eax
mov dword [esp + 0x34], 0x44
call fcn.00405680
mov byte [eax], 0
lea edi, [esp + 0x78]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
lea edx, [esp + 0x870]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov ebx, dword [0x4102d4]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
test ebx, ebx
rep movsb byte es:[edi], byte [esi]
jle 0x402b6b
mov edx, 0x40c2d4
or ecx, 0xffffffff
mov edi, 0x40b0bc
xor eax, eax
lea ebp, [esp + 0x870]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, ebp
mov ebp, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea ebp, [esp + 0x870]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
add edx, 0x200
mov esi, edi
mov edi, ebp
mov ebp, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea ebp, [esp + 0x870]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x40b0b8
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, ebp
mov ebp, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
dec ebx
rep movsb byte es:[edi], byte [esi]
jne 0x402ad2
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x2c]
push ecx
push edx
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x88c]
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x402bf7
mov ecx, dword [esp + 0x1c]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov edx, dword [esp + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x20]
push eax
call esi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2860
ret
mov edx, dword [esp + 0x1c]
push 0xffffffffffffffff
push edx
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov eax, dword [esp + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0x20]
push ecx
call esi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2860
ret
lea ecx, [esp + 0x10]
lea edx, [esp + 0x670]
push ecx
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x402db0
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x70]
push eax
push ecx
push 0
push 0
push str.Path
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x402db0
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x30]
lea edx, [esp + 0x870]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x70]
mov dword [esp + 0x2c], 0x44
push ecx
push str._sKvXP.kxp
push edx
call fcn.00405520
lea eax, [esp + 0x87c]
push 0
push eax
call fcn.00409106
add esp, 0x14
cmp eax, 0xffffffff
je 0x402db0
lea ecx, [esp + 0x70]
lea edx, [esp + 0x870]
push ecx
push str.__sKvXP.kxp_
push edx
call fcn.00405520
mov ebx, dword [0x4102d4]
add esp, 0xc
test ebx, ebx
jle 0x402d55
mov edx, 0x40c2d4
or ecx, 0xffffffff
mov edi, 0x40b0bc
xor eax, eax
lea ebp, [esp + 0x870]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, ebp
mov ebp, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea ebp, [esp + 0x870]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
add edx, 0x200
mov esi, edi
mov edi, ebp
mov ebp, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea ebp, [esp + 0x870]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x40b0b8
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, ebp
mov ebp, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
dec ebx
rep movsb byte es:[edi], byte [esi]
jne 0x402cbc
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x2c]
push eax
push ecx
push 0
push 0
push 0
push 0
push 0
lea edx, [esp + 0x88c]
push 0
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x402db0
mov eax, dword [esp + 0x1c]
push 0xffffffffffffffff
push eax
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov ecx, dword [esp + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 0x20]
push edx
call esi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2860
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2860
ret