Function at 0x40c020
Capabilities:
Get process heap flags
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50e29d
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x5723f8]
xor eax, esp
mov dword [esp + 0x278], eax
push ebx
push esi
push edi
mov eax, dword [0x5723f8]
xor eax, esp
push eax
lea eax, [esp + 0x290]
mov dword fs:[0], eax
mov edi, ecx
push str.btn_close
lea ecx, [edi + 0x30]
call fcn.0048a900
push str.opt_autostart
lea ecx, [edi + 0x30]
mov dword [edi + 0x6d0], eax
call fcn.0048a900
push str.opt_closemode
lea ecx, [edi + 0x30]
mov dword [edi + 0x6d4], eax
call fcn.0048a900
push str.opt_shake
lea ecx, [edi + 0x30]
mov dword [edi + 0x6d8], eax
call fcn.0048a900
push str.lab_ver
lea ecx, [edi + 0x30]
mov dword [edi + 0x6dc], eax
call fcn.0048a900
sub esp, 0x18
mov dword [edi + 0x6e0], eax
mov ecx, esp
mov dword [esp + 0x2c], esp
xor eax, eax
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x535d6c
mov word [ecx], ax
call fcn.00403630
sub esp, 0x18
mov dword [esp + 0x2c8], 0
mov ecx, esp
mov dword [esp + 0x40], esp
xor eax, eax
push 0xc
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push str.AideClockExe
mov word [ecx], ax
call fcn.00403630
sub esp, 0x18
mov byte [esp + 0x2e0], 1
mov ecx, esp
xor eax, eax
push 0x2d
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
mov word [ecx], ax
call fcn.00403630
push 0x20019
mov edx, reloc.WS2_32.dll_accept
mov dword [esp + 0x2e4], 0xffffffff
lea ecx, [esp + 0x80]
call fcn.00407770
add esp, 0x4c
push 0
push 0x535d6c
mov dword [esp + 0x2a0], 2
push dword [eax + 0x10]
push ecx
mov ecx, eax
call fcn.00406310
test eax, eax
mov dword [esp + 0x298], 0xffffffff
sete bl
cmp dword [esp + 0x48], 8
jb 0x40c1ab
push dword [esp + 0x34]
call fcn.0044ef7f
add esp, 4
mov ecx, dword [edi + 0x6d4]
mov eax, dword [ecx]
test bl, bl
je 0x40c1bb
push 0
jmp 0x40c1bd
push 1
call dword [eax + 0x1b4]
mov ecx, dword [edi + 0x6d8]
cmp dword [0x573c30], 0
setne al
mov edx, dword [ecx]
movzx eax, al
push eax
call dword [edx + 0x1b4]
mov ecx, dword [edi + 0x6dc]
cmp dword [0x573c34], 0
setne al
mov edx, dword [ecx]
movzx eax, al
push eax
call dword [edx + 0x1b4]
xor eax, eax
push 0x206
push eax
mov word [esp + 0x84], ax
lea eax, [esp + 0x86]
push eax
call fcn.0045abe0
add esp, 0xc
lea eax, [esp + 0x7c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
cmp word [esp + 0x7c], ax
je 0x40c261
lea eax, [esp + 0x7c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40c252
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x24]
call fcn.00403630
push ecx
lea edx, [esp + 0x20]
mov dword [esp + 0x29c], 3
lea ecx, [esp + 0x38]
call fcn.00408600
add esp, 4
mov byte [esp + 0x298], 4
cmp dword [eax + 0x14], 0x10
jb 0x40c29f
mov eax, dword [eax]
mov edx, eax
lea ecx, [esp + 0x4c]
call fcn.0040d830
cmp dword [esp + 0x48], 0x10
jb 0x40c2bd
push dword [esp + 0x34]
call fcn.0044ef7f
add esp, 4
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], 0
mov byte [esp + 0x34], 0
mov byte [esp + 0x298], 7
cmp dword [esp + 0x30], 8
jb 0x40c2ed
push dword [esp + 0x1c]
call fcn.0044ef7f
add esp, 4
xor eax, eax
mov dword [esp + 0x30], 7
push ecx
lea edx, [esp + 0x50]
mov dword [esp + 0x30], 0
lea ecx, [esp + 0x68]
mov word [esp + 0x20], ax
call fcn.004084a0
add esp, 4
mov edx, eax
mov byte [esp + 0x298], 8
cmp dword [edx + 0x14], 8
jb 0x40c327
mov edx, dword [edx]
mov ecx, dword [edi + 0x6e0]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
cmp dword [esp + 0x78], 8
jb 0x40c346
push dword [esp + 0x64]
call fcn.0044ef7f
add esp, 4
cmp dword [esp + 0x60], 0x10
jb 0x40c359
push dword [esp + 0x4c]
call fcn.0044ef7f
add esp, 4
mov ecx, dword [esp + 0x290]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x278]
xor ecx, esp
call fcn.0044ed21
mov esp, ebp
pop ebp
ret