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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10140842
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x10170024]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
push edi
mov eax, dword [0x10170024]
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 0x1006e4ad
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 0x1006e4b4
xor eax, eax
jmp 0x1006e710
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 0x1006e4e3
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 0x1006e4e3
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 [0x101464cc]
cmp dword [esp + 0x38], 8
mov eax, dword [esp + 0x24]
jae 0x1006e53a
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 0x1006e554
lea eax, [esp + 0x40]
push eax
push 0x10151f24
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 0x1006e5c9
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 0x1006e4e1
cmp dword [edi + 0x50], 0
jne 0x1006e689
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 [0x101464cc]
cmp dword [esp + 0x38], 8
mov eax, dword [esp + 0x24]
jae 0x1006e62d
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 0x1006e644
cmp eax, 3
jne 0x1006e669
cmp dword [esp + 0x54], 8
mov eax, dword [esp + 0x40]
jae 0x1006e653
lea eax, [esp + 0x40]
push eax
push 0x101521c8
push 0x10151f90
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 0x1006e6aa
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 0x1006e6b8
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 0x1006e6ce
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.1005c700
mov esi, dword [edi + 0x11c4]
call fcn.10064ac0
test eax, eax
mov ebx, dword [sym.imp.KERNEL32.dll_SetEvent]
je 0x1006e6f8
mov ecx, dword [esi]
push ecx
call ebx
lea esi, [edi + 0x11c0]
call fcn.10064a30
test eax, eax
je 0x1006e70c
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.1012d370
mov esp, ebp
pop ebp
ret