Function at 0x41f168
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 [0x44b4c8]
and eax, 0x10
test eax, eax
jne 0x41f1ff
push 0
push 0
push 0x419fed
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 0x41f1ca
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 [0x44b96c]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x41f1fd
push 0
mov edx, dword [0x44b940]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x41f1fb
jmp 0x41f422
jmp 0x41f1ca
jmp 0x41f215
push str.MailDispatcher
push 0x177
push 0
push 2
call fcn.0041b8d1
add esp, 0x10
mov eax, dword [0x44b4c8]
and eax, 1
test eax, eax
jne 0x41f25e
push 0
push 0
push 0x4103f0
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 0x41f25c
push 2
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [ebp - 4], eax
jmp 0x41f274
push str.JobInvocationEngine
push 0x177
push 0
push 2
call fcn.0041b8d1
add esp, 0x10
mov ecx, dword [0x44b4c8]
and ecx, 2
test ecx, ecx
jne 0x41f2be
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 0x41f2bc
push 2
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [ebp - 4], eax
jmp 0x41f2d4
push str.AlertEngine
push 0x177
push 0
push 2
call fcn.0041b8d1
add esp, 0x10
mov edx, dword [0x44b4c8]
and edx, 4
test edx, edx
jne 0x41f31e
push 0
push 0
push 0x428390
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 0x41f31c
push 2
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [ebp - 4], eax
jmp 0x41f334
push 0x43f0ac
push 0x177
push 0
push 2
call fcn.0041b8d1
add esp, 0x10
mov eax, dword [0x44b4c8]
and eax, 8
test eax, eax
jne 0x41f37d
push 0
push 0
push 0x406ac0
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 0x41f37b
push 1
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [ebp - 4], eax
jmp 0x41f393
push str.AutoStartEngine
push 0x177
push 0
push 2
call fcn.0041b8d1
add esp, 0x10
mov ecx, dword [0x44b4c8]
and ecx, 0x20
test ecx, ecx
jne 0x41f3f5
cmp dword [0x448b1c], 0
je 0x41f3b2
mov dword [ebp - 0x10], 0x4188f4
jmp 0x41f3b9
mov dword [ebp - 0x10], 0x417d08
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 0x41f3f3
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [ebp - 4], eax
jmp 0x41f406
push 0x18c
push 0
push 2
call fcn.0041b8d1
add esp, 0xc
mov eax, dword [0x44b4c8]
and eax, 4
test eax, eax
je 0x41f422
push 0
push 0
push 0
push 4
call fcn.0042f186
add esp, 0x10
xor eax, eax
cmp dword [ebp - 0xc], 0
sete al
mov esp, ebp
pop ebp
ret