Function at 0x414560
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42eec8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x43a050]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
xor esi, esi
call dword [sym.imp.ole32.dll_CoInitialize]
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push eax
mov ecx, str.Task_Scheduler
call fcn.004012d0
call fcn.00414d90
cmp eax, ebx
jne 0x4145b5
lea esi, [ebx + 1]
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp esi, ebx
je 0x4147ad
lea ecx, [esp + 0x20]
call fcn.0040ba30
push str.IsWow64Process
mov dword [esp + 0x64], ebx
push str.kernel32
mov dword [esp + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, ebx
je 0x4145ff
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
cmp dword [esp + 0x14], ebx
je 0x41460d
mov dword [esp + 0x24], pe_nt_image_headers32
lea edx, [esp + 0x14]
push edx
mov ecx, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
call fcn.004012d0
mov byte [esp + 0x60], 1
mov eax, dword [esp + 0x14]
push ebx
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x30], SysReAllocString
mov dword [esp + 0x20], esp
mov esi, esp
call fcn.00401710
add eax, 0x10
mov dword [esi], eax
lea eax, [esp + 0x28]
push eax
call fcn.0040bd10
mov esi, eax
mov byte [esp + 0x60], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or edi, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414674
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, ebx
je 0x414750
lea ecx, [esp + 0x3c]
call fcn.0040ba30
push ecx
mov bl, 2
mov ecx, esp
mov byte [esp + 0x64], bl
mov dword [esp + 0x1c], esp
push ecx
mov ecx, 0x432d0c
call fcn.004012d0
push ecx
mov edx, esp
mov dword [esp + 0x24], esp
push edx
mov ecx, str.TCProtect
mov byte [esp + 0x6c], 3
call fcn.004012d0
mov byte [esp + 0x68], bl
lea ebx, [esp + 0x1c]
lea ecx, [esp + 0x28]
call fcn.0040bf10
mov esi, dword [esp + 0x14]
mov ecx, 0x432d0c
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4146f6
test dx, dx
je 0x4146f2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4146f6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4146d0
xor eax, eax
jmp 0x4146fa
sbb eax, eax
sbb eax, edi
test eax, eax
sete al
test al, al
lea eax, [esi - 0x10]
mov byte [esp + 0x60], 2
mov edx, edi
lea ecx, [eax + 0xc]
je 0x41478f
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414723
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x3c]
mov byte [esp + 0x60], 0
call fcn.0040bb20
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414750
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x20]
mov dword [esp + 0x60], edi
call fcn.0040bb20
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x41477a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4147a2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esp + 0x38]
call fcn.0040c210
jmp 0x414750
call fcn.00414c90
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret