Function at 0x41a6d0
Capabilities:
Persist via run registry key

Disassembly:
push 0xffffffffffffffff
push 0x49d1e2
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x4bfdd0]
xor eax, esp
mov dword [esp + 0x418], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bfdd0]
xor eax, esp
push eax
lea eax, [esp + 0x430]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x20], ebx
lea eax, [esp + 0x18]
push eax
push 0x2001f
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
mov dword [esp + 0x448], ebx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x41a9ca
mov ebp, dword [esp + 0x18]
lea edi, [esp + 0x28]
mov dword [esp + 0x24], ebp
call fcn.0040da60
push 0x4a8b78
push eax
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x444], 1
call fcn.00405010
add esp, 0xc
mov byte [esp + 0x438], 3
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41a793
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x4a6221
lea ecx, [esp + 0x1c]
call fcn.004051c0
push 0x3ff
lea ecx, [esp + 0x31]
push ebx
mov byte [esp + 0x440], 4
push ecx
mov byte [esp + 0x38], 0
call fcn.00487460
add esp, 0xc
push str.HTSM_SVR
lea edx, [esp + 0x28]
push edx
lea edi, [esp + 0x1c]
lea esi, [esp + 0x34]
mov dword [esp + 0x1c], 0x400
call fcn.004053c0
test eax, eax
jne 0x41a960
mov eax, esi
push eax
lea ecx, [esp + 0x1c]
push 0x4a6224
push ecx
call fcn.004051a0
add esp, 0xc
push 1
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x20]
call fcn.0040b500
mov eax, dword [eax]
push 0x4a900c
push eax
call fcn.00485357
add esp, 8
test eax, eax
mov eax, dword [esp + 0x14]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a842
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x41a896
lea ecx, [esp + 0x14]
push 0x4a900c
push ecx
lea ecx, [esp + 0x24]
call fcn.0040b040
add esp, 8
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x43c], 5
call fcn.004044b0
mov byte [esp + 0x438], 4
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41a896
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 1
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x20]
call fcn.0040d5c0
mov eax, dword [eax]
push 0x4a900c
push eax
call fcn.00485357
add esp, 8
test eax, eax
mov eax, dword [esp + 0x14]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41a8db
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x41a930
push 0x4a900c
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00405010
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x43c], 6
call fcn.004044b0
mov byte [esp + 0x438], 4
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a930
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x18]
lea ebx, [esp + 0x1c]
call fcn.00404290
mov edi, eax
call fcn.00404f70
mov eax, dword [eax]
push esi
push eax
call fcn.00483f37
add esp, 8
test eax, eax
jne 0x41a95c
mov dword [esp + 0x20], 1
mov ebx, dword [esp + 0x20]
test ebp, ebp
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x41a973
push ebp
call esi
xor ebp, ebp
mov dword [esp + 0x24], ebp
mov byte [esp + 0x438], 3
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a99b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x438], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a9c3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebp, ebp
je 0x41a9ca
push ebp
call esi
mov eax, ebx
mov ecx, dword [esp + 0x430]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x418]
xor ecx, esp
call fcn.00483c76
add esp, 0x428
ret