Function at 0x1006e8a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10146882
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x10177024]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
push edi
mov eax, dword [0x10177024]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x10]
lea esi, [edi + 0xc]
xor ebx, ebx
cmp eax, ebx
je 0x1006e8fd
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x1006e904
xor eax, eax
jmp 0x1006eb60
push 0x1140
lea ecx, [edi + 0x78]
push ebx
push ecx
call sub.MSVCR80.dll_memset
add esp, 0xc
cmp dword [edi + 8], ebx
mov dword [edi + 0x20], ebx
jne 0x1006e933
call sub.FuncLogic.dll_CreateFuncExecute
mov dword [edi + 8], eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x14]
call eax
jmp 0x1006e933
xor ebx, ebx
lea ecx, [esp + 0x20]
mov dword [edi + 0x13ec], ebx
mov dword [edi + 0x20], ebx
mov dword [edi + 0xa0], ebx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x68], ebx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ecx, [esp + 0x20]
push ecx
mov byte [esp + 0x6c], 1
call fcn.10003040
add esp, 4
push str.Schedule.ini
lea ecx, [esp + 0x24]
call dword [0x1014c4e8]
cmp dword [esp + 0x38], 8
mov eax, dword [esp + 0x24]
jae 0x1006e98a
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x40]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
cmp dword [esp + 0x54], 8
mov eax, dword [esp + 0x40]
jae 0x1006e9a4
lea eax, [esp + 0x40]
push eax
push 0x10158254
push str.EditShceduleTask
push str.ScheduleSettings
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edx, dword [edi]
mov eax, dword [edx + 0x18]
push ebx
mov ecx, edi
call eax
mov ebx, eax
push 0x3e8
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x68], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x20]
mov dword [esp + 0x68], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [esi + 4]
test eax, eax
je 0x1006ea19
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x1006e931
cmp dword [edi + 0x50], 0
jne 0x1006ead9
lea ecx, [esp + 0x20]
mov dword [edi + 0x20], 1
mov dword [edi + 0x13ec], ebx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov ebx, 2
lea ecx, [esp + 0x3c]
mov dword [esp + 0x68], ebx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x6c], 3
call fcn.10003040
add esp, 4
push str.BRFunction.ini
lea ecx, [esp + 0x24]
call dword [0x1014c4e8]
cmp dword [esp + 0x38], 8
mov eax, dword [esp + 0x24]
jae 0x1006ea7d
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x40]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
mov eax, dword [edi + 0x28]
cmp eax, ebx
je 0x1006ea94
cmp eax, 3
jne 0x1006eab9
cmp dword [esp + 0x54], 8
mov eax, dword [esp + 0x40]
jae 0x1006eaa3
lea eax, [esp + 0x40]
push eax
push 0x101584f8
push 0x101582c0
push str.FUNCTION
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x68], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x20]
mov dword [esp + 0x68], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [edi]
mov edx, dword [eax + 0x88]
mov ecx, edi
call edx
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x1006eafa
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov dword [edi + 8], 0
mov ebx, dword [esi + 8]
cmp dword [esi + 4], ebx
jbe 0x1006eb08
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
mov dword [esp + 0x18], eax
jbe 0x1006eb1e
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x18]
push ebx
push esi
push eax
push esi
lea eax, [esp + 0x28]
push eax
mov ebx, esi
call fcn.10079300
mov esi, dword [edi + 0x11c4]
call fcn.10064f20
test eax, eax
mov ebx, dword [sym.imp.KERNEL32.dll_SetEvent]
je 0x1006eb48
mov ecx, dword [esi]
push ecx
call ebx
lea esi, [edi + 0x11c0]
call fcn.10064e90
test eax, eax
je 0x1006eb5c
mov edx, dword [esi]
push edx
call ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.10130e50
mov esp, ebp
pop ebp
ret