Function at 0x1e7576b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1e7e1960
push 0x1e72b672
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x1e7e4380]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov ebx, ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x130], esi
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x128], 0
lea edi, [ebx + 0x40]
mov ecx, 0x77
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x10]
mov dword [ebx + 0x21c], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 0x238], edx
mov dword [ebx + 0x23c], eax
mov edi, 4
push edi
lea eax, [ebp - 0x128]
push eax
push 0x1e6ff98c
push edi
call fcn.1e72c930
add esp, 0x10
call fcn.1e70ae40
test eax, eax
je 0x1e757765
cmp dword [ebp - 0x128], 0
jne 0x1e757765
xor eax, eax
jmp 0x1e75776a
mov eax, 0x100
or eax, dword [ebp + 0x14]
mov dword [ebx + 0x220], eax
xor esi, esi
mov dword [ebp - 0x128], esi
push edi
lea ecx, [ebp - 0x128]
push ecx
push 0x1e6ff980
push edi
call fcn.1e72c930
add esp, 0x10
mov eax, dword [ebx + 0x220]
mov dword [ebx + 0x224], eax
cmp dword [ebp + 0x24], esi
je 0x1e7577ad
mov edx, eax
or edx, 0x10
mov dword [ebx + 0x224], edx
cmp dword [ebp - 0x128], esi
je 0x1e7577bd
or eax, edi
mov dword [ebx + 0x220], eax
mov eax, dword [ebp - 0x130]
push eax
call fcn.1e70a420
add esp, 4
mov eax, dword [ebp - 0x134]
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 4]
call edx
test byte [ebx + 0x220], 4
je 0x1e7577f5
mov dword [ebp - 4], esi
lea ecx, [ebx + 4]
call fcn.1e706ca0
mov dword [ebp - 4], 0xfffffffe
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov byte [ebp - 0x120], 0
push 0x103
lea ecx, [ebp - 0x120]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [eax - 5]
cmp edx, 0xff
ja 0x1e75785d
lea eax, [ebp + eax - 0x120]
cmp byte [eax - 4], 0x2e
jne 0x1e75785d
mov cl, byte [eax - 3]
cmp cl, 0x73
je 0x1e75783b
cmp cl, 0x53
jne 0x1e75785d
mov cl, byte [eax - 2]
cmp cl, 0x63
je 0x1e757848
cmp cl, 0x43
jne 0x1e75785d
mov al, byte [eax - 1]
cmp al, 0x72
je 0x1e757853
cmp al, 0x52
jne 0x1e75785d
or dword [ebx + 0x220], 0x10000000
mov ecx, dword [ebx + 0x3c]
push ebx
call fcn.1e759570
mov dword [ebp - 0x124], eax
cmp eax, esi
jne 0x1e757a99
mov ecx, ebx
call fcn.1e755b50
mov dword [ebx + 0x28], eax
mov eax, dword [ebx + 0x118]
mov dword [ebx + 0x244], eax
mov ecx, dword [ebx + 0x114]
mov dword [ebx + 0x240], ecx
mov edx, dword [ebx + 0x11c]
mov dword [ebx + 0x24c], edx
mov eax, dword [ebx + 0x124]
mov dword [ebx + 0x248], eax
push 0x7b4
call fcn.1e71aec0
add esp, 4
cmp eax, esi
je 0x1e75790a
push 1
push ebx
mov ecx, eax
call fcn.1e760670
jmp 0x1e75790c
xor eax, eax
mov dword [ebx + 0x22c], eax
cmp eax, esi
je 0x1e757a94
push esi
lea ecx, [ebp - 0x124]
push ecx
mov esi, dword [ebp - 0x12c]
push esi
mov ecx, eax
call fcn.1e760800
mov eax, dword [ebp - 0x124]
test eax, eax
jl 0x1e757a99
cmp dword [esi + 0x20], 0
je 0x1e7579e3
mov edx, dword [esi + 0x24]
push edx
mov eax, dword [esi + 8]
push eax
mov ecx, ebx
call fcn.1e734ef0
mov dword [ebp - 0x124], eax
test eax, eax
jge 0x1e757983
push 0x8a3
push 0x1e6fed50
push 0x1e6ff858
call sym.d3d8.dll_DebugSetMute
add esp, 0xc
mov eax, dword [ebp - 0x124]
jmp 0x1e757a99
mov eax, dword [ebx + 0x22c]
mov ecx, dword [eax + 0x38]
mov eax, dword [eax + 0x34]
lea edx, [ebp - 0x12c]
push edx
push 1
mov edx, dword [esi + 0x10]
push edx
mov edx, dword [esi + 0x24]
push edx
push ecx
push eax
push ebx
call fcn.1e755c10
add esp, 0x1c
mov dword [ebp - 0x124], eax
test eax, eax
jge 0x1e7579d7
push 0x8b3
push 0x1e6fed50
push 0x1e6ff808
call sym.d3d8.dll_DebugSetMute
add esp, 0xc
mov eax, dword [ebp - 0x124]
jmp 0x1e757a99
mov eax, dword [ebp - 0x12c]
mov dword [ebx + 0x234], eax
mov ecx, dword [ebx + 0x22c]
mov eax, dword [ecx + 0x2c]
cmp dword [eax], 0
je 0x1e7579f8
mov eax, dword [eax]
add eax, 0x1c
jmp 0x1e7579fa
xor eax, eax
mov edx, dword [ebx + 0x234]
push edx
push eax
mov ecx, ebx
call fcn.1e755ac0
mov eax, dword [ebx + 0x22c]
xor ecx, ecx
cmp dword [eax + 0x50], ecx
sete cl
mov dword [ebx + 0x30], ecx
lea edx, [ebp - 0x138]
push edx
push 0x1e6f24d8
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x1e757a8c
mov dword [ebp - 0x12c], edi
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x130]
push ecx
lea edx, [ebp - 0x134]
push edx
push 0
push 0x1e6ff7f0
mov eax, dword [ebp - 0x138]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1e757a7f
cmp dword [ebp - 0x134], edi
jne 0x1e757a7f
cmp dword [ebp - 0x130], eax
je 0x1e757a7f
mov dword [ebx + 0x34], 1
mov ecx, dword [ebp - 0x138]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x124]
jmp 0x1e757a99
mov eax, 0x8007000e
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1e72b65d
mov esp, ebp
pop ebp
ret 0x20