Function at 0x7677b8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7abcbc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xca8
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0xca8], 0
mov dword [ebp - 4], 0
xor eax, eax
add esp, 0xffffffec
lea edx, [ebp - 0xca4]
mov dword [ebp - 0xca4], eax
mov dword [esp], reloc.DSOUND.dll_DirectSoundEnumerateA
mov dword [esp + 4], 0x8a17fc
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0xf003f
mov dword [esp + 0x10], edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x767856
xor eax, eax
mov edx, dword [ebp - 0xca8]
test edx, edx
je 0x76784a
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xca8], 0
mov edx, dword [ebp - 0xca4]
mov dword [ebp - 0xca8], edx
test eax, eax
je 0x76788c
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xca8]
test eax, eax
je 0x76787c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xca8], 0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xca0], 0x800
lea edi, [ebp - 0xc9c]
xor eax, eax
mov ecx, 0x200
rep stosd dword es:[edi], eax
mov dword [ebp - 0x49c], 0x400
mov edx, dword [ebp - 0xca8]
mov eax, dword [ebp - 0x18]
mov ecx, eax
inc eax
add esp, 0xffffffe0
mov dword [ebp - 0x18], eax
lea ebx, [ebp - 0x494]
lea esi, [ebp - 0x49c]
mov dword [esp], edx
lea edi, [ebp - 0x498]
lea eax, [ebp - 0xc9c]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], eax
lea eax, [ebp - 0xca0]
mov dword [esp + 0x1c], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, 0x103
je 0x768420
test eax, eax
jne 0x767da0
mov dword [ebp - 0x94], 0x8a17f0
mov dword [ebp - 0x90], 0
lea edi, [ebp - 0x494]
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x76794c
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x767944
push edi
inc eax
mov dword [esp], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x90], eax
lea edi, [ebp - 0x494]
mov esi, eax
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x767965
mov dword [ebp - 4], 1
lea eax, [ebp - 0x8c]
push edi
mov dword [ebp - 0xcb0], eax
mov dword [esp], 0xd
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov dword [ebp - 0x14], eax
add esp, 4
mov ecx, dword [ebp - 0x90]
mov eax, dword [ecx]
mov esi, dword [ebp - 0x14]
mov dword [esi], eax
mov edx, dword [ecx + 4]
mov ebx, dword [ecx + 8]
mov dword [esi + 4], edx
mov dword [esi + 8], ebx
xor edx, edx
mov eax, esi
mov byte [eax + 0xc], dl
mov dword [ebp - 0x8c], 0x8a17f0
mov dword [ebp - 0x88], edx
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x88]
test eax, eax
je 0x7679e0
push edi
mov dword [esp], eax
call fcn.007703b0
pop ecx
mov eax, esi
mov dword [ebp - 0x88], eax
mov dword [ebp - 4], 3
mov dword [ebp - 0x84], 0x8a17f0
mov eax, 0x8a1814
test eax, eax
mov dword [ebp - 0x80], 0
je 0x767a44
mov edi, 0x8a1814
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x767a20
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x767a18
push edi
inc eax
mov dword [esp], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x80], eax
mov edi, 0x8a1814
mov esi, eax
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x767a35
jmp 0x767a4b
mov dword [ebp - 0x80], 0
mov dword [ebp - 4], 4
mov edi, dword [ebp - 0x88]
test edi, edi
je 0x76841b
mov esi, dword [ebp - 0x80]
test esi, esi
je 0x768414
mov al, byte [edi]
cmp al, byte [esi]
jne 0x767aa2
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x767a91
or dl, dl
je 0x767a8d
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x767a91
add edi, 2
add esi, 2
or dl, dl
jne 0x767a71
xor eax, eax
jmp 0x767a96
sbb eax, eax
or eax, 1
xor edx, edx
test eax, eax
mov esi, dword [ebp - 0x80]
sete dl
jmp 0x767aa4
xor edx, edx
xor ebx, ebx
test edx, edx
sete bl
mov dword [ebp - 4], 3
mov dword [ebp - 0x84], 0x8a17f0
test esi, esi
je 0x767aca
push edi
mov dword [esp], esi
call fcn.007703b0
pop ecx
mov dword [ebp - 0x80], 0
mov dword [ebp - 4], 2
mov dword [ebp - 0x8c], 0x8a17f0
mov eax, dword [ebp - 0x88]
test eax, eax
je 0x767af6
push edi
mov dword [esp], eax
call fcn.007703b0
pop ecx
mov dword [ebp - 0x88], 0
test ebx, ebx
je 0x767b38
mov dword [ebp - 4], 0
mov dword [ebp - 0x94], 0x8a17f0
mov eax, dword [ebp - 0x90]
test eax, eax
je 0x767b29
push edi
mov dword [esp], eax
call fcn.007703b0
pop ecx
mov dword [ebp - 0x90], 0
jmp 0x767891
lea eax, [ebp - 0xc9c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebx, [eax + eax + 2]
mov eax, ebx
call fcn.0079eaa0
and esp, 0xfffffff0
mov eax, esp
mov dword [ebp - 0x14], eax
xor edx, edx
mov edi, eax
add esp, 0xffffffe0
mov byte [edi], dl
lea esi, [ebp - 0xc9c]
mov dword [esp], edx
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x7c], 0x8a17f0
mov dword [ebp - 0x78], 0
mov dword [ebp - 4], 5
mov dword [ebp - 0x74], 0x8a17f0
mov dword [ebp - 0x70], 0
mov dword [ebp - 4], 6
mov dword [ebp - 0x6c], 0x8a17f0
mov eax, dword [ebp + 8]
mov edi, dword [eax + 4]
mov dword [ebp - 0x68], 0
test edi, edi
je 0x767c08
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x767be8
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x767be0
push edi
inc eax
mov dword [esp], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x68], eax
mov edx, dword [ebp + 8]
mov edi, dword [edx + 4]
mov esi, eax
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x767bfe
mov dword [ebp - 4], 7
mov dword [ebp - 0x64], 0x8a17f0
mov eax, dword [ebp + 0xc]
mov edi, dword [eax + 4]
mov dword [ebp - 0x60], 0
test edi, edi
je 0x767c5d
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x767c3d
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x767c35
push edi
inc eax
mov dword [esp], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x60], eax
mov edx, dword [ebp + 0xc]
mov edi, dword [edx + 4]
mov esi, eax
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x767c53
mov dword [ebp - 4], 8
mov dword [ebp - 0x5c], 0x8a17f0
mov eax, dword [ebp + 0x10]
mov edi, dword [eax + 4]
mov dword [ebp - 0x58], 0
test edi, edi
je 0x767cb2
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x767c92
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x767c8a
push edi
inc eax
mov dword [esp], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x58], eax
mov edx, dword [ebp + 0x10]
mov edi, dword [edx + 4]
mov esi, eax
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x767ca8
mov dword [ebp - 4], 9
mov dword [ebp - 0x54], 0x8a17f0
mov eax, dword [ebp + 8]
mov edi, dword [eax + 4]
mov dword [ebp - 0x50], 0
test edi, edi
je 0x767d07
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x767ce7
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x767cdf
push edi
inc eax
mov dword [esp], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x50], eax
mov edx, dword [ebp + 8]
mov edi, dword [edx + 4]
mov esi, eax
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x767cfd
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x4c], 0x8a17f0
mov eax, dword [ebp + 0xc]
mov edi, dword [eax + 4]
mov dword [ebp - 0x48], 0
test edi, edi
je 0x767d5c
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x767d3c
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x767d34
push edi
inc eax
mov dword [esp], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x48], eax
mov edx, dword [ebp + 0xc]
mov edi, dword [edx + 4]
mov esi, eax
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x767d52
mov dword [ebp - 4], 0xb
mov edi, dword [ebp - 0x68]
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x767d78
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x767d70
mov edx, dword [ebp - 0x68]
lea ebx, [edx + eax - 1]
cmp ebx, edx
jb 0x767ddb
push edi
movsx eax, byte [ebx]
mov dword [esp], eax
call dword [sym.imp.MSVCRT.dll_isspace]
pop ecx
test eax, eax
je 0x767ddb
mov byte [ebx], 0
dec ebx
cmp ebx, dword [ebp - 0x68]
jae 0x767d83
jmp 0x767ddb
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xca8]
test eax, eax
je 0x767dc2
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xca8], 0
xor eax, eax
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x60]
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x767df0
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x767de8
mov edx, dword [ebp - 0x60]
lea ebx, [edx + eax - 1]
cmp ebx, edx
jb 0x767e16
push edi
movsx eax, byte [ebx]
mov dword [esp], eax
call dword [sym.imp.MSVCRT.dll_isspace]
pop ecx
test eax, eax
je 0x767e16
mov byte [ebx], 0
dec ebx
cmp ebx, dword [ebp - 0x60]
jae 0x767dfb
mov edi, dword [ebp - 0x58]
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x767e2b
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x767e23
mov edx, dword [ebp - 0x58]
lea ebx, [edx + eax - 1]
cmp ebx, edx
jb 0x767e51
push edi
movsx eax, byte [ebx]
mov dword [esp], eax
call dword [sym.imp.MSVCRT.dll_isspace]
pop ecx
test eax, eax
je 0x767e51
mov byte [ebx], 0
dec ebx
cmp ebx, dword [ebp - 0x58]
jae 0x767e36
xor ebx, ebx
mov edi, dword [ebp - 0x68]
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x767e68
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x767e60
test eax, eax
jle 0x767e93
mov edi, dword [ebp - 0x68]
cmp byte [edi + ebx], 0x20
jne 0x767e7c
mov byte [edi + ebx], 0x5f
mov edi, dword [ebp - 0x68]
inc ebx
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x767e8f
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x767e87
cmp ebx, eax
jl 0x767e6c
xor ebx, ebx
mov edi, dword [ebp - 0x60]
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x767eaa
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x767ea2
test eax, eax
jle 0x767ed5
mov edi, dword [ebp - 0x60]
cmp byte [edi + ebx], 0x20
jne 0x767ebe
mov byte [edi + ebx], 0x5f
mov edi, dword [ebp - 0x60]
inc ebx
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x767ed1
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x767ec9
cmp ebx, eax
jl 0x767eae
xor ebx, ebx
mov edi, dword [ebp - 0x58]
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x767eec
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x767ee4
test eax, eax
jle 0x767f17
mov edi, dword [ebp - 0x58]
cmp byte [edi + ebx], 0x20
jne 0x767f00
mov byte [edi + ebx], 0x5f
mov edi, dword [ebp - 0x58]
inc ebx
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x767f13
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x767f0b
cmp ebx, eax
jl 0x767ef0
mov dword [ebp - 0x44], 0x8a17f0
mov eax, dword [ebp - 0x14]
test eax, eax
mov dword [ebp - 0x40], 0
je 0x767f62
mov edi, eax
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x767f40
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x767f38
push edi
inc eax
mov dword [esp], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x40], eax
mov esi, eax
mov edi, dword [ebp - 0x14]
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x767f53
jmp 0x767f69
mov dword [ebp - 0x40], 0
mov dword [ebp - 4], 0xc
mov edx, dword [ebp - 0x68]
add esp, 0xfffffff8
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
mov dword [esp + 4], edx
call dword [sym.imp.MSVCRT.dll_strstr]
mov dword [ebp - 0x20], eax
add esp, 8
mov edx, dword [ebp - 0x40]
test eax, eax
je 0x768407
sub eax, edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xb
mov dword [ebp - 0x44], 0x8a17f0
test edx, edx
je 0x767fb8
push edi
mov dword [esp], edx
call fcn.007703b0
pop ecx
xor eax, eax
mov edx, dword [ebp - 0x14]
test edx, edx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], 0x8a17f0
mov dword [ebp - 0x38], eax
je 0x768004
mov edi, edx
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x767fe2
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x767fda
push edi
inc eax
mov dword [esp], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x38], eax
mov esi, eax
mov edi, dword [ebp - 0x14]
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x767ff5
jmp 0x76800b
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 0xd
mov edx, dword [ebp - 0x60]
add esp, 0xfffffff8
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
mov dword [esp + 4], edx
call dword [sym.imp.MSVCRT.dll_strstr]
mov dword [ebp - 0x1c], eax
add esp, 8
mov edx, dword [ebp - 0x38]
test eax, eax
je 0x7683fa
sub eax, edx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0xb
mov dword [ebp - 0x3c], 0x8a17f0
test edx, edx
je 0x76805a
push edi
mov dword [esp], edx
call fcn.007703b0
pop ecx
xor eax, eax
mov edx, dword [ebp - 0x14]
test edx, edx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], 0x8a17f0
mov dword [ebp - 0x30], eax
je 0x7680a6
mov edi, edx
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x768084
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x76807c
push edi
inc eax
mov dword [esp], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x30], eax
mov esi, eax
mov edi, dword [ebp - 0x14]
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x768097
jmp 0x7680ad
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 0xe
mov edx, dword [ebp - 0x58]
add esp, 0xfffffff8
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
mov dword [esp + 4], edx
call dword [sym.imp.MSVCRT.dll_strstr]
mov ebx, eax
add esp, 8
mov edx, dword [ebp - 0x30]
test ebx, ebx
je 0x7683f0
sub ebx, edx
mov dword [ebp - 4], 0xb
mov dword [ebp - 0x34], 0x8a17f0
test edx, edx
je 0x7680f8
push edi
mov dword [esp], edx
call fcn.007703b0
pop ecx
mov dword [ebp - 0x30], 0
mov edx, dword [ebp - 0x20]
cmp edx, 0xffffffff
je 0x768126
mov edx, dword [ebp - 0x1c]
cmp edx, 0xffffffff
je 0x768126
cmp ebx, 0xffffffff
je 0x768126
cmp ebx, edx
jle 0x768126
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
cmp eax, edx
jg 0x768264
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x4c], 0x8a17f0
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x768145
push edi
mov dword [esp], eax
call fcn.007703b0
pop ecx
mov dword [ebp - 0x48], 0
mov dword [ebp - 4], 9
mov dword [ebp - 0x54], 0x8a17f0
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x76816b
push edi
mov dword [esp], eax
call fcn.007703b0
pop ecx
mov dword [ebp - 0x50], 0
mov dword [ebp - 4], 8
mov dword [ebp - 0x5c], 0x8a17f0
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x768191
push edi
mov dword [esp], eax
call fcn.007703b0
pop ecx
mov dword [ebp - 0x58], 0
mov dword [ebp - 4], 7
mov dword [ebp - 0x64], 0x8a17f0
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x7681b7
push edi
mov dword [esp], eax
call fcn.007703b0
pop ecx
mov dword [ebp - 0x60], 0
mov dword [ebp - 4], 6
mov dword [ebp - 0x6c], 0x8a17f0
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x7681dd
push edi
mov dword [esp], eax
call fcn.007703b0
pop ecx
mov dword [ebp - 0x68], 0
mov dword [ebp - 4], 5
mov dword [ebp - 0x74], 0x8a17f0
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x768203
push edi
mov dword [esp], eax
call fcn.007703b0
pop ecx
mov dword [ebp - 0x70], 0
mov dword [ebp - 4], 2
mov dword [ebp - 0x7c], 0x8a17f0
mov eax, dword [ebp - 0x78]
test eax, eax
je 0x768229
push edi
mov dword [esp], eax
call fcn.007703b0
pop ecx
mov dword [ebp - 0x78], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x94], 0x8a17f0
mov eax, dword [ebp - 0x90]
test eax, eax
je 0x768255
push edi
mov dword [esp], eax
call fcn.007703b0
pop ecx
mov dword [ebp - 0x90], 0
jmp 0x767891
push edi
mov eax, dword [ebp - 0x90]
movsx edx, byte [eax + 0xc]
mov dword [esp], edx
call dword [sym.imp.MSVCRT.dll_toupper]
pop ecx
movsx ebx, al
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x4c], 0x8a17f0
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x76829b
push edi
mov dword [esp], eax
call fcn.007703b0
pop ecx
mov dword [ebp - 0x48], 0
mov dword [ebp - 4], 9
mov dword [ebp - 0x54], 0x8a17f0
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x7682c1
push edi
mov dword [esp], eax
call fcn.007703b0
pop ecx
mov dword [ebp - 0x50], 0
mov dword [ebp - 4], 8
mov dword [ebp - 0x5c], 0x8a17f0
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x7682e7
push edi
mov dword [esp], eax
call fcn.007703b0
pop ecx
mov dword [ebp - 0x58], 0
mov dword [ebp - 4], 7
mov dword [ebp - 0x64], 0x8a17f0
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x76830d
push edi
mov dword [esp], eax
call fcn.007703b0
pop ecx
mov dword [ebp - 0x60], 0
mov dword [ebp - 4], 6
mov dword [ebp - 0x6c], 0x8a17f0
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x768333
push edi
mov dword [esp], eax
call fcn.007703b0
pop ecx
mov dword [ebp - 0x68], 0
mov dword [ebp - 4], 5
mov dword [ebp - 0x74], 0x8a17f0
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x768359
push edi
mov dword [esp], eax
call fcn.007703b0
pop ecx
mov dword [ebp - 0x70], 0
mov dword [ebp - 4], 2
mov dword [ebp - 0x7c], 0x8a17f0
mov eax, dword [ebp - 0x78]
test eax, eax
je 0x76837f
push edi
mov dword [esp], eax
call fcn.007703b0
pop ecx
mov dword [ebp - 0x78], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x94], 0x8a17f0
mov eax, dword [ebp - 0x90]
test eax, eax
je 0x7683ab
push edi
mov dword [esp], eax
call fcn.007703b0
pop ecx
mov dword [ebp - 0x90], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xca8]
test eax, eax
je 0x7683d7
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xca8], 0
mov eax, ebx
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov ebx, 0xffffffff
jmp 0x7680dc
mov eax, 0xffffffff
mov dword [ebp - 0x1c], eax
jmp 0x76803e
mov eax, 0xffffffff
mov dword [ebp - 0x20], eax
jmp 0x767f9c
xor edx, edx
jmp 0x767aa4
mov esi, dword [ebp - 0x80]
jmp 0x768414
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xca8]
test eax, eax
je 0x768442
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xca8], 0
xor eax, eax
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret