Function at 0x437280
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4926f1
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 0x38], edi
push 0x22
xor eax, eax
push str.SYSTEMCurrentControlSetServices_
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], ax
call fcn.00403bac
push 0xffffffffffffffff
push edi
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], edi
call fcn.004050a9
mov dword [ebp - 0x30], edi
mov eax, dword [ebp - 0x2c]
mov ebx, 8
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], ebx
jae 0x4372fb
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x30]
push ecx
push 0x20019
push edi
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x437349
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], dx
mov eax, dword [ebp - 0x30]
cmp eax, edi
je 0x437337
cmp eax, 0xffffffff
je 0x437337
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x18], ebx
jb 0x437445
mov eax, dword [ebp - 0x2c]
push eax
jmp 0x43743d
mov edx, dword [ebp - 0x30]
lea ecx, [ebp - 0x34]
push ecx
push edi
push edi
push edi
push str.ImagePath
push edx
mov dword [ebp - 0x34], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x437390
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], ax
mov eax, dword [ebp - 0x30]
cmp eax, edi
je 0x437388
cmp eax, 0xffffffff
je 0x437388
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x18], ebx
jmp 0x437437
mov eax, dword [ebp - 0x34]
shr eax, 1
lea edx, [ebp - 0x38]
inc eax
push edx
push eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edi
call fcn.0041c881
mov ebx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x34]
push eax
push ebx
push edi
push edi
push str.ImagePath
push ecx
mov byte [ebp - 4], 2
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x437404
push ebx
mov ecx, esi
call fcn.00409037
cmp ebx, edi
je 0x4373e5
push ebx
call fcn.00404f07
add esp, 4
mov eax, dword [ebp - 0x30]
cmp eax, edi
je 0x4373f8
cmp eax, 0xffffffff
je 0x4373f8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x18], 8
jb 0x437445
mov edx, dword [ebp - 0x2c]
push edx
jmp 0x43743d
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], ax
cmp ebx, edi
je 0x437420
push ebx
call fcn.00404f07
add esp, 4
mov eax, dword [ebp - 0x30]
cmp eax, edi
je 0x437433
cmp eax, 0xffffffff
je 0x437433
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x18], 8
jb 0x437445
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00404f07
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040330b
mov esp, ebp
pop ebp
ret