Function at 0x44a3f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4cbd01
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
push ebx
push esi
push edi
mov eax, dword [0x512f80]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 0x38]
mov dword [esp + 0x34], eax
mov bl, 1
push eax
mov byte [esp + 0x3c], bl
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor eax, eax
mov dword [esp + 0xb8], eax
mov edi, dword [ebp + 8]
cmp dword [edi + 0x14], eax
jne 0x44a48e
push 0x10
push str.NonNullValueName
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], eax
mov byte [esp + 0x24], al
call fcn.0040e480
mov byte [esp + 0xb8], bl
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.00421b30
push 0x502820
lea edx, [esp + 0x40]
push edx
call fcn.00488a7c
cmp dword [ebp + 0xc], eax
je 0x44a4cc
cmp dword [ebp + 0x10], eax
jne 0x44a4cc
push str.CallerBufSizeNonZero
lea ecx, [esp + 0x1c]
call fcn.0040e550
mov byte [esp + 0xb8], 2
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.00421b30
push 0x502820
lea edx, [esp + 0x40]
push edx
call fcn.00488a7c
cmp dword [ebp + 0x14], eax
jne 0x44a517
push 0x15
push str.NonNullCallerBytesPtr
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], eax
mov byte [esp + 0x24], al
call fcn.0040e480
mov byte [esp + 0xb8], 3
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.00421b30
push 0x502820
lea edx, [esp + 0x40]
push edx
call fcn.00488a7c
cmp dword [edi + 0x18], 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
lea ebx, [edi + 4]
jb 0x44a52c
mov eax, dword [ebx]
jmp 0x44a52e
mov eax, ebx
lea ecx, [esp + 0x10]
push ecx
push 0
lea edx, [esp + 0x1c]
push edx
push 0
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x44a6c0
cmp dword [esp + 0x14], 3
je 0x44a5b0
push str.unknown
lea ecx, [esp + 0x1c]
call fcn.0040e550
mov byte [esp + 0xb8], 4
push str.binary
lea ecx, [esp + 0x94]
call fcn.0040e550
mov byte [esp + 0xb8], 5
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x94]
push edx
push edi
add esi, 4
push esi
lea eax, [esp + 0x4c]
push eax
call fcn.004220e0
push 0x5028b0
lea ecx, [esp + 0x40]
push ecx
call fcn.00488a7c
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x44a68a
mov eax, dword [esp + 0x10]
test eax, eax
je 0x44a67f
mov ecx, dword [ebp + 0x10]
cmp ecx, eax
jae 0x44a5d2
mov dword [esp + 0x10], ecx
cmp dword [edi + 0x18], 0x10
jb 0x44a5dc
mov eax, dword [ebx]
jmp 0x44a5de
mov eax, ebx
lea ecx, [esp + 0x10]
push ecx
push edx
mov edx, dword [esi + 0x20]
push 0
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, 0xea
jne 0x44a629
mov esi, dword [ebp + 0x10]
cmp esi, dword [esp + 0x10]
jb 0x44a622
push 0x477
push str.......CommonMiscWin32Registry.cpp
push str.uBufSize___dwDataSize
push ecx
call fcn.0042c7e0
add esp, 4
mov ecx, eax
call fcn.0042ca10
mov eax, dword [ebp + 0x14]
mov dword [eax], esi
jmp 0x44a693
test eax, eax
je 0x44a64c
push 0x47d
push str.......CommonMiscWin32Registry.cpp
push str.lRet__0L
push ecx
call fcn.0042c7e0
add esp, 4
mov ecx, eax
call fcn.0042ca10
mov ecx, dword [esp + 0x10]
cmp ecx, dword [ebp + 0x10]
jbe 0x44a674
push 0x47e
push str.......CommonMiscWin32Registry.cpp
push str.dwDataSize___uBufSize
push ecx
call fcn.0042c7e0
add esp, 4
mov ecx, eax
call fcn.0042ca10
mov edx, dword [ebp + 0x14]
mov eax, dword [esp + 0x10]
mov dword [edx], eax
jmp 0x44a693
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 0
jmp 0x44a693
mov edx, dword [esp + 0x10]
mov eax, dword [ebp + 0x14]
mov dword [eax], edx
mov dword [esp + 0xb8], 0xffffffff
lea ecx, [esp + 0x34]
push ecx
call fcn.00406ab0
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push edi
add esi, 4
push esi
lea edx, [esp + 0x44]
push edx
call fcn.00421d70
push 0x502868
lea eax, [esp + 0x40]
push eax
call fcn.00488a7c
int3