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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x62f088
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x6d8314]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push esi
push edi
mov eax, dword [0x6d8314]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [edi + 0x27c]
call fcn.00584c70
lea ecx, [edi + 0x280]
call fcn.00584c70
lea ecx, [edi + 0x284]
call fcn.00584c70
lea ecx, [edi + 0x288]
call fcn.00584c70
mov eax, dword [edi + 0x254]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x523d31
push eax
call esi
lea ecx, [esp + 0x24]
call fcn.0058aaf0
push 0x1b
xor eax, eax
mov dword [esp + 0x60], 7
push 0x65ae40
lea ecx, [esp + 0x50]
mov dword [esp + 0x60], 0
mov word [esp + 0x50], ax
call fcn.00415c10
lea eax, [esp + 0x48]
mov dword [esp + 0xd0], 0
push eax
lea ecx, [esp + 0x28]
call fcn.0058ad20
mov dword [esp + 0xd0], 0xffffffff
cmp dword [esp + 0x5c], 8
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov byte [esp + 0x12], al
jb 0x523da3
push dword [esp + 0x48]
call ebx
mov al, byte [esp + 0x16]
add esp, 4
test al, al
je 0x523e13
mov eax, dword [edi + 4]
lea ecx, [edi + 4]
call dword [eax + 8]
mov esi, eax
call fcn.0041b200
shl eax, 0x18
lea ecx, [esp + 0x24]
push 0
or eax, esi
push eax
push 0x3ed
call fcn.0058ae60
test al, al
je 0x523ded
push str.remote_post_exist_sucess
push 0x252
push str.CPlayerImpl::_exit
call fcn.00584a40
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x523e27
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.remote_post_exist_error__d
push 0x255
push str.CPlayerImpl::_exit
call fcn.00584a40
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0x10
jmp 0x523e2a
push str.remote_not_exist
push 0x259
push str.CPlayerImpl::_exit
call fcn.00584a40
add esp, 0xc
mov ecx, 0x701278
call fcn.0059cbf0
mov ecx, dword [0x7012e4]
test ecx, ecx
je 0x523e4f
push 1
call fcn.005c52a0
mov dword [0x7012e4], 0
mov al, byte [0x7012f5]
mov ecx, 0x7001d0
mov byte [esp + 0x12], al
call fcn.004763f0
mov ecx, 0x7011b8
call fcn.0059cbf0
push 0xa
mov ecx, 0x7009a8
call fcn.0059cf20
mov eax, dword [0x6d8480]
test eax, eax
je 0x523e8e
push eax
call esi
mov ecx, 0x6d8474
call fcn.0058acf0
push 1
mov ecx, 0x6ffd10
call fcn.0044f050
mov ecx, 0x6ffd28
call fcn.00584c70
mov eax, dword [0x6ffd10]
mov ecx, 0x6ffd10
push dword [eax + 4]
call fcn.0044f940
mov eax, dword [0x6ffd10]
mov ecx, 0x6ffa20
mov dword [eax + 4], eax
mov eax, dword [0x6ffd10]
mov dword [eax], eax
mov eax, dword [0x6ffd10]
mov dword [eax + 8], eax
mov dword [0x6ffd14], 0
call fcn.00584c70
mov ecx, 0x6ffa08
call fcn.00584bb0
mov ecx, 0x6ff9a0
call fcn.0059cbf0
mov ecx, dword [0x6ffa38]
mov byte [0x6ff8ec], 1
test ecx, ecx
je 0x523f18
mov edx, dword [ecx]
cmp ecx, 0x6ffa28
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, 0x7013d0
mov dword [0x6ffa38], 0
call fcn.0059cbf0
mov ecx, 0x6ffd28
call fcn.00584c70
mov eax, dword [0x6ffd10]
mov ecx, 0x6ffd10
push dword [eax + 4]
call fcn.0044f940
mov eax, dword [0x6ffd10]
mov ecx, 0x701220
push 0xa
mov dword [eax + 4], eax
mov eax, dword [0x6ffd10]
mov dword [eax], eax
mov eax, dword [0x6ffd10]
mov dword [eax + 8], eax
mov dword [0x6ffd14], 0
call fcn.0059cf20
mov ecx, 0x700a10
call fcn.0047fd60
lea ecx, [edi + 0x2f8]
call fcn.0059cbf0
mov ecx, dword [0x701c94]
call fcn.005b3410
push str.post_quit_message
push 0x271
push str.CPlayerImpl::_exit
call fcn.00584a40
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 0x274
push str.CPlayerImpl::_exit
call fcn.00584a40
add esp, 0xc
push str.clear_mutex
push 0x342
push str.CCmdLineMgr::clearMutex
call fcn.00584a40
add esp, 0xc
lea ecx, [edi + 0x10]
push 0xffffffffffffffff
call fcn.004fccd0
lea ecx, [edi + 0xe8]
call fcn.0058acf0
mov eax, dword [edi + 0xf4]
test eax, eax
je 0x524018
push eax
call esi
mov dword [edi + 0xf4], 0
xor eax, eax
mov dword [esp + 0xa4], 7
mov dword [esp + 0xa0], 0
mov word [esp + 0x90], ax
mov dword [esp + 0xd0], 1
mov dword [esp + 0x8c], 7
mov dword [esp + 0x88], eax
mov word [esp + 0x78], ax
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], eax
mov word [esp + 0x60], ax
push 0xffffffffffffffff
push eax
push 0x6ffabc
lea ecx, [esp + 0x9c]
mov byte [esp + 0xdc], 3
call fcn.00414cd0
push 0xffffffffffffffff
push 0
push 0x6ffad4
lea ecx, [esp + 0x84]
call fcn.00414cd0
push 0xffffffffffffffff
push 0
push 0x6ffaec
lea ecx, [esp + 0x6c]
call fcn.00414cd0
mov ecx, 0x6ffa50
call fcn.0059cbf0
mov ecx, 0x6ffab8
call fcn.00584bb0
mov al, byte [0x6ffab9]
mov byte [esp + 0x13], al
mov eax, dword [edi + 0x2e8]
test eax, eax
je 0x5241c0
mov al, byte [eax + 0x742]
test al, al
jne 0x5241c0
mov eax, dword [edi + 4]
lea ecx, [edi + 4]
mov eax, dword [eax + 0x20]
call eax
test al, al
je 0x524159
mov ecx, dword [edi + 0x2e8]
call fcn.004fd130
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x524159
mov eax, dword [edi + 0x2e8]
mov ecx, dword [eax + 0x530]
test ecx, ecx
je 0x524124
mov eax, dword [ecx]
call dword [eax]
mov esi, eax
jmp 0x524126
xor esi, esi
call fcn.005d1630
push ecx
fstp dword [esp]
call fcn.005d1640
mov ecx, dword [edi + 0x2e8]
movzx eax, al
push eax
call fcn.00545720
mov ecx, dword [edi + 0x2e8]
movzx eax, al
push eax
push esi
call fcn.004fd130
push eax
call fcn.004ee740
mov ecx, dword [edi + 0x2e8]
call fcn.00548130
mov ecx, dword [edi + 0x2e8]
push 0
push 0
call fcn.005c5a40
mov ecx, dword [0x701c94]
mov eax, 0x51
mov esi, dword [edi + 0x2e8]
mov word [esp + 0x18], ax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1c]
push eax
push str.hotkeySettings.bossKey
lea eax, [esp + 0x1c]
mov dword [esp + 0x24], 2
push eax
call fcn.00434110
push 0x4d0
mov ecx, esi
call fcn.004fd130
push eax
call dword [sym.imp.USER32.dll_UnregisterHotKey]
push str.utility_stop
push 0x286
push str.CPlayerImpl::_exit
call fcn.00584a40
add esp, 0xc
lea ecx, [edi + 0x274]
call fcn.00584bb0
call fcn.00584cc0
push str.exit_player_of_0
push 0x28a
push str.CPlayerImpl::_exit
call fcn.00584a40
mov ecx, dword [edi + 0x2ec]
add esp, 0xc
test ecx, ecx
je 0x524217
call fcn.00567190
mov dword [edi + 0x2ec], 0
push str.exit_player_of_1
push 0x290
push str.CPlayerImpl::_exit
call fcn.00584a40
mov ecx, dword [edi + 0x2e4]
add esp, 0xc
test ecx, ecx
je 0x524246
mov eax, dword [ecx]
call dword [eax]
mov dword [edi + 0x2e4], 0
push str.exit_player_of_2
push 0x296
push str.CPlayerImpl::_exit
call fcn.00584a40
mov ecx, dword [edi + 0x2e8]
add esp, 0xc
test ecx, ecx
je 0x52426c
call fcn.0053b2f0
push str.exit_player_of_3
push 0x29b
push str.CPlayerImpl::_exit
call fcn.00584a40
mov ecx, dword [edi + 0x2e8]
add esp, 0xc
test ecx, ecx
je 0x524294
push 1
call fcn.005c52a0
mov ecx, 0x700c70
call fcn.004edfa0
mov ecx, 0x701358
call fcn.0056c840
push str.quit_package_config
push 0x2a3
push str.CPlayerImpl::_exit
call fcn.00584a40
mov eax, dword [0x712c68]
add esp, 0xc
test al, 1
jne 0x5242f2
or eax, 1
mov dword [0x712c68], eax
mov byte [esp + 0xd0], 4
call fcn.004d8260
push 0x6430f0
call fcn.0061181b
add esp, 4
mov byte [esp + 0xd0], 3
mov ecx, 0x712d94
call fcn.0059cfc0
push 0x7d0
mov ecx, 0x712d94
call fcn.0059cf20
push str.exit_player_of_5
push 0x2a6
push str.CPlayerImpl::_exit
call fcn.00584a40
add esp, 0xc
lea ecx, [edi + 0x278]
call fcn.00584c70
push str.end_exit_player.6
push 0x2a8
push str.CPlayerImpl::_exit
call fcn.00584a40
add esp, 0xc
call dword [sym.imp.libcurl.dll_curl_global_cleanup]
push str.end_exit_player.
push 0x2ab
push str.CPlayerImpl::_exit
call fcn.00584a40
add esp, 0xc
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
cmp byte [esp + 0x12], 0
je 0x524471
lea eax, [esp + 0x30]
push eax
call fcn.00598920
add esp, 4
push 0x13
push str.updatednupdate.exe
lea ecx, [esp + 0x38]
mov byte [esp + 0xd8], 5
call fcn.00428400
push str.__path9
lea ecx, [esp + 0x4c]
call fcn.00415d10
lea eax, [esp + 0xa8]
mov byte [esp + 0xd0], 6
push eax
call fcn.00598920
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0xdc], 7
call fcn.00431600
mov byte [esp + 0xd0], 6
cmp dword [esp + 0xbc], 8
jb 0x5243f3
push dword [esp + 0xa8]
call ebx
add esp, 4
cmp dword [esp + 0x70], 0
je 0x52441c
push 0xa
push str.__package
lea ecx, [esp + 0x50]
call fcn.00428400
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x54]
call fcn.00431600
push 0
push 1
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.00596380
add esp, 0x10
cmp dword [esp + 0x5c], 8
jb 0x524442
push dword [esp + 0x48]
call ebx
add esp, 4
xor eax, eax
mov byte [esp + 0xd0], 3
cmp dword [esp + 0x44], 8
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], 0
mov word [esp + 0x48], ax
jb 0x524471
push dword [esp + 0x30]
call ebx
add esp, 4
cmp byte [esp + 0x13], 0
je 0x524566
cmp dword [esp + 0xa0], 0
je 0x524515
push str.__path9
lea ecx, [esp + 0x34]
call fcn.00415d10
lea eax, [esp + 0xa8]
mov byte [esp + 0xd0], 8
push eax
call fcn.00598920
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0xdc], 9
call fcn.00431600
mov byte [esp + 0xd0], 8
cmp dword [esp + 0xbc], 8
jb 0x5244e4
push dword [esp + 0xa8]
call ebx
add esp, 4
push 0
push 1
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x9c]
push eax
call fcn.00596380
add esp, 0x10
mov byte [esp + 0xd0], 3
cmp dword [esp + 0x44], 8
jb 0x524515
push dword [esp + 0x30]
call ebx
add esp, 4
cmp dword [esp + 0x88], 0
je 0x524566
push 0x6523fc
lea ecx, [esp + 0x34]
call fcn.00415d10
push 0
push 0
lea eax, [esp + 0x38]
mov byte [esp + 0xd8], 0xa
push eax
lea eax, [esp + 0x84]
push eax
call fcn.00596380
add esp, 0x10
mov byte [esp + 0xd0], 3
cmp dword [esp + 0x44], 8
jb 0x524566
push dword [esp + 0x30]
call ebx
add esp, 4
cmp dword [edi + 0x268], 0
je 0x5245ad
push 0x6523fc
lea ecx, [esp + 0x34]
call fcn.00415d10
push 0
push 0
lea eax, [esp + 0x38]
mov byte [esp + 0xd8], 0xb
push eax
lea eax, [edi + 0x258]
push eax
call fcn.00596380
add esp, 0x10
cmp dword [esp + 0x44], 8
jb 0x5245ad
push dword [esp + 0x30]
call ebx
add esp, 4
cmp dword [esp + 0x74], 8
jb 0x5245bd
push dword [esp + 0x60]
call ebx
add esp, 4
xor eax, eax
mov dword [esp + 0x74], 7
cmp dword [esp + 0x8c], 8
mov dword [esp + 0x70], 0
mov word [esp + 0x60], ax
jb 0x5245e7
push dword [esp + 0x78]
call ebx
add esp, 4
xor eax, eax
mov dword [esp + 0x8c], 7
cmp dword [esp + 0xa4], 8
mov dword [esp + 0x88], 0
mov word [esp + 0x78], ax
jb 0x52461a
push dword [esp + 0x90]
call ebx
add esp, 4
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.006116d0
mov esp, ebp
pop ebp
ret