Function at 0x10072d61
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10156af1
mov eax, dword fs:[0]
push eax
sub esp, 0x48
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 ebx, dword [ebp + 8]
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 4], 2
mov dword [ebx], 0
call fcn.10017d20
mov ecx, eax
test ecx, ecx
je 0x10072f3e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
push 0x1015fecc
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.10019a00
test al, al
jne 0x10072a66
push 0
push 0x1015fecc
mov ecx, ebx
call fcn.1001c8c0
mov byte [ebp - 4], 2
mov dword [ebp - 0x50], 1
call fcn.10017d20
mov ecx, eax
test ecx, ecx
je 0x10072f48
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x40], eax
push 0x1015fecc
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.10019a00
test al, al
jne 0x10072aaf
push 0
push 0x1015fecc
lea ecx, [ebp - 0x40]
call fcn.1001c8c0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
push eax
call fcn.10019b20
add eax, 0x10
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10072ff0
mov eax, dword [ebp - 0x40]
add esp, 8
add eax, 0xfffffff0
mov esi, esp
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x48], eax
push eax
call fcn.10019b20
add esp, 4
add eax, 0x10
mov dword [esi], eax
call fcn.100726b0
mov esi, dword [ebp - 0x4c]
mov ecx, eax
mov eax, dword [ebp + 0x14]
add esp, 4
or edi, 0xffffffff
mov dword [ebp - 0x44], ecx
test eax, eax
jne 0x10072b96
push 0xf003f
push dword [ebp - 0x18]
call fcn.10073180
add esp, 8
lea ecx, [ebp - 0x34]
push ecx
push eax
push 0
push esi
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10072b90
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
push eax
call fcn.10019b20
add esp, 4
xorps xmm0, xmm0
movlpd qword [ebp - 0x30], xmm0
lea edi, [eax + 0x10]
lea eax, [ebp - 0x2c]
push eax
push 0
lea eax, [ebp - 0x30]
push eax
push 0
push edi
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [edi - 0x10]
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10072b82
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x10072b90
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x44]
dec eax
cmp eax, 0xa
ja case.0x10072ba7.5
movzx eax, byte [eax + 0x10072f6c]
jmp dword [eax*4 + 0x10072f54]
push dword [ebp - 0x18]
lea eax, [esi - 0x10]
push dword [ebp + 0x10]
push ecx
push ecx
mov edi, esp
push eax
mov dword [ebp - 0x1c], edi
call fcn.10019b20
add eax, 0x10
add esp, 4
mov dword [edi], eax
lea eax, [ebp - 0x14]
push eax
call fcn.10073850
add esp, 0x14
push eax
mov ecx, ebx
mov byte [ebp - 4], 7
call fcn.100190c0
mov edx, dword [ebp - 0x14]
jmp 0x10072e91
push dword [ebp - 0x18]
lea eax, [esi - 0x10]
push dword [ebp + 0x10]
push ecx
push ecx
mov edi, esp
push eax
mov dword [ebp - 0x1c], edi
call fcn.10019b20
add eax, 0x10
add esp, 4
mov dword [edi], eax
lea eax, [ebp - 0x14]
push eax
call fcn.10073470
add esp, 0x14
push eax
mov ecx, ebx
mov byte [ebp - 4], 8
call fcn.100190c0
mov edx, dword [ebp - 0x14]
or eax, 0xffffffff
mov byte [ebp - 4], 6
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10072c41
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x101605c8
push 0x101654c0
mov ecx, ebx
call fcn.1002fed0
jmp case.0x10072ba7.5
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3c], eax
lea eax, [esi - 0x10]
push eax
call fcn.10019b20
add eax, 0x10
add esp, 4
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x18], 0
mov byte [ebp - 4], 9
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 8
mov dword [ebp - 0x38], 0
je 0x10072ccc
push str.IsWow64Process
push 0x10165494
mov dword [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10072cc1
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0x14]
cmp dword [ebp - 0x18], 0
mov eax, 0xf013f
jne 0x10072cd1
mov eax, 0xf003f
lea ecx, [ebp - 0x38]
push ecx
push eax
push 0
push dword [ebp - 0x34]
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10072d10
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
push 0
push dword [ebp - 0x3c]
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x10072d10
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x24], 0xb
je 0x10072d1e
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x14], eax
add edx, 0xfffffff0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x3c], eax
mov eax, edi
mov byte [ebp - 4], 6
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10072d48
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x3c]
push dword [ebp - 0x14]
push str._I64d
push ebx
call fcn.1001ad60
add esp, 0x10
jmp case.0x10072ba7.5
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
lea eax, [esi - 0x10]
push eax
call fcn.10019b20
add eax, 0x10
add esp, 4
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x18], 0
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 4
mov dword [ebp - 0x34], 0
je 0x10072ddd
push str.IsWow64Process
push 0x10165494
mov dword [ebp - 0x24], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x10072dd2
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0x3c]
cmp dword [ebp - 0x24], 0
mov eax, 0xf013f
jne 0x10072de2
mov eax, 0xf003f
lea ecx, [ebp - 0x34]
push ecx
push eax
push 0
push dword [ebp - 0x38]
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10072e21
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0
push dword [ebp - 0x1c]
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x10072e21
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x1c], eax
add edx, 0xfffffff0
mov byte [ebp - 4], 6
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10072e45
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x1c]
push 0x10164cf8
push ebx
call fcn.1001ad60
add esp, 0xc
jmp case.0x10072ba7.5
push dword [ebp - 0x18]
lea eax, [esi - 0x10]
push dword [ebp + 0x10]
push ecx
push ecx
mov edi, esp
push eax
mov dword [ebp - 0x1c], edi
call fcn.10019b20
add eax, 0x10
add esp, 4
mov dword [edi], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10073200
add esp, 0x14
push eax
mov ecx, ebx
mov byte [ebp - 4], 0xb
call fcn.100190c0
mov edx, dword [ebp - 0x1c]
or eax, 0xffffffff
mov byte [ebp - 4], 6
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg case.0x10072ba7.5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [esi - 0x10]
mov byte [ebp - 4], 5
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10072ecb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x48]
mov eax, esi
mov byte [ebp - 4], 2
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10072ee6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0xc]
mov eax, esi
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10072f04
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 0
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x10072f20
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
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
push 0x80004005
call fcn.100142b0
nop
scasb al, byte es:[edi]
sub eax, dword [edi]
adc byte [eax + 0x2e], bl
pop es
adc byte [ecx + 0x2d], ah
pop es
adc ah, ch
sub eax, dword [edi]
adc byte [edi + 0x2c], dl
pop es
adc byte [ebp + 0x10072e], ch
add byte [ecx], al
add al, byte [84214533]
add eax, -858993660
int3