Function at 0x10072d57
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014bdd1
mov eax, dword fs:[0]
push eax
sub esp, 0x48
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 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.10017640
mov ecx, eax
test ecx, ecx
je 0x1007303e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
push 0x10154eac
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.10019430
test al, al
jne 0x10072b66
push 0
push 0x10154eac
mov ecx, ebx
call fcn.1001c180
mov byte [ebp - 4], 2
mov dword [ebp - 0x50], 1
call fcn.10017640
mov ecx, eax
test ecx, ecx
je 0x10073048
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x40], eax
push 0x10154eac
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.10019430
test al, al
jne 0x10072baf
push 0
push 0x10154eac
lea ecx, [ebp - 0x40]
call fcn.1001c180
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
push eax
call fcn.10019550
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.100730f0
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.10019550
add esp, 4
add eax, 0x10
mov dword [esi], eax
call fcn.100727b0
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 0x10072c96
push 0xf003f
push dword [ebp - 0x18]
call fcn.10073280
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 0x10072c90
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
push eax
call fcn.10019550
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 0x10072c82
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x10072c90
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.0x10072ca7.5
movzx eax, byte [eax + 0x1007306c]
jmp dword [eax*4 + 0x10073054]
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.10019550
add eax, 0x10
add esp, 4
mov dword [edi], eax
lea eax, [ebp - 0x14]
push eax
call fcn.10073950
add esp, 0x14
push eax
mov ecx, ebx
mov byte [ebp - 4], 7
call fcn.10018af0
mov edx, dword [ebp - 0x14]
jmp 0x10072f91
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.10019550
add eax, 0x10
add esp, 4
mov dword [edi], eax
lea eax, [ebp - 0x14]
push eax
call fcn.10073570
add esp, 0x14
push eax
mov ecx, ebx
mov byte [ebp - 4], 8
call fcn.10018af0
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 0x10072d41
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x101555a8
push 0x1015a520
mov ecx, ebx
call fcn.1002f800
jmp case.0x10072ca7.5
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3c], eax
lea eax, [esi - 0x10]
push eax
call fcn.10019550
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 0x10072dcc
push str.IsWow64Process
push 0x1015a4f4
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 0x10072dc1
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 0x10072dd1
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 0x10072e10
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 0x10072e10
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x24], 0xb
je 0x10072e1e
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 0x10072e48
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.1001a680
add esp, 0x10
jmp case.0x10072ca7.5
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
lea eax, [esi - 0x10]
push eax
call fcn.10019550
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 0x10072edd
push str.IsWow64Process
push 0x1015a4f4
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 0x10072ed2
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 0x10072ee2
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 0x10072f21
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 0x10072f21
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 0x10072f45
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x1c]
push 0x10159d58
push ebx
call fcn.1001a680
add esp, 0xc
jmp case.0x10072ca7.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.10019550
add eax, 0x10
add esp, 4
mov dword [edi], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10073300
add esp, 0x14
push eax
mov ecx, ebx
mov byte [ebp - 4], 0xb
call fcn.10018af0
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.0x10072ca7.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 0x10072fcb
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 0x10072fe6
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 0x10073004
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 0x10073020
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.100f5f8d
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10013b40
push 0x80004005
call fcn.10013b40
nop
scasb al, byte es:[edi]
sub al, 7
adc byte [eax + 0x2f], bl
pop es
adc byte [ecx + 0x2e], ah
pop es
adc ah, ch
sub al, 7
adc byte [edi + 0x2d], dl
pop es
adc byte [ebp + 0x10072f], ch
add byte [ecx], al
add al, byte [84214533]
add eax, -858993660
int3