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

Disassembly:
push 0xffffffffffffffff
push 0x452260
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x4668f0]
xor eax, esp
mov dword [esp + 0x64], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4668f0]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x84], edi
mov ebx, 1
mov dword [esp + 0x18], reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 0x3e8
mov dword [esp + 0x1c], ebx
mov ebp, str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesExplorerRun
call fcn.00407c80
test al, al
jne 0x41f63f
mov ebp, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
mov dword [esp + 0x18], VariantInit
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push edi
lea eax, [esp + 0x18]
push eax
push edi
push 0x20006
push edi
push edi
push edi
push ebp
push ecx
call esi
cmp eax, edi
je 0x41f68c
push edi
lea edx, [esp + 0x18]
push edx
push edi
push 0x20006
push edi
push edi
push edi
mov ebp, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push ebp
push connect
mov dword [esp + 0x3c], VariantInit
call esi
cmp eax, edi
jne 0x41f894
xor eax, eax
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], edi
mov word [esp + 0x60], ax
lea ecx, [esp + 0x8c]
push ecx
push 0x45c53c
lea edi, [esp + 0x48]
mov byte [esp + 0x8c], bl
call fcn.0042f860
push eax
mov ebx, str.___minimized
lea esi, [esp + 0x30]
mov byte [esp + 0x90], 2
call fcn.0042f490
add esp, 0xc
push 0xffffffffffffffff
xor ebx, ebx
push ebx
lea ecx, [esp + 0x64]
mov byte [esp + 0x8c], 3
call fcn.0042c6a0
mov esi, 8
cmp dword [esp + 0x3c], esi
jb 0x41f704
mov edx, dword [esp + 0x28]
push edx
call fcn.00434321
add esp, 4
xor eax, eax
mov byte [esp + 0x84], 1
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], ax
cmp dword [esp + 0x58], esi
jb 0x41f732
mov ecx, dword [esp + 0x44]
push ecx
call fcn.00434321
add esp, 4
mov edi, dword [esp + 0x60]
cmp dword [esp + 0x74], esi
jae 0x41f740
lea edi, [esp + 0x60]
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41f745
sub eax, edx
sar eax, 1
lea edx, [eax + eax]
mov eax, dword [esp + 0x14]
push edx
push edi
push 1
push ebx
push 0x45c8f4
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x41f85b
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
jne 0x41f85b
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
push 1
push ebx
push ebp
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x41f844
mov eax, dword [esp + 0x70]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00432f0b
mov edx, dword [esp + 0x18]
add esp, 4
mov esi, eax
lea eax, [esp + 0x20]
push eax
push esi
lea ecx, [esp + 0x24]
push ecx
push ebx
push 0x45c8f4
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x41f844
mov eax, esi
lea ecx, [esp + 0x24]
call fcn.0042bc20
mov esi, eax
mov eax, edi
lea ecx, [esp + 0x40]
mov byte [esp + 0x84], 4
call fcn.0042bc20
mov ecx, eax
mov eax, esi
mov byte [esp + 0x84], 5
call fcn.0042f9d0
lea ecx, [esp + 0x40]
mov bl, al
call fcn.0042bc90
lea ecx, [esp + 0x24]
call fcn.0042bc90
lea ecx, [esp + 0x5c]
call fcn.0042bc90
lea ecx, [esp + 0x8c]
call fcn.0042bc90
test bl, bl
jne 0x41f8ae
xor eax, eax
jmp 0x41f8b3
lea ecx, [esp + 0x5c]
call fcn.0042bc90
lea ecx, [esp + 0x8c]
call fcn.0042bc90
jmp 0x41f8ae
cmp dword [esp + 0x74], esi
jb 0x41f86e
mov eax, dword [esp + 0x60]
push eax
call fcn.00434321
add esp, 4
xor ecx, ecx
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], ebx
mov word [esp + 0x60], cx
cmp dword [esp + 0xa4], esi
jb 0x41f8ae
mov edx, dword [esp + 0x90]
push edx
jmp 0x41f8a6
cmp dword [esp + 0xa4], 8
jb 0x41f8ae
mov eax, dword [esp + 0x90]
push eax
call fcn.00434321
add esp, 4
mov eax, 2
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.0043432c
add esp, 0x74
ret 0x1c