Function at 0x22301217
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x22313e49
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x37c
mov dword [ebp - 0x10], 0x1f4
mov eax, dword [ebp + 8]
mov dword [ebp - 0x54], eax
lea ecx, [ebp - 0x50]
call fcn.223096b0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x54], 0
je 0x22301260
mov ecx, dword [ebp - 0x54]
cmp dword [ecx + 0x2c], 0
jne 0x22301284
mov dword [ebp - 0x1dc], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.223098f0
mov eax, dword [ebp - 0x1dc]
jmp 0x22301f24
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x54]
mov byte [edx + 4], 1
mov eax, dword [ebp - 0x54]
xor ecx, ecx
mov cl, byte [eax + 4]
test ecx, ecx
jne 0x223012c2
push 0
lea edx, [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 0x2c]
mov edx, dword [ebp - 0x54]
mov eax, dword [edx + 0x2c]
mov edx, dword [eax]
call dword [edx + 0x24]
and eax, 0xff
test eax, eax
je 0x22301f00
push 0
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 0x64]
call dword [sym.imp.Gtools.dll_public:_void___thiscall_GThread::heartbeat_unsigned_long_int_]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [ebp - 0x14]
jb 0x223012ee
call fcn.22301f60
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0x5265c00
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x54]
add ecx, 0x30
call dword [sym.imp.Gtools.dll_public:_void____thiscall_GEvent::getHandle_void_]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], 0
push 0x2710
push 0
lea ecx, [ebp - 0x5c]
push ecx
push 1
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [ebp - 0x60], eax
push 0
lea edx, [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 0x2c]
mov edx, dword [ebp - 0x54]
mov eax, dword [edx + 0x2c]
mov edx, dword [eax]
call dword [edx + 0x28]
and eax, 0xff
test eax, eax
je 0x22301d30
lea ecx, [ebp - 0x50]
call fcn.22309880
mov dword [ebp - 0x310], eax
mov eax, dword [ebp - 0x310]
sub eax, 2
mov dword [ebp - 0x310], eax
cmp dword [ebp - 0x310], 0x15
ja case.0x22301376.5
mov edx, dword [ebp - 0x310]
xor ecx, ecx
mov cl, byte [edx + 0x22301f4a]
jmp dword [ecx*4 + 0x22301f32]
lea eax, [ebp - 0x1ec]
push eax
lea ecx, [ebp - 0x50]
call fcn.22309960
mov dword [ebp - 0x314], eax
mov ecx, dword [ebp - 0x314]
mov dword [ebp - 0x318], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x318]
push edx
lea ecx, [ebp - 0x90]
call dword [sym.imp.Gtools.dll_public:_void___thiscall_GXMLParser::constructor_class_std::basic_string_char__struct_Gchar_traits_char___class_GAllocator_char___const__]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1ec]
call fcn.22307ac0
lea eax, [ebp - 0x200]
push eax
push 0x2231a130
lea ecx, [ebp - 0x1fc]
call fcn.22307a90
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1fc]
push ecx
lea edx, [ebp - 0xa0]
push edx
lea ecx, [ebp - 0x90]
call dword [sym.imp.Gtools.dll_public:_class_std::basic_string_char__struct_Gchar_traits_char___class_GAllocator_char_____thiscall_GXMLParser::getValue_class_std::basic_string_char__struct_Gchar_traits_char___class_GAllocator_char___const__]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1fc]
call fcn.22307ac0
lea ecx, [ebp - 0xa0]
call fcn.22307c60
push eax
call fcn.2230b2a2
add esp, 4
mov ecx, dword [ebp - 0x54]
add ecx, 0x44
call fcn.22309880
mov dword [ebp - 0xa4], eax
jmp 0x2230143e
mov eax, dword [ebp - 0xa4]
add eax, 4
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0x54]
add ecx, 0x44
call fcn.223098a0
cmp dword [ebp - 0xa4], eax
je 0x2230166c
lea ecx, [ebp - 0xb4]
push ecx
mov edx, dword [ebp - 0xa4]
mov ecx, dword [edx]
call dword [sym.imp.Gtools.dll_public:_class_std::basic_string_char__struct_Gchar_traits_char___class_GAllocator_char_____thiscall_GBinMods::getPath_void_]
mov byte [ebp - 4], 7
mov eax, dword [0x2231573c]
push eax
push 0x5c
lea ecx, [ebp - 0xb4]
call fcn.22307d80
mov dword [ebp - 0xb8], eax
mov ecx, dword [0x2231573c]
push ecx
mov edx, dword [ebp - 0xb8]
add edx, 1
push edx
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0xb4]
call fcn.22307da0
mov dword [ebp - 0x31c], eax
mov ecx, dword [ebp - 0x31c]
mov dword [ebp - 0x320], ecx
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x320]
push edx
lea ecx, [ebp - 0xb4]
call fcn.22307ae0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x210]
call fcn.22307ac0
lea ecx, [ebp - 0xb4]
call fcn.22307c60
push eax
call fcn.2230b2a2
add esp, 4
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0xa0]
push ecx
call fcn.22309070
add esp, 8
and eax, 0xff
test eax, eax
je 0x22301658
lea edx, [ebp - 0xc8]
push edx
mov eax, dword [ebp - 0xa4]
mov ecx, dword [eax]
call dword [sym.imp.Gtools.dll_public:_class_std::basic_string_char__struct_Gchar_traits_char___class_GAllocator_char_____thiscall_GBinMods::getName_void_]
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0xa4]
mov ecx, dword [ecx]
call dword [sym.imp.Gtools.dll_public:_struct_HINSTANCE______thiscall_GDll::getHandle_void_]
test eax, eax
je 0x22301649
mov edx, dword [ebp - 0xa4]
mov ecx, dword [edx]
call dword [sym.imp.Gtools.dll_public:_bool___thiscall_GDll::isRunning_void_]
and eax, 0xff
test eax, eax
je 0x223015d7
lea ecx, [ebp - 0xc8]
call fcn.22307c90
push eax
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x214], esp
lea eax, [ebp - 0x218]
push eax
push str.Stopping__s_n
call fcn.22307a90
mov dword [ebp - 0x324], eax
mov ecx, dword [ebp - 0x324]
mov dword [ebp - 0x328], ecx
mov byte [ebp - 4], 0xa
push 0x216
push 0x2231a138
call dword [sym.imp.Gtools.dll_public:_static_class_GLog____cdecl_GLog::getLog_void_]
mov ecx, eax
call dword [sym.imp.Gtools.dll_public:_class_GLog____thiscall_GLog::fileInfo_char___int_]
push eax
mov byte [ebp - 4], 9
call dword [sym.imp.Gtools.dll_public:_void___cdecl_GLog::logInfo_class_std::basic_string_char__struct_Gchar_traits_char___class_GAllocator_char___]
add esp, 0x18
mov edx, dword [ebp - 0xa4]
mov ecx, dword [edx]
mov eax, dword [ebp - 0xa4]
mov edx, dword [eax]
mov eax, dword [edx]
call dword [eax + 8]
lea ecx, [ebp - 0xc8]
call fcn.22307c90
push eax
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x21c], esp
lea edx, [ebp - 0x220]
push edx
push str.Unloading__s_n
call fcn.22307a90
mov dword [ebp - 0x32c], eax
mov eax, dword [ebp - 0x32c]
mov dword [ebp - 0x330], eax
mov byte [ebp - 4], 0xb
push 0x219
push 0x2231a178
call dword [sym.imp.Gtools.dll_public:_static_class_GLog____cdecl_GLog::getLog_void_]
mov ecx, eax
call dword [sym.imp.Gtools.dll_public:_class_GLog____thiscall_GLog::fileInfo_char___int_]
push eax
mov byte [ebp - 4], 9
call dword [sym.imp.Gtools.dll_public:_void___cdecl_GLog::logInfo_class_std::basic_string_char__struct_Gchar_traits_char___class_GAllocator_char___]
add esp, 0x18
mov ecx, dword [ebp - 0xa4]
mov ecx, dword [ecx]
call dword [sym.imp.Gtools.dll_public:_void___thiscall_GDll::unload_void_]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xc8]
call fcn.22307ac0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xb4]
call fcn.22307ac0
jmp 0x2230142f
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa0]
call fcn.22307ac0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x90]
call dword [sym.imp.Gtools.dll_public_virtual:_void___thiscall_GXMLParser::destructor_void_]
jmp case.0x22301376.5
lea edx, [ebp - 0x230]
push edx
lea ecx, [ebp - 0x50]
call fcn.22309960
mov dword [ebp - 0x334], eax
mov eax, dword [ebp - 0x334]
mov dword [ebp - 0x338], eax
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x338]
push ecx
lea ecx, [ebp - 0xf4]
call dword [sym.imp.Gtools.dll_public:_void___thiscall_GXMLParser::constructor_class_std::basic_string_char__struct_Gchar_traits_char___class_GAllocator_char___const__]
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x230]
call fcn.22307ac0
lea edx, [ebp - 0x244]
push edx
push str.DLLNAME
lea ecx, [ebp - 0x240]
call fcn.22307a90
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x104]
push ecx
lea ecx, [ebp - 0xf4]
call dword [sym.imp.Gtools.dll_public:_class_std::basic_string_char__struct_Gchar_traits_char___class_GAllocator_char_____thiscall_GXMLParser::getValue_class_std::basic_string_char__struct_Gchar_traits_char___class_GAllocator_char___const__]
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x240]
call fcn.22307ac0
lea ecx, [ebp - 0x104]
call fcn.22307c60
push eax
call fcn.2230b2a2
add esp, 4
mov ecx, dword [ebp - 0x54]
add ecx, 0x44
call fcn.22309880
mov dword [ebp - 0x108], eax
jmp 0x22301751
mov edx, dword [ebp - 0x108]
add edx, 4
mov dword [ebp - 0x108], edx
mov ecx, dword [ebp - 0x54]
add ecx, 0x44
call fcn.223098a0
cmp dword [ebp - 0x108], eax
je 0x2230197b
lea eax, [ebp - 0x118]
push eax
mov ecx, dword [ebp - 0x108]
mov ecx, dword [ecx]
call dword [sym.imp.Gtools.dll_public:_class_std::basic_string_char__struct_Gchar_traits_char___class_GAllocator_char_____thiscall_GBinMods::getPath_void_]
mov byte [ebp - 4], 0x12
mov edx, dword [0x2231573c]
push edx
push 0x5c
lea ecx, [ebp - 0x118]
call fcn.22307d80
mov dword [ebp - 0x11c], eax
mov eax, dword [0x2231573c]
push eax
mov ecx, dword [ebp - 0x11c]
add ecx, 1
push ecx
lea edx, [ebp - 0x254]
push edx
lea ecx, [ebp - 0x118]
call fcn.22307da0
mov dword [ebp - 0x33c], eax
mov eax, dword [ebp - 0x33c]
mov dword [ebp - 0x340], eax
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x340]
push ecx
lea ecx, [ebp - 0x118]
call fcn.22307ae0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x254]
call fcn.22307ac0
lea ecx, [ebp - 0x118]
call fcn.22307c60
push eax
call fcn.2230b2a2
add esp, 4
lea edx, [ebp - 0x118]
push edx
lea eax, [ebp - 0x104]
push eax
call fcn.22309070
add esp, 8
and eax, 0xff
test eax, eax
je 0x22301967
lea ecx, [ebp - 0x12c]
push ecx
mov edx, dword [ebp - 0x108]
mov ecx, dword [edx]
call dword [sym.imp.Gtools.dll_public:_class_std::basic_string_char__struct_Gchar_traits_char___class_GAllocator_char_____thiscall_GBinMods::getName_void_]
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x108]
mov ecx, dword [eax]
call dword [sym.imp.Gtools.dll_public:_struct_HINSTANCE______thiscall_GDll::getHandle_void_]
test eax, eax
jne 0x223018c8
lea ecx, [ebp - 0x12c]
call fcn.22307c60
push eax
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x258], esp
lea edx, [ebp - 0x25c]
push edx
push str.Loading__s_n
call fcn.22307a90
mov dword [ebp - 0x344], eax
mov eax, dword [ebp - 0x344]
mov dword [ebp - 0x348], eax
mov byte [ebp - 4], 0x15
push 0x237
push 0x2231a1c0
call dword [sym.imp.Gtools.dll_public:_static_class_GLog____cdecl_GLog::getLog_void_]
mov ecx, eax
call dword [sym.imp.Gtools.dll_public:_class_GLog____thiscall_GLog::fileInfo_char___int_]
push eax
mov byte [ebp - 4], 0x14
call dword [sym.imp.Gtools.dll_public:_void___cdecl_GLog::logInfo_class_std::basic_string_char__struct_Gchar_traits_char___class_GAllocator_char___]
add esp, 0x18
mov ecx, dword [ebp - 0x108]
mov ecx, dword [ecx]
call dword [sym.imp.Gtools.dll_public:_bool___thiscall_GDll::load_void_]
mov edx, dword [ebp - 0x108]
mov ecx, dword [edx]
call dword [sym.imp.Gtools.dll_public:_bool___thiscall_GDll::isRunning_void_]
and eax, 0xff
test eax, eax
jne 0x22301958
lea ecx, [ebp - 0x12c]
call fcn.22307c60
push eax
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x260], esp
lea eax, [ebp - 0x264]
push eax
push str.Starting__s_n
call fcn.22307a90
mov dword [ebp - 0x34c], eax
mov ecx, dword [ebp - 0x34c]
mov dword [ebp - 0x350], ecx
mov byte [ebp - 4], 0x16
push 0x23c
push 0x2231a1fc
call dword [sym.imp.Gtools.dll_public:_static_class_GLog____cdecl_GLog::getLog_void_]
mov ecx, eax
call dword [sym.imp.Gtools.dll_public:_class_GLog____thiscall_GLog::fileInfo_char___int_]
push eax
mov byte [ebp - 4], 0x14
call dword [sym.imp.Gtools.dll_public:_void___cdecl_GLog::logInfo_class_std::basic_string_char__struct_Gchar_traits_char___class_GAllocator_char___]
add esp, 0x18
mov edx, dword [ebp - 0x108]
mov ecx, dword [edx]
mov eax, dword [ebp - 0x108]
mov edx, dword [eax]
mov eax, dword [edx]
call dword [eax + 4]
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x12c]
call fcn.22307ac0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x118]
call fcn.22307ac0
jmp 0x22301742
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x104]
call fcn.22307ac0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xf4]
call dword [sym.imp.Gtools.dll_public_virtual:_void___thiscall_GXMLParser::destructor_void_]
jmp case.0x22301376.5
lea ecx, [ebp - 0x274]
push ecx
lea ecx, [ebp - 0x50]
call fcn.22309960
mov dword [ebp - 0x354], eax
mov edx, dword [ebp - 0x354]
mov dword [ebp - 0x358], edx
mov byte [ebp - 4], 0x17
mov eax, dword [ebp - 0x358]
push eax
lea ecx, [ebp - 0x168]
call dword [sym.imp.Gtools.dll_public:_void___thiscall_GXMLParser::constructor_class_std::basic_string_char__struct_Gchar_traits_char___class_GAllocator_char___const__]
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x274]
call fcn.22307ac0
lea ecx, [ebp - 0x288]
push ecx
push str.PATH
lea ecx, [ebp - 0x284]
call fcn.22307a90
mov byte [ebp - 4], 0x1a
lea edx, [ebp - 0x284]
push edx
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x168]
call dword [sym.imp.Gtools.dll_public:_class_std::basic_string_char__struct_Gchar_traits_char___class_GAllocator_char_____thiscall_GXMLParser::getValue_class_std::basic_string_char__struct_Gchar_traits_char___class_GAllocator_char___const__]
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x284]
call fcn.22307ac0
lea ecx, [ebp - 0x29c]
push ecx
push str.NAME
lea ecx, [ebp - 0x298]
call fcn.22307a90
mov byte [ebp - 4], 0x1d
lea edx, [ebp - 0x298]
push edx
lea eax, [ebp - 0x178]
push eax
lea ecx, [ebp - 0x168]
call dword [sym.imp.Gtools.dll_public:_class_std::basic_string_char__struct_Gchar_traits_char___class_GAllocator_char_____thiscall_GXMLParser::getValue_class_std::basic_string_char__struct_Gchar_traits_char___class_GAllocator_char___const__]
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x298]
call fcn.22307ac0
push str.core
lea ecx, [ebp - 0x13c]
push ecx
call fcn.22309050
add esp, 8
and eax, 0xff
test eax, eax
je 0x22301b70
lea ecx, [ebp - 0x178]
call fcn.22307c90
push eax
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x2a0], esp
lea edx, [ebp - 0x2a4]
push edx
push str.CME2__Received_new_core_s._n
call fcn.22307a90
mov dword [ebp - 0x35c], eax
mov eax, dword [ebp - 0x35c]
mov dword [ebp - 0x360], eax
mov byte [ebp - 4], 0x20
push 0x24e
push 0x2231a24c
call dword [sym.imp.Gtools.dll_public:_static_class_GLog____cdecl_GLog::getLog_void_]
mov ecx, eax
call dword [sym.imp.Gtools.dll_public:_class_GLog____thiscall_GLog::fileInfo_char___int_]
push eax
mov byte [ebp - 4], 0x1f
call dword [sym.imp.Gtools.dll_public:_void___cdecl_GLog::logInfo_class_std::basic_string_char__struct_Gchar_traits_char___class_GAllocator_char___]
add esp, 0x18
push 0x22315384
lea ecx, [ebp - 0x178]
push ecx
call fcn.22309050
add esp, 8
and eax, 0xff
test eax, eax
jne 0x22301b2d
push str.svclist
lea edx, [ebp - 0x178]
push edx
call fcn.22309050
add esp, 8
and eax, 0xff
test eax, eax
je 0x22301b37
mov ecx, dword [ebp - 0x54]
call sym.GController.dll_protected:_bool___thiscall_GController::checkObjectUpdates_void_
jmp 0x22301b70
push str.syscfg
lea eax, [ebp - 0x178]
push eax
call fcn.22309050
add esp, 8
and eax, 0xff
test eax, eax
je 0x22301b70
push 0
lea ecx, [ebp - 0x2b8]
push ecx
mov ecx, dword [ebp - 0x54]
call sym.GController.dll_protected:_class_GError___thiscall_GController::startModules_bool_
lea ecx, [ebp - 0x2b8]
call fcn.22307700
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x178]
call fcn.22307ac0
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x13c]
call fcn.22307ac0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x168]
call dword [sym.imp.Gtools.dll_public_virtual:_void___thiscall_GXMLParser::destructor_void_]
jmp case.0x22301376.5
lea ecx, [ebp - 0x50]
call fcn.22309620
push eax
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x2bc], esp
lea edx, [ebp - 0x2c0]
push edx
push str.CME2___d_requested_shutdown._n
call fcn.22307a90
mov dword [ebp - 0x364], eax
mov eax, dword [ebp - 0x364]
mov dword [ebp - 0x368], eax
mov byte [ebp - 4], 0x21
push 0x283
push 0x2231a29c
call dword [sym.imp.Gtools.dll_public:_static_class_GLog____cdecl_GLog::getLog_void_]
mov ecx, eax
call dword [sym.imp.Gtools.dll_public:_class_GLog____thiscall_GLog::fileInfo_char___int_]
push eax
mov byte [ebp - 4], 0
call dword [sym.imp.Gtools.dll_public:_void___cdecl_GLog::logInfo_class_std::basic_string_char__struct_Gchar_traits_char___class_GAllocator_char___]
add esp, 0x18
lea ecx, [ebp - 0x50]
call fcn.223099a0
push 0xe
lea ecx, [ebp - 0x50]
call fcn.22309690
push 0x2231a2ec
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x2c4], esp
lea edx, [ebp - 0x2c8]
push edx
push str._SHUTDOWN__REASON__s__REASON___SHUTDOWN_
call fcn.22307a90
mov dword [ebp - 0x36c], eax
lea eax, [ebp - 0x2d8]
push eax
call dword [sym.imp.Gtools.dll_class_std::basic_string_char__struct_Gchar_traits_char___class_GAllocator_char_____cdecl_buildString_class_std::basic_string_char__struct_Gchar_traits_char___class_GAllocator_char___]
add esp, 0x18
mov dword [ebp - 0x370], eax
mov ecx, dword [ebp - 0x370]
mov dword [ebp - 0x374], ecx
mov byte [ebp - 4], 0x22
mov edx, dword [ebp - 0x374]
push edx
lea ecx, [ebp - 0x50]
call fcn.223099e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2d8]
call fcn.22307ac0
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x54]
mov ecx, dword [ecx + 0x2c]
mov edx, dword [ebp - 0x54]
mov eax, dword [edx + 0x2c]
mov edx, dword [eax]
call dword [edx + 0x14]
mov eax, dword [ebp - 0x54]
mov byte [eax + 5], 1
mov ecx, dword [ebp - 0x54]
mov byte [ecx + 4], 0
push 0
push 0
push 0x12
mov edx, dword [ebp - 0x54]
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageA]
jmp case.0x22301376.5
mov ecx, dword [ebp - 0x54]
cmp dword [ecx + 0x100], 0
je case.0x22301376.5
mov edx, dword [ebp - 0x54]
mov ecx, dword [edx + 0x100]
call dword [sym.imp.Gtools.dll_public:_void___thiscall_GTrayIcon::refresh_void_]
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x2dc], esp
lea eax, [ebp - 0x2e0]
push eax
push str.CME2:_Freeing_up_memory.
call fcn.22307a90
mov dword [ebp - 0x378], eax
mov ecx, dword [ebp - 0x378]
mov dword [ebp - 0x37c], ecx
mov byte [ebp - 4], 0x23
push 0x29a
push 0x2231a2f4
call dword [sym.imp.Gtools.dll_public:_static_class_GLog____cdecl_GLog::getLog_void_]
mov ecx, eax
call dword [sym.imp.Gtools.dll_public:_class_GLog____thiscall_GLog::fileInfo_char___int_]
push eax
mov byte [ebp - 4], 0
call dword [sym.imp.Gtools.dll_public:_void___cdecl_GLog::logInfo_class_std::basic_string_char__struct_Gchar_traits_char___class_GAllocator_char___]
add esp, 0x14
jmp 0x2230131a
mov edx, dword [ebp - 0x54]
xor eax, eax
mov al, byte [edx + 0x118]
test eax, eax
jne 0x22301ea6
push 0
mov ecx, dword [ebp - 0x54]
add ecx, 0x104
call dword [sym.imp.Gtools.dll_public:_bool___thiscall_GEvent::wait_long_int_]
and eax, 0xff
test eax, eax
je 0x22301ea6
lea ecx, [ebp - 0x1d8]
call dword [sym.imp.Gtools.dll_public:_void___thiscall_CGRegistry::constructor_void_]
mov byte [ebp - 4], 0x24
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x2e4], esp
lea edx, [ebp - 0x2e8]
push edx
push str.softwaregator.comcmeII
call fcn.22307a90
mov dword [ebp - 0x380], eax
lea ecx, [ebp - 0x1d8]
call dword [sym.imp.Gtools.dll_public:_bool___thiscall_CGRegistry::open_class_std::basic_string_char__struct_Gchar_traits_char___class_GAllocator_char___]
lea eax, [ebp - 0x300]
push eax
push str.PendingApps
lea ecx, [ebp - 0x2fc]
call fcn.22307a90
mov byte [ebp - 4], 0x25
push 0
lea ecx, [ebp - 0x2fc]
push ecx
lea ecx, [ebp - 0x1d8]
call dword [sym.imp.Gtools.dll_public:_unsigned_long_int___thiscall_CGRegistry::getDWORDValue_class_std::basic_string_char__struct_Gchar_traits_char___class_GAllocator_char___const___unsigned_long_int_]
neg eax
sbb eax, eax
inc eax
mov byte [ebp - 0x2ec], al
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x2fc]
call fcn.22307ac0
mov edx, dword [ebp - 0x2ec]
and edx, 0xff
test edx, edx
je 0x22301e8a
call dword [sym.imp.Gtools.dll_public:_static_bool___cdecl_CGRegistry::isRestrictedUser_void_]
and eax, 0xff
test eax, eax
jne 0x22301e8a
mov eax, dword [ebp - 0x54]
mov byte [eax + 4], 0
push 0
push 0
push 0x465
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_PostThreadMessageA]
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x304], esp
lea eax, [ebp - 0x308]
push eax
push str.CME2__No_more_apps._Uninstalling..._n
call fcn.22307a90
mov dword [ebp - 0x384], eax
mov ecx, dword [ebp - 0x384]
mov dword [ebp - 0x388], ecx
mov byte [ebp - 4], 0x26
push 0x2b4
push 0x2231a340
call dword [sym.imp.Gtools.dll_public:_static_class_GLog____cdecl_GLog::getLog_void_]
mov ecx, eax
call dword [sym.imp.Gtools.dll_public:_class_GLog____thiscall_GLog::fileInfo_char___int_]
push eax
mov byte [ebp - 4], 0x24
call dword [sym.imp.Gtools.dll_public:_void___cdecl_GLog::logWarning_class_std::basic_string_char__struct_Gchar_traits_char___class_GAllocator_char___]
add esp, 0x14
mov edx, dword [ebp - 0x54]
mov byte [edx + 0x118], 1
lea ecx, [ebp - 0x1d8]
call dword [sym.imp.Gtools.dll_public:_bool___thiscall_CGRegistry::close_void_]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1d8]
call dword [sym.imp.Gtools.dll_public_virtual:_void___thiscall_CGRegistry::destructor_void_]
mov byte [ebp - 0x64], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x54]
cmp dword [ecx + 0x11c], eax
sbb edx, edx
neg edx
mov byte [ebp - 0x64], dl
mov eax, dword [ebp - 0x64]
and eax, 0xff
test eax, eax
jne 0x22301ee7
push 0
call fcn.2230b1c6
add esp, 4
mov ecx, dword [ebp - 0x54]
xor edx, edx
cmp eax, dword [ecx + 0x120]
setg dl
mov byte [ebp - 0x64], dl
mov eax, dword [ebp - 0x64]
and eax, 0xff
test eax, eax
je 0x22301efb
mov ecx, dword [ebp - 0x54]
call sym.GController.dll_protected:_bool___thiscall_GController::checkObjectUpdates_void_
jmp 0x22301292
call fcn.22301f60
mov dword [ebp - 0x30c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.223098f0
mov eax, dword [ebp - 0x30c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret