Function at 0x480e10
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x62fc90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
mov eax, dword [0x6bd8a0]
push ebx
mov dword [esp + 0x68], eax
lea eax, [esp + 0x14]
push eax
push 1
xor ebx, ebx
push ebx
push str.SOFTWAREMicrosoftDirectX
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x480e57
xor al, al
jmp 0x4810ac
mov eax, dword [esp + 0x14]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x14]
push ecx
push ebx
lea edx, [esp + 0x28]
push edx
push ebx
push str.Version
push eax
mov dword [esp + 0x2c], ebx
call edi
cmp eax, ebx
je 0x480e85
xor al, al
jmp 0x4810ab
cmp dword [esp + 0x20], 1
jne 0x480e7e
mov ecx, dword [esp + 0x14]
push esi
push ecx
lea ecx, [esp + 0x10]
call fcn.00450ea0
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x18]
push edx
push esi
lea eax, [esp + 0x2c]
push eax
push ebx
push str.Version
push ecx
mov dword [esp + 0x94], ebx
call edi
cmp eax, ebx
jne 0x480f0f
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
jne 0x480f0f
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x23]
push eax
dec ecx
push ecx
push esi
lea ecx, [esp + 0x34]
call fcn.00455600
push ebx
push 0x2e
lea ecx, [esp + 0x30]
mov byte [esp + 0x84], 1
call fcn.004486c0
mov edi, eax
cmp edi, 0xffffffff
lea ecx, [esp + 0x28]
jne 0x480f27
mov byte [esp + 0x7c], 0
call fcn.00449cc0
lea ecx, [esp + 0xc]
mov dword [esp + 0x7c], 0xffffffff
call fcn.0041aec0
xor al, al
jmp 0x4810aa
push ebp
lea ebp, [edi + 1]
push ebp
push 0x2e
call fcn.004486c0
mov esi, eax
cmp esi, 0xffffffff
lea ecx, [esp + 0x2c]
jne 0x480f66
mov byte [esp + 0x80], 0
call fcn.00449cc0
lea ecx, [esp + 0x10]
mov dword [esp + 0x80], 0xffffffff
call fcn.0041aec0
xor al, al
jmp 0x4810a9
push edi
push ebx
lea edx, [esp + 0x64]
push edx
call fcn.00417880
sub esi, edi
dec esi
push esi
push ebp
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x8c], 2
call fcn.00417880
lea ecx, [esp + 0x5c]
call fcn.004177a0
test eax, eax
je 0x4810c5
lea ecx, [esp + 0x5c]
xor esi, esi
xor edi, edi
call fcn.004177a0
test eax, eax
jbe 0x480ff0
nop
push edi
lea ecx, [esp + 0x60]
call fcn.0041aea0
mov al, byte [eax]
cmp al, 0x30
jl 0x4810c5
cmp al, 0x39
jg 0x4810c5
movsx edx, al
lea ecx, [esi + esi*4]
lea esi, [edx + ecx*2 - 0x30]
cmp esi, 0x10000
jg 0x4810c5
lea ecx, [esp + 0x5c]
inc edi
call fcn.004177a0
cmp edi, eax
jb 0x480fb0
lea ecx, [esp + 0x44]
call fcn.004177a0
test eax, eax
lea ecx, [esp + 0x44]
je 0x4810c9
xor edi, edi
xor ebp, ebp
call fcn.004177a0
test eax, eax
jbe 0x481052
push ebp
lea ecx, [esp + 0x48]
call fcn.0041aea0
mov al, byte [eax]
cmp al, 0x30
jl 0x4810c5
cmp al, 0x39
jg 0x4810c5
movsx edx, al
lea ecx, [edi + edi*4]
lea edi, [edx + ecx*2 - 0x30]
cmp edi, 0x10000
lea ecx, [esp + 0x44]
jg 0x4810c9
inc ebp
call fcn.004177a0
cmp ebp, eax
jb 0x481012
shl esi, 0x10
add esi, edi
cmp esi, 0x40008
lea ecx, [esp + 0x44]
setge bl
mov byte [esp + 0x80], 2
call fcn.00449cc0
lea ecx, [esp + 0x5c]
mov byte [esp + 0x80], 1
call fcn.00449cc0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x80], 0
call fcn.00449cc0
lea ecx, [esp + 0x10]
mov dword [esp + 0x80], 0xffffffff
call fcn.0041aec0
mov al, bl
pop ebp
pop esi
pop edi
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x68]
pop ebx
call fcn.006122a5
add esp, 0x74
ret
lea ecx, [esp + 0x44]
mov byte [esp + 0x80], 2
call fcn.00449cc0
lea ecx, [esp + 0x5c]
mov byte [esp + 0x80], 1
call fcn.00449cc0
lea ecx, [esp + 0x2c]
jmp 0x480f3e