Function at 0x41faf6
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov eax, dword [0x44da6c]
and eax, 0x10
test eax, eax
jne 0x41fb8d
push 0
push 0
push 0x41a3aa
call dword [sym.imp.MSVCRT.dll__beginthread]
add esp, 0xc
mov dword [ebp - 8], eax
xor ecx, ecx
cmp dword [ebp - 8], 0xffffffff
sete cl
mov edx, dword [ebp - 0xc]
or edx, ecx
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0
jne 0x41fb58
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [ebp - 4], eax
push 0xfa
mov ecx, dword [0x44df2c]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x41fb8b
push 0
mov edx, dword [0x44df00]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x41fb89
jmp 0x41fdb0
jmp 0x41fb58
jmp 0x41fba3
push str.MailDispatcher
push 0x177
push 0
push 2
call fcn.0041bfab
add esp, 0x10
mov eax, dword [0x44da6c]
and eax, 1
test eax, eax
jne 0x41fbec
push 0
push 0
push 0x410650
call dword [sym.imp.MSVCRT.dll__beginthread]
add esp, 0xc
mov dword [ebp - 8], eax
xor ecx, ecx
cmp dword [ebp - 8], 0xffffffff
sete cl
mov edx, dword [ebp - 0xc]
or edx, ecx
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0
jne 0x41fbea
push 2
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [ebp - 4], eax
jmp 0x41fc02
push str.JobInvocationEngine
push 0x177
push 0
push 2
call fcn.0041bfab
add esp, 0x10
mov ecx, dword [0x44da6c]
and ecx, 2
test ecx, ecx
jne 0x41fc4c
push 0
push 0
push section..text
call dword [sym.imp.MSVCRT.dll__beginthread]
add esp, 0xc
mov dword [ebp - 8], eax
xor edx, edx
cmp dword [ebp - 8], 0xffffffff
sete dl
mov eax, dword [ebp - 0xc]
or eax, edx
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x41fc4a
push 2
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [ebp - 4], eax
jmp 0x41fc62
push str.AlertEngine
push 0x177
push 0
push 2
call fcn.0041bfab
add esp, 0x10
mov edx, dword [0x44da6c]
and edx, 4
test edx, edx
jne 0x41fcac
push 0
push 0
push 0x4283a0
call dword [sym.imp.MSVCRT.dll__beginthread]
add esp, 0xc
mov dword [ebp - 8], eax
xor eax, eax
cmp dword [ebp - 8], 0xffffffff
sete al
mov ecx, dword [ebp - 0xc]
or ecx, eax
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0
jne 0x41fcaa
push 2
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [ebp - 4], eax
jmp 0x41fcc2
push 0x441f24
push 0x177
push 0
push 2
call fcn.0041bfab
add esp, 0x10
mov eax, dword [0x44da6c]
and eax, 8
test eax, eax
jne 0x41fd0b
push 0
push 0
push 0x406b40
call dword [sym.imp.MSVCRT.dll__beginthread]
add esp, 0xc
mov dword [ebp - 8], eax
xor ecx, ecx
cmp dword [ebp - 8], 0xffffffff
sete cl
mov edx, dword [ebp - 0xc]
or edx, ecx
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0
jne 0x41fd09
push 1
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [ebp - 4], eax
jmp 0x41fd21
push str.AutoStartEngine
push 0x177
push 0
push 2
call fcn.0041bfab
add esp, 0x10
mov ecx, dword [0x44da6c]
and ecx, 0x20
test ecx, ecx
jne 0x41fd83
cmp dword [0x44b08c], 0
je 0x41fd40
mov dword [ebp - 0x10], 0x418d42
jmp 0x41fd47
mov dword [ebp - 0x10], 0x418152
push 0
push 0
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.MSVCRT.dll__beginthread]
add esp, 0xc
mov dword [ebp - 8], eax
xor eax, eax
cmp dword [ebp - 8], 0xffffffff
sete al
mov ecx, dword [ebp - 0xc]
or ecx, eax
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0
jne 0x41fd81
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [ebp - 4], eax
jmp 0x41fd94
push 0x18c
push 0
push 2
call fcn.0041bfab
add esp, 0xc
mov eax, dword [0x44da6c]
and eax, 4
test eax, eax
je 0x41fdb0
push 0
push 0
push 0
push 4
call fcn.0042f8a6
add esp, 0x10
xor eax, eax
cmp dword [ebp - 0xc], 0
sete al
mov esp, ebp
pop ebp
ret