Function at 0x110be7d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
jne 0x110be7e5
pop esi
mov esp, ebp
pop ebp
ret
test byte [eax], 1
push ebx
push edi
jne 0x110be94c
mov eax, dword [eax + 0x10]
mov dword [ebp - 8], eax
test eax, eax
je 0x110be94c
test byte [esi + 0x23c], 4
jne 0x110be94c
cmp byte [esi + 0x1d], 0
jne 0x110be94c
cmp byte [esi + 0x1c], 0
jne 0x110be894
push 0
push 0
lea edi, [esi + 0x14]
push edi
lea ecx, [ebp - 4]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x110be857
push 0x6bd
push str...ctl32Config.cpp
push str.err__0
call fcn.11067750
add esp, 0xc
cmp dword [ebp - 4], 0x100
jb 0x110be877
push 0x6bf
push str...ctl32Config.cpp
push str.maxname____tsizeof__m_szSectionAndKey_
call fcn.11067750
add esp, 0xc
add dword [edi], 4
mov edi, dword [edi]
push edi
call dword [sym.imp.MSVCR100.dll_malloc]
add esp, 4
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], 0
mov byte [esi + 0x1c], 1
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
lea ebx, [esi + 0x18]
push ebx
push eax
mov eax, dword [esi + 0xc]
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 8]
push 0
mov dword [ebx], edx
lea edx, [ebp - 4]
push edx
lea edi, [esi + 0x38]
push edi
push eax
push ecx
mov dword [ebp - 4], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x110be933
inc dword [esi + 0xc]
push 0x5c
push edi
call fcn.110e46e0
add esp, 8
mov dword [esi], eax
test eax, eax
je 0x110be905
xor edx, edx
mov word [eax], dx
mov eax, dword [esi + 0x238]
add dword [esi], 2
test eax, eax
je 0x110beac1
push eax
push edi
call dword [sym.imp.MSVCR100.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x110beac1
mov eax, dword [esi + 0x14]
push ebx
mov dword [ebx], eax
mov ecx, dword [esi + 0x10]
push ecx
mov ecx, dword [esi + 0xc]
lea edx, [ebp - 0xc]
push edx
mov edx, dword [ebp - 8]
push 0
lea eax, [ebp - 4]
push eax
push edi
push ecx
push edx
mov dword [ebp - 4], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x110be8c8
mov eax, dword [esi + 0x10]
push eax
mov byte [esi + 0x1d], 1
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
xor eax, eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
test byte [esi + 0x23c], 2
jne 0x110bea9c
cmp byte [esi + 0x1f], 0
jne 0x110bea9c
cmp byte [esi + 0x1e], 0
jne 0x110be9f5
mov edx, dword [esi + 8]
add edx, 0x118
lea ecx, [esi + 0x28]
push edx
call fcn.110be690
mov ecx, dword [esi + 0x238]
test ecx, ecx
je 0x110be9e3
lea ebx, [esi + 0x38]
mov edx, ebx
mov edi, edi
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x110be990
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x110be9a4
mov eax, dword [0x11203288]
push ebx
lea ecx, [ebp - 8]
mov dword [edi], eax
call fcn.110bbb90
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0xc]
push edx
lea ecx, [esi + 0x28]
call fcn.110bd140
mov ecx, dword [ebp - 8]
mov eax, dword [eax]
push ecx
mov dword [esi + 0x20], eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
jmp 0x110be9eb
mov edx, dword [esi + 0x2c]
mov eax, dword [edx]
mov dword [esi + 0x20], eax
mov ecx, dword [esi + 0x2c]
mov dword [esi + 0x24], ecx
mov byte [esi + 0x1e], 1
mov edx, dword [esi + 0x20]
cmp edx, dword [esi + 0x24]
je 0x110bea98
lea edi, [esi + 0x38]
mov eax, dword [esi + 0x20]
mov dword [ebp - 8], eax
mov eax, dword [eax + 0xc]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x110bea10
sub eax, edx
sar eax, 1
cmp eax, 0x100
jb 0x110bea3d
push 0x702
push str...ctl32Config.cpp
push str._tcslen__k.m_k_____tsizeof__m_szSectionAndKey_
call fcn.11067750
add esp, 0xc
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xc]
mov edx, edi
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x110bea45
push 0x5c
push edi
call fcn.110e46e0
xor ecx, ecx
mov dword [esi], eax
mov word [eax], cx
add dword [esi], 2
add esp, 8
lea ecx, [esi + 0x20]
call fcn.111279b0
mov eax, dword [esi + 0x238]
test eax, eax
je 0x110beab2
push eax
push edi
call dword [sym.imp.MSVCR100.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x110beab2
mov edx, dword [esi + 0x20]
cmp edx, dword [esi + 0x24]
jne 0x110bea04
mov byte [esi + 0x1f], 1
push 0
push 0
push 0
mov ecx, esi
call fcn.110bc240
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x10]
mov dword [esi + 0x10], ecx
mov edx, dword [eax + 0x14]
mov dword [esi + 0x18], edx
pop edi
pop ebx
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret