Function at 0x1006a8e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009a5b6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x628
push ebx
push esi
push edi
xor eax, eax
mov ecx, 0x100
lea edi, [esp + 0x230]
rep stosd dword es:[edi], eax
xor ebx, ebx
mov ecx, 0x7d
lea edi, [esp + 0x38]
mov dword [esp + 0x10], ebx
rep stosd dword es:[edi], eax
call fcn.1008cdb1
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0xc], esi
lea edx, [esp + 0x38]
mov eax, str.l:_3udl3r__x.rj__f:gujnmui_ri3wrj3_ufxr___pr3_p__:__sog__avuadk_m_8ywro__qtr_m4_hhzg_x___
mov dword [esp + 0x63c], ebx
call fcn.10069b10
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x3c]
push ecx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x1006ab1c
lea edx, [esp + 0x38]
push str.InstallLocation
mov ecx, 0x7d
lea edi, [esp + 0x3c]
push edx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], 0x400
rep stosd dword es:[edi], eax
call fcn.10077098
add esp, 8
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x234]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
push ebx
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1006ab11
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x230]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1006a9d7
sub eax, edx
mov dword [esp + 0x34], eax
je 0x1006ab1c
lea eax, [esp + 0x230]
push eax
lea ecx, [esp + 0x10]
call fcn.10002fd0
mov edx, dword [esp + 0xc]
mov ecx, dword [edx - 0xc]
lea eax, [ecx - 1]
cmp eax, ebx
jl 0x1006ab07
cmp eax, ecx
jg 0x1006ab07
mov al, byte [eax + edx]
cmp al, 0x5c
je 0x1006aa27
push 0x5c
lea ecx, [esp + 0x10]
call fcn.10002470
xor eax, eax
mov ecx, 0x100
lea edi, [esp + 0x230]
rep stosd dword es:[edi], eax
lea edx, [esp + 0x230]
mov eax, str.lg_xx__fg5x
call fcn.10069b10
lea ecx, [esp + 0x230]
push ecx
lea ecx, [esp + 0x10]
call fcn.100033b0
lea ecx, [esp + 0x1c]
call fcn.10075088
mov esi, dword [esp + 0xc]
push ebx
push esi
lea ecx, [esp + 0x24]
mov byte [esp + 0x644], 1
call fcn.1007511b
test eax, eax
lea ecx, [esp + 0x1c]
jne 0x1006aab6
call fcn.10074d99
lea ecx, [esp + 0x1c]
mov byte [esp + 0x63c], bl
call fcn.100750ac
lea eax, [esi - 0x10]
mov dword [esp + 0x63c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x1006ab37
call fcn.10074d99
lea ecx, [esp + 0x1c]
mov byte [esp + 0x63c], bl
call fcn.100750ac
lea eax, [esi - 0x10]
mov dword [esp + 0x63c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1006aaf0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov al, 1
mov ecx, dword [esp + 0x634]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.10001100
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi - 0x10]
mov dword [esp + 0x63c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1006ab41
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x634]
pop edi
pop esi
xor al, al
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret