Function at 0x45ddf0
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x4b169d
mov eax, dword fs:[0]
push eax
sub esp, 0x9e4
mov eax, dword [0x4d0968]
xor eax, esp
mov dword [esp + 0x9e0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d0968]
xor eax, esp
push eax
lea eax, [esp + 0x9f8]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 3
push 0xc0000000
mov esi, ecx
push str.__._6A8DCD5A_CB21_4FFB_BA2D_622381D69E3C
mov dword [esp + 0x34], esi
mov dword [esp + 0x44], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x45e246
mov dword [esp + 0x34], ebx
push 0x39
mov edi, 7
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
lea ecx, [esp + 0xa0]
mov dword [esp + 0xa08], ebx
mov dword [esp + 0xb8], edi
mov dword [esp + 0xb4], ebx
mov word [esp + 0xa4], bx
call fcn.00412d30
mov dword [esp + 0x94], edi
mov dword [esp + 0x90], ebx
mov word [esp + 0x80], bx
mov eax, dword [esp + 0x9c]
mov edi, 8
cmp dword [esp + 0xb0], edi
mov byte [esp + 0xa00], 2
jae 0x45decc
lea eax, [esp + 0x9c]
lea ecx, [esp + 0x1c]
push ecx
push 0x2001f
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x45def9
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x34], edx
mov dword [esp + 0x20], ebx
jmp 0x45df74
push ebx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push 0x4b674f
mov ecx, esi
mov byte [esi + 4], bl
call fcn.0040bd70
cmp dword [esp + 0x94], edi
jb 0x45df2c
mov eax, dword [esp + 0x80]
push eax
call fcn.004803bd
add esp, 4
cmp dword [esp + 0xb0], edi
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], ebx
mov word [esp + 0x80], bx
jb 0x45e32b
mov ecx, dword [esp + 0x9c]
push ecx
call fcn.004803bd
add esp, 4
jmp 0x45e32b
mov esi, dword [esp + 0x18]
push 0x800
lea edx, [esp + 0x1f8]
push ebx
push edx
call fcn.00480820
add esp, 0xc
lea eax, [esp + 0x74]
push eax
mov eax, dword [esp + 0x24]
push ebx
push ebx
push ebx
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x208]
push edx
push eax
push ecx
mov dword [esp + 0x44], 0x800
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x45e1a9
add dword [esp + 0x20], 1
xor esi, esi
mov dword [esp + 0x30], esi
push 0x4b8968
lea edx, [esp + 0x9c]
push edx
lea eax, [esp + 0x5c]
push eax
mov byte [esp + 0xa0c], 3
call fcn.0045dd30
lea ecx, [esp + 0x200]
push ecx
push eax
lea edx, [esp + 0x4c]
push edx
mov byte [esp + 0xa18], 4
call fcn.0045dd30
add esp, 0x18
cmp dword [eax + 0x18], edi
jb 0x45e011
mov eax, dword [eax + 4]
jmp 0x45e014
add eax, 4
lea ecx, [esp + 0x2c]
push ecx
push 0x2001f
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x40], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x45e03f
mov esi, dword [esp + 0x2c]
xor eax, eax
mov dword [esp + 0x30], esi
cmp eax, ebx
setne byte [esp + 0x17]
cmp dword [esp + 0x50], edi
jb 0x45e057
mov edx, dword [esp + 0x3c]
push edx
call fcn.004803bd
add esp, 4
cmp dword [esp + 0x6c], edi
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
mov byte [esp + 0xa00], 3
jb 0x45e083
mov eax, dword [esp + 0x58]
push eax
call fcn.004803bd
add esp, 4
cmp byte [esp + 0x17], bl
je 0x45e09d
cmp esi, ebx
je 0x45df70
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x45df70
push 0x800
lea ecx, [esp + 0x1f8]
push ebx
push ecx
mov dword [esp + 0x30], 0x800
call fcn.00480820
add esp, 0xc
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x1f8]
push eax
push str.ServiceName
lea ecx, [esp + 0x3c]
call fcn.00453fb0
push 4
mov ebp, 7
push str.__._
lea ecx, [esp + 0x40]
mov dword [esp + 0x58], ebp
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], bx
call fcn.00412d30
lea ecx, [esp + 0x1f4]
push ecx
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x5c]
push eax
mov byte [esp + 0xa0c], 5
call fcn.0045dd30
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x88]
mov byte [esp + 0xa0c], 6
call fcn.0040be70
cmp dword [esp + 0x6c], edi
jb 0x45e145
mov ecx, dword [esp + 0x58]
push ecx
call fcn.004803bd
add esp, 4
cmp dword [esp + 0x50], edi
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], bx
jb 0x45e165
mov edx, dword [esp + 0x3c]
push edx
call fcn.004803bd
add esp, 4
cmp dword [esp + 0x94], edi
mov eax, dword [esp + 0x80]
jae 0x45e17c
lea eax, [esp + 0x80]
push ebx
push ebx
push 3
push ebx
push 3
push closesocket
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x45e089
cmp esi, ebx
je 0x45e1a5
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x18]
cmp dword [esp + 0x94], edi
jb 0x45e1c2
mov eax, dword [esp + 0x80]
push eax
call fcn.004803bd
add esp, 4
cmp dword [esp + 0xb0], edi
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], ebx
mov word [esp + 0x80], bx
jb 0x45e1f5
mov ecx, dword [esp + 0x9c]
push ecx
call fcn.004803bd
add esp, 4
mov eax, dword [esp + 0x1c]
cmp eax, ebx
mov dword [esp + 0xb0], 7
mov dword [esp + 0xac], ebx
mov word [esp + 0x9c], bx
mov dword [esp + 0xa00], 0xffffffff
je 0x45e229
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebp, 0xffffffff
jne 0x45e246
push ebx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
push 0x4b674f
jmp 0x45e324
push 0xff
lea edx, [esp + 0xf9]
push ebx
push edx
mov byte [esp + 0x100], bl
call fcn.00480820
push 0x40
lea eax, [esp + 0xc4]
push ebx
push eax
mov dword [esp + 0x40], 0x1010101
call fcn.00480820
add esp, 0x18
push ebx
lea ecx, [esp + 0x74]
push ecx
push 0x100
lea edx, [esp + 0x100]
push edx
push 4
lea eax, [esp + 0x3c]
push eax
push 0x170002
push ebp
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x45e2f0
movzx ecx, byte [esp + 0xf9]
movzx edx, byte [esp + 0xf8]
movzx eax, byte [esp + 0xf7]
push ecx
movzx ecx, byte [esp + 0xfa]
push edx
movzx edx, byte [esp + 0xfd]
push eax
movzx eax, byte [esp + 0x100]
push ecx
push edx
push eax
lea ecx, [esp + 0xcc]
push str._02X_02X_02X_02X_02X_02X
push ecx
call fcn.00481d86
add esp, 0x20
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0xb4]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x45e310
sub eax, edx
push eax
lea edx, [esp + 0xb8]
push edx
mov ecx, esi
call fcn.0040bd70
mov eax, esi
mov ecx, dword [esp + 0x9f8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x9e0]
xor ecx, esp
call fcn.00480bcf
add esp, 0x9f0
ret