Function at 0x1006a020
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009a526
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
mov ecx, 0x7d
lea edi, [esp + 0x38]
rep stosd dword es:[edi], eax
xor ebx, ebx
lea edx, [esp + 0x38]
mov eax, str.l__ju0u5rj3r_sf_p:g:x_ri_
mov dword [esp + 0x10], ebx
call fcn.10069b10
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x3c]
push ecx
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x1006a100
mov ecx, 0x7d
lea edi, [esp + 0x38]
rep stosd dword es:[edi], eax
lea edx, [esp + 0x38]
mov eax, str.__pud5ue_
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], 0x400
call fcn.10069b10
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x234]
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x20]
push ecx
push ebx
lea edx, [esp + 0x48]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1006a117
lea eax, [esp + 0x230]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1006a0e6
sub eax, edx
mov dword [esp + 0x14], eax
jne 0x1006a117
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov ecx, dword [esp + 0x634]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x230]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1006a130
sub eax, edx
mov cl, byte [esp + eax + 0x22f]
cmp cl, 0x5c
lea eax, [esp + eax + 0x22f]
jne 0x1006a14e
mov byte [eax], bl
xor eax, eax
mov ecx, 0x7d
lea edi, [esp + 0x38]
rep stosd dword es:[edi], eax
lea edx, [esp + 0x38]
mov eax, str.__pucs_8py_
call fcn.10069b10
call fcn.1008cdb1
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x234]
push ecx
lea edx, [esp + 0x1c]
push 0x1009cb94
push edx
mov dword [esp + 0x64c], ebx
call fcn.10002d50
add esp, 0x10
lea ecx, [esp + 0x20]
call fcn.10075088
mov esi, dword [esp + 0x14]
push ebx
push esi
lea ecx, [esp + 0x28]
mov byte [esp + 0x644], 1
call fcn.1007511b
test eax, eax
lea ecx, [esp + 0x20]
jne 0x1006a21f
call fcn.10074d99
lea ecx, [esp + 0x20]
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 0x1006a100
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor al, al
mov ecx, dword [esp + 0x634]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.10074d99
lea ecx, [esp + 0x20]
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 0x1006a259
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x634]
pop edi
pop esi
mov al, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret