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

Disassembly:
push ebp
lea ebp, [esp - 0x4c0]
sub esp, 0x540
mov eax, dword [0x4d4430]
xor eax, ebp
mov dword [ebp + 0x4bc], eax
mov eax, dword [ebp + 0x4c8]
or dword [ebp - 0x74], 0xffffffff
push ebx
push esi
xor ebx, ebx
push 0x103
mov dword [ebp - 0x7c], eax
lea eax, [ebp + 0x2b5]
push ebx
push eax
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x60], ebx
mov byte [ebp + 0x2b4], bl
call fcn.0040c970
add esp, 0xc
lea eax, [ebp - 0x5c]
push eax
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards_
mov esi, 0x104
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x6c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x43900a
or eax, 0xffffffff
jmp 0x439186
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x1b0]
push eax
push ebx
push dword [ebp - 0x5c]
mov dword [ebp - 0x64], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x439175
push edi
lea eax, [ebp + 0xac]
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards_
push eax
call fcn.0040d8f0
lea eax, [ebp + 0x1b0]
push eax
lea eax, [ebp + 0xac]
push eax
call fcn.0040d900
add esp, 0x10
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp + 0xac]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4391a3
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
push str.ServiceName
push dword [ebp - 0x60]
xor edi, edi
inc edi
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x68], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x60]
test eax, eax
jne 0x43919d
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp + 0x2b4]
push str.._
push eax
call fcn.0040d8f0
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp + 0x2b4]
push eax
call fcn.0040d900
add esp, 0x10
push ebx
push ebx
push 3
push ebx
push edi
push accept
lea eax, [ebp + 0x2b4]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x4391a3
push ebx
lea eax, [ebp - 0x68]
push eax
push esi
lea eax, [ebp + 0x3b8]
push eax
push 4
lea eax, [ebp - 0x78]
push eax
push 0x170002
push edi
mov dword [ebp - 0x78], 0x1010101
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push edi
mov dword [ebp - 0x80], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x80], ebx
je 0x4391a3
movzx eax, byte [ebp + 0x3bd]
push eax
movzx eax, byte [ebp + 0x3bc]
push eax
movzx eax, byte [ebp + 0x3bb]
mov esi, dword [ebp - 0x7c]
push eax
movzx eax, byte [ebp + 0x3ba]
push eax
movzx eax, byte [ebp + 0x3b9]
push eax
movzx eax, byte [ebp + 0x3b8]
push eax
push str._.2X__.2X__.2X__.2X__.2X__.2X
push 0x14
push esi
call fcn.0040c819
push esi
call fcn.0040b990
add esp, 0x28
mov dword [esi + 0x14], eax
mov dword [ebp - 0x74], ebx
pop edi
cmp dword [ebp - 0x5c], ebx
je 0x439183
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp + 0x4bc]
pop esi
xor ecx, ebp
pop ebx
call fcn.0040c660
add ebp, 0x4c0
leave
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 0x64]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x1b0]
push eax
push dword [ebp - 0x64]
mov dword [ebp - 0x6c], esi
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x43902f
jmp 0x439174