Function at 0x442faa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46d444
mov eax, dword fs:[0]
push eax
sub esp, 0x720
mov eax, dword [0x48b370]
xor eax, esp
mov dword [esp + 0x718], eax
push ebx
push esi
push edi
mov eax, dword [0x48b370]
xor eax, esp
push eax
lea eax, [esp + 0x730]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 8
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x20], ecx
jb 0x443001
mov ecx, dword [esi]
jmp 0x443003
mov ecx, esi
mov eax, dword [eax]
lea ebx, [esp + 0x18]
push ebx
or eax, 0x20019
push eax
xor ebx, ebx
push ebx
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [esp + 0x14], eax
cmp eax, ebx
je 0x443198
xor eax, eax
push 0x1fe
mov word [esp + 0x118], ax
lea eax, [esp + 0x11a]
push ebx
push eax
call fcn.004556a0
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x44304f
mov esi, dword [esi]
push esi
push dword [esp + 0x18]
lea eax, [esp + 0x11c]
push str.get_reg_RegOpenKeyExW_failed_lasterror:_d_and_the_subkey:_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [esp + 0x24]
push eax
call fcn.00402ec2
mov dword [esp + 0x738], ebx
lea eax, [esp + 0x114]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004064bf
pop ecx
pop ecx
push 0xf
pop esi
push 0x15
push str.path_manager::get_reg
lea ecx, [esp + 0xe4]
mov dword [esp + 0xf8], esi
mov dword [esp + 0xf4], ebx
mov byte [esp + 0xe4], bl
call fcn.00403e19
mov byte [esp + 0x738], 1
push 0x10
push str.path_manager.cpp
lea ecx, [esp + 0xc8]
mov dword [esp + 0xdc], esi
mov dword [esp + 0xd8], ebx
mov byte [esp + 0xc8], bl
call fcn.00403e19
mov byte [esp + 0x738], 2
lea eax, [esp + 0xf8]
push eax
lea ecx, [esp + 0x28]
call fcn.00402f86
mov byte [esp + 0x738], 3
push eax
lea eax, [esp + 0xe0]
push eax
push 0x2ae
lea eax, [esp + 0xcc]
push eax
push 1
push ecx
call fcn.00439dc3
pop ecx
push eax
call fcn.0043a160
mov byte [esp + 0x738], 2
push 1
xor edi, edi
lea esi, [esp + 0xfc]
call fcn.004041e3
mov byte [esp + 0x738], 1
push ebx
push 1
lea ecx, [esp + 0xc8]
call fcn.00403eaf
mov byte [esp + 0x738], bl
lea ecx, [esp + 0xdc]
push ebx
push 1
call fcn.00403eaf
or dword [esp + 0x738], 0xffffffff
lea ecx, [esp + 0x74]
call fcn.00402f43
lea ecx, [esp + 0x74]
call fcn.004029cc
mov eax, dword [esp + 0x14]
jmp 0x443364
xor eax, eax
push 0x40e
mov word [esp + 0x318], ax
lea eax, [esp + 0x31a]
push ebx
push eax
call fcn.004556a0
add esp, 0xc
cmp dword [edi + 0x14], 8
mov dword [esp + 0x1c], 0x410
jb 0x4431ca
mov eax, dword [edi]
jmp 0x4431cc
mov eax, edi
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x318]
push ecx
push ebx
push ebx
push eax
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 0x18]
mov dword [esp + 0x18], eax
cmp eax, ebx
je 0x44334c
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
push 0x1fe
mov word [esp + 0x118], ax
lea eax, [esp + 0x11a]
push ebx
push eax
call fcn.004556a0
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x443224
mov edi, dword [edi]
push edi
push dword [esp + 0x18]
lea eax, [esp + 0x11c]
push str.get_reg_RegQueryValueExW_failed_lasterror:_d_and_the_subkey:_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [esp + 0x24]
push eax
call fcn.00402ec2
mov dword [esp + 0x738], 4
lea eax, [esp + 0x114]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004064bf
pop ecx
pop ecx
push 0xf
pop esi
push 0x15
push str.path_manager::get_reg
lea ecx, [esp + 0xc8]
mov dword [esp + 0xdc], esi
mov dword [esp + 0xd8], ebx
mov byte [esp + 0xc8], bl
call fcn.00403e19
mov byte [esp + 0x738], 5
push 0x10
push str.path_manager.cpp
lea ecx, [esp + 0xe4]
mov dword [esp + 0xf8], esi
mov dword [esp + 0xf4], ebx
mov byte [esp + 0xe4], bl
call fcn.00403e19
mov byte [esp + 0x738], 6
lea eax, [esp + 0xf8]
push eax
lea ecx, [esp + 0x28]
call fcn.00402f86
mov byte [esp + 0x738], 7
push eax
lea eax, [esp + 0xc4]
push eax
push 0x2ba
lea eax, [esp + 0xe8]
push eax
push 1
push ecx
call fcn.00439dc3
pop ecx
push eax
call fcn.0043a160
mov byte [esp + 0x738], 6
push 1
xor edi, edi
lea esi, [esp + 0xfc]
call fcn.004041e3
mov byte [esp + 0x738], 5
push ebx
push 1
lea ecx, [esp + 0xe4]
call fcn.00403eaf
mov byte [esp + 0x738], 4
lea ecx, [esp + 0xc0]
jmp 0x44316d
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [esp + 0x20]
lea ecx, [esp + 0x318]
call fcn.0040b340
xor eax, eax
mov ecx, dword [esp + 0x730]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x718]
xor ecx, esp
call fcn.0044cdc7
mov esp, ebp
pop ebp
ret 0xc