Function at 0x10002e80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10021280
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x10033014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x144], edx
mov eax, dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp + 0x10]
push str.krnln.fne
mov dword [ebp - 0x14c], eax
call edi
mov ebx, eax
test ebx, ebx
jne 0x100030e7
mov dword [ebp - 0x13c], eax
lea eax, [ebp - 0x13c]
push eax
push 0x20019
push ebx
push str.SoftwareFlySkyEInstall
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000316e
push 0x104
push eax
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x138], 0x104
push eax
call fcn.1000ab30
add esp, 0xc
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x11c]
push eax
push ebx
push ebx
push str.Path
push dword [ebp - 0x13c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x13c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x1000316e
lea ecx, [ebp - 0x11c]
mov dword [ebp - 0x134], esi
mov dword [ebp - 0x124], esi
lea edx, [ecx + 1]
mov dword [ebp - 0x120], 0xf
mov byte [ebp - 0x134], bl
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002f83
sub ecx, edx
lea eax, [ebp - 0x11c]
push ecx
push eax
lea ecx, [ebp - 0x134]
call fcn.10006380
mov dword [ebp - 4], 0
lea eax, [ebp - 0x134]
mov edx, dword [ebp - 0x120]
cmp edx, 0x10
mov esi, dword [ebp - 0x134]
mov ecx, dword [ebp - 0x124]
cmovae eax, esi
cmp byte [ecx + eax - 1], 0x5c
je 0x10003019
cmp ecx, edx
jae 0x10002fec
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x124], eax
lea eax, [ebp - 0x134]
cmovae eax, esi
mov word [eax + ecx], 0x5c
jmp 0x10003007
push 0x5c
mov byte [ebp - 0x140], 0
push dword [ebp - 0x140]
push ecx
lea ecx, [ebp - 0x134]
call fcn.10007780
mov esi, dword [ebp - 0x134]
mov ecx, dword [ebp - 0x124]
mov edx, dword [ebp - 0x120]
mov eax, edx
sub eax, ecx
push 9
push str.krnln.fne
cmp eax, 9
jb 0x10003050
lea eax, [ecx + 9]
cmp edx, 0x10
mov dword [ebp - 0x124], eax
lea eax, [ebp - 0x134]
cmovae eax, esi
lea esi, [eax + ecx]
push esi
call fcn.1000a5a0
add esp, 0xc
mov byte [esi + 9], 0
jmp 0x1000306a
mov byte [ebp - 0x140], 0
lea ecx, [ebp - 0x134]
push dword [ebp - 0x140]
push 9
call fcn.10007b00
cmp dword [ebp - 0x120], 0x10
lea eax, [ebp - 0x134]
cmovae eax, dword [ebp - 0x134]
push eax
call edi
mov dword [ebp - 4], 0xffffffff
mov ebx, eax
mov edx, dword [ebp - 0x120]
cmp edx, 0x10
jb 0x100030c4
mov ecx, dword [ebp - 0x134]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100030ba
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100031b7
push edx
push ecx
call fcn.10009079
add esp, 8
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0xf
mov byte [ebp - 0x134], 0
test ebx, ebx
je 0x1000316e
push 0x1002d64c
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10003167
call eax
test eax, eax
je 0x10003167
mov ecx, dword [eax + 0x64]
xor esi, esi
mov edi, dword [eax + 0x68]
mov eax, dword [eax + 0x6c]
mov dword [ebp - 0x140], ecx
mov dword [ebp - 0x148], eax
test ecx, ecx
jle 0x10003167
mov eax, dword [edi]
test eax, eax
je 0x1000315f
cmp byte [eax], 0
je 0x1000315f
mov ecx, dword [ebp - 0x144]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10003150
test dl, dl
je 0x1000314c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10003150
add eax, 2
add ecx, 2
test dl, dl
jne 0x10003130
xor eax, eax
jmp 0x10003155
sbb eax, eax
or eax, 1
test eax, eax
je 0x1000318c
mov ecx, dword [ebp - 0x140]
inc esi
add edi, 0x24
cmp esi, ecx
jl 0x10003118
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10009036
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x148]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x10003167
push dword [ebp - 0x14c]
push 1
push dword [ebp - 0x150]
call eax
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, 1
jmp 0x10003170
call fcn.1000e891
int3