Function at 0x13035400
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x13045904
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x1c], ecx
push 0x18
call fcn.13039b3e
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
xor ebp, ebp
cmp esi, ebp
mov dword [esp + 0x130], ebp
je 0x13035452
mov dword [esi], 1
lea ecx, [esi + 4]
call fcn.130386f8
mov ebx, esi
jmp 0x13035454
xor ebx, ebx
mov dword [esp + 0x18], ebp
lea eax, [esp + 0x10]
mov dword [esp + 0x130], 1
push eax
push 0x20019
push ebp
push str.softwareGator.comCMEII
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebp
jne 0x1303555d
lea ecx, [esp + 0x18]
call fcn.130356c0
mov ecx, dword [esp + 0x10]
cmp eax, ebp
mov dword [esp + 0x18], ecx
jne 0x1303555d
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push ebp
push eax
push ebp
push str.InstApps
push ecx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
call edi
cmp eax, ebp
jne 0x13035546
mov ecx, dword [esp + 0x10]
push ecx
call fcn.13039b3e
mov esi, eax
add esp, 4
cmp esi, ebp
je 0x13035546
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push esi
push eax
push ebp
push str.InstApps
push ecx
mov dword [esp + 0x2c], ebp
call edi
cmp eax, ebp
jne 0x1303553d
push 0x1305ed78
push esi
call fcn.130255f0
add esp, 8
cmp eax, ebp
je 0x1303553d
push 0x3a
push eax
call fcn.13026d40
add esp, 8
cmp eax, ebp
je 0x1303552b
mov edx, dword [ebx + 0xc]
lea ecx, [ebx + 4]
inc eax
push eax
push edx
call fcn.1303895c
push 0x1305ed78
push ebp
call fcn.130255f0
add esp, 8
cmp eax, ebp
jne 0x1303550e
push esi
call fcn.13039b67
add esp, 4
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x1303555d
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call edi
mov dword [esp + 0x18], ebp
jmp 0x13035563
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebx + 0xc], ebp
jne 0x1303560b
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x34]
cmp dword [eax + 0xc], ebp
jne 0x13035606
xor esi, esi
lea ecx, [esp + 0x10]
mov byte [esp + 0x130], 2
push ecx
push 0x20019
push ebp
push str.softwareGator.comGator_stat
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebp
jne 0x130355f7
mov esi, dword [esp + 0x10]
lea edx, [esp + 0x14]
lea eax, [esp + 0x24]
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
push ebp
push 0x1305ed54
push esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x2c], 0x104
mov dword [esp + 0x28], ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebp
jne 0x130355ee
mov eax, dword [ebx + 0xc]
lea ecx, [ebx + 4]
lea edx, [esp + 0x24]
push edx
push eax
call fcn.1303895c
cmp esi, ebp
je 0x130355f7
push esi
call edi
xor esi, esi
cmp esi, ebp
mov byte [esp + 0x130], 1
je 0x13035606
push esi
call edi
cmp dword [ebx + 0xc], ebp
je 0x1303565c
mov eax, dword [esp + 0x1c]
lea esi, [eax + 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esp + 0x1c]
push esi
mov edx, ecx
mov edi, dword [ecx + 0x34]
mov dword [edx + 0x34], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp edi, ebp
je 0x1303564c
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x1303564c
lea ecx, [edi + 4]
call fcn.1303872b
push edi
call fcn.13039b67
add esp, 4
mov eax, dword [esp + 0x1c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [eax + 0x38], 1
jmp 0x1303567c
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x1303567c
cmp ebx, ebp
je 0x1303567c
lea ecx, [ebx + 4]
call fcn.1303872b
push ebx
call fcn.13039b67
add esp, 4
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x13035687
push eax
call edi
mov ecx, dword [esp + 0x128]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x124
ret