Function at 0x431170
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54456e
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x5a49f0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov ecx, ebx
push 0x595dbf
push str.taskPackage
call fcn.0042b370
lea ecx, [ebp - 0x5c]
push ecx
mov ecx, eax
call fcn.0042a780
push 0x595dc2
push 0x595dc0
mov ecx, ebx
mov dword [ebp - 4], 0
call fcn.0042b370
lea ecx, [ebp - 0x44]
push ecx
mov ecx, eax
call fcn.0042a780
mov byte [ebp - 4], 1
call fcn.00432830
cmp dword [ebp - 0x48], 0x10
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x5c]
cmovae eax, dword [ebp - 0x5c]
cmp dword [ebp - 0x30], 0x10
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push 0xa0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0xfc]
push 0
push eax
mov dword [ebp - 0x24], str.package
mov dword [ebp - 0x18], 0
call fcn.0051e180
add esp, 0xc
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xfc]
push 0
push eax
call fcn.0043b330
push 0x54
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 2
push 0
push eax
call fcn.0051e180
mov esi, dword [ebp - 0xdc]
lea ecx, [ebp - 0xf0]
mov edi, dword [ebp - 0xf0]
add esp, 0xc
mov edx, dword [ebp - 0xe0]
cmp esi, 0x10
mov dword [ebp - 0xc0], 0x44
cmovae ecx, edi
push 0
push 0x59526d
call fcn.00425740
add esp, 8
test eax, eax
jne 0x431293
xor ecx, ecx
jmp 0x43129f
cmp esi, 0x10
lea ecx, [ebp - 0xf0]
cmovae ecx, edi
cmp dword [ebp - 0xc4], 0x10
lea edx, [ebp - 0x7c]
push edx
lea edx, [ebp - 0xc0]
push edx
push ecx
push 0
push 0x8000000
push 0
push 0
lea eax, [ebp - 0xd8]
cmovae eax, dword [ebp - 0xd8]
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x431331
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x1b7740
push dword [ebp - 0x7c]
call edi
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x431331
mov esi, 1
push esi
push eax
call edi
cmp eax, 0x102
ja 0x431304
je 0x431309
jmp 0x43130b
cmp eax, 0xffffffff
jne 0x43130b
xor esi, esi
cmp esi, 1
je 0x431331
push 0x6f
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x2710
push dword [ebp - 0x7c]
call edi
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x431331
push 1
push eax
call edi
push 0x595d97
push str.version
mov ecx, ebx
call fcn.0042b370
lea ecx, [ebp - 0x114]
push ecx
mov ecx, eax
call fcn.0042a780
mov esi, eax
mov byte [ebp - 4], 3
cmp dword [esi + 0x14], 0x10
jb 0x43135e
mov esi, dword [esi]
lea ecx, [ebp - 0x2c]
call fcn.00435fc0
push 0x13
push str.._.._taskconfig.ini
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.00425b80
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
push esi
push str.task_version
push str.task
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
test eax, eax
mov eax, dword [ebp - 0x18]
jne 0x4313b6
cmp eax, 0x10
jb 0x4313af
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00426030
mov esi, 9
jmp 0x4313ca
cmp eax, 0x10
jb 0x4313c8
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00426030
xor esi, esi
mov eax, dword [ebp - 0x100]
cmp eax, 0x10
jb 0x4313e8
inc eax
lea ecx, [ebp - 0x114]
push eax
push dword [ebp - 0x114]
call fcn.00426030
neg esi
lea ecx, [ebp - 0xfc]
sbb esi, esi
and esi, 9
call fcn.0043b600
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x43140f
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00426030
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
cmp ecx, 0x10
jb 0x431436
inc ecx
push ecx
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x5c]
call fcn.00426030
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0051b03f
mov esp, ebp
pop ebp
ret 4