Function at 0x429b90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52e0fb
mov eax, dword fs:[0]
push eax
sub esp, 0xa58
mov eax, dword [0x57d718]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0x200
mov dword [ebp - 0xa64], eax
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.00501330
xor ebx, ebx
mov dword [ebp - 0xa58], 0
xorps xmm0, xmm0
mov dword [ebp - 0xa58], ebx
movq qword [ebp - 0xa60], xmm0
add esp, 0xc
mov dword [ebp - 0xa60], ebx
mov dword [ebp - 0xa5c], ebx
lea eax, [ebp - 0xa40]
mov dword [ebp - 4], ebx
push eax
push 0x20219
push ebx
push str.SOFTWARESmartChat
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xa40], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x429cf1
mov ebx, dword [ebp - 0xa40]
lea eax, [ebp - 0xa40]
push eax
lea eax, [ebp - 0xa10]
mov dword [ebp - 0xa60], ebx
push eax
lea eax, [ebp - 0xa14]
mov dword [ebp - 0xa5c], 0x200
push eax
push 0
push 0x53b968
push ebx
mov dword [ebp - 0xa40], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x429cf1
mov eax, dword [ebp - 0xa14]
cmp eax, 1
je 0x429c8b
cmp eax, 2
jne 0x429cf1
mov eax, dword [ebp - 0xa40]
test eax, eax
je 0x429ca8
test al, 1
jne 0x429cf1
shr eax, 1
cmp word [ebp + eax*2 - 0xa12], 0
je 0x429cb1
jmp 0x429cf1
xor eax, eax
mov word [ebp - 0xa10], ax
lea ecx, [ebp - 0x210]
mov edx, 0xff
lea esi, [ebp - 0xa10]
mov eax, ecx
sub esi, eax
lea eax, [edx + 0x7ffffeff]
test eax, eax
je 0x429ce4
movzx eax, word [esi + ecx]
test ax, ax
je 0x429ce4
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x429cc6
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push str.0000_00_00_00:00:00
call edi
mov esi, eax
lea eax, [ebp - 0x210]
push eax
call edi
cmp eax, esi
je 0x429d38
test ebx, ebx
je 0x429d18
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bddc0
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xa54]
mov dword [ebp - 0xa44], 0
push eax
lea eax, [ebp - 0xa18]
mov dword [ebp - 0xa48], 0
push eax
lea eax, [ebp - 0xa50]
mov dword [ebp - 0xa4c], 0
push eax
lea eax, [ebp - 0xa4c]
mov dword [ebp - 0xa50], 0
push eax
lea eax, [ebp - 0xa48]
mov dword [ebp - 0xa18], 0
push eax
lea eax, [ebp - 0xa44]
mov dword [ebp - 0xa54], 0
push eax
lea eax, [ebp - 0x210]
push 0x53b9a8
push eax
call fcn.00420ff0
add esp, 0x20
cmp dword [ebp - 0xa44], 0x7b2
jl 0x429e82
mov ecx, dword [ebp - 0xa48]
lea edx, [ecx - 1]
cmp edx, 0xb
ja 0x429e8c
mov edi, dword [ebp - 0xa4c]
lea eax, [edi - 1]
cmp eax, 0x1e
ja 0x429e96
mov eax, dword [ebp - 0xa50]
cmp eax, 0x17
ja 0x429ea0
cmp ecx, 0x3b
ja 0x429eaa
mov esi, dword [ebp - 0xa54]
cmp esi, 0x3b
ja 0x429eb4
mov dword [ebp - 0xa34], eax
mov eax, dword [ebp - 0xa44]
add eax, 0xfffff894
mov dword [ebp - 0xa3c], esi
mov dword [ebp - 0xa28], eax
lea eax, [ebp - 0xa3c]
push eax
mov dword [ebp - 0xa38], ecx
mov dword [ebp - 0xa30], edi
mov dword [ebp - 0xa2c], edx
mov dword [ebp - 0xa1c], 0xffffffff
call fcn.0051187d
mov ecx, eax
add esp, 4
and ecx, edx
cmp ecx, 0xffffffff
je 0x429ebe
mov ecx, dword [ebp - 0xa64]
mov esi, 1
mov dword [ecx], eax
mov dword [ecx + 4], edx
test ebx, ebx
je 0x429d1a
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x429d1a
push 0x80004005
call fcn.004062e0
push 0x80004005
call fcn.004062e0
push 0x80004005
call fcn.004062e0
push 0x80004005
call fcn.004062e0
push 0x80004005
call fcn.004062e0
push 0x80004005
call fcn.004062e0
push 0x80070057
call fcn.004062e0
int3