Function at 0x456250
Capabilities:
Query or enumerate registry key
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4a4438
mov eax, dword fs:[0]
push eax
sub esp, 0x604
mov eax, dword [0x4c36a0]
xor eax, esp
mov dword [esp + 0x600], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c36a0]
xor eax, esp
push eax
lea eax, [esp + 0x618]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x628]
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 3
push 0xc0000000
push str.__._6A8DCD5A_CB21_4FFB_BA2D_622381D69E3C
mov dword [esp + 0x44], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x45669f
mov dword [esp + 0x30], ebx
push 0x39
mov esi, 0xf
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
lea ecx, [esp + 0xa4]
mov dword [esp + 0x628], ebx
mov dword [esp + 0xbc], esi
mov dword [esp + 0xb8], ebx
mov byte [esp + 0xa8], bl
call fcn.0040b060
mov dword [esp + 0x98], esi
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
cmp dword [esp + 0xb4], 0x10
mov eax, dword [esp + 0xa0]
mov byte [esp + 0x620], 2
jae 0x456327
lea eax, [esp + 0xa0]
lea ecx, [esp + 0x18]
push ecx
push 0x2001f
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x4563f4
mov edx, dword [esp + 0x18]
mov dword [esp + 0x30], edx
mov dword [esp + 0x1c], ebx
push 0x400
lea edx, [esp + 0x218]
push ebx
push edx
call fcn.00475820
add esp, 0xc
lea eax, [esp + 0x70]
push eax
mov eax, dword [esp + 0x20]
push ebx
push ebx
push ebx
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x228]
push edx
push eax
push ecx
mov dword [esp + 0x40], 0x400
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x456602
add dword [esp + 0x1c], 1
xor esi, esi
mov dword [esp + 0x2c], esi
push 0x4aaae8
lea edx, [esp + 0xa0]
push edx
lea eax, [esp + 0x58]
push eax
mov byte [esp + 0x62c], 3
call fcn.0040b3a0
lea ecx, [esp + 0x220]
push ecx
push eax
lea edx, [esp + 0x48]
push edx
mov byte [esp + 0x638], 4
call fcn.0040b3a0
add esp, 0x18
cmp dword [eax + 0x18], 0x10
jb 0x456457
mov eax, dword [eax + 4]
jmp 0x45645a
push ebx
mov dword [ebp + 0x18], esi
mov dword [ebp + 0x14], ebx
push 0x4a8e67
mov ecx, ebp
mov byte [ebp + 4], bl
call fcn.0040b060
mov edi, 0x10
cmp dword [esp + 0x98], edi
jb 0x456428
mov eax, dword [esp + 0x84]
push eax
call fcn.0047528f
add esp, 4
cmp dword [esp + 0xb4], edi
mov dword [esp + 0x98], esi
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
jb 0x456859
mov ecx, dword [esp + 0xa0]
push ecx
jmp 0x456851
add eax, 4
lea ecx, [esp + 0x24]
push ecx
push 0x2001f
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x38], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x456485
mov esi, dword [esp + 0x24]
xor eax, eax
mov dword [esp + 0x2c], esi
cmp eax, ebx
setne byte [esp + 0x17]
cmp dword [esp + 0x4c], 0x10
jb 0x45649e
mov edx, dword [esp + 0x38]
push edx
call fcn.0047528f
add esp, 4
cmp dword [esp + 0x68], 0x10
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
mov byte [esp + 0x620], 3
jb 0x4564ca
mov eax, dword [esp + 0x54]
push eax
call fcn.0047528f
add esp, 4
cmp byte [esp + 0x17], bl
je 0x4564e4
cmp esi, ebx
je 0x456356
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x456356
push 0x400
lea ecx, [esp + 0x218]
push ebx
push ecx
mov dword [esp + 0x2c], 0x400
call fcn.00475820
add esp, 0xc
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x218]
push eax
push str.ServiceName
lea ecx, [esp + 0x38]
call fcn.00455480
push 4
push str.__._
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
call fcn.0040b060
lea ecx, [esp + 0x214]
push ecx
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x58]
push eax
mov byte [esp + 0x62c], 5
call fcn.0040b3a0
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x8c]
mov byte [esp + 0x62c], 6
call fcn.0040a8e0
mov edi, 0x10
cmp dword [esp + 0x68], edi
jb 0x45658f
mov ecx, dword [esp + 0x54]
push ecx
call fcn.0047528f
add esp, 4
cmp dword [esp + 0x4c], edi
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
jb 0x4565b2
mov edx, dword [esp + 0x38]
push edx
call fcn.0047528f
add esp, 4
cmp dword [esp + 0x98], edi
mov eax, dword [esp + 0x84]
jae 0x4565c9
lea eax, [esp + 0x84]
push ebx
push ebx
push 3
push ebx
push 3
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4565f7
cmp esi, ebx
je 0x456356
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x456356
cmp esi, ebx
je 0x456602
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x98], 0x10
jb 0x45661c
mov eax, dword [esp + 0x84]
push eax
call fcn.0047528f
add esp, 4
cmp dword [esp + 0xb4], 0x10
mov esi, 0xf
mov dword [esp + 0x98], esi
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
jb 0x456650
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.0047528f
add esp, 4
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb0], ebx
mov byte [esp + 0xa0], bl
mov dword [esp + 0x620], 0xffffffff
je 0x45667f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, 0xffffffff
jne 0x45669f
push ebx
mov dword [ebp + 0x18], esi
mov dword [ebp + 0x14], ebx
push 0x4a8e67
mov ecx, ebp
mov byte [ebp + 4], bl
call fcn.0040b060
jmp 0x456859
push 0xff
lea edx, [esp + 0x119]
push ebx
push edx
mov byte [esp + 0x120], bl
call fcn.00475820
push 0x40
lea eax, [esp + 0xe4]
push ebx
push eax
mov dword [esp + 0x40], 0x1010101
call fcn.00475820
add esp, 0x18
push ebx
lea ecx, [esp + 0x70]
push ecx
push 0x100
lea edx, [esp + 0x120]
push edx
push 4
lea eax, [esp + 0x3c]
push eax
push 0x170002
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x456749
movzx ecx, byte [esp + 0x119]
movzx edx, byte [esp + 0x118]
movzx eax, byte [esp + 0x117]
push ecx
movzx ecx, byte [esp + 0x11a]
push edx
movzx edx, byte [esp + 0x11d]
push eax
movzx eax, byte [esp + 0x120]
push ecx
push edx
push eax
lea ecx, [esp + 0xec]
push str._02X_02X_02X_02X_02X_02X
push ecx
call fcn.0047567e
add esp, 0x20
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x70]
call fcn.00455c20
lea edx, [esp + 0xb8]
push edx
lea ecx, [esp + 0x74]
call fcn.00455ea0
mov eax, dword [esp + 0xcc]
push ebx
push 0x4a8e67
push eax
push ebx
lea ecx, [esp + 0xc8]
mov dword [esp + 0x630], 7
call fcn.00405e50
test eax, eax
je 0x4567e3
lea eax, [esp + 0xd4]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4567a0
sub eax, edx
mov edx, dword [esp + 0xcc]
push eax
lea ecx, [esp + 0xd8]
push ecx
push edx
push ebx
lea ecx, [esp + 0xc8]
call fcn.00405e50
test eax, eax
je 0x4567e3
push 0x20
mov dword [ebp + 0x18], 0xf
mov dword [ebp + 0x14], ebx
mov byte [ebp + 4], bl
push str.77777777777777777777777777777777
jmp 0x456838
lea eax, [esp + 0xd4]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4567f0
sub eax, edx
push eax
lea ecx, [esp + 0xd8]
push ecx
lea ecx, [esp + 0x78]
call fcn.00455620
lea eax, [esp + 0xd4]
mov dword [ebp + 0x18], 0xf
mov dword [ebp + 0x14], ebx
mov byte [ebp + 4], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x456824
sub eax, edx
push eax
lea edx, [esp + 0xd8]
push edx
mov ecx, ebp
call fcn.0040b060
cmp dword [esp + 0xd0], 0x10
jb 0x456859
mov eax, dword [esp + 0xbc]
push eax
call fcn.0047528f
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x618]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x600]
xor ecx, esp
call fcn.00476554
add esp, 0x610
ret