Function at 0x74005960
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x7405c794]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x18]
push ebx
mov ebx, ecx
mov dword [ebp - 0xa4], eax
xor eax, eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x84], eax
or dword [ebx + 0xf1c], 0x20000000
mov dword [ebx + 0xf0c], eax
mov dword [ebx + 0xf08], eax
mov eax, dword [ebp + 0x1c]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebx + 4], eax
lea eax, [ebx + 0x1508]
mov dword [ebx + 0xf9c], 1
mov dword [ebx + 0xfa0], ebx
mov dword [ebx + 0x204], eax
mov dword [ebx + 0xf00], 0x740056e0
mov eax, dword [esi + 0x50]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x80], esi
mov eax, dword [eax + 4]
mov dword [ebp - 0x8c], edi
test dword [eax + 0xc], 0x4000
je 0x740059fb
or dword [ebx + 0xf04], 0x10
mov eax, dword [ebp + 0x14]
test eax, eax
jne 0x74005a08
lea eax, [ebx + 0xf98]
mov dword [ebx + 0x1504], eax
lea eax, [ebx + 0x1550]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov edx, dword [ebp - 0x78]
lea eax, [ebx + 0xf8c]
xor ecx, ecx
mov dword [eax], eax
mov dword [ebx + 0xf80], ecx
mov dword [ebx + 0xf84], ecx
mov dword [ebx + 0xf90], eax
mov dword [ebx + 0xf54], ecx
mov dword [ebx + 0xf50], ecx
mov dword [ebx + 0xf94], ecx
mov dword [ebx + 0x156c], ecx
mov dword [ebx + 0x1568], ecx
mov dword [ebx + 0x15bc], ecx
mov dword [ebx + 0x15b0], ecx
mov dword [ebx + 0x15b8], ecx
mov dword [ebx + 0x158c], ecx
mov dword [ebx + 0xe20], ecx
mov dword [ebx + 0xf20], 0x7405c780
mov dword [ebp - 0x90], edx
mov dword [ebp - 0x88], ecx
mov eax, dword [edx + ecx*4]
mov edi, 0x74002e78
cmp eax, dword [edi + ecx*4]
mov edi, dword [ebp - 0x8c]
jne 0x74005b30
inc ecx
cmp ecx, 4
jne 0x74005a8c
call fcn.740120ca
test eax, eax
je 0x74005b2d
and dword [ebp - 0x7c], 0
lea eax, [ebp - 0x7c]
push eax
push 0x74002d34
push 0x80000002
mov dword [ebp - 0x88], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x74005b2d
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 4
push eax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x98]
push eax
push 0
push 0x74002d58
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x74005b24
cmp dword [ebp - 0x98], 4
jne 0x74005b24
mov eax, dword [ebp - 0x9c]
neg eax
sbb eax, eax
and dword [ebp - 0x88], eax
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x78]
xor ecx, ecx
mov eax, dword [edx + ecx*4]
mov esi, 0x74002e78
cmp eax, dword [esi + ecx*4]
mov esi, dword [ebp - 0x80]
jne 0x74005b67
inc ecx
cmp ecx, 4
jne 0x74005b32
call fcn.740120ca
test eax, eax
je 0x74005b67
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 4]
test byte [eax + 0x48], 4
je 0x74005b67
mov dword [ebp - 0x90], 0x74002e98
push 0x6c
pop esi
push esi
lea eax, [ebp - 0x70]
push 0
push eax
call sub.msvcrt.dll_memset
mov eax, dword [edi]
lea ecx, [ebp - 0x70]
add esp, 0xc
mov dword [ebp - 0x70], esi
mov esi, dword [eax + 0x58]
push ecx
push edi
mov ecx, esi
call dword [0x74063138]
call esi
test eax, eax
jne 0x74005f8b
test dword [ebp - 8], 0x2000
jne 0x74005bab
mov eax, 0x88760064
jmp 0x74005f8b
test dword [ebp - 8], 0x20000
jne 0x74005ba1
mov eax, 0x800
cmp dword [ebp - 0x64], eax
ja 0x74005f86
cmp dword [ebp - 0x68], eax
ja 0x74005f86
mov eax, dword [edi]
lea ecx, [ebp - 0x84]
push ecx
push edi
mov esi, dword [eax + 0x50]
mov ecx, esi
call dword [0x74063138]
call esi
test eax, eax
je 0x74005c06
mov ecx, 0x8876023c
cmp eax, ecx
je 0x74005bf9
mov eax, 0x80070057
jmp 0x74005f8b
cmp dword [ebp - 0x1c], 0x10
jae 0x74005c06
mov eax, ecx
jmp 0x74005f8b
cmp dword [ebp + 0x14], 0
mov ecx, dword [ebp - 0x84]
je 0x74005c2c
test ecx, ecx
je 0x74005c2c
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x74063138]
call esi
mov ecx, dword [ebp - 0x84]
mov dword [ebx + 0xfd4], ecx
lea eax, [ebp - 0x74]
mov esi, dword [edi]
push eax
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xa0], 0x20000
push eax
mov ecx, dword [esi + 0x30]
push edi
call dword [0x74063138]
call dword [esi + 0x30]
mov edi, eax
test edi, edi
jns 0x74005c68
cmp edi, 0x887600ff
jne 0x74005d32
cmp dword [ebp + 0x14], 0
mov ecx, dword [ebp - 0x74]
je 0x74005c88
test ecx, ecx
je 0x74005c88
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x74063138]
call esi
mov ecx, dword [ebp - 0x74]
cmp dword [ebp - 0x88], 0
lea edi, [ebx + 0xfa4]
mov esi, dword [ebp - 0x90]
mov dword [ebx + 0xfd0], ecx
mov ecx, 0x74002e68
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jne 0x74005caf
mov ecx, dword [ebp - 0x78]
lea eax, [ebx + 0x1304]
lea esi, [ebx + 0x1300]
push eax
mov edx, esi
call fcn.7401ac85
mov edi, eax
test edi, edi
je 0x74005cf4
cmp edi, 0x80004002
jne 0x74005d32
mov eax, dword [ebp - 0x80]
mov edx, esi
mov ecx, dword [ebp - 0x78]
mov eax, dword [eax + 0x50]
mov eax, dword [eax + 4]
push dword [eax + 4]
lea eax, [ebx + 0x1304]
push eax
call fcn.74016642
mov edi, eax
test edi, edi
jne 0x74005d32
and dword [ebp - 0x7c], 0
lea eax, [ebp - 0x7c]
push 4
push eax
push 4
mov edx, 0x74002d68
pop ecx
call fcn.7401f6dd
pop ecx
pop ecx
test eax, eax
je 0x74005d86
cmp dword [ebp - 0x7c], 0
je 0x74005d86
push ecx
push dword [esi]
push esi
mov esi, dword [ebp - 0x80]
mov eax, dword [esi + 0x50]
mov edx, dword [eax + 4]
mov edx, dword [edx + 4]
call fcn.74016e6f
mov edi, eax
test edi, edi
je 0x74005d89
mov ecx, dword [ebp - 0x74]
test ecx, ecx
je 0x74005d57
cmp dword [ebp + 0x14], 0
jne 0x74005d4f
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x74063138]
call esi
xor eax, eax
mov dword [ebx + 0xfd0], eax
mov ecx, dword [ebp - 0x84]
test ecx, ecx
je 0x74005d7f
cmp dword [ebp + 0x14], 0
jne 0x74005d77
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x74063138]
call esi
xor eax, eax
mov dword [ebx + 0xfd4], eax
mov eax, edi
jmp 0x74005f8b
mov esi, dword [ebp - 0x80]
mov edx, esi
mov ecx, ebx
call fcn.7400505e
mov edi, eax
test edi, edi
jne 0x74005d32
push dword [ebp - 0x90]
mov ecx, ebx
push dword [ebp - 0x74]
push dword [ebp - 0x8c]
call fcn.74004e1b
mov edi, eax
test edi, edi
js 0x74005d32
mov edx, dword [esi + 0x50]
push ecx
push dword [ebp - 0x74]
mov ecx, ebx
push dword [ebp - 0x8c]
call fcn.7400a31b
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x74005d32
test byte [ebx + 0xf1c], 8
je 0x74005df3
cmp dword [ebx + 0xf58], 2
jl 0x74005df3
mov eax, dword [ebx + 0x1590]
jmp 0x74005dfe
push 0x400
call fcn.7404566a
pop ecx
mov dword [ebx + 0x15d0], eax
lea ecx, [esi + 0x10]
mov dword [ebx + 0xea0], eax
lea edx, [ebx + 0xf7c]
mov eax, dword [ecx]
mov dword [edx], eax
test eax, eax
je 0x74005e23
mov eax, dword [ecx]
mov dword [eax + 0xf78], edx
mov dword [ecx], ebx
xor edi, edi
mov dword [ebx + 0xf78], ecx
mov dword [ebx + 0xf74], esi
inc dword [esi + 0xc]
mov eax, dword [ebx + 0xfb8]
cmp dword [eax + 0xac], edi
jne 0x74005e4e
mov dword [eax + 0xac], 0x400
push 0x10000
push ebx
lea ecx, [ebx + 0xf30]
call fcn.74004022
test eax, eax
je 0x74005e6d
mov edi, 0x8007000e
jmp 0x74005d32
push 0x1000
lea ecx, [ebx + 0xf24]
call fcn.74003e88
test eax, eax
jne 0x74005e63
push 0xd80
push ebx
lea ecx, [ebx + 0xddc]
call fcn.74003ed3
test eax, eax
jne 0x74005e63
push 0xc8
push ebx
lea ecx, [ebx + 0xde8]
call fcn.74003ed3
test eax, eax
jne 0x74005e63
mov eax, dword [0x7405e5b0]
shl eax, 3
push eax
lea eax, [ebx + 0x15c8]
push eax
call sym.d3dim.dll_D3DMalloc
test eax, eax
jne 0x74005e63
imul eax, dword [0x7405e5ac], 6
lea esi, [ebx + 0x15a4]
shr eax, 5
push eax
push esi
call sym.d3dim.dll_D3DMalloc
test eax, eax
jne 0x74005e63
mov eax, dword [esi]
mov dword [eax], edi
mov word [eax + 4], di
mov eax, dword [ebx + 0x1590]
mov dword [ebx + 0x15ac], eax
mov eax, dword [0x7405e5a8]
shl eax, 3
push eax
lea eax, [ebx + 0x15a8]
push eax
call sym.d3dim.dll_D3DMalloc
test eax, eax
jne 0x74005e63
mov esi, dword [ebp - 0x8c]
mov ecx, ebx
mov edx, dword [esi + 4]
call fcn.74005618
mov edi, eax
cmp edi, 0x8007000e
je 0x74005d32
mov ecx, dword [ebp - 0x74]
test ecx, ecx
je 0x74005f5b
mov edx, dword [ecx + 4]
mov ecx, ebx
call fcn.74005618
mov edi, eax
cmp edi, 0x8007000e
jne 0x74005f58
mov edx, dword [esi + 4]
mov ecx, ebx
call fcn.7400569a
jmp 0x74005d32
mov ecx, dword [ebp - 0x74]
xor eax, eax
test ecx, ecx
mov ecx, ebx
setne al
push eax
call fcn.7400424d
mov edi, eax
test edi, edi
js 0x74005d32
mov ecx, dword [ebp - 0xa4]
lea eax, [ebx + 0xf98]
mov dword [ecx], eax
xor eax, eax
jmp 0x74005f8b
mov eax, 0x88760082
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.74045bf0
mov esp, ebp
pop ebp
ret 0x18