Function at 0x410b90
Capabilities:
Persist via run registry key
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42ec89
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x4410cc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x48], 0
cmp edi, 2
jne 0x410c1f
push str.A520A1A4_1780_4FF6_BD18_167343C5AF16
lea ecx, [ebp - 0x78]
call fcn.004012f0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 0
call fcn.004012f0
push 0
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x60]
push eax
push 0x80000001
push esi
call fcn.00411140
add esp, 0x14
lea ecx, [ebp - 0x60]
call fcn.004015b0
lea ecx, [ebp - 0x78]
jmp 0x410e21
xor eax, eax
lea ecx, [ebp - 0x60]
cmp edi, 1
push str.RootPath
setne al
add eax, 0x80000001
mov dword [ebp - 0x2c], eax
call fcn.004012f0
push str.SOFTWAREF_SecureCCFLogging
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 2
call fcn.004012f0
push 0x200
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
push eax
call fcn.00411140
add esp, 0x14
lea ecx, [ebp - 0x78]
call fcn.004015b0
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 6
call fcn.004015b0
cmp dword [ebp - 0x18], 0
jne 0x410de5
mov ecx, str.Common_AppData
cmp edi, 1
mov eax, str.Local_AppData
cmovne eax, ecx
lea ecx, [ebp - 0x90]
push eax
call fcn.004012f0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 7
call fcn.004012f0
push 0
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x2c]
lea eax, [ebp - 0xa8]
push eax
call fcn.00411140
mov edi, eax
add esp, 0x14
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x410d12
mov ecx, eax
call fcn.004015b0
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
lea ecx, [ebp - 0xa8]
call fcn.004015b0
lea ecx, [ebp - 0x44]
call fcn.004015b0
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 6
call fcn.004015b0
cmp dword [ebp - 0x18], 0
jne 0x410de5
cmp dword [ebp + 0xc], 1
mov edi, str._LOCALAPPDATA_
mov eax, str._ProgramData_
cmovne edi, eax
xor eax, eax
mov byte [ebp - 4], 9
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
push eax
movups xmmword [ebp - 0x44], xmm0
push edi
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov dword [ebp - 0x48], 2
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x410dd1
push 0
push eax
lea ecx, [ebp - 0x44]
call fcn.0040bc70
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
push dword [ebp - 0x34]
cmovae eax, dword [ebp - 0x44]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x410dba
cmp eax, dword [ebp - 0x34]
ja 0x410dba
push 0
dec eax
lea ecx, [ebp - 0x44]
push eax
call fcn.0040bc70
jmp 0x410dd1
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
mov dword [ebp - 0x34], 0
cmovae eax, dword [ebp - 0x44]
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x28]
call fcn.00404fe0
lea ecx, [ebp - 0x44]
call fcn.004015b0
xorps xmm0, xmm0
lea ecx, [ebp - 0x28]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
xor eax, eax
movups xmm0, xmmword [ebp - 0x28]
mov dword [esi + 0x14], 0
mov word [ebp - 0x28], ax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
call fcn.004015b0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004170df
mov esp, ebp
pop ebp
ret