Function at 0x10011700
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10037dd8
mov eax, dword fs:[0]
push eax
sub esp, 0x850
mov eax, dword [0x10063b60]
xor eax, ebp
mov dword [ebp - 0x30], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x85c], ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x24]
call fcn.100070e0
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
cmp dword [ebp + 8], 0
je 0x10011768
cmp dword [ebp + 0xc], 0
jne 0x1001178c
mov dword [ebp - 0x838], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.10007040
mov eax, dword [ebp - 0x838]
jmp 0x10011a4e
mov eax, dword [ebp - 0x85c]
movzx ecx, byte [eax + 4]
test ecx, ecx
jne 0x100117be
mov dword [ebp - 0x83c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.10007040
mov eax, dword [ebp - 0x83c]
jmp 0x10011a4e
lea edx, [ebp - 0x18]
push edx
push 0
lea eax, [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x85c]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x10011828
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x10011828
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str._Configv3_Reg::GetValue_Get___s__failed__LastError__d___
call fcn.100112c0
add esp, 0xc
mov dword [ebp - 0x840], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.10007040
mov eax, dword [ebp - 0x840]
jmp 0x10011a4e
mov edx, dword [ebp - 0x18]
push edx
call fcn.100130e8
add esp, 4
mov dword [ebp - 0x844], eax
mov eax, dword [ebp - 0x844]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x10011884
cmp dword [ebp - 0x18], 0
je 0x10011884
mov ecx, dword [ebp - 0x18]
push ecx
push str._Configv3_GetValue_new_bytes_failed__size__d_
call fcn.100112c0
add esp, 8
mov dword [ebp - 0x848], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.10007040
mov eax, dword [ebp - 0x848]
jmp 0x10011a4e
mov edx, dword [ebp - 0x18]
push edx
push 0
mov eax, dword [ebp - 0x1c]
push eax
call fcn.100237f0
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x100118ac
push str._Configv3_Safe_memset_set_buf_failed_
call fcn.100112c0
add esp, 4
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
lea eax, [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x85c]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x1001192c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str._Configv3__Reg::GetValue_failed__pItemName_is___s___errorcode_is___d__
call fcn.100112c0
add esp, 0xc
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x84c], edx
mov eax, dword [ebp - 0x84c]
push eax
call fcn.100130dd
add esp, 4
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x850], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.10007040
mov eax, dword [ebp - 0x850]
jmp 0x10011a4e
cmp dword [ebp - 0x14], 4
jne 0x10011985
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
push eax
push 0x100526b0
lea ecx, [ebp - 0x24]
push ecx
call fcn.100068e0
add esp, 0xc
push 0
lea ecx, [ebp - 0x24]
call fcn.100035a0
push eax
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.10021bbe
add esp, 0xc
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x10011980
push str._Configv3_strcpy_set_buf_failed_
call fcn.100112c0
add esp, 4
jmp 0x10011a10
cmp dword [ebp - 0x14], 1
jne 0x10011a10
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp + 0x10]
jae 0x10011a10
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.1002048d
add esp, 0x10
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x10011a10
mov al, byte [0x10051ceb]
mov byte [ebp - 0x834], al
push 0x7ff
push 0
lea ecx, [ebp - 0x833]
push ecx
call fcn.100237f0
add esp, 0xc
push 0x100526d8
push 0x119
push str..Reg.cpp
push 0x100526f0
lea edx, [ebp - 0x834]
push edx
call fcn.10020a09
add esp, 0x14
lea eax, [ebp - 0x834]
push eax
push 0x1005271c
call fcn.10012d10
add esp, 8
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x854], ecx
mov edx, dword [ebp - 0x854]
push edx
call fcn.100130dd
add esp, 4
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x858], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.10007040
mov eax, dword [ebp - 0x858]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.10020358
mov esp, ebp
pop ebp
ret 0xc