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

Disassembly:
sub esp, 0x810
mov eax, dword [0x1008ce00]
xor eax, esp
mov dword [esp + 0x80c], eax
mov eax, dword [esp + 0x814]
push ebx
mov ebx, dword [esp + 0x824]
push ebp
mov ebp, dword [esp + 0x824]
mov edx, ebp
push esi
push edi
mov edi, ecx
mov byte [esp + 0x1c], 0
lea ecx, [edx + 1]
mov dword [edi], eax
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov al, byte [edx]
inc edx
test al, al
jne 0x10037de0
sub edx, ecx
mov ecx, ebx
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10037df0
mov eax, dword [esp + 0x828]
sub ecx, esi
lea esi, [ecx + edx]
sub eax, 0
je 0x10037e51
sub eax, 1
jne 0x10037eb1
lea eax, [esp + 0x10]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x10037eb1
mov eax, 0x7f8
sub eax, esi
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
push 0
push str.AppData
jmp 0x10037e8b
lea eax, [esp + 0x10]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x10037eb1
mov eax, 0x7f8
sub eax, esi
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
push 0
push str.Common_AppData
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x10037ea7
cmp dword [esp + 0x18], 1
jne 0x10037ea7
mov word [esp + 0x1c], 0
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [esp + 0x1d], 0
jne 0x10037ed4
cmp byte [esp + 0x1c], 0
jne 0x10037ed4
mov dword [esp + 0x1c], 0x465c3a43
mov dword [esp + 0x20], 0x4b544c
jmp 0x10037f61
lea ecx, [esp + 0x1c]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10037ee0
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
call fcn.100494ab
mov esi, eax
lea ecx, [esp + 0x20]
mov edx, esi
mov eax, ecx
add esp, 4
sub edx, eax
nop dword [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x10037f10
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10037f25
sub ecx, edx
lea eax, [esp + 0x1c]
sar ecx, 1
push ecx
push esi
push 0x7ff
push eax
call fcn.100356a0
add esp, 0x10
cmp eax, 0x800
jae 0x10037ff6
push esi
mov byte [esp + eax + 0x20], 0
call fcn.10049123
add esp, 4
lea ecx, [esp + 0x1c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10037f68
push ebx
sub ecx, edx
mov eax, 0x800
push ebp
sub eax, ecx
push str.__s__s.prefs
push eax
lea eax, [esp + 0x2c]
add eax, ecx
push eax
call fcn.10004d10
mov cl, byte [esp + 0x30]
lea eax, [esp + 0x30]
add esp, 0x14
test cl, cl
je 0x10037fb0
nop dword [eax + eax]
cmp cl, 0x5c
jne 0x10037fa8
mov byte [eax], 0x2f
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10037fa0
lea eax, [esp + 0x1c]
push eax
call fcn.1004ea70
push ebp
mov dword [edi + 4], eax
call fcn.1004ea70
push ebx
mov dword [edi + 8], eax
call fcn.1004ea70
add esp, 0xc
mov dword [edi + 0xc], eax
mov ecx, edi
call fcn.10038530
mov ecx, dword [esp + 0x81c]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10045740
add esp, 0x810
ret 0x10
call fcn.10046423
int3