Function at 0x1e70e250
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x850
mov eax, dword [0x1e7e4380]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x20]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x838], eax
mov dword [eax], ebx
lea eax, [ebp - 0x844]
push eax
mov dword [ebp - 0x834], ecx
lea ecx, [ebp - 0x850]
mov dword [ebp - 0x840], edx
push ecx
lea edx, [ebp - 0x848]
push edx
push edi
mov dword [ebp - 0x83c], edi
mov dword [ebp - 0x3fc], ebx
xor esi, esi
call fcn.1e715bf0
add esp, 0x10
cmp dword [0x1e7e6608], ebx
jne 0x1e70e2cb
push edi
lea eax, [ebp - 0x830]
push eax
call sub.GDI32.dll_GdiEntry1
cmp dword [ebp - 0x3fc], ebx
jne 0x1e70e2df
cmp dword [0x1e7e6608], ebx
je 0x1e70e450
push 0xdc0
call fcn.1e70a400
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x1e70e450
push 0xdc0
push ebx
push esi
call sub.msvcrt.dll_memset
mov ecx, dword [ebp - 0x3fc]
mov edx, dword [ebp - 0x838]
mov dword [esi], ecx
mov dword [edx], esi
mov edx, dword [ebp + 0xc]
lea eax, [esi + 0xc]
add esp, 0xc
mov edi, 0x20
sub edx, eax
lea ecx, [edi - 1]
test ecx, ecx
je 0x1e70e33a
mov cl, byte [edx + eax]
cmp cl, bl
je 0x1e70e33a
mov byte [eax], cl
inc eax
sub edi, 1
jne 0x1e70e322
jmp 0x1e70e33e
cmp edi, ebx
jne 0x1e70e33f
dec eax
mov edx, dword [ebp + 0x10]
mov byte [eax], bl
mov byte [esi + 0x2b], bl
mov dword [esi + 0x2c], edx
call sub.GDI32.dll_GdiEntry13
mov ecx, dword [ebp + 0x18]
mov dword [esi + 0x34], eax
mov eax, dword [ebp - 0x834]
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [eax], ebx
mov dword [esi + 0xc8], ecx
mov dword [esi + 0x75c], ebx
mov edx, dword [ebp - 0x848]
mov dword [esi + 0x760], edx
mov eax, dword [ebp - 0x850]
mov dword [esi + 0x764], eax
mov ecx, dword [ebp - 0x84c]
mov dword [esi + 0x768], ecx
mov edx, dword [ebp - 0x844]
mov dword [esi + 0x76c], edx
cmp dword [0x1e7e6608], ebx
je 0x1e70e3e6
push 1
push esi
call fcn.1e715b40
mov eax, dword [ebp - 0x83c]
push esi
push eax
call fcn.1e71a1d0
mov edi, dword [ebp - 0x840]
add esp, 0x10
cmp edi, ebx
je 0x1e70e3d8
xor ecx, ecx
cmp eax, 0x80070241
sete cl
mov dword [edi], ecx
cmp eax, ebx
jge 0x1e70e3e6
mov edi, dword [ebp - 0x838]
mov dword [edi], ebx
jmp 0x1e70e3ec
mov edi, dword [ebp - 0x838]
mov eax, dword [ebp + 0x18]
cmp eax, 2
jne 0x1e70e42b
cmp dword [edi], ebx
je 0x1e70e45a
push 0x1e6f3538
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edx, dword [ebp - 0x834]
mov dword [edx], eax
call fcn.1e71b5b0
mov dword [esi + 0x30], eax
cmp eax, ebx
jne 0x1e70e41b
mov dword [edi], ebx
jmp 0x1e70e45a
mov eax, dword [ebp - 0x834]
mov ecx, dword [eax]
mov dword [esi + 0xc0], ecx
jmp 0x1e70e450
cmp eax, 3
jne 0x1e70e450
mov edi, dword [ebp - 0x838]
cmp dword [edi], ebx
je 0x1e70e45a
call fcn.1e71b5b0
mov dword [esi + 0x30], eax
cmp eax, ebx
jne 0x1e70e44a
mov dword [edi], ebx
jmp 0x1e70e45a
mov edx, dword [ebp + 0x24]
mov dword [esi + 0x70], edx
mov eax, dword [ebp - 0x838]
cmp dword [eax], ebx
jne 0x1e70e48e
cmp esi, ebx
je 0x1e70e467
push esi
call fcn.1e70a420
add esp, 4
mov eax, dword [ebp - 0x3fc]
cmp eax, ebx
je 0x1e70e510
push eax
call sub.d3d8thk.dll_OsThunkDdDeleteDirectDrawObject
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1e72b65d
mov esp, ebp
pop ebp
ret 0x20
lea ecx, [ebp - 0x834]
push ecx
push 0x1e6f24d8
push 0x80000002
mov dword [ebp - 0x834], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x1e70e50a
lea edx, [ebp - 0x840]
push edx
mov edx, dword [ebp - 0x834]
lea eax, [ebp - 0x83c]
push eax
lea ecx, [ebp - 0x838]
push ecx
push ebx
push 0x1e6f3524
push edx
mov dword [ebp - 0x840], 4
mov dword [esi + 0x84], ebx
mov dword [esi + 0x80], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1e70e4fd
mov eax, dword [ebp - 0x83c]
mov dword [esi + 0x80], eax
mov ecx, dword [ebp - 0x834]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [0x1e7e65fc]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1e72b65d
mov esp, ebp
pop ebp
ret 0x20