Function at 0x410bf0
Capabilities:
Check if file exists
Create process on windows
Print debug messages
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5818a1
mov eax, dword fs:[0]
push eax
sub esp, 0x4b0
mov eax, dword [0x6069b0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x458], edx
mov eax, ecx
mov dword [ebp - 0x41c], eax
push ecx
push eax
lea ecx, [ebp - 0x444]
call fcn.004193b0
mov dword [ebp - 4], 0
mov dword [ebp - 0x42c], 1
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x44c], 0
call fcn.00411f00
mov dword [ebp - 0x450], eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 1
call fcn.0041fca0
lea edx, [ebp - 0x450]
mov byte [ebp - 4], 2
mov ecx, eax
call fcn.00440ca0
mov byte [ebp - 4], 1
or edi, 0xffffffff
mov edx, dword [ebp - 0x418]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410cad
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x5e2d58
push str.mpSetup_Cls
call dword [sym.imp.USER32.dll_FindWindowW]
push str._updump
lea ecx, [ebp - 0x418]
call fcn.00407780
push ecx
mov byte [ebp - 4], 3
mov esi, esp
mov dword [ebp - 0x420], esi
mov ecx, dword [ebp - 0x418]
lea ecx, [ecx - 0x10]
call fcn.00407ab0
add eax, 0x10
lea ecx, [ebp - 0x444]
mov dword [esi], eax
call fcn.00419df0
xor ebx, ebx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x418]
cmp eax, 0xffffffff
mov eax, edi
setne bl
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410d21
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
je 0x410db3
push 0x5e1c54
push str.none
push str.crash
call fcn.004369f0
add esp, 8
mov ecx, esp
push str._updump
call fcn.00407780
lea eax, [ebp - 0x418]
push eax
lea ecx, [ebp - 0x444]
call fcn.0041a0b0
mov byte [ebp - 4], 4
cmp dword [0x60fba0], 0
jne 0x410d86
push 4
call fcn.005523d2
mov dword [ebp - 0x420], eax
add esp, 4
mov dword [0x60fba0], eax
mov dword [eax], vtable.CUploadDumpMgr.0
lea eax, [ebp - 0x418]
push eax
call fcn.00412690
mov byte [ebp - 4], 1
mov eax, edi
mov edx, dword [ebp - 0x418]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410db3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x41c]
lea ecx, [ebp - 0x448]
call fcn.00407780
mov byte [ebp - 4], 5
push str._cpCallApp
push dword [ebp - 0x448]
call fcn.0055edc9
add esp, 8
test eax, eax
je 0x410df6
push str._rgCallApp
push dword [ebp - 0x448]
call fcn.0055edc9
add esp, 8
test eax, eax
jne 0x410e61
push str._cpCallApp
push dword [ebp - 0x448]
call fcn.0055edc9
add esp, 8
mov edx, str.rg_callapp
test eax, eax
mov ecx, str.cp_callapp
cmovne ecx, edx
push ecx
lea ecx, [ebp - 0x418]
call fcn.00407780
push 0x5e1c54
mov byte [ebp - 4], 6
push str.none
push dword [ebp - 0x418]
call fcn.004369f0
mov byte [ebp - 4], 5
add esp, 0xc
mov edx, dword [ebp - 0x418]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410e61
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str._check_update
lea ecx, [ebp - 0x418]
call fcn.00407780
push ecx
mov byte [ebp - 4], 7
mov esi, esp
mov dword [ebp - 0x420], esi
mov ecx, dword [ebp - 0x418]
lea ecx, [ecx - 0x10]
call fcn.00407ab0
add eax, 0x10
lea ecx, [ebp - 0x444]
mov dword [esi], eax
call fcn.00419df0
xor ebx, ebx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x418]
cmp eax, 0xffffffff
mov eax, edi
setne bl
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410ec5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
je 0x410f5c
cmp dword [ebp - 0x44c], 0
jne 0x410f5c
push ecx
mov ecx, esp
mov dword [ebp - 0x42c], 0
push str._check_update
call fcn.00407780
lea eax, [ebp - 0x41c]
push eax
lea ecx, [ebp - 0x444]
call fcn.0041a0b0
mov byte [ebp - 4], 8
mov eax, dword [0x60fb9c]
test eax, eax
jne 0x410f34
push 0xc
call fcn.005523d2
add esp, 4
mov dword [ebp - 0x420], eax
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.004015a0
mov byte [ebp - 4], 8
mov dword [0x60fb9c], eax
mov ecx, eax
call fcn.00401730
mov byte [ebp - 4], 5
mov eax, edi
mov edx, dword [ebp - 0x41c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410f5c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov ecx, esp
push str._check_enable_pdf_protect
call fcn.00407780
lea ecx, [ebp - 0x444]
call fcn.00419fb0
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test eax, eax
je 0x410fd9
push 0x400
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.00555650
add esp, 0xc
call fcn.00408ae0
push eax
call fcn.00408750
push eax
push str.___Check_enable_pdf_protect__d__d___
lea eax, [ebp - 0x414]
push 0x200
push eax
call fcn.0040b600
add esp, 0x14
lea eax, [ebp - 0x414]
push eax
call ebx
call fcn.00408750
test eax, eax
je 0x410fd9
call fcn.00408ae0
test eax, eax
je 0x410fd9
call fcn.00410af0
push str._enable_pdf_protect
lea ecx, [ebp - 0x418]
call fcn.00407780
push ecx
mov byte [ebp - 4], 0xa
mov esi, esp
mov dword [ebp - 0x420], esi
mov ecx, dword [ebp - 0x418]
lea ecx, [ecx - 0x10]
call fcn.00407ab0
add eax, 0x10
lea ecx, [ebp - 0x444]
mov dword [esi], eax
call fcn.00419df0
xor ecx, ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x418]
cmp eax, 0xffffffff
mov eax, edi
setne cl
add edx, 0xfffffff0
mov dword [ebp - 0x41c], ecx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x411049
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x41c]
test ecx, ecx
je 0x411054
call fcn.00410af0
jmp 0x4110a7
push ecx
mov ecx, esp
push str._disable_pdf_protect
call fcn.00407780
lea ecx, [ebp - 0x444]
call fcn.00419f20
test eax, eax
jne 0x41108c
push ecx
mov ecx, esp
push str._sp_dpp
call fcn.00407780
lea ecx, [ebp - 0x444]
call fcn.00419f20
test eax, eax
je 0x4110a7
call fcn.00405580
call fcn.00437f40
cmp dword [0x60db28], 0x800
jl 0x4110a7
call fcn.00458190
push str._install
lea ecx, [ebp - 0x418]
call fcn.00407780
push ecx
mov byte [ebp - 4], 0xb
mov esi, esp
mov dword [ebp - 0x420], esi
mov ecx, dword [ebp - 0x418]
lea ecx, [ecx - 0x10]
call fcn.00407ab0
add eax, 0x10
lea ecx, [ebp - 0x444]
mov dword [esi], eax
call fcn.00419df0
xor ecx, ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x418]
cmp eax, 0xffffffff
mov eax, edi
setne cl
add edx, 0xfffffff0
mov dword [ebp - 0x41c], ecx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x411117
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x41c]
test ecx, ecx
jne 0x411133
push ecx
mov ecx, esp
push str._install
call fcn.00407780
lea ecx, [ebp - 0x444]
call fcn.00419fb0
push ecx
mov ecx, esp
push str._update
call fcn.00407780
lea ecx, [ebp - 0x444]
call fcn.00419fb0
push ecx
mov ecx, esp
push str._uninstall
call fcn.00407780
lea ecx, [ebp - 0x444]
call fcn.00419fb0
push 0x5e2eec
lea ecx, [ebp - 0x418]
call fcn.00407780
push ecx
mov byte [ebp - 4], 0xc
mov esi, esp
mov dword [ebp - 0x420], esi
mov ecx, dword [ebp - 0x418]
lea ecx, [ecx - 0x10]
call fcn.00407ab0
add eax, 0x10
lea ecx, [ebp - 0x444]
mov dword [esi], eax
call fcn.00419df0
xor ecx, ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x418]
cmp eax, 0xffffffff
mov eax, edi
setne cl
add edx, 0xfffffff0
mov dword [ebp - 0x41c], ecx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4111d3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x41c]
test ecx, ecx
je 0x4111ee
push 0x5e1c54
push str.none
push str.server_run
call fcn.004369f0
add esp, 0xc
push str._DREP
lea ecx, [ebp - 0x418]
call fcn.00407780
push ecx
mov byte [ebp - 4], 0xd
mov esi, esp
mov dword [ebp - 0x420], esi
mov ecx, dword [ebp - 0x418]
lea ecx, [ecx - 0x10]
call fcn.00407ab0
add eax, 0x10
lea ecx, [ebp - 0x444]
mov dword [esi], eax
call fcn.00419df0
xor ecx, ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x418]
cmp eax, 0xffffffff
mov eax, edi
setne cl
add edx, 0xfffffff0
mov dword [ebp - 0x41c], ecx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41125e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x41c]
test ecx, ecx
je 0x41128b
cmp dword [0x60fba4], 0
jne 0x411286
push 4
call fcn.005523d2
mov dword [ebp - 0x420], eax
add esp, 4
mov dword [0x60fba4], eax
mov dword [eax], vtable.CDeviceEnvMgr.0
call fcn.00409de0
push str._SCS
lea ecx, [ebp - 0x418]
call fcn.00407780
push ecx
mov byte [ebp - 4], 0xe
mov esi, esp
mov dword [ebp - 0x420], esi
mov ecx, dword [ebp - 0x418]
lea ecx, [ecx - 0x10]
call fcn.00407ab0
add eax, 0x10
lea ecx, [ebp - 0x444]
mov dword [esi], eax
call fcn.00419df0
xor ecx, ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x418]
cmp eax, 0xffffffff
mov eax, edi
setne cl
add edx, 0xfffffff0
mov dword [ebp - 0x41c], ecx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4112fb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x41c]
test ecx, ecx
je 0x4113b8
call fcn.00402a00
mov ecx, eax
test ecx, ecx
jne 0x411318
push 0x80004005
call fcn.00402a80
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x418], eax
lea eax, [ebp - 0x418]
mov byte [ebp - 4], 0xf
push eax
push ecx
mov ecx, esp
push str._SCS
call fcn.00407780
lea ecx, [ebp - 0x444]
call fcn.0041a1a0
mov esi, dword [ebp - 0x418]
push 0x5e2f0c
push esi
call fcn.0055edc9
add esp, 8
test eax, eax
jne 0x41136d
push 0x5e1c54
push 0x5dc998
jmp 0x411390
push 0x5e2f10
push esi
call fcn.0055edc9
add esp, 8
push 0x5e1c54
test eax, eax
jne 0x41138b
push str.cancel
jmp 0x411390
push 0x5dc958
push str.server_call_speedup
call fcn.004369f0
add esp, 0xc
mov byte [ebp - 4], 5
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4113b8
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - method.CCheckCloudConfigMgr.virtual_0], vtable.CCheckCloudConfigMgr.0
push 0x5e2f14
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 0x10
call fcn.00407780
push ecx
mov byte [ebp - 4], 0x11
mov esi, esp
mov dword [ebp - 0x420], esi
mov ecx, dword [ebp - 0x418]
lea ecx, [ecx - 0x10]
call fcn.00407ab0
add eax, 0x10
lea ecx, [ebp - 0x444]
mov dword [esi], eax
call fcn.00419df0
xor ecx, ecx
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x418]
cmp eax, 0xffffffff
mov eax, edi
setne cl
add edx, 0xfffffff0
mov dword [ebp - 0x41c], ecx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x411436
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x41c]
test ecx, ecx
je 0x41147f
mov eax, dword [0x60d400]
mov dword [ebp - 0x42c], 0
test eax, eax
jne 0x411471
push 0x48
call fcn.005523d2
add esp, 4
mov dword [ebp - 0x420], eax
mov ecx, eax
mov byte [ebp - 4], 0x12
call fcn.00408c80
mov byte [ebp - 4], 0x10
mov dword [0x60d400], eax
lea ecx, [ebp - 0x454]
push ecx
mov ecx, eax
call fcn.00409300
push str._ChckePDF
lea ecx, [ebp - 0x418]
call fcn.00407780
push ecx
mov byte [ebp - 4], 0x13
mov esi, esp
mov dword [ebp - 0x420], esi
mov ecx, dword [ebp - 0x418]
lea ecx, [ecx - 0x10]
call fcn.00407ab0
add eax, 0x10
lea ecx, [ebp - 0x444]
mov dword [esi], eax
call fcn.00419df0
xor ecx, ecx
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x418]
cmp eax, 0xffffffff
mov eax, edi
setne cl
add edx, 0xfffffff0
mov dword [ebp - 0x41c], ecx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4114ef
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x41c]
test ecx, ecx
je 0x41153f
push str.___RunningHelper_check_pdf_Assoc___
call ebx
call fcn.00408750
test eax, eax
je 0x411538
push str.___RunningHelper_check_pdf_Assoc_False___
call ebx
push ecx
mov ecx, esp
push 0x5e1c54
call fcn.00407780
call fcn.0042ad10
add esp, 4
push 0x5e1c54
push str.none
push str.revise_assoc
call fcn.004369f0
add esp, 0xc
jmp 0x41153f
push str.___RunningHelper_check_pdf_Assoc_True___
call ebx
push ecx
mov ecx, esp
push str._shellextshow
call fcn.00407780
lea ecx, [ebp - 0x444]
call fcn.00419fb0
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4115fe
push str.PDEngine
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x4115a8
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x428], 0x3e8
push ecx
push 0
push 0x4a
push eax
mov dword [ebp - 0x424], 4
mov dword [ebp - 0x420], str.test
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4115fe
push ecx
mov edx, str.PDFEngine.exe
lea ecx, [ebp - 0x418]
call fcn.0041f820
add esp, 4
push dword [ebp - 0x418]
call esi
test eax, eax
je 0x4115e1
push 1
push 0
push str._shellextshow
push dword [ebp - 0x418]
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edx, dword [ebp - 0x418]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4115fe
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [ebp - 0x480], 0
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], 0
mov dword [ebp - 0x468], 0
mov dword [ebp - 0x464], eax
mov dword [ebp - method.CEndSessionMgr.1.virtual_0], vtable.CEndSessionMgr.1.0
mov dword [ebp - method.CEndSessionMgr.virtual_0], vtable.CEndSessionMgr.0
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x14
push str._enableServer
call fcn.00407780
lea ecx, [ebp - 0x444]
call fcn.00419fb0
test eax, eax
je 0x41167a
lea ecx, [ebp - 0x484]
mov dword [ebp - 0x42c], 0
call fcn.0040a880
push ecx
mov ecx, esp
push str._enableServerNow
call fcn.00407780
lea ecx, [ebp - 0x444]
call fcn.00419fb0
test eax, eax
je 0x4116ac
mov dword [ebp - 0x42c], 1
call fcn.0040aad0
push str.enableServerNow_run_finished
call ebx
lea ecx, [ebp - 0x4b8]
call fcn.00404020
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x15
push str._forceActive
call fcn.00407780
lea ecx, [ebp - 0x444]
call fcn.00419fb0
test eax, eax
je 0x411711
push dword [ebp - 0x488]
call esi
test eax, eax
je 0x411711
push dword [ebp - 0x488]
push 1
push str.Activate
push str.masterpdf
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x411711
lea ecx, [ebp - 0x4b8]
call fcn.00404c60
push str._checkActive
lea ecx, [ebp - 0x418]
call fcn.00407780
push ecx
mov byte [ebp - 4], 0x16
mov esi, esp
mov dword [ebp - 0x420], esi
mov ecx, dword [ebp - 0x418]
lea ecx, [ecx - 0x10]
call fcn.00407ab0
add eax, 0x10
lea ecx, [ebp - 0x444]
mov dword [esi], eax
call fcn.00419df0
xor ebx, ebx
mov byte [ebp - 4], 0x15
mov edx, dword [ebp - 0x418]
cmp eax, 0xffffffff
mov eax, edi
setne bl
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x411775
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
je 0x41178e
lea ecx, [ebp - 0x4b8]
mov dword [ebp - 0x42c], 0
call fcn.00404540
push ecx
mov ecx, esp
push str._launchMainProg
call fcn.00407780
lea ecx, [ebp - 0x444]
call fcn.00419fb0
test eax, eax
jne 0x4117e6
push ecx
mov ecx, esp
push str._startmenu
call fcn.00407780
lea ecx, [ebp - 0x444]
call fcn.00419fb0
test eax, eax
jne 0x4117e6
push ecx
mov ecx, esp
push str._taskbar
call fcn.00411a30
lea ecx, [ebp - 0x444]
call fcn.00419fb0
test eax, eax
je 0x4118ce
lea ecx, [ebp - 0x418]
call fcn.0041fca0
push dword [ebp - 0x418]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4118ad
push str.Globalmasterpdf_server_event_C33B7EE9753C
push 0
push 2
mov byte [ebp - 4], 0x18
call dword [sym.imp.KERNEL32.dll_OpenEventW]
push str.Globalmasterpdf_server_mapping_C33B7EE9753C
push 0
mov esi, eax
push 2
mov dword [ebp - 0x420], esi
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov ebx, eax
mov dword [ebp - 0x424], ebx
test ebx, ebx
je 0x411863
test esi, esi
je 0x411863
sub esp, 8
lea ecx, [ebp - 0x424]
push dword [ebp - 0x418]
call fcn.00441100
mov esi, dword [ebp - 0x420]
mov ebx, dword [ebp - 0x424]
test eax, eax
jns 0x411895
sub esp, 0x10
mov dword [ebp - 0x420], 0xffffffff
push dword [ebp - 0x418]
call fcn.0041a760
test eax, eax
jne 0x411895
push 1
push eax
push eax
push dword [ebp - 0x418]
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x4118a6
push esi
call eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x4118ad
push ebx
call eax
mov byte [ebp - 4], 0x15
mov eax, edi
mov edx, dword [ebp - 0x418]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4118ce
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x42c], 0
je 0x4118db
xor esi, esi
jmp 0x4118e8
mov ecx, dword [ebp - 0x458]
call fcn.00411f70
mov esi, eax
lea ecx, [ebp - 0x4b8]
call fcn.00404190
push dword [ebp - 0x480]
mov dword [ebp - method.CEndSessionMgr.1.virtual_0], vtable.CEndSessionMgr.1.0
mov dword [ebp - method.CEndSessionMgr.virtual_0], vtable.CEndSessionMgr.0
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x411923
push dword [ebp - 0x480]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebp - 0x470]
mov dword [ebp - method.CSingletonBase_class_CEndSessionMgr_.virtual_0], vtable.CSingletonBase_class_CEndSessionMgr_.0
test eax, eax
je 0x41193d
push eax
call fcn.0054fa23
mov byte [ebp - 4], 1
mov eax, edi
mov edx, dword [ebp - 0x448]
mov dword [ebp - method.CCheckCloudConfigMgr.virtual_0], vtable.CCheckCloudConfigMgr.0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x411968
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x450]
lea ecx, [ebp - 0x450]
push eax
push dword [eax]
lea eax, [ebp - 0x420]
push eax
call fcn.00411b60
push dword [ebp - 0x450]
call fcn.00551edc
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov ecx, dword [ebp - 0x440]
test ecx, ecx
je 0x4119bb
mov edx, dword [ebp - 0x43c]
call fcn.0040d760
push dword [ebp - 0x440]
call fcn.005585f7
add esp, 4
mov edx, dword [ebp - 0x444]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x4119d6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00551ee1
mov esp, ebp
pop ebp
ret