Function at 0x44173f
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x74
mov eax, 0x4d300f
call fcn.004b8118
lea eax, [ebp - 0x80]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.0042499a
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 1
call fcn.0042499a
mov byte [ebp - 4], 2
push dword [ebp + 0xc]
mov ebx, 0x4e3948
push ebx
call fcn.00464cb0
pop ecx
pop ecx
push esi
push esi
lea eax, [ebp - 0x18]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp + 8]
mov dword [ebp - 0x18], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
push esi
push 1
lea eax, [ebp - 0x68]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x40], esp
push esi
call fcn.0042462c
push dword [ebp + 8]
call fcn.00468380
add esp, 0x14
push dword [ebp - 0x18]
call fcn.004b2522
mov esi, dword [ebp - 0x5c]
pop ecx
mov dword [ebp - 0x24], eax
cmp esi, dword [ebp - 0x58]
jbe 0x4417cb
call fcn.004b1e31
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], esi
mov esi, dword [ebp - 0x58]
cmp dword [ebp - 0x5c], esi
jbe 0x4417e1
call fcn.004b1e31
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x4c], esi
lea edi, [ebp - 0x50]
lea esi, [ebp - 0x48]
mov dword [ebp - 0x50], eax
call fcn.004499b8
test al, al
je 0x441945
call fcn.00449965
push eax
lea ecx, [ebp - 0x14]
call fcn.00424d19
mov edi, dword [ebp - 0x24]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
and dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push edi
lea eax, [ebp - 0x20]
push eax
push 0
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [esi - 0xc], 0
mov dword [ebp - 0x28], eax
jne 0x44184d
push str._Default_
lea ecx, [ebp - 0x14]
call fcn.00425210
mov esi, dword [ebp - 0x14]
cmp dword [ebp - 0x28], 0
jne 0x441901
mov eax, dword [ebp - 0x20]
cmp eax, 1
je 0x4418bf
cmp eax, 2
je 0x4418bf
cmp eax, 7
je 0x4418bf
cmp eax, 4
jne 0x441896
push dword [edi]
lea eax, [ebp - 0x2c]
push esi
push str.___s__0x_.8x
push eax
call fcn.00466ad0
mov byte [ebp - 4], 6
push dword [eax]
push ebx
call fcn.00464cb0
mov ecx, dword [ebp - 0x2c]
add esp, 0x18
jmp 0x441924
push dword [ebp - 0x1c]
push eax
push esi
lea eax, [ebp - 0x30]
push str.___s__d_:__d_bytes
push eax
call fcn.00466ad0
add esp, 0x14
mov byte [ebp - 4], 7
push dword [eax]
push ebx
call fcn.00464cb0
pop ecx
pop ecx
mov ecx, dword [ebp - 0x30]
jmp 0x441924
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x38]
push edi
call fcn.004497e1
mov byte [ebp - 4], 4
mov edi, dword [ebp - 0x38]
push edi
push esi
lea eax, [ebp - 0x3c]
push str.___s___s
push eax
call fcn.00466ad0
mov byte [ebp - 4], 5
push dword [eax]
push ebx
call fcn.00464cb0
mov ecx, dword [ebp - 0x3c]
add esp, 0x18
add ecx, 0xfffffff0
call fcn.0042201a
lea ecx, [edi - 0x10]
jmp 0x441927
push esi
lea eax, [ebp - 0x40]
push str.___s:_Error_reading_value_
push eax
call fcn.00466ad0
add esp, 0xc
mov byte [ebp - 4], 8
push dword [eax]
push ebx
call fcn.00464cb0
pop ecx
pop ecx
mov ecx, dword [ebp - 0x40]
add ecx, 0xfffffff0
call fcn.0042201a
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 2
call fcn.0042201a
lea esi, [ebp - 0x48]
call fcn.00424bc6
jmp 0x4417d4
push dword [ebp - 0x24]
call fcn.004b2405
pop ecx
xor ebx, ebx
push ebx
push 1
push ebx
lea eax, [ebp - 0x80]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x40], esp
push ebx
call fcn.0042462c
push dword [ebp + 8]
call fcn.004681c0
mov esi, dword [ebp - 0x74]
add esp, 0x18
cmp esi, dword [ebp - 0x70]
jbe 0x44197c
call fcn.004b1e31
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], esi
mov esi, dword [ebp - 0x70]
cmp dword [ebp - 0x74], esi
jbe 0x441992
call fcn.004b1e31
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x4c], esi
lea edi, [ebp - 0x50]
lea esi, [ebp - 0x34]
mov dword [ebp - 0x50], eax
call fcn.004499b8
test al, al
je 0x441a3b
mov dword [ebp - 0x14], ebx
call fcn.00449965
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
push 0x20019
push ebx
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 0x14], ebx
je 0x441a2e
push ecx
mov dword [ebp - 0x40], esp
mov edi, esp
push ecx
mov ecx, esp
mov dword [ebp - 0x40], esp
push 0x4e1f68
call fcn.0042462c
mov byte [ebp - 4], 9
call fcn.00449965
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
push eax
call fcn.00424617
push ecx
mov byte [ebp - 4], 0xa
lea eax, [ebp + 0xc]
mov dword [ebp - 0x38], esp
mov ecx, esp
push eax
call fcn.00424d19
mov byte [ebp - 4], 2
call fcn.00466390
add esp, 0xc
push dword [ebp - 0x14]
call fcn.0044173f
pop ecx
pop ecx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea esi, [ebp - 0x34]
call fcn.00424bc6
jmp 0x441985
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 1
call fcn.004249d2
lea eax, [ebp - 0x80]
push eax
mov byte [ebp - 4], 0
call fcn.004249d2
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0042201a
call fcn.004b81f0
ret