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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x58d5ce
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x603320]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
mov eax, dword [0x603320]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [sym.imp.dnutility.dll_public:_void___thiscall_utility::Timer::killTimer_void_]
lea ecx, [edi + 0x188]
call ebx
lea ecx, [edi + 0x18c]
call ebx
mov esi, dword [sym.imp.dnutility.dll_public:_void___thiscall_utility::CHttpDownloader::stop_void_]
mov ecx, 0x61f360
call esi
mov ecx, dword [0x61f3cc]
test ecx, ecx
je 0x4d844d
push 1
call fcn.00537e40
mov dword [0x61f3cc], 0
mov al, byte [0x61f3dd]
mov ecx, 0x61ed98
mov byte [esp + 0x16], al
call esi
mov ecx, 0x61ee00
call esi
mov ecx, 0x61ee68
call esi
mov ecx, 0x61e980
call esi
mov ecx, 0x61ec2c
call esi
mov ebx, dword [sym.imp.dnutility.dll_public:_void___thiscall_utility::Task::stop_void_]
mov ecx, 0x61ec94
call ebx
mov eax, dword [0x61ed94]
test eax, eax
je 0x4d84a0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x61ed94], 0
mov ecx, dword [0x61e608]
mov byte [0x61e588], 1
test ecx, ecx
je 0x4d84c3
mov edx, dword [ecx]
cmp ecx, 0x61e5f8
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
xor eax, eax
mov dword [0x61e608], 0
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], 0
mov word [esp + 0x40], ax
push 0xffffffffffffffff
push eax
push 0x61e68c
lea ecx, [esp + 0x4c]
mov dword [esp + 0xa4], eax
call fcn.0040d950
mov ecx, 0x61e620
call esi
mov ecx, 0x61e688
call ebx
mov al, byte [0x61e689]
mov byte [esp + 0x17], al
mov eax, dword [edi + 0x194]
test eax, eax
je 0x4d85f6
mov al, byte [eax + 0x712]
test al, al
jne 0x4d85f6
mov eax, dword [edi + 4]
lea ecx, [edi + 4]
mov eax, dword [eax + 0x20]
call eax
test al, al
je 0x4d858f
mov ecx, dword [edi + 0x194]
call fcn.0052dd20
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4d858f
mov eax, dword [edi + 0x194]
mov ecx, dword [eax + 0x530]
test ecx, ecx
je 0x4d856c
mov eax, dword [ecx]
call dword [eax]
mov esi, eax
jmp 0x4d856e
xor esi, esi
mov ecx, dword [edi + 0x194]
call fcn.004eb680
mov ecx, dword [edi + 0x194]
movzx eax, al
push eax
push esi
call fcn.0052dd20
push eax
call fcn.004a8650
mov ecx, dword [edi + 0x194]
call fcn.004ee050
mov ecx, dword [edi + 0x194]
push 0
push 0
call fcn.005385d0
mov ecx, dword [0x61e5c0]
mov eax, 0x51
mov esi, dword [edi + 0x194]
mov word [esp + 0x1c], ax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x20]
push eax
push str.hotkeySettings.bossKey
lea eax, [esp + 0x20]
mov dword [esp + 0x28], 2
push eax
call fcn.00429660
push 0x4d0
mov ecx, esi
call fcn.0052dd20
push eax
call dword [sym.imp.USER32.dll_UnregisterHotKey]
mov esi, dword [sym.imp.dnutility.dll_void___cdecl_utility_log_char_const___int__wchar_t_const__]
push str.exit_player_of_0
push 0x1d8
push str.CPlayerImpl::_exit
call esi
mov ecx, dword [edi + 0x198]
add esp, 0xc
test ecx, ecx
je 0x4d8629
call fcn.00504240
mov dword [edi + 0x198], 0
push str.exit_player_of_1
push 0x1de
push str.CPlayerImpl::_exit
call esi
mov ecx, dword [edi + 0x190]
add esp, 0xc
test ecx, ecx
je 0x4d8655
mov eax, dword [ecx]
call dword [eax]
mov dword [edi + 0x190], 0
push str.exit_player_of_2
push 0x1e4
push str.CPlayerImpl::_exit
call esi
mov ecx, dword [edi + 0x194]
add esp, 0xc
test ecx, ecx
je 0x4d8678
call fcn.004e2f60
push str.exit_player_of_3
push 0x1e9
push str.CPlayerImpl::_exit
call esi
mov ecx, dword [edi + 0x194]
add esp, 0xc
test ecx, ecx
je 0x4d869d
push 1
call fcn.00537e40
mov ebx, dword [sym.imp.dnutility.dll_public:_void___thiscall_utility::ThreadBase::stop_unsigned_int_]
mov ecx, 0x61f238
push 0x3e8
call ebx
push 0x3e8
mov ecx, 0x61f228
call ebx
push 0x3e8
mov ecx, 0x61f248
call ebx
push 0x3e8
mov ecx, 0x61f258
call ebx
mov ecx, 0x61f224
call dword [sym.imp.dnutility.dll_public:_void___thiscall_utility::Task::stop_void_]
push str.quit_package_config
push 0x1f0
push str.CPlayerImpl::_exit
call esi
mov eax, dword [0x62c368]
add esp, 0xc
test al, 1
jne 0x4d8725
or eax, 1
mov dword [0x62c368], eax
mov byte [esp + 0x98], 1
call fcn.00491ab0
push 0x597db0
call fcn.00577044
add esp, 4
mov byte [esp + 0x98], 0
push 0x3e8
mov ecx, 0x62c490
call ebx
push str.post_quit_message
push 0x1f3
push str.CPlayerImpl::_exit
call esi
mov eax, dword [edi + 4]
lea ecx, [edi + 4]
add esp, 0xc
push 0
push 0
push 0x2553
call dword [eax + 0x38]
push str.exit_player_of_4
push 0x1f6
push str.CPlayerImpl::_exit
call esi
add esp, 0xc
push str.clear_mutex
push 0x1f7
push str.CCmdLineMgr::clearMutex
call esi
add esp, 0xc
lea ecx, [edi + 0x10]
push 0xffffffffffffffff
call fcn.004b21e0
lea ecx, [edi + 0x88]
call dword [sym.imp.dnutility.dll_public:_void___thiscall_utility::WindowIPC::destroy_void_]
mov eax, dword [edi + 0x90]
test eax, eax
je 0x4d87b0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x90], 0
push str.exit_player_of_5
push 0x1f9
push str.CPlayerImpl::_exit
call esi
add esp, 0xc
lea ecx, [edi + 0x184]
call dword [sym.imp.dnutility.dll_public:_void___thiscall_utility::Timer::killTimer_void_]
push str.end_exit_player.
push 0x1fc
push str.CPlayerImpl::_exit
call esi
add esp, 0xc
lea ecx, [edi + 0x182]
call dword [sym.imp.dnutility.dll_public:_void___thiscall_utility::Task::stop_void_]
call dword [sym.imp.dnutility.dll_void___cdecl_utility::_StopPostToMainThread_void_]
mov ecx, dword [0x61e5c0]
call fcn.0051c8c0
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
cmp byte [esp + 0x16], 0
mov edi, dword [sym.imp.dnutility.dll_public:_static_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_utility::ufile::applicationDir_void_]
mov ebx, dword [sym.imp.dnutility.dll_public:_static_bool___cdecl_utility::process::shell_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___bool__bool_]
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
je 0x4d88ea
lea eax, [esp + 0x28]
push eax
call edi
add esp, 4
push 0x13
push str.updatednupdate.exe
lea ecx, [esp + 0x30]
mov byte [esp + 0xa0], 2
call fcn.00426970
push str.__path4
lea ecx, [esp + 0x5c]
call fcn.0040de10
lea eax, [esp + 0x70]
mov byte [esp + 0x98], 3
push eax
call edi
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0xa4], 4
call fcn.00426a50
mov byte [esp + 0x98], 3
cmp dword [esp + 0x84], 8
jb 0x4d8899
push dword [esp + 0x70]
call esi
add esp, 4
push 0
push 1
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x34]
push eax
call ebx
add esp, 0x10
cmp dword [esp + 0x6c], 8
jb 0x4d88bc
push dword [esp + 0x58]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x6c], 7
mov byte [esp + 0x98], al
cmp dword [esp + 0x3c], 8
mov dword [esp + 0x68], 0
mov word [esp + 0x58], ax
jb 0x4d88ea
push dword [esp + 0x28]
call esi
add esp, 4
cmp byte [esp + 0x17], 0
je 0x4d896c
cmp dword [esp + 0x50], 0
je 0x4d896c
push str.__path4
lea ecx, [esp + 0x2c]
call fcn.0040de10
lea eax, [esp + 0x70]
mov byte [esp + 0x98], 5
push eax
call edi
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0xa4], 6
call fcn.00426a50
mov byte [esp + 0x98], 5
cmp dword [esp + 0x84], 8
jb 0x4d8949
push dword [esp + 0x70]
call esi
add esp, 4
push 0
push 1
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x4c]
push eax
call ebx
add esp, 0x10
cmp dword [esp + 0x3c], 8
jb 0x4d896c
push dword [esp + 0x28]
call esi
add esp, 4
cmp dword [esp + 0x54], 8
jb 0x4d897c
push dword [esp + 0x40]
call esi
add esp, 4
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00576f50
mov esp, ebp
pop ebp
ret