Function at 0x1135040
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x115f604]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
xor esi, esi
push edi
push 0x208
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x20e]
push esi
push eax
mov dword [ebp - 0x22c], ecx
mov dword [ebp - 0x230], edx
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x218], esi
mov word [ebp - 0x210], si
call fcn.01084910
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
add esp, 0xc
lea ecx, [ebp - 0x220]
push ecx
push 0x20019
push esi
push 0x1006df0
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x224], 0x208
call edi
test eax, eax
je 0x11350e4
jg 0x113527a
mov esi, eax
jmp 0x113529c
mov ecx, dword [ebp - 0x220]
lea edx, [ebp - 0x224]
push edx
lea eax, [ebp - 0x210]
push eax
push 0
push 0
push 0x1018808
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1135119
jg 0x113527a
mov esi, eax
jmp 0x113529c
test ebx, ebx
je 0x1135153
mov eax, dword [ebp - 0x220]
lea edx, [ebp - 0x224]
push edx
push ebx
push 0
push 0
push 0x10186c8
push eax
mov dword [ebp - 0x224], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x113514d
cmp dword [ebx], esi
jne 0x1135153
mov dword [ebx], 5
cmp dword [ebp + 0x10], esi
jne 0x11351eb
mov edx, dword [ebp - 0x228]
lea ecx, [ebp - 0x214]
push ecx
push 0x20019
push 0
push 0x106e5d0
push edx
call edi
test eax, eax
je 0x1135189
jg 0x113527a
mov esi, eax
jmp 0x113529c
mov edx, dword [ebp - 0x214]
lea eax, [ebp - 0x21c]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x210]
push ecx
push edx
call edi
test eax, eax
je 0x11351b8
jg 0x113527a
mov esi, eax
jmp 0x113529c
mov ecx, dword [ebp - 0x22c]
mov edx, dword [ebp - 0x21c]
lea eax, [ebp - 0x218]
push eax
push 0x20019
push 0
push ecx
push edx
call edi
test eax, eax
je 0x1135288
jg 0x113527a
mov esi, eax
jmp 0x113529c
mov ecx, dword [ebp - 0x228]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push 0
lea eax, [ebp - 0x214]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push 0x106e5d0
push ecx
call edi
test eax, eax
je 0x113521f
jg 0x113527a
mov esi, eax
jmp 0x113529c
mov ecx, dword [ebp - 0x214]
push 0
lea edx, [ebp - 0x21c]
push edx
push 0
push 0x20006
push 0
push 0
push 0
lea eax, [ebp - 0x210]
push eax
push ecx
call edi
test eax, eax
je 0x113524f
jg 0x113527a
mov esi, eax
jmp 0x113529c
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x21c]
push 0
lea edx, [ebp - 0x218]
push edx
push 0
push 0x20006
push 0
push 0
push 0
push eax
push ecx
call edi
jmp 0x11351d6
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
jmp 0x113529c
mov edx, dword [ebp - 0x218]
mov eax, dword [ebp - 0x230]
mov dword [eax], edx
mov dword [ebp - 0x218], esi
mov eax, dword [ebp - 0x220]
test eax, eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x11352af
push eax
call edi
mov eax, dword [ebp - 0x218]
test eax, eax
je 0x11352bc
push eax
call edi
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x11352c9
push eax
call edi
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x11352d6
push eax
call edi
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.010840d6
mov esp, ebp
pop ebp
ret 0x18