Function at 0x10073300
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014be58
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1019646c]
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 edi, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0
call fcn.10017640
mov ecx, eax
test ecx, ecx
je 0x10073560
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x28], eax
push 0x10154eac
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.10019430
test al, al
jne 0x1007337f
push 0
push 0x10154eac
lea ecx, [ebp - 0x28]
call fcn.1001c180
cmp dword [ebp + 0x18], 0
mov byte [ebp - 4], 2
je 0x100733c5
push str.IsWow64Process
push 0x1015a4f4
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x100733ba
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
cmp dword [ebp - 0x14], 0
mov eax, 0xf013f
jne 0x100733ca
mov eax, 0xf003f
lea ecx, [ebp - 0x20]
push ecx
push eax
push 0
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
or esi, 0xffffffff
test eax, eax
jne 0x100734f7
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x14]
call fcn.10012770
lea eax, [ebp - 0x18]
xorps xmm0, xmm0
push eax
push 0
lea eax, [ebp - 0x1c]
movlpd qword [ebp - 0x1c], xmm0
push eax
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 0x14]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1007342b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x1c], 3
je 0x10073491
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x1007343f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x10154eac
mov ecx, edi
call fcn.10012770
mov edx, dword [ebp - 0x28]
mov eax, esi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10073469
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x10073542
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x10073542
mov eax, dword [ebp - 0x18]
add eax, 4
push 0x101a05b0
push eax
mov dword [ebp - 0x24], eax
call fcn.100f68c8
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x100734e9
lea eax, [ebp - 0x24]
push eax
push ebx
lea eax, [ebp - 0x1c]
push eax
push 0
push dword [ebp - 0x2c]
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x28]
test eax, eax
je 0x100734da
push 0
push 0x10154eac
call fcn.1001c180
jmp 0x100734e0
push ebx
call fcn.10072600
push ebx
call fcn.100f60cd
add esp, 4
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x100734f7
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [ebp - 0x28]
add ebx, 0xfffffff0
push ebx
call fcn.10019550
add eax, 0x10
mov byte [ebp - 4], 0
mov dword [edi], eax
add esp, 4
mov eax, esi
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x10073523
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x10073542
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
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.100f5f8d
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10013b40
int3