Function at 0x10034bf0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100aea51
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x100d65e8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, edx
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x258], esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x250], ebx
mov dword [ebp - 0x24c], 0x100db224
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 0
mov dword [ebp - 4], 0
cmp dword [ebx + 0x14], 8
jb 0x10034c71
mov eax, dword [ebx]
jmp 0x10034c73
mov eax, ebx
push 0x20219
push eax
push esi
lea ecx, [ebp - 0x248]
call fcn.10036580
test eax, eax
jne 0x10034e63
mov word [ebp - 0x220], ax
push 0x206
push eax
lea eax, [ebp - 0x21e]
push eax
call fcn.1007f340
add esp, 0xc
mov dword [ebp - 0x254], 0x104
xor esi, esi
mov edi, dword [ebp - 0x248]
jmp 0x10034cc0
lea eax, [ebp - 0x264]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x220]
push eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x10034e3e
inc esi
mov dword [ebp - 0x25c], esi
mov dword [ebp - 0x254], 0x104
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], eax
mov word [ebp - 0x238], ax
cmp word [ebp - 0x220], ax
jne 0x10034d2c
xor ecx, ecx
jmp 0x10034d44
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10034d35
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x238]
call fcn.1000f9f0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x228], 0
jne 0x10034da1
mov byte [ebp - 4], 0
cmp dword [ebp - 0x224], 8
jb 0x10034d7f
push dword [ebp - 0x238]
call fcn.1007d9ed
add esp, 4
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], 0
xor eax, eax
mov word [ebp - 0x238], ax
jmp 0x10034cc0
mov byte [ebp - 4], 2
push 0
push 0x100bde14
lea ecx, [ebp - 0x238]
call fcn.10025d30
cmp eax, 0xffffffff
jne 0x10034df1
push 0
push str._Office
lea ecx, [ebp - 0x238]
call fcn.10025d30
cmp eax, 0xffffffff
jne 0x10034df1
mov dword [ebp - 4], 1
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0x24c]
call fcn.1001a1f0
jmp 0x10034d64
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x238]
call fcn.100103e0
mov byte [ebp - 4], 0
jmp 0x10034cc0
test edi, edi
je 0x10034e51
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
mov dword [ebp - 0x248], edi
mov dword [ebp - 0x244], 0
mov esi, dword [ebp - 0x23c]
jmp 0x10034e69
mov edi, dword [ebp - 0x248]
cmp byte [ebp + 0xc], 0
je 0x1003503a
cmp dword [ebx + 0x14], 8
jb 0x10034e7b
mov ebx, dword [ebx]
push 0x20119
push ebx
push esi
lea ecx, [ebp - 0x248]
call fcn.10036580
mov edi, dword [ebp - 0x248]
test eax, eax
jne 0x1003503a
mov dword [ebp - 0x23c], 0x104
xor esi, esi
lea eax, [ebp - 0x264]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x220]
push eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1003501d
inc esi
mov dword [ebp - 0x250], esi
mov dword [ebp - 0x23c], 0x104
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], eax
mov word [ebp - 0x238], ax
cmp word [ebp - 0x220], ax
jne 0x10034f13
xor ecx, ecx
jmp 0x10034f2f
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10034f20
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x238]
call fcn.1000f9f0
mov byte [ebp - 4], 4
cmp dword [ebp - 0x228], 0
jne 0x10034f8c
mov byte [ebp - 4], 0
cmp dword [ebp - 0x224], 8
jb 0x10034f6a
push dword [ebp - 0x238]
call fcn.1007d9ed
add esp, 4
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], 0
xor eax, eax
mov word [ebp - 0x238], ax
jmp 0x10034ea7
mov byte [ebp - 4], 5
push 0
push 0x100bde14
lea ecx, [ebp - 0x238]
call fcn.10025d30
cmp eax, 0xffffffff
jne 0x10034fdc
push 0
push str._Office
lea ecx, [ebp - 0x238]
call fcn.10025d30
cmp eax, 0xffffffff
jne 0x10034fdc
mov dword [ebp - 4], 4
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0x24c]
call fcn.1001a1f0
jmp 0x10034f4f
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x238]
call fcn.100103e0
mov byte [ebp - 4], 0
jmp 0x10034ea7
test edi, edi
je 0x10035030
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
mov dword [ebp - 0x248], edi
mov dword [ebp - 0x244], 0
mov eax, dword [ebp - 0x24c]
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov esi, edx
shr esi, 0x1f
add esi, edx
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x10035072
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x248], 0
mov eax, esi
mov dword [ebp - 0x244], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1007e654
mov esp, ebp
pop ebp
ret