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

Disassembly:
push 0xffffffffffffffff
push 0x4ac378
mov eax, dword fs:[0]
push eax
sub esp, 0x604
mov eax, dword [0x4cc748]
xor eax, esp
mov dword [esp + 0x600], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cc748]
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 0x45e2cf
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.00403cd0
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 0x45df57
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 0x45e024
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.0047c790
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 0x45e232
add dword [esp + 0x1c], 1
xor esi, esi
mov dword [esp + 0x2c], esi
push 0x4b1c18
lea edx, [esp + 0xa0]
push edx
lea eax, [esp + 0x58]
push eax
mov byte [esp + 0x62c], 3
call fcn.0041b600
lea ecx, [esp + 0x220]
push ecx
push eax
lea edx, [esp + 0x48]
push edx
mov byte [esp + 0x638], 4
call fcn.0041b600
add esp, 0x18
cmp dword [eax + 0x18], 0x10
jb 0x45e087
mov eax, dword [eax + 4]
jmp 0x45e08a
push ebx
mov dword [ebp + 0x18], esi
mov dword [ebp + 0x14], ebx
push 0x4b0c8c
mov ecx, ebp
mov byte [ebp + 4], bl
call fcn.00403cd0
mov edi, 0x10
cmp dword [esp + 0x98], edi
jb 0x45e058
mov eax, dword [esp + 0x84]
push eax
call fcn.0047b89c
add esp, 4
cmp dword [esp + 0xb4], edi
mov dword [esp + 0x98], esi
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
jb 0x45e489
mov ecx, dword [esp + 0xa0]
push ecx
jmp 0x45e481
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 0x45e0b5
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 0x45e0ce
mov edx, dword [esp + 0x38]
push edx
call fcn.0047b89c
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 0x45e0fa
mov eax, dword [esp + 0x54]
push eax
call fcn.0047b89c
add esp, 4
cmp byte [esp + 0x17], bl
je 0x45e114
cmp esi, ebx
je 0x45df86
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x45df86
push 0x400
lea ecx, [esp + 0x218]
push ebx
push ecx
mov dword [esp + 0x2c], 0x400
call fcn.0047c790
add esp, 0xc
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x218]
push eax
push str.ServiceName
lea ecx, [esp + 0x38]
call fcn.00414490
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.00403cd0
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.0041b600
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x8c]
mov byte [esp + 0x62c], 6
call fcn.00403af0
mov edi, 0x10
cmp dword [esp + 0x68], edi
jb 0x45e1bf
mov ecx, dword [esp + 0x54]
push ecx
call fcn.0047b89c
add esp, 4
cmp dword [esp + 0x4c], edi
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
jb 0x45e1e2
mov edx, dword [esp + 0x38]
push edx
call fcn.0047b89c
add esp, 4
cmp dword [esp + 0x98], edi
mov eax, dword [esp + 0x84]
jae 0x45e1f9
lea eax, [esp + 0x84]
push ebx
push ebx
push 3
push ebx
push 3
push closesocket
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x45e227
cmp esi, ebx
je 0x45df86
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x45df86
cmp esi, ebx
je 0x45e232
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x98], 0x10
jb 0x45e24c
mov eax, dword [esp + 0x84]
push eax
call fcn.0047b89c
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 0x45e280
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.0047b89c
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 0x45e2af
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, 0xffffffff
jne 0x45e2cf
push ebx
mov dword [ebp + 0x18], esi
mov dword [ebp + 0x14], ebx
push 0x4b0c8c
mov ecx, ebp
mov byte [ebp + 4], bl
call fcn.00403cd0
jmp 0x45e489
push 0xff
lea edx, [esp + 0x119]
push ebx
push edx
mov byte [esp + 0x120], bl
call fcn.0047c790
push 0x40
lea eax, [esp + 0xe4]
push ebx
push eax
mov dword [esp + 0x40], 0x1010101
call fcn.0047c790
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 0x45e379
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.0047d19a
add esp, 0x20
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x70]
call fcn.0041ddb0
lea edx, [esp + 0xb8]
push edx
lea ecx, [esp + 0x74]
call fcn.0041e030
mov eax, dword [esp + 0xcc]
push ebx
push 0x4b0c8c
push eax
push ebx
lea ecx, [esp + 0xc8]
mov dword [esp + 0x630], 7
call fcn.00417ad0
test eax, eax
je 0x45e413
lea eax, [esp + 0xd4]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x45e3d0
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.00417ad0
test eax, eax
je 0x45e413
push 0x20
mov dword [ebp + 0x18], 0xf
mov dword [ebp + 0x14], ebx
mov byte [ebp + 4], bl
push str.77777777777777777777777777777777
jmp 0x45e468
lea eax, [esp + 0xd4]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x45e420
sub eax, edx
push eax
lea ecx, [esp + 0xd8]
push ecx
lea ecx, [esp + 0x78]
call fcn.00414f40
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 0x45e454
sub eax, edx
push eax
lea edx, [esp + 0xd8]
push edx
mov ecx, ebp
call fcn.00403cd0
cmp dword [esp + 0xd0], 0x10
jb 0x45e489
mov eax, dword [esp + 0xbc]
push eax
call fcn.0047b89c
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.0047b88d
add esp, 0x610
ret