Function at 0x10049bd
Capabilities:
Query or enumerate registry key

Disassembly:
cmp al, 0x61
jl 0x1004d2a
cmp al, 0x66
jg 0x1004d2a
movsx eax, al
sub eax, 0x57
jmp 0x1004a51
cmp cl, 0x61
jl 0x1004d37
cmp cl, 0x66
jg 0x1004d37
movsx ecx, cl
sub ecx, 0x57
jmp 0x1004a6d
cmp al, 0x61
jl 0x1004d49
cmp al, 0x66
jg 0x1004d49
movsx eax, al
sub eax, 0x57
jmp 0x1004afc
movsx ecx, cl
sub ecx, 0x30
jmp 0x1004beb
cmp al, 0x61
jl 0x1004d7f
cmp al, 0x66
jg 0x1004d7f
movsx eax, al
sub eax, 0x57
jmp 0x1004c7d
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x10150c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegOpenKeyExW]
push esi
push edi
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x24]
push eax
push 0x20019
xor edi, edi
push edi
push 0x1004d04
push dword [0x10151d0]
call ebx
test eax, eax
jne 0x1004a91
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x24]
mov dword [ebp - 0x2c], 9
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegQueryInfoKeyA]
push dword [ebp - 0x24]
mov esi, eax
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegCloseKey]
cmp esi, edi
jne 0x1004a91
xor edx, edx
mov al, byte [ebp + edx - 0x10]
cmp al, 0x30
jl 0x1003a30
cmp al, 0x39
jg 0x1003a30
movsx eax, al
sub eax, 0x30
mov cl, byte [ebp + edx - 0xf]
cmp cl, 0x30
jl 0x1003a4b
cmp cl, 0x39
jg 0x1003a4b
movsx ecx, cl
sub ecx, 0x30
cmp eax, edi
jl 0x1004d45
cmp ecx, edi
jl 0x1004d45
shl al, 4
add al, cl
mov ecx, dword [ebp - 0x28]
inc dword [ebp - 0x28]
inc edx
inc edx
mov byte [ecx], al
cmp edx, 8
jb 0x1004a37
lea eax, [ebp - 0x24]
push eax
push 0x20019
push edi
push 0x1004cf8
push dword [0x10151d0]
call ebx
test eax, eax
jne 0x1004b4a
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x24]
mov dword [ebp - 0x2c], 9
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegQueryInfoKeyA]
push dword [ebp - 0x24]
mov esi, eax
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegCloseKey]
cmp esi, edi
jne 0x1004b4a
xor edx, edx
mov al, byte [ebp + edx - 0x10]
cmp al, 0x30
jl 0x1003a68
cmp al, 0x39
jg 0x1003a68
movsx eax, al
sub eax, 0x30
mov cl, byte [ebp + edx - 0xf]
cmp cl, 0x30
jl 0x1004b0e
cmp cl, 0x39
jle 0x1004d1f
cmp cl, 0x61
jl 0x1004d56
cmp cl, 0x66
jg 0x1004d56
movsx ecx, cl
sub ecx, 0x57
cmp eax, edi
jl 0x1004d45
cmp ecx, edi
jl 0x1004d45
shl al, 4
add al, cl
mov ecx, dword [ebp - 0x28]
inc dword [ebp - 0x28]
inc edx
inc edx
mov byte [ecx], al
cmp edx, 8
jb 0x1004ae2
lea eax, [ebp - 0x24]
push eax
push 0x20019
push edi
push 0x1004cf0
push dword [0x10151d0]
call ebx
test eax, eax
jne 0x1004c0f
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x24]
mov dword [ebp - 0x2c], 9
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegQueryInfoKeyA]
push dword [ebp - 0x24]
mov esi, eax
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegCloseKey]
cmp esi, edi
jne 0x1004c0f
xor edx, edx
mov al, byte [ebp + edx - 0x10]
cmp al, 0x30
jl 0x1004bab
cmp al, 0x39
jle 0x1009226
cmp al, 0x61
jl 0x1004d64
cmp al, 0x66
jg 0x1004d64
movsx eax, al
sub eax, 0x57
mov cl, byte [ebp + edx - 0xf]
cmp cl, 0x30
jl 0x1004bd3
cmp cl, 0x39
jle 0x1003a83
cmp cl, 0x61
jl 0x1004d71
cmp cl, 0x66
jg 0x1004d71
movsx ecx, cl
sub ecx, 0x57
cmp eax, edi
jl 0x1004d45
cmp ecx, edi
jl 0x1004d45
shl al, 4
add al, cl
mov ecx, dword [ebp - 0x28]
inc dword [ebp - 0x28]
inc edx
inc edx
mov byte [ecx], al
cmp edx, 8
jb 0x1004b9b
lea eax, [ebp - 0x24]
push eax
push 0x20019
push edi
push 0x1004ce4
push dword [0x10151d0]
call ebx
test eax, eax
jne 0x1004cb4
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x24]
mov dword [ebp - 0x2c], 9
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegQueryInfoKeyA]
push dword [ebp - 0x24]
mov esi, eax
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegCloseKey]
cmp esi, edi
jne 0x1004cb4
mov esi, dword [ebp - 0x28]
xor edx, edx
mov al, byte [ebp + edx - 0x10]
cmp al, 0x30
jl 0x100499d
cmp al, 0x39
jg 0x100499d
movsx eax, al
sub eax, 0x30
mov cl, byte [ebp + edx - 0xf]
cmp cl, 0x30
jl 0x1004d0a
cmp cl, 0x39
jg 0x1004d0a
movsx ecx, cl
sub ecx, 0x30
cmp eax, edi
jl 0x1004d45
cmp ecx, edi
jl 0x1004d45
shl al, 4
add al, cl
mov byte [esi], al
inc esi
inc edx
inc edx
cmp edx, 8
jb 0x1004c63
xor eax, eax
movzx ecx, byte [eax + 0x10156d0]
mov dl, byte [ebp + eax - 0x20]
mov esi, dword [ebp - 0x30]
inc eax
mov byte [ecx + esi], dl
cmp eax, 0x10
jb 0x1004cb6
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.010015a4
leave
ret 4
cmp cl, 0x61
jl 0x1004d8c
cmp cl, 0x66
jg 0x1004d8c
movsx ecx, cl
sub ecx, 0x57
jmp 0x1004c95
movsx ecx, cl
sub ecx, 0x30
jmp 0x1004b26
cmp al, 0x41
jge 0x10091c8
jmp 0x10091d7
cmp cl, 0x41
jge 0x10091df
jmp 0x10091ef
xor eax, eax
jmp 0x1004cd0
cmp al, 0x41
jge 0x10091f7
jmp 0x1009206
cmp cl, 0x41
jge 0x100920e
jmp 0x100921e
cmp al, 0x41
jge 0x1009231
jmp 0x1009240
cmp cl, 0x41
jge 0x1009248
jmp 0x1009258
cmp al, 0x41
jge 0x1009260
jmp 0x100926f
cmp cl, 0x41
jge 0x1009277
jmp 0x1009287
cmp al, 0x46
jg 0x10091d7
movsx eax, al
sub eax, 0x37
jmp 0x1004a51
or eax, 0xffffffff
jmp 0x1004a51
cmp cl, 0x46
jg 0x10091ef
movsx ecx, cl
sub ecx, 0x37
jmp 0x1004a6d
or ecx, 0xffffffff
jmp 0x1004a6d
cmp al, 0x46
jg 0x1009206
movsx eax, al
sub eax, 0x37
jmp 0x1004afc
or eax, 0xffffffff
jmp 0x1004afc
cmp cl, 0x46
jg 0x100921e
movsx ecx, cl
sub ecx, 0x37
jmp 0x1004b26
or ecx, 0xffffffff
jmp 0x1004b26
movsx eax, al
sub eax, 0x30
jmp 0x1004bc1
cmp al, 0x46
jg 0x1009240
movsx eax, al
sub eax, 0x37
jmp 0x1004bc1
or eax, 0xffffffff
jmp 0x1004bc1
cmp cl, 0x46
jg 0x1009258
movsx ecx, cl
sub ecx, 0x37
jmp 0x1004beb
or ecx, 0xffffffff
jmp 0x1004beb
cmp al, 0x46
jg 0x100926f
movsx eax, al
sub eax, 0x37
jmp 0x1004c7d
or eax, 0xffffffff
jmp 0x1004c7d
cmp cl, 0x46
jg 0x1009287
movsx ecx, cl
sub ecx, 0x37
jmp 0x1004c95
or ecx, 0xffffffff
jmp 0x1004c95