Function at 0x406790
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x452ce6
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x46b114]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46b114]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
lea eax, [esp + 0x28]
mov esi, ecx
push eax
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov ebx, dword [esi + 0x3c]
mov edi, dword [esp + 0x20]
push 4
xor ebp, ebp
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
je 0x406819
mov eax, ebp
push eax
sub edi, ebx
push 0x2710
sbb ebp, eax
push ebp
push edi
call fcn.0044c620
mov edi, esi
mov dword [esi], eax
mov dword [esp + 0x14], edi
jmp 0x40681f
mov dword [esp + 0x14], ebp
mov edi, ebp
mov esi, dword [esp + 0x18]
cmp byte [esi + 0x48], 0
jne 0x406afe
mov ebp, dword [esp + 0x6c]
mov ecx, str.ShowMiniWnd
mov eax, ebp
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x406858
test dl, dl
je 0x406854
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x406858
add eax, 2
add ecx, 2
test dl, dl
jne 0x406838
xor eax, eax
jmp 0x40685d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4068fd
mov ecx, str.ShowNewTaskDlg
mov eax, ebp
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x406890
test dl, dl
je 0x40688c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x406890
add eax, 2
add ecx, 2
test dl, dl
jne 0x406870
xor eax, eax
jmp 0x406895
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4068fd
mov ecx, str.MultiThunderNewTask
mov eax, ebp
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4068c0
test dl, dl
je 0x4068bc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4068c0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4068a0
xor eax, eax
jmp 0x4068c5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4068fd
mov ecx, str.MagnetNewTask
mov eax, ebp
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4068f0
test dl, dl
je 0x4068ec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4068f0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4068d0
xor eax, eax
jmp 0x4068f5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x406afe
mov bl, 1
push str._value1_:_
lea ecx, [esp + 0x3c]
mov byte [esi + 0x48], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov dword [esp + 0x64], 0
mov ecx, str.MagnetNewTask
mov eax, ebp
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x406940
test dl, dl
je 0x40693c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x406940
add eax, 2
add ecx, 2
test dl, dl
jne 0x406920
xor eax, eax
jmp 0x406945
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x406950
push str.3_MagnetTask
jmp 0x40698c
mov ecx, str.MultiThunderNewTask
mov eax, ebp
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x406977
test dl, dl
je 0x406973
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x406977
add eax, 2
add ecx, 2
test dl, dl
jne 0x406957
xor eax, eax
jmp 0x40697c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x406987
push str.2_MultiTask
jmp 0x40698c
push str.1_SingleTask
lea ecx, [esp + 0x3c]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
push 0x45a7e0
lea ecx, [esp + 0x3c]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
cmp dword [esp + 0x50], 0x10
mov eax, dword [esp + 0x3c]
jae 0x4069b4
lea eax, [esp + 0x3c]
push 0
push eax
push str.sofeng.newtaskstartup
call dword [sym.imp.xlstat.dll_XLSTAT_AddStat]
push 0x3e8
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push str.maxstarttime
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
sub esp, 0x1c
mov byte [esp + 0xa0], bl
mov ecx, esp
mov dword [esp + 0x58], esp
push str.general
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov byte [esp + 0xa0], 2
call fcn.00403df0
push eax
mov byte [esp + 0xa4], 0
call fcn.00403d50
cmp dword [edi], eax
jbe 0x406aec
push 0x20
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
mov dword [esp + 0x1c], edi
mov byte [esp + 0x64], 3
test edi, edi
je 0x406a3d
lea ecx, [edi + 4]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
jmp 0x406a3f
xor edi, edi
mov eax, dword [esp + 0x14]
mov byte [esp + 0x64], 0
mov ecx, dword [eax]
mov dword [edi], ecx
mov ecx, str.MagnetNewTask
mov eax, ebp
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x406a73
test dl, dl
je 0x406a6f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x406a73
add eax, 2
add ecx, 2
test dl, dl
jne 0x406a53
xor eax, eax
jmp 0x406a78
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x406a83
push str.sofeng.magettaskspeed
jmp 0x406ac5
mov ecx, str.MultiThunderNewTask
mov eax, ebp
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x406ab0
test dl, dl
je 0x406aac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x406ab0
add eax, 2
add ecx, 2
test dl, dl
jne 0x406a90
xor eax, eax
jmp 0x406ab5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x406ac0
push str.sofeng.batchnewtaskspeed
jmp 0x406ac5
push str.sofeng.singlenewtaskspeed
lea ecx, [edi + 4]
call dword [0x45434c]
push 0
push 0
push edi
push 0x406b40
push 0
push 0
call dword [sym.imp.MSVCR90.dll__beginthreadex]
mov edi, dword [esp + 0x2c]
add esp, 0x18
mov dword [esi + 0x44], eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x64], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [edi]
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.004390e8
add esp, 0x54
ret 4