Function at 0x4032f0
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x572f28
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x5f4900]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x220], ecx
push 1
push str.Adding_dim_job_to_startup
call fcn.00419830
add esp, 8
mov dword [ebp - 0x22c], VariantClear
mov dword [ebp - 0x228], 0
lea eax, [ebp - 0x228]
push eax
push 0x588b68
mov ecx, dword [ebp - 0x22c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov dword [ebp - 0x230], eax
xor edx, edx
mov word [ebp - 0x218], dx
push 0x206
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.00550230
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x58867c
lea ecx, [ebp - 0x21c]
call fcn.00403a10
mov dword [ebp - 4], 0
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x21c]
call fcn.00403f40
push 0x588680
lea ecx, [ebp - 0x21c]
call fcn.00403f40
push 0x588684
lea ecx, [ebp - 0x21c]
call fcn.00403f40
mov ecx, dword [ebp - 0x220]
add ecx, 0x16c
call fcn.00407a10
push eax
lea ecx, [ebp - 0x21c]
call fcn.00403f40
push 0x58868c
lea ecx, [ebp - 0x21c]
call fcn.00403f40
push 0x588690
lea ecx, [ebp - 0x21c]
call fcn.00403f40
push str.__uibase_
lea ecx, [ebp - 0x21c]
call fcn.00403f40
mov ecx, dword [ebp - 0x220]
add ecx, 0x16c
call fcn.00407a50
push eax
lea ecx, [ebp - 0x21c]
call fcn.00403f40
push 0x5886c0
lea ecx, [ebp - 0x21c]
call fcn.00403f40
lea eax, [ebp - 0x24c]
push eax
mov ecx, dword [ebp - 0x220]
add ecx, 0xd0
call fcn.0041ce00
mov dword [ebp - 0x238], eax
mov ecx, dword [ebp - 0x238]
mov dword [ebp - 0x250], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x250]
push edx
mov ecx, dword [ebp - 0x220]
add ecx, 0xd0
call fcn.0041ce70
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.00403e70
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24c]
call fcn.00403b70
lea ecx, [ebp - 0x224]
push ecx
push 0x5886c4
lea edx, [ebp - 0x240]
push edx
call fcn.00403e70
add esp, 0xc
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x244]
mov dword [ebp - 0x23c], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x23c]
push ecx
lea ecx, [ebp - 0x224]
call fcn.00403d70
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x240]
call fcn.00403b70
cmp dword [ebp - 0x230], 0
jne 0x403591
lea ecx, [ebp - 0x21c]
call fcn.00404bc0
lea edx, [eax + eax + 2]
mov dword [ebp - 0x234], edx
mov eax, dword [ebp - 0x234]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00404b50
mov dword [ebp - 0x248], eax
mov ecx, dword [ebp - 0x234]
push ecx
mov edx, dword [ebp - 0x248]
push edx
push 1
push 0
lea ecx, [ebp - 0x224]
call fcn.00403e60
push eax
mov eax, dword [ebp - 0x228]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x230], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x21c]
call fcn.00405020
mov ecx, dword [ebp - 0x228]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x22c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x224]
call fcn.00403b70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.00403b70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005502f8
mov esp, ebp
pop ebp
ret