Function at 0x100415a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x100a20a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x90], eax
mov ebx, ecx
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x8c], eax
mov esi, edx
lea eax, [ebp - 0x94]
mov dword [0x100a4f08], 7
push eax
push 0x10004090
push 0x80000002
mov dword [ebp - 0x94], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x10041676
lea eax, [ebp - 0x88]
mov dword [ebp - 0x88], 4
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x9c]
push eax
push 0
push 0x1000a980
push dword [ebp - 0x94]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1004166a
cmp dword [ebp - 0x9c], 4
jne 0x1004166a
mov eax, dword [ebp - 0x98]
test eax, eax
je 0x1004166a
mov dword [0x100a4f08], eax
cmp eax, 7
jle 0x1004165b
mov dword [0x100a4f08], 7
jmp 0x1004166a
cmp eax, 6
jge 0x1004166a
mov dword [0x100a4f08], 6
push dword [ebp - 0x94]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [0x100a4f08]
mov dword [esi], 0x1003fd90
mov dword [esi + 4], 0x10040010
mov dword [esi + 8], 0
lea eax, [edx - 1]
mov dword [esi + 0xc], 0x10040090
mov dword [esi + 0x54], 0x100405c0
mov dword [esi + 0x5c], 0x10040b70
mov dword [esi + 0x58], 0x10040ab0
mov dword [esi + 0x60], 0x10040ea0
cmp eax, 6
ja case.default.0x100416bf
jmp dword [eax*4 + 0x10041be8]
mov dword [esi + 0x4c], 0x10040410
mov dword [esi + 0x50], 0x10040470
mov dword [esi + 0x44], 0x100401d0
mov dword [esi + 0x48], 0x10041db0
mov dword [esi + 0x40], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x2c], 0x10040170
mov dword [esi + 0x10], 0
mov ecx, 0xe
mov dword [esi + 0x14], 0
mov eax, edx
mov dword [esi + 0x18], 0x100401f0
mov dword [esi + 0x1c], 0x100402f0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0x100403d0
mov esi, 0x100a5270
mov dword [0x100a5208], 0xc0
mov dword [0x100a5218], 0x551
mov dword [0x100a52b8], 0x7e5
mov dword [0x100a52bc], 0x1b
mov dword [0x100a5270], 0x38
mov dword [0x100a5274], 0x72
mov dword [0x100a5278], 0x3f29f1
mov dword [0x100a527c], 0xff
mov dword [0x100a5280], 0x1fff
mov dword [0x100a5284], 0x7ff
mov dword [0x100a5288], 0xff
mov dword [0x100a528c], 0xc528a
mov dword [0x100a5290], 0x1cdf
mov dword [0x100a5294], 0x703073f
mov dword [0x100a5298], 0xcf
mov dword [0x100a529c], 0x1f
mov dword [0x100a52a0], 0
mov dword [0x100a52a4], 0
push edi
mov edi, 0x100a5238
rep movsd dword es:[edi], dword [esi]
mov dword [0x100a5240], 0x1721f1
mov dword [0x100a52a8], 0x700
mov dword [0x100a52ac], 0x500
sub eax, 4
je 0x1004182d
sub eax, 1
jne 0x1004183c
mov eax, 0x10551
jmp 0x10041832
mov eax, dword [0x100a5218]
or eax, 0x8000
mov dword [0x100a5218], eax
mov ecx, dword [ebp - 0x8c]
call fcn.10040ee0
mov ecx, dword [ebp - 0x90]
fld dword [0x1000b758]
mov dword [ecx], eax
mov dword [0x100a4fd4], 0x6108550
mov dword [0x100a4fd8], 0x3ef6
mov dword [0x100a4fdc], 0x772199
mov dword [0x100a4fe0], 0xff
mov dword [0x100a4fe4], 0x1fff
mov dword [0x100a4fe8], 0x7ff
mov dword [0x100a4fec], 0xff
mov dword [0x100a4ff0], 0x84208
mov dword [0x100a4ff4], 0x7ecc5
mov dword [0x100a4ff8], 0x7030700
mov dword [0x100a4ffc], 0x3030300
mov dword [0x100a5000], 0x3030300
mov dword [0x100a5004], 0x3f
mov dword [0x100a5008], 0x3f
mov dword [0x100a500c], 0x1f
mov dword [0x100a5010], 0x1000
mov dword [0x100a5014], 0x1000
mov dword [0x100a5018], 0x1000
mov dword [0x100a501c], 0x8000
mov dword [0x100a5020], 0
mov dword [0x100a5024], 0x10
mov dword [0x100a5040], 0xff
mov dword [0x100a5044], 0x100008
mov dword [0x100a5048], 0x3ffffff
mov dword [0x100a504c], 8
mov dword [0x100a5050], 8
mov dword [0x100a5054], 0
mov dword [0x100a5058], 0
mov dword [0x100a505c], 0
mov dword [0x100a5060], 0
mov dword [0x100a5064], 0
mov dword [0x100a506c], 0x1fffff
mov dword [0x100a5070], 0xffffff
mov dword [0x100a5074], 1
mov dword [0x100a5078], 0x100
mov dword [0x100a507c], 0xfffe0000
mov dword [0x100a5080], 0
mov dword [0x100a5084], 0xffff0104
mov dword [0x100a4fc0], 0
mov dword [0x100a4fc4], 0x30080000
mov dword [0x100a4fc8], 0x20
fstp dword [0x100a5028]
fld dword [0x1000b788]
fst dword [0x100a502c]
fstp dword [0x100a5030]
fld dword [0x1000b748]
fst dword [0x100a5034]
fstp dword [0x100a5038]
fldz
fstp dword [0x100a503c]
fld dword [0x1000b73c]
fstp dword [0x100a5068]
fld dword [0x1000b75c]
fstp dword [0x100a5088]
cmp edx, 7
jne 0x10041aa2
mov dword [0x100a4fd4], 0x7f18550
mov dword [0x100a5054], 0x7b
mov dword [0x100a5058], 0xffffffff
mov dword [0x100a505c], 6
mov dword [0x100a5060], 4
mov dword [0x100a5064], 0xff
mov dword [0x100a5074], 0x10
mov dword [0x100a507c], 0xfffe0101
mov dword [0x100a5080], 0x60
mov dword [0x100a4fd8], 0x3ff6
lea eax, [ebp - 0x88]
mov dword [ebp - 0x90], 4
push eax
push 0x1000a98c
push 0x80000002
mov dword [ebp - 0x88], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x10041b1f
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x8c]
push eax
push 0
push 0x1000a954
push dword [ebp - 0x88]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x88]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x10041b1f
cmp dword [ebp - 0x8c], 4
jne 0x10041b1f
mov eax, dword [ebp - 0x98]
mov dword [0x100a5084], eax
lea eax, [ebp - 0x88]
mov dword [ebp - 0x90], 0x80
push eax
push 0x1000a98c
push 0x80000002
mov dword [ebp - 0x88], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x10041bab
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x8c]
push eax
push 0
push 0x1000a968
push dword [ebp - 0x88]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x88]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x10041bab
cmp dword [ebp - 0x8c], 1
jne 0x10041bab
push 0x100a5088
lea eax, [ebp - 0x84]
push 0x1000a97c
push eax
call dword [sym.imp.msvcrt.dll_sscanf_s]
add esp, 0xc
mov edi, ebx
mov ecx, 0x35
mov esi, 0x100a4fb8
xor eax, eax
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009b610
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov eax, 0x80004005
pop esi
xor ecx, ebp
pop ebx
call fcn.1009b610
mov esp, ebp
pop ebp
ret 8