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

Disassembly:
push 0xffffffffffffffff
push 0x4c4660
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
mov eax, dword [0x4f5b3c]
push ebx
push ebp
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [esp + 0x34], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x58], edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x14], eax
cmp dword [esi + 0x1f90], edi
jne 0x44873f
push 0x1000
call fcn.00475441
mov dword [esi + 0x1f90], eax
mov ecx, dword [esi + 0x1f90]
mov eax, dword [0x4f5b3c]
add esp, 4
cmp ecx, edi
je 0x448a66
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x6c]
mov byte [esp + 0x58], 3
mov eax, ecx
mov dword [esp + 0x2c], edi
sub eax, edi
mov dword [esp + 0x28], edi
je 0x448777
dec eax
je 0x448770
push ecx
push str.FindRegistryValue:_ERROR__unknown_findMethod__d
call fcn.0045dcb0
add esp, 8
jmp 0x448a58
mov eax, dword [esp + 0x68]
push eax
jmp 0x44877c
mov ecx, dword [esp + 0x64]
push ecx
lea ecx, [esp + 0x14]
call fcn.004a9d0c
mov ebp, 1
lea ecx, [esp + 0x24]
push ebp
push 0x2a
call fcn.004a6e99
lea edx, [esp + 0x3c]
push ebp
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x60], 4
call fcn.004a7219
mov ecx, dword [esp + 0x24]
mov eax, dword [eax]
push ecx
push eax
call fcn.00474eb8
add esp, 8
lea ecx, [esp + 0x3c]
test eax, eax
sete bl
call fcn.004a9c1f
lea ecx, [esp + 0x24]
mov byte [esp + 0x58], 3
call fcn.004a9c1f
test bl, bl
je 0x4487f9
push ecx
lea ecx, [esp + 0x14]
mov edx, esp
mov dword [esp + 0x40], esp
push ebp
push edx
mov dword [esp + 0x38], ebp
call fcn.004a70e4
lea ecx, [esp + 0x14]
call fcn.0040cea0
push ebp
push 0x2a
lea ecx, [esp + 0x2c]
call fcn.004a6e99
lea eax, [esp + 0x3c]
push ebp
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x60], 5
call fcn.004a719d
mov ecx, dword [esp + 0x24]
mov eax, dword [eax]
push ecx
push eax
call fcn.00474eb8
add esp, 8
lea ecx, [esp + 0x3c]
test eax, eax
sete bl
call fcn.004a9c1f
lea ecx, [esp + 0x24]
mov byte [esp + 0x58], 3
call fcn.004a9c1f
test bl, bl
je 0x448872
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], ebp
call fcn.004371a0
push ecx
dec eax
mov edx, esp
mov dword [esp + 0x40], esp
push eax
push edx
lea ecx, [esp + 0x1c]
call fcn.004a7219
lea ecx, [esp + 0x14]
call fcn.0040cea0
mov eax, dword [esp + 0x60]
mov ecx, esi
mov eax, dword [eax]
push eax
call fcn.00446ec0
test eax, eax
je 0x448a58
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 4]
lea ecx, [esp + 0x18]
push ecx
push 0x20019
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x448a58
push eax
push eax
push eax
push eax
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x40]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x448a24
mov eax, dword [esp + 0x30]
xor ebx, ebx
test eax, eax
jbe 0x448a24
test edi, edi
jne 0x448bd6
mov eax, dword [esi + 0x1f90]
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x3c]
push eax
push ecx
lea edx, [esp + 0x4c]
push edi
push edx
push 0x100
lea ecx, [esp + 0x2c]
mov dword [esp + 0x58], 0x100
mov dword [esp + 0x54], 0x1000
call fcn.004aa003
push eax
mov eax, dword [esp + 0x30]
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
mov ebp, eax
call fcn.004aa052
test ebp, ebp
jne 0x448a24
mov eax, dword [esp + 0x6c]
sub eax, ebp
je 0x4489c5
dec eax
jne 0x448a0f
mov ecx, dword [0x4f5b3c]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x38]
mov eax, dword [esi + 0x1f90]
push edx
lea ecx, [esp + 0x28]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x64], 6
call fcn.00448510
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
push edx
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x2c]
push ecx
push edx
mov ecx, esi
call fcn.004485d0
test eax, eax
je 0x4489b5
mov ecx, dword [esp + 0x68]
lea eax, [esp + 0x24]
push eax
call fcn.004a9d0c
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x68]
call fcn.004a9d0c
mov edi, 1
lea ecx, [esp + 0x24]
mov byte [esp + 0x58], 3
call fcn.004a9c1f
jmp 0x448a0f
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
push edx
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, esi
call fcn.004485d0
test eax, eax
je 0x448a0f
mov ecx, dword [esp + 0x64]
lea eax, [esp + 0x14]
push eax
call fcn.004a9d0c
mov ecx, dword [esp + 0x38]
mov edx, dword [esi + 0x1f90]
mov eax, dword [esp + 0x68]
push ecx
push edx
push eax
mov ecx, esi
call fcn.00448510
mov edi, 1
mov eax, dword [esp + 0x30]
inc ebx
cmp ebx, eax
jb 0x4488e0
test edi, edi
jne 0x448bd6
mov eax, dword [esp + 0x70]
test eax, eax
je 0x448bd6
push 0
push 0
mov edx, dword [esp + 0x20]
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x4c]
push 0
push ecx
push 0
push 0
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x448a9a
lea ecx, [esp + 0x10]
mov byte [esp + 0x58], 2
call fcn.004a9c1f
lea ecx, [esp + 0x14]
mov byte [esp + 0x58], 1
call fcn.004a9c1f
lea ecx, [esp + 0x1c]
mov byte [esp + 0x58], 0
call fcn.004a9c1f
lea ecx, [esp + 0x20]
mov dword [esp + 0x58], 0xffffffff
call fcn.004a9c1f
xor eax, eax
jmp 0x448c1e
mov eax, dword [esp + 0x34]
mov dword [esp + 0x2c], 0
test eax, eax
jbe 0x448bbd
mov bl, 0xa
lea eax, [esp + 0x48]
lea ecx, [esp + 0x44]
push eax
push 0
push 0
push 0
push ecx
push 0x100
lea ecx, [esp + 0x2c]
mov dword [esp + 0x5c], 0x100
call fcn.004aa003
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x30]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
mov ebp, eax
call fcn.004aa052
test ebp, ebp
jne 0x448bbd
push 0x4ee660
lea ecx, [esp + 0x2c]
call fcn.00441d00
mov ebp, dword [esp + 0x60]
push eax
lea ecx, [esp + 0x40]
push ebp
push ecx
mov byte [esp + 0x64], 7
call fcn.004a9e02
push ecx
lea ecx, [esp + 0x18]
mov edx, esp
mov dword [esp + 0x28], esp
push ecx
push eax
push edx
mov byte [esp + 0x68], 8
call fcn.004a9e02
lea ecx, [esp + 0x74]
call fcn.0040ce50
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 0xb
call fcn.004a9c1f
lea ecx, [esp + 0x28]
mov byte [esp + 0x58], bl
call fcn.004a9c1f
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
push 1
push edx
push eax
lea edx, [esp + 0x7c]
push ecx
push edx
mov ecx, esi
call fcn.004486d0
mov edi, eax
test edi, edi
jne 0x448ba3
lea ecx, [esp + 0x70]
mov byte [esp + 0x58], 3
call fcn.004a9c1f
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
inc eax
cmp eax, ecx
mov dword [esp + 0x2c], eax
jb 0x448ab0
jmp 0x448bbd
lea eax, [esp + 0x70]
mov ecx, ebp
push eax
call fcn.004a9d0c
lea ecx, [esp + 0x70]
mov byte [esp + 0x58], 3
call fcn.004a9c1f
mov eax, dword [esp + 0x18]
test eax, eax
je 0x448be1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], 0
jmp 0x448be1
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x10]
mov byte [esp + 0x58], 2
call fcn.004a9c1f
lea ecx, [esp + 0x14]
mov byte [esp + 0x58], 1
call fcn.004a9c1f
lea ecx, [esp + 0x1c]
mov byte [esp + 0x58], 0
call fcn.004a9c1f
lea ecx, [esp + 0x20]
mov dword [esp + 0x58], 0xffffffff
call fcn.004a9c1f
mov eax, edi
mov ecx, dword [esp + 0x50]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x4c
ret 0x14