Function at 0x10028e90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a4e7f
mov eax, dword fs:[0]
push eax
sub esp, 0x2bc
mov eax, dword [0x100d10d4]
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]
mov dword [ebp - 0x22c], eax
lea eax, [ebp - 0x21c]
push eax
call fcn.1003c060
add esp, 4
mov dword [ebp - 4], 0
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 0x211], al
mov dword [ebp - 4], 0xffffffff
or ebx, 0xffffffff
mov esi, dword [ebp - 0x218]
test esi, esi
je 0x10028f1f
mov ecx, ebx
lock xadd dword [esi + 4], ecx
jne 0x10028f1f
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x10028f1f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp byte [ebp - 0x211], 0
je 0x10028fa6
lea eax, [ebp - 0x21c]
push eax
call fcn.1003c060
add esp, 4
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x2c8]
mov edi, dword [eax]
call fcn.1000aa80
mov esi, eax
mov byte [ebp - 4], 2
push str.IsAutoRun
push esi
call fcn.1000ca10
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 8]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c8]
call fcn.1000cc10
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x218]
test esi, esi
je 0x10028fa6
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x10028fa6
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x10028fa6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push 0x200
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.1006e460
mov eax, dword [ebp - 0x22c]
push dword [eax]
lea eax, [ebp - 0x210]
push str.SYSTEMCurrentControlSetServices_s
push 0xff
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x1c
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 4], 4
lea eax, [ebp - 0x210]
push 0x20219
push eax
push reloc.WS2_32.dll_bind
lea ecx, [ebp - 0x228]
call fcn.10029270
mov edi, dword [ebp - 0x228]
test eax, eax
je 0x10029107
lea eax, [ebp - 0x21c]
push eax
call fcn.1003c060
add esp, 4
mov byte [ebp - 4], 5
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 0x211], al
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x218]
test esi, esi
je 0x1002907f
mov ecx, ebx
lock xadd dword [esi + 4], ecx
jne 0x1002907f
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x10029079
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov al, byte [ebp - 0x211]
test al, al
je 0x10029100
lea eax, [ebp - 0x21c]
push eax
call fcn.1003c060
add esp, 4
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2c8]
mov edi, dword [eax]
call fcn.1000aa80
mov esi, eax
mov byte [ebp - 4], 7
push str.reg_read_failed
push esi
call fcn.1000ca10
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 8]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2c8]
call fcn.1000cc10
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x218]
test esi, esi
je 0x100290fa
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x100290fa
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x100290fa
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edi, dword [ebp - 0x228]
xor ebx, ebx
jmp 0x10029220
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x230], 2
push eax
lea eax, [ebp - 0x230]
mov dword [ebp - 0x22c], 4
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push str.Start
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x21c]
push eax
call fcn.1003c060
add esp, 4
mov byte [ebp - 4], 9
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 0x211], al
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x218]
test esi, esi
je 0x10029193
mov ecx, ebx
lock xadd dword [esi + 4], ecx
jne 0x10029193
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x1002918d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov al, byte [ebp - 0x211]
test al, al
je 0x10029214
lea eax, [ebp - 0x21c]
push eax
call fcn.1003c060
add esp, 4
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2c8]
mov edi, dword [eax]
call fcn.1000aa80
mov esi, eax
mov byte [ebp - 4], 0xb
push str.Leave_IsAutoRun
push esi
call fcn.1000ca10
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 8]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2c8]
call fcn.1000cc10
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x218]
test esi, esi
je 0x1002920e
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x1002920e
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x1002920e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edi, dword [ebp - 0x228]
xor ebx, ebx
cmp dword [ebp - 0x230], 2
sete bl
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x1002923c
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x228], 0
mov eax, ebx
mov dword [ebp - 0x224], 0
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.10061eb3
mov esp, ebp
pop ebp
ret 4