Function at 0x43ef70
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xac
lea eax, [esp + 0x28]
push ebx
push esi
push edi
push ebp
xor esi, esi
push eax
push str.SoftwareMicrosoftDirectDrawSecondary
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x43f2b2
mov edi, dword [esp + 0xc0]
lea eax, [esp + 0x34]
mov dword [esp + 0x34], 0x200
lea ebx, [edi + 4]
push eax
mov ecx, dword [esp + 0x3c]
push ebx
push esi
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push esi
push str.Name
push ecx
call ebp
test eax, eax
jne 0x43f2b2
lea eax, [esp + 0x28]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], esi
push eax
mov dword [esp + 0x2c], esi
push ecx
push ebx
call fcn.0044a000
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
add esp, 0xc
or eax, ecx
je 0x43f2b2
mov eax, dword [esp + 0x28]
and eax, 0xffff
push eax
mov eax, dword [esp + 0x2c]
shr eax, 0x10
and eax, 0xffff
push eax
mov eax, dword [esp + 0x34]
and eax, 0xffff
lea ecx, [edi + 0x204]
push eax
mov eax, dword [esp + 0x38]
shr eax, 0x10
and eax, 0xffff
push eax
push str._d._d._d._d
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
push edi
push str.VEN_1033
push str.Media
call fcn.004499d0
add esp, 0xc
test eax, eax
jge 0x43f06d
push edi
push str.VEN_1033
push str.MultiMedia
call fcn.004499d0
add esp, 0xc
test eax, eax
jl 0x43f2b2
push str.DirectDrawCreate
xor edi, edi
push str.DDRAW
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [esp + 0x24]
push edi
push ecx
push edi
call eax
test eax, eax
jl 0x43f2b2
lea eax, [esp + 0x10]
mov ecx, dword [esp + 0x24]
push eax
push 0x4d6860
push ecx
mov eax, dword [ecx]
call dword [eax]
test eax, eax
jl 0x43f2a4
lea eax, [esp + 0x18]
mov ecx, dword [esp + 0x10]
push eax
push 0x4d6970
push ecx
mov eax, dword [ecx]
call dword [eax]
test eax, eax
jl 0x43f28e
mov eax, dword [esp + 0x10]
push 8
mov ebx, dword [eax]
push edi
push eax
call dword [ebx + 0x50]
test eax, eax
jl 0x43f278
mov ebx, 0x6c
mov ebp, 2
mov dword [esp + 0x50], ebx
mov dword [esp + 0x5c], ebp
lea eax, [esp + 0x20]
push edi
lea ecx, [esp + 0x54]
push eax
mov edx, dword [esp + 0x18]
push ecx
mov dword [esp + 0x64], ebp
push edx
mov dword [esp + 0x64], 7
mov dword [esp + 0xc8], 0x2040
mov eax, dword [edx]
call dword [eax + 0x18]
test eax, eax
jl 0x43f278
lea eax, [esp + 0x40]
lea ecx, [esp + 0x3c]
mov edx, dword [esp + 0x18]
push ecx
mov dword [esp + 0x40], edi
push 0x43f2c0
push edx
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov eax, dword [edx]
call dword [eax + 0x10]
test eax, eax
jl 0x43f26a
lea eax, [esp + 0x30]
lea ecx, [esp + 0x3c]
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [edx]
push ecx
push edx
call dword [eax]
test eax, eax
jl 0x43f26a
mov dword [esp + 0x50], ebx
mov dword [esp + 0x58], ebp
mov dword [esp + 0x54], 0x1007
mov dword [esp + 0xb8], 0x1000
mov dword [esp + 0x5c], ebp
push edi
lea eax, [esp + 0x18]
lea ebx, [esp + 0x54]
mov ecx, dword [esp + 0x14]
push eax
mov dword [esp + 0xa0], 0x20
mov dword [esp + 0xa4], 4
mov dword [esp + 0xa8], 0x43525650
push ebx
mov eax, dword [ecx]
push ecx
call dword [eax + 0x18]
test eax, eax
jl 0x43f25c
lea eax, [esp + 0x50]
push edi
mov ecx, dword [esp + 0x18]
push 1
push eax
push edi
push ecx
mov eax, dword [ecx]
call dword [eax + 0x64]
test eax, eax
jl 0x43f246
mov ebx, dword [esp + 0x74]
lea eax, [esp + 0x50]
mov ecx, dword [esp + 0x14]
push eax
push ecx
mov eax, dword [ecx]
call dword [eax + pe_nt_image_headers32]
test eax, eax
jl 0x43f246
lea eax, [esp + 0x1c]
mov ecx, dword [esp + 0x14]
push eax
push 0x4d69f0
push ecx
mov eax, dword [ecx]
call dword [eax]
test eax, eax
jl 0x43f246
lea eax, [esp + 0x4c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [edx]
push ecx
push edx
call dword [eax + 0x10]
test eax, eax
jl 0x43f238
mov eax, dword [ebx + 4]
cmp eax, edi
je 0x43f238
mov esi, 1
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x43f246
push eax
mov ebx, dword [eax]
call dword [ebx + 8]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x43f25c
push eax
mov ebx, dword [eax]
call dword [ebx + 8]
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x30]
test eax, eax
je 0x43f26a
push eax
mov ebx, dword [eax]
call dword [ebx + 8]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x43f278
push eax
mov ebx, dword [eax]
call dword [ebx + 8]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x43f28e
push eax
mov ebx, dword [eax]
call dword [ebx + 8]
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x43f2a4
push eax
mov ebx, dword [eax]
call dword [ebx + 8]
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x43f2b2
push eax
mov ebx, dword [eax]
call dword [ebx + 8]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 0xac
ret