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

Disassembly:
push 0x154
mov eax, 0x6a2ac3
call fcn.0056e23b
mov dword [ebp - 0x158], ecx
cmp dword [0x7960fc], 0
mov esi, 0x77b084
mov edi, dword [ebp + 8]
mov dword [ebp - 0x14c], edi
jle 0x53d01f
push str.__GetMA___Begin
mov ecx, esi
call fcn.0042e683
xor ebx, ebx
lea ecx, [ebp - 0x144]
and dword [ebp - 0x144], ebx
and dword [ebp - 0x140], ebx
mov dword [ebp - 0x150], ebx
call fcn.0053e04b
mov dword [ebp - 0x144], eax
mov dword [ebp - 4], 2
mov ecx, edi
push ebx
push 0x6f8a51
call fcn.00427cd7
lea eax, [ebp - 0x148]
push eax
push 0x20019
push ebx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x53d2ab
cmp dword [0x7960fc], eax
jle 0x53d091
push str.__GetMA___Step_1
mov ecx, esi
call fcn.0042e683
push 0x19
lea eax, [ebp - 0x54]
xor edi, edi
push eax
push edi
push dword [ebp - 0x148]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x53d27a
xor eax, eax
inc edi
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x120], eax
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards_
mov dword [ebp - 0x120], 7
mov dword [ebp - 0x124], eax
mov word [ebp - 0x134], ax
call fcn.00647fd1
pop ecx
push eax
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards_
lea ecx, [ebp - 0x134]
call fcn.004044d0
mov byte [ebp - 4], 3
cmp word [ebp - 0x54], 0
jne 0x53d102
xor eax, eax
jmp 0x53d10c
lea eax, [ebp - 0x54]
push eax
call fcn.00647fd1
pop ecx
push eax
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x134]
call fcn.0041cad6
cmp dword [0x7960fc], 0
jle 0x53d131
push str.__GetMA___Step_2
mov ecx, esi
call fcn.0042e683
cmp dword [ebp - 0x120], 8
lea ecx, [ebp - 0x13c]
push ecx
push 0x20019
lea eax, [ebp - 0x134]
cmovae eax, dword [ebp - 0x134]
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x53d23f
mov dword [ebp - 0x154], 0x64
mov dword [ebp - 0x20], 1
cmp dword [0x7960fc], eax
jle 0x53d18c
push str.__GetMA___Step_3
mov ecx, esi
call fcn.0042e683
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x20]
push eax
push 0
push str.ServiceName
push dword [ebp - 0x13c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x53d222
cmp dword [0x7960fc], eax
jle 0x53d1c9
push str.__GetMA___Step_4
mov ecx, esi
call fcn.0042e683
lea eax, [ebp - 0x54]
push eax
call fcn.00649635
pop ecx
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x144]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x160]
push eax
call fcn.0053cb38
cmp word [ebp - 0x11c], 0
mov esi, dword [ebp - 0x160]
jne 0x53d200
xor eax, eax
jmp 0x53d20d
lea eax, [ebp - 0x11c]
push eax
call fcn.00647fd1
pop ecx
push eax
lea eax, [ebp - 0x11c]
push eax
lea ecx, [esi + 0x14]
call fcn.004044d0
mov esi, 0x77b084
cmp dword [0x7960fc], 0
jle 0x53d237
push str.__GetMA___Step_5
mov ecx, esi
call fcn.0042e683
push dword [ebp - 0x13c]
call ebx
cmp dword [0x7960fc], 0
jle 0x53d254
push str.__GetMA___Step_6
mov ecx, esi
call fcn.0042e683
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x134]
push 0
push 1
call fcn.00401d60
push 0x19
lea eax, [ebp - 0x54]
push eax
push edi
push dword [ebp - 0x148]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x53d0b1
cmp dword [0x7960fc], 0
jle 0x53d297
push str.__GetMA___Step_7
mov ecx, esi
call fcn.0042e683
push dword [ebp - 0x148]
call ebx
mov ebx, dword [ebp - 0x150]
mov edi, dword [ebp - 0x14c]
cmp dword [0x7960fc], 0
jle 0x53d2c0
push str.__GetMA___Step_8
mov ecx, esi
call fcn.0042e683
cmp dword [ebp - 0x140], 0
je 0x53d4f5
cmp dword [0x7960fc], 0
jle 0x53d2e2
push str.__GetMA___Step_9
mov ecx, esi
call fcn.0042e683
mov eax, dword [ebp - 0x144]
mov esi, dword [eax]
mov dword [ebp - 0x13c], esi
cmp esi, eax
je 0x53d4f5
lea ecx, [ebp - 0x138]
call fcn.004173bc
mov byte [ebp - 4], 4
add esi, 0x14
cmp dword [esi + 0x14], 8
jb 0x53d312
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x138]
push str.._s
push eax
call fcn.0041ccda
add esp, 0xc
cmp dword [0x7960fc], 0
jle 0x53d357
cmp dword [ebp - 0x120], 8
lea eax, [ebp - 0x134]
cmovae eax, dword [ebp - 0x134]
push eax
push str.__GetMA___Step_10___s
push 0x77b084
call fcn.0042e634
add esp, 0xc
cmp dword [ebp - 0x120], 8
lea eax, [ebp - 0x134]
cmovae eax, dword [ebp - 0x134]
xor ecx, ecx
push ecx
push ecx
push 3
push ecx
push ecx
push 0xc0000000
push eax
call fcn.005654e9
mov esi, eax
add esp, 0x1c
cmp esi, 0xffffffff
je 0x53d4ae
mov ecx, dword [0x7960fc]
test ecx, ecx
jle 0x53d3ab
push str.__GetMA___Step_11
mov ecx, 0x77b084
call fcn.0042e683
mov ecx, dword [0x7960fc]
mov dword [ebp - 0x14c], 0x1010102
test ecx, ecx
jle 0x53d3c8
push str.__GetMA___Step_12
mov ecx, 0x77b084
call fcn.0042e683
push 0
lea eax, [ebp - 0x150]
push eax
push 6
lea eax, [ebp - 0x18]
push eax
push 4
lea eax, [ebp - 0x14c]
push eax
push 0x170002
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x53d4a7
cmp dword [0x7960fc], 0
jle 0x53d40c
push str.__GetMA___Step_13
mov ecx, 0x77b084
call fcn.0042e683
push 6
lea eax, [ebp - 0x20]
push 0
push eax
call fcn.00644240
add esp, 0xc
cmp dword [0x7960fc], 0
jle 0x53d434
push str.__GetMA___Step_14
mov ecx, 0x77b084
call fcn.0042e683
push 6
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0064454b
add esp, 0xc
test eax, eax
je 0x53d48f
cmp dword [0x7960fc], 0
jle 0x53d462
push str.__GetMA___Step_15
mov ecx, 0x77b084
call fcn.0042e683
mov ecx, dword [ebp - 0x158]
lea eax, [ebp - 0x18]
push edi
push 6
push eax
call fcn.0053d526
cmp dword [0x7960fc], 0
jle 0x53d48c
push str.__GetMA___Step_16
mov ecx, 0x77b084
call fcn.0042e683
xor ebx, ebx
inc ebx
cmp dword [0x7960fc], 0
jle 0x53d4a7
push str.__GetMA___Step_17
mov ecx, 0x77b084
call fcn.0042e683
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x7960fc], 0
jle 0x53d4c6
push str.__GetMA___Step_18
mov ecx, 0x77b084
call fcn.0042e683
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x138]
call fcn.0041786a
lea ecx, [ebp - 0x13c]
call fcn.005702a2
test ebx, ebx
jne 0x53d4f5
mov eax, dword [ebp - 0x144]
mov esi, dword [ebp - 0x13c]
jmp 0x53d2f0
cmp dword [0x7960fc], 0
jle 0x53d50d
push str.__GetMA___Step_19
mov ecx, 0x77b084
call fcn.0042e683
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x144]
call fcn.0053cc12
mov eax, ebx
call fcn.0056e1e5
ret 4