Function at 0x100140c7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push esi
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x10014305
mov eax, dword [ebp + 8]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3c], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x48]
movzx eax, byte [eax]
test eax, eax
je 0x1001422c
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0xfffffffe
jmp 0x10014173
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 3
jle 0x10014227
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov eax, dword [ebp - 0x24]
cmp dword [eax], 0x1dd5c0ae
jge 0x100141a2
mov dword [ebp - 0x18], 1
jmp 0x100141a6
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x54]
cmp dword [eax], 0xb00b7228
jbe 0x100141ba
mov dword [ebp - 0x2c], 1
jmp 0x100141be
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x2c]
jg 0x100141cf
mov dword [ebp - 0x10], 1
jmp 0x100141d3
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
imul ecx, dword [ebp - 0x10]
add eax, ecx
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
mov eax, dword [ebp - 0x20]
cmp dword [eax], 0
jne 0x100141f9
mov dword [ebp - 0xc], 1
jmp 0x100141fd
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0xc], eax
jle 0x10014216
mov dword [ebp - 0x1c], 1
jmp 0x1001421a
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
jmp 0x10014168
jmp 0x10014303
mov dword [ebp - 0x6c], 0x1bea
cmp dword [ebp - 0x6c], 0xff4
jge 0x100142f1
lea eax, [ebp - 1]
push eax
lea eax, [ebp - 0x38]
push eax
push 0x10008e74
call fcn.10050e4b
add esp, 0xc
push 0
push 2
push dword [ebp - 0x34]
push dword [ebp - 0x38]
call fcn.1006a850
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], edx
mov eax, dword [ebp - 0x88]
or eax, dword [ebp - 0x84]
jne 0x10014287
mov dword [ebp - 0x28], 7
jmp 0x1001428b
and dword [ebp - 0x28], 0
movsx eax, byte [ebp - 1]
cmp eax, 0x63
jle 0x100142a2
movsx eax, byte [ebp - 1]
push 0x67
pop ecx
sub ecx, eax
mov dword [ebp - 0x30], ecx
jmp 0x100142ac
movsx eax, byte [ebp - 1]
sub eax, 0x5d
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x38]
sub eax, 1
mov ecx, dword [ebp - 0x34]
sbb ecx, 0
push 0
push 4
push ecx
push eax
call fcn.1006a7a0
push 0
push 0x10
push edx
push eax
call fcn.10056fb0
mov ecx, eax
mov esi, edx
mov eax, dword [ebp - 0x28]
cdq
add ecx, eax
adc esi, edx
mov eax, dword [ebp - 0x30]
cdq
add ecx, eax
adc esi, edx
push esi
push ecx
push 0x10008e7c
call fcn.10051040
add esp, 0xc
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
jmp 0x10014322
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x74], eax
push 0xd18
push 1
push 0x7635
push dword [ebp - 0x74]
call fcn.10013d66
add esp, 0x10
pop esi
mov esp, ebp
pop ebp
ret