Function at 0x1002c240
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.100310f0
mov eax, dword [0x1006a81c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x16
mov edi, eax
xor bl, bl
call dword [sym.imp.dbghelp.dll_SymSetOptions]
push 1
push 0
push edi
call dword [sym.imp.dbghelp.dll_SymInitialize]
test eax, eax
jne 0x1002c2aa
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x10054ba3
push eax
push str.UMDebugInitializeSymbols
push str._s:_SymInitialize_returned_error_:__d__s_n
call fcn.1002c100
add esp, 0x10
xor al, al
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10030fab
mov esp, ebp
pop ebp
ret
push esi
lea eax, [ebp - 0x1010]
xor esi, esi
push eax
push 0x20019
push esi
push dword [0x1006a810]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1002c45e
mov eax, dword [ebp - 0x1010]
test eax, eax
je 0x1002c484
lea ecx, [ebp - 0x100c]
push ecx
push esi
lea ecx, [ebp - 0x1008]
push ecx
push esi
push dword [0x1006a814]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0x1008]
test eax, eax
jne 0x1002c395
cmp ecx, 1
jne 0x1002c395
mov eax, dword [ebp - 0x100c]
xor ecx, ecx
add eax, 1
setb cl
neg ecx
or ecx, eax
push ecx
call fcn.10034837
mov esi, eax
add esp, 4
test esi, esi
je 0x1002c381
lea eax, [ebp - 0x100c]
push eax
push esi
push 0
push 0
push dword [0x1006a814]
push dword [ebp - 0x1010]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1002c364
mov eax, dword [ebp - 0x100c]
mov byte [eax + esi], 0
jmp 0x1002c3a9
push eax
push str.UMDebugGetSearchPath
push str._s:_RegQueryValueExA_failed:__d._n
call fcn.1002c100
push esi
call fcn.10034811
add esp, 0x10
xor esi, esi
jmp 0x1002c3a9
push str.UMDebugGetSearchPath
push str._s:_malloc_failed._n
call fcn.1002c100
add esp, 8
jmp 0x1002c3a9
push ecx
push eax
push str.UMDebugGetSearchPath
push str._s:_RegQueryValueExA_failed___d_type___d__n
call fcn.1002c100
add esp, 0x10
push dword [ebp - 0x1010]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x1002c471
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push edi
call dword [sym.imp.dbghelp.dll_SymGetSearchPath]
test eax, eax
jne 0x1002c3e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.UMDebugInitializeSymbols
push str._s:_SymGetSearchPath_failed:__d_n
jmp 0x1002c43a
push 0x1005a954
lea eax, [ebp - 0x1004]
push 0x1000
push eax
call fcn.1003507f
push esi
lea eax, [ebp - 0x1004]
push 0x1000
push eax
call fcn.1003507f
add esp, 0x18
lea eax, [ebp - 0x1004]
push eax
push edi
call dword [sym.imp.dbghelp.dll_SymSetSearchPath]
test eax, eax
setne bl
test eax, eax
jne 0x1002c442
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.UMDebugInitializeSymbols
push str._s:_SymSetSearchPath_failed:__d_n
call fcn.1002c100
add esp, 0xc
push esi
call fcn.10034811
add esp, 4
mov al, bl
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10030fab
mov esp, ebp
pop ebp
ret
push eax
push str.UMDebugGetSearchPath
push str._s:_Open_failed_result___d._n
call fcn.1002c100
add esp, 0xc
mov ecx, dword [ebp - 4]
xor al, al
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.10030fab
mov esp, ebp
pop ebp
ret
push 0x15b
push str.d:_buildob_bora_18379147_bora_vmsoft_build_release_svgawddm_srclibumlibumdebug.c
push str.ASSERT__s:_d_n
call fcn.1002ba30
int3