Function at 0x10073200
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10156b78
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x101a154c]
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.10017d20
mov ecx, eax
test ecx, ecx
je 0x10073460
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x28], eax
push 0x1015fecc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.10019a00
test al, al
jne 0x1007327f
push 0
push 0x1015fecc
lea ecx, [ebp - 0x28]
call fcn.1001c8c0
cmp dword [ebp + 0x18], 0
mov byte [ebp - 4], 2
je 0x100732c5
push str.IsWow64Process
push 0x10165494
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 0x100732ba
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 0x100732ca
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 0x100733f7
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x14]
call fcn.10012f50
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 0x1007332b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x1c], 3
je 0x10073391
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x1007333f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x1015fecc
mov ecx, edi
call fcn.10012f50
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 0x10073369
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 0x10073442
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x10073442
mov eax, dword [ebp - 0x18]
add eax, 4
push 0x101ab5a0
push eax
mov dword [ebp - 0x24], eax
call fcn.100f98f8
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x100733e9
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 0x100733da
push 0
push 0x1015fecc
call fcn.1001c8c0
jmp 0x100733e0
push ebx
call fcn.10072500
push ebx
call fcn.100f90fe
add esp, 4
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x100733f7
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [ebp - 0x28]
add ebx, 0xfffffff0
push ebx
call fcn.10019b20
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 0x10073423
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 0x10073442
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.100f8fe1
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.100142b0
int3