Function at 0x10003810
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10c
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push 0xf003f
push 0
mov edi, 0x80
push str.SOFTWAREVB_and_VBA_Program_SettingsPriamEnviornmentGUI
push 0x80000001
mov dword [esp + 0x20], edi
mov byte [esp + 0xab], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10003958
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x98]
push ecx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push edx
push eax
push 0
push str.InHouseDebug
push ecx
mov dword [esp + 0x24], edi
call esi
test eax, eax
je 0x10003885
mov byte [0x1001c796], 0
jmp 0x1000389f
lea edx, [esp + 0x98]
push edx
call fcn.10004ed5
add esp, 4
test eax, eax
setne al
mov byte [0x1001c796], al
lea ecx, [esp + 0xc]
lea edx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push edx
push eax
push 0
push str.ExecPath
push ecx
mov dword [esp + 0x24], edi
call esi
test eax, eax
je 0x100038e7
mov edi, str.Priam_
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
jmp 0x10003925
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [esp + ecx + 0x17], 0x5c
je 0x1000392a
mov edi, 0x1000e644
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.Serff27.fnt
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [0x1001bb58]
call fcn.100033f0
mov eax, dword [0x1001bb58]
mov esi, 0x1e
push 1
push 0
mov dword [eax + 0x680], esi
mov dword [eax + 0x684], esi
mov ecx, dword [0x1001bb58]
mov eax, dword [esp + 0x128]
lea edx, [ecx + 4]
push edx
push 1
push eax
call fcn.10002da0
mov eax, dword [0x1001bb58]
mov ebp, 0x37
push 1
push 0
mov dword [eax + 0x680], esi
mov dword [eax + 0x684], ebp
mov ecx, dword [0x1001bb58]
mov eax, dword [esp + 0x124]
lea edx, [ecx + 4]
push edx
push 1
push eax
call fcn.10002da0
mov eax, dword [0x1001bb58]
push 1
push 0
mov dword [eax + 0x680], esi
mov dword [eax + 0x684], 0x50
mov ecx, dword [0x1001bb58]
mov eax, dword [esp + 0x134]
lea edx, [ecx + 4]
push edx
push 1
push eax
call fcn.10002da0
mov eax, dword [0x1001bb58]
mov edi, 0x36b
push 1
push 0
mov dword [eax + 0x680], edi
mov dword [eax + 0x684], esi
mov ecx, dword [0x1001bb58]
mov eax, dword [esp + 0x12c]
lea edx, [ecx + 4]
push edx
push 1
push eax
call fcn.10002da0
mov eax, dword [0x1001bb58]
push 1
push 0
mov dword [eax + 0x680], edi
mov dword [eax + 0x684], ebp
mov ecx, dword [0x1001bb58]
mov eax, dword [esp + 0x130]
lea edx, [ecx + 4]
push edx
push 1
push eax
call fcn.10002da0
pop edi
pop esi
pop ebp
add esp, 0x10c
ret