Function at 0x437bf0
Capabilities:
Delete registry value
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x43c]
sub esp, 0x43c
push 0xfffffffffffffffe
push 0x48a188
push 0x441f50
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x48e050]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x438], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x444]
mov dword [ebp - 0x48], eax
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
xor esi, esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 4], ebx
xor eax, eax
mov dword [ebp - 0x24], eax
mov edi, edi
cmp eax, 2
jae 0x437e36
cmp eax, ebx
jne 0x437c76
mov dword [ebp - 0x1c], reloc.OLEAUT32.dll_SysReAllocString
jmp 0x437cb3
lea ecx, [ebp - 0x30]
push ecx
mov edx, dword [ebp + 0x448]
push edx
call sub.WTSAPI32.dll_WTSQueryUserToken
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
mov dword [ebp - 0x38], eax
cmp eax, ebx
je 0x437e36
lea ecx, [ebp - 0x1c]
push ecx
push 0x20019
call dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
cmp dword [ebp - 0x1c], ebx
je 0x437e36
xor edi, edi
mov dword [ebp - 0x3c], edi
cmp edi, 8
jae 0x437d4f
mov dword [ebp - 4], 1
lea edx, [ebp - 0x20]
push edx
push 0x20019
push ebx
mov eax, edi
imul eax, eax, 0x21c
add eax, 0x48f4b8
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x437d1e
push ebx
push ebx
push ebx
push ebx
lea edx, [ebp - 0x44]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x437d62
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.RegQueryInfoKey_error:__d
call fcn.00404c20
add esp, 8
mov dword [ebp - 4], ebx
call fcn.00437e21
mov esi, dword [ebp - 0x2c]
cmp esi, ebx
je 0x437e30
lea eax, [ebp + 0x21c]
push eax
imul edi, edi, 0x21c
add edi, 0x48f4b8
push edi
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
cmp esi, ebx
jne 0x437e36
inc dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
jmp 0x437c60
mov ecx, dword [ebp - 0x44]
push ecx
push str.dwValueCount:__d
call fcn.00404c20
add esp, 8
xor esi, esi
mov dword [ebp - 0x4c], esi
cmp esi, dword [ebp - 0x44]
jae 0x437d1e
mov dword [ebp - 0x34], 0x104
push ebx
push ebx
lea edx, [ebp - 0x28]
push edx
push ebx
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp + 0x21c]
push ecx
push esi
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x437e16
cmp dword [ebp - 0x28], 1
jne 0x437e16
lea eax, [ebp + 0x21c]
push eax
push str.szValueName:__s
call fcn.00404c20
add esp, 8
mov dword [ebp - 0x40], 0x208
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp]
push edx
lea eax, [ebp - 0x28]
push eax
push ebx
lea ecx, [ebp + 0x21c]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x437e16
lea eax, [ebp]
push eax
push str.szValueData:__s
call fcn.00404c20
mov ecx, dword [ebp - 0x48]
push ecx
lea edx, [ebp]
push edx
call fcn.0043ec25
add esp, 0x10
test eax, eax
jne 0x437e16
mov dword [ebp - 0x2c], 1
jmp 0x437d1e
inc esi
jmp 0x437d75
inc edi
jmp 0x437cb5
mov dword [ebp - 4], 0xfffffffe
call fcn.00437e6e
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x438]
xor ecx, ebp
call fcn.0043e4c7
add ebp, 0x43c
mov esp, ebp
pop ebp
ret 8