Function at 0x10029590
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0xe1c]
sub esp, 0xe1c
push 0xfffffffffffffffe
push 0x1016ea78
push 0x10118480
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1017455c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0xe18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, ecx
mov dword [ebp - 0x2c], edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x28], ebx
mov byte [ebp + 0xa08], bl
push 0x207
push ebx
lea eax, [ebp + 0xa09]
push eax
call fcn.10116880
mov byte [ebp + 0x800], bl
push 0x207
push ebx
lea ecx, [ebp + 0x801]
push ecx
call fcn.10116880
add esp, 0x18
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], ebx
lea edx, [ebp - 0x1c]
push edx
push 0x1014f168
mov ecx, str.SOFTWAREMicroWorld
mov edx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.10031670
movsx esi, byte [ebp + 0xe24]
and esi, 1
mov dword [ebp - 0x20], esi
mov byte [ebp + 0xc10], bl
push 0x103
push ebx
lea eax, [ebp + 0xc11]
push eax
call fcn.10116880
add esp, 0xc
cmp esi, ebx
jne 0x1002966e
cmp edi, ebx
je 0x100298de
cmp byte [edi], bl
je 0x100298de
lea ecx, [ebp + 0xc10]
push ecx
call sym.EncDec.dll_GetActiveProductPath
cmp byte [ebp + 0xc10], bl
je 0x10029731
mov dword [ebp - 0x30], ebx
lea edx, [ebp + 0xc10]
push edx
lea eax, [ebp + 0xd14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [ebp + 0xd14]
call fcn.10049c40
push str.ADMIN.INI
lea ecx, [ebp + 0xd14]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 1
push ebx
lea edx, [ebp - 0x30]
lea ecx, [ebp + 0xd14]
call fcn.10044660
add esp, 8
cmp eax, ebx
jne 0x10029842
cmp dword [ebp - 0x30], ebx
jbe 0x10029842
mov dword [ebp - 0x24], 1
mov edi, str.UserPassword
cmp dword [ebp - 0x1c], ebx
mov ebx, 0x1013f817
jne 0x10029808
lea edx, [ebp + 0xd14]
push edx
push 0x208
lea eax, [ebp + 0xa08]
push eax
mov esi, str.General
call fcn.100435b0
add esp, 0xc
cmp byte [ebp + 0xa08], 0
jne 0x10029729
mov dword [ebp - 0x24], 0
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x20]
xor ebx, ebx
cmp dword [ebp - 0x1c], ebx
jne 0x1002979f
cmp dword [ebp - 0x24], ebx
jne 0x1002979f
cmp byte [0x1019cd80], bl
jne 0x10029754
lea eax, [ebp + 0xc10]
push eax
mov ecx, 0x1019cd80
call fcn.10028fa0
push closesocket
lea eax, [ebp - 0x28]
mov ecx, 1
mov edx, 0x1019cd80
call fcn.10062260
add esp, 4
test eax, eax
jne 0x1002979f
mov dword [ebp - 0x20], 0x208
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp + 0xa08]
push edx
push ebx
push ebx
push 0x1013f817
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp + 0xa08], bl
je 0x1002988d
cmp esi, ebx
jne 0x100297f7
cmp dword [ebp - 0x1c], ebx
jne 0x1002984a
lea edx, [ebp + 0x800]
push edx
lea ecx, [ebp + 0xa08]
call fcn.100289d0
cmp eax, 1
jne 0x100298de
cmp byte [ebp + 0x800], bl
je 0x100298de
push edi
lea eax, [ebp + 0x800]
push eax
call fcn.1010fbae
add esp, 8
test eax, eax
jne 0x100298de
mov dword [ebp - 4], 0xfffffffe
mov eax, 1
jmp 0x100298e7
lea ecx, [ebp + 0xd14]
push ecx
push 0x208
lea edx, [ebp + 0xa08]
push edx
mov esi, str.Config
call fcn.100435b0
add esp, 0xc
cmp byte [ebp + 0xa08], 0
jne 0x10029729
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], eax
jmp 0x10029729
mov dword [ebp - 0x1c], ebx
jmp 0x10029736
mov byte [ebp], bl
push 0x7ff
push ebx
lea ecx, [ebp + 1]
push ecx
call fcn.10116880
lea edx, [ebp]
push edx
push edi
xor ecx, ecx
call fcn.1002a5b0
lea eax, [ebp + 0xa08]
push eax
lea ecx, [ebp]
push ecx
call fcn.1011c280
add esp, 0x1c
test eax, eax
jne 0x100298de
mov dword [ebp - 4], 0xfffffffe
mov eax, 1
jmp 0x100298e7
cmp esi, ebx
jne 0x100298b8
push edi
push str.admin
call fcn.1010fbae
add esp, 8
test eax, eax
je 0x100297f7
push 1
push ebx
push edi
call sym.EncDec.dll_ValidateCurrentLoggedUserWithSpecifiedPwd
cmp eax, 1
jmp 0x100297f1
mov dword [ebp - 4], 0xfffffffe
mov eax, 2
jmp 0x100298e7
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xe18]
xor ecx, ebp
call fcn.1010d699
add ebp, 0xe1c
mov esp, ebp
pop ebp
ret