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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57fca1
mov eax, dword fs:[0]
push eax
sub esp, 0x4b0
mov eax, dword [0x6039b0]
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.00419050
mov dword [ebp - 4], 0
mov dword [ebp - 0x42c], 1
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x44c], 0
call fcn.00411b70
mov dword [ebp - 0x450], eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 1
call fcn.0041f610
lea edx, [ebp - 0x450]
mov byte [ebp - 4], 2
mov ecx, eax
call fcn.0043fe20
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 0x41091d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x5e0bd8
push str.mpSetup_Cls
call dword [sym.imp.USER32.dll_FindWindowW]
push str._updump
lea ecx, [ebp - 0x418]
call fcn.00407740
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.00407a70
add eax, 0x10
lea ecx, [ebp - 0x444]
mov dword [esi], eax
call fcn.00419a90
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 0x410991
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
je 0x410a23
push 0x5dfc54
push str.none
push str.crash
call fcn.00435f50
add esp, 8
mov ecx, esp
push str._updump
call fcn.00407740
lea eax, [ebp - 0x418]
push eax
lea ecx, [ebp - 0x444]
call fcn.00419d50
mov byte [ebp - 4], 4
cmp dword [0x60cb20], 0
jne 0x4109f6
push 4
call fcn.0055091d
mov dword [ebp - 0x420], eax
add esp, 4
mov dword [0x60cb20], eax
mov dword [eax], vtable.CUploadDumpMgr.0
lea eax, [ebp - 0x418]
push eax
call fcn.00412310
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 0x410a23
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x41c]
lea ecx, [ebp - 0x448]
call fcn.00407740
mov byte [ebp - 4], 5
push str._cpCallApp
push dword [ebp - 0x448]
call fcn.0055d308
add esp, 8
test eax, eax
je 0x410a66
push str._rgCallApp
push dword [ebp - 0x448]
call fcn.0055d308
add esp, 8
test eax, eax
jne 0x410ad1
push str._cpCallApp
push dword [ebp - 0x448]
call fcn.0055d308
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.00407740
push 0x5dfc54
mov byte [ebp - 4], 6
push str.none
push dword [ebp - 0x418]
call fcn.00435f50
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 0x410ad1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str._check_update
lea ecx, [ebp - 0x418]
call fcn.00407740
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.00407a70
add eax, 0x10
lea ecx, [ebp - 0x444]
mov dword [esi], eax
call fcn.00419a90
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 0x410b35
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
je 0x410bcc
cmp dword [ebp - 0x44c], 0
jne 0x410bcc
push ecx
mov ecx, esp
mov dword [ebp - 0x42c], 0
push str._check_update
call fcn.00407740
lea eax, [ebp - 0x41c]
push eax
lea ecx, [ebp - 0x444]
call fcn.00419d50
mov byte [ebp - 4], 8
mov eax, dword [0x60cb1c]
test eax, eax
jne 0x410ba4
push 0xc
call fcn.0055091d
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 [0x60cb1c], 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 0x410bcc
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.00407740
lea ecx, [ebp - 0x444]
call fcn.00419c50
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test eax, eax
je 0x410c49
push 0x400
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.00553bc0
add esp, 0xc
call fcn.00408aa0
push eax
call fcn.00408710
push eax
push str.___Check_enable_pdf_protect__d__d___
lea eax, [ebp - 0x414]
push 0x200
push eax
call fcn.0040b5c0
add esp, 0x14
lea eax, [ebp - 0x414]
push eax
call ebx
call fcn.00408710
test eax, eax
je 0x410c49
call fcn.00408aa0
test eax, eax
je 0x410c49
call fcn.004107b0
push str._enable_pdf_protect
lea ecx, [ebp - 0x418]
call fcn.00407740
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.00407a70
add eax, 0x10
lea ecx, [ebp - 0x444]
mov dword [esi], eax
call fcn.00419a90
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 0x410cb9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x41c]
test ecx, ecx
je 0x410cc4
call fcn.004107b0
jmp 0x410d17
push ecx
mov ecx, esp
push str._disable_pdf_protect
call fcn.00407740
lea ecx, [ebp - 0x444]
call fcn.00419bc0
test eax, eax
jne 0x410cfc
push ecx
mov ecx, esp
push str._sp_dpp
call fcn.00407740
lea ecx, [ebp - 0x444]
call fcn.00419bc0
test eax, eax
je 0x410d17
call fcn.00405540
call fcn.004373e0
cmp dword [0x60ab18], 0x800
jl 0x410d17
call fcn.00456ef0
push str._install
lea ecx, [ebp - 0x418]
call fcn.00407740
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.00407a70
add eax, 0x10
lea ecx, [ebp - 0x444]
mov dword [esi], eax
call fcn.00419a90
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 0x410d87
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x41c]
test ecx, ecx
jne 0x410da3
push ecx
mov ecx, esp
push str._install
call fcn.00407740
lea ecx, [ebp - 0x444]
call fcn.00419c50
push ecx
mov ecx, esp
push str._update
call fcn.00407740
lea ecx, [ebp - 0x444]
call fcn.00419c50
push ecx
mov ecx, esp
push str._uninstall
call fcn.00407740
lea ecx, [ebp - 0x444]
call fcn.00419c50
push 0x5e0d6c
lea ecx, [ebp - 0x418]
call fcn.00407740
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.00407a70
add eax, 0x10
lea ecx, [ebp - 0x444]
mov dword [esi], eax
call fcn.00419a90
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 0x410e43
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x41c]
test ecx, ecx
je 0x410e5e
push 0x5dfc54
push str.none
push str.server_run
call fcn.00435f50
add esp, 0xc
push str._DREP
lea ecx, [ebp - 0x418]
call fcn.00407740
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.00407a70
add eax, 0x10
lea ecx, [ebp - 0x444]
mov dword [esi], eax
call fcn.00419a90
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 0x410ece
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x41c]
test ecx, ecx
je 0x410efb
cmp dword [0x60cb24], 0
jne 0x410ef6
push 4
call fcn.0055091d
mov dword [ebp - 0x420], eax
add esp, 4
mov dword [0x60cb24], eax
mov dword [eax], vtable.CDeviceEnvMgr.0
call fcn.00409da0
push str._SCS
lea ecx, [ebp - 0x418]
call fcn.00407740
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.00407a70
add eax, 0x10
lea ecx, [ebp - 0x444]
mov dword [esi], eax
call fcn.00419a90
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 0x410f6b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x41c]
test ecx, ecx
je 0x411028
call fcn.00402a00
mov ecx, eax
test ecx, ecx
jne 0x410f88
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.00407740
lea ecx, [ebp - 0x444]
call fcn.00419e40
mov esi, dword [ebp - 0x418]
push 0x5e0d8c
push esi
call fcn.0055d308
add esp, 8
test eax, eax
jne 0x410fdd
push 0x5dfc54
push 0x5da998
jmp 0x411000
push 0x5e0d90
push esi
call fcn.0055d308
add esp, 8
push 0x5dfc54
test eax, eax
jne 0x410ffb
push str.cancel
jmp 0x411000
push 0x5da958
push str.server_call_speedup
call fcn.00435f50
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 0x411028
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 0x5e0d94
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 0x10
call fcn.00407740
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.00407a70
add eax, 0x10
lea ecx, [ebp - 0x444]
mov dword [esi], eax
call fcn.00419a90
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 0x4110a6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x41c]
test ecx, ecx
je 0x4110ef
mov eax, dword [0x60a3f8]
mov dword [ebp - 0x42c], 0
test eax, eax
jne 0x4110e1
push 0x48
call fcn.0055091d
add esp, 4
mov dword [ebp - 0x420], eax
mov ecx, eax
mov byte [ebp - 4], 0x12
call fcn.00408c40
mov byte [ebp - 4], 0x10
mov dword [0x60a3f8], eax
lea ecx, [ebp - 0x454]
push ecx
mov ecx, eax
call fcn.004092c0
push str._ChckePDF
lea ecx, [ebp - 0x418]
call fcn.00407740
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.00407a70
add eax, 0x10
lea ecx, [ebp - 0x444]
mov dword [esi], eax
call fcn.00419a90
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 0x41115f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x41c]
test ecx, ecx
je 0x4111af
push str.___RunningHelper_check_pdf_Assoc___
call ebx
call fcn.00408710
test eax, eax
je 0x4111a8
push str.___RunningHelper_check_pdf_Assoc_False___
call ebx
push ecx
mov ecx, esp
push 0x5dfc54
call fcn.00407740
call fcn.0042a640
add esp, 4
push 0x5dfc54
push str.none
push str.revise_assoc
call fcn.00435f50
add esp, 0xc
jmp 0x4111af
push str.___RunningHelper_check_pdf_Assoc_True___
call ebx
push ecx
mov ecx, esp
push str._shellextshow
call fcn.00407740
lea ecx, [ebp - 0x444]
call fcn.00419c50
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41126e
push str.PDEngine
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x411218
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 0x41126e
push ecx
mov edx, str.OFDEngine.exe
lea ecx, [ebp - 0x418]
call fcn.0041f4c0
add esp, 4
push dword [ebp - 0x418]
call esi
test eax, eax
je 0x411251
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 0x41126e
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.00407740
lea ecx, [ebp - 0x444]
call fcn.00419c50
test eax, eax
je 0x4112ea
lea ecx, [ebp - 0x484]
mov dword [ebp - 0x42c], 0
call fcn.0040a840
push ecx
mov ecx, esp
push str._enableServerNow
call fcn.00407740
lea ecx, [ebp - 0x444]
call fcn.00419c50
test eax, eax
je 0x41131c
mov dword [ebp - 0x42c], 1
call fcn.0040aa90
push str.enableServerNow_run_finished
call ebx
lea ecx, [ebp - 0x4b8]
call fcn.00403fe0
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x15
push str._forceActive
call fcn.00407740
lea ecx, [ebp - 0x444]
call fcn.00419c50
test eax, eax
je 0x411381
push dword [ebp - 0x488]
call esi
test eax, eax
je 0x411381
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 0x411381
lea ecx, [ebp - 0x4b8]
call fcn.00404c20
push str._checkActive
lea ecx, [ebp - 0x418]
call fcn.00407740
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.00407a70
add eax, 0x10
lea ecx, [ebp - 0x444]
mov dword [esi], eax
call fcn.00419a90
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 0x4113e5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
je 0x4113fe
lea ecx, [ebp - 0x4b8]
mov dword [ebp - 0x42c], 0
call fcn.00404500
push ecx
mov ecx, esp
push str._launchMainProg
call fcn.00407740
lea ecx, [ebp - 0x444]
call fcn.00419c50
test eax, eax
jne 0x411456
push ecx
mov ecx, esp
push str._startmenu
call fcn.00407740
lea ecx, [ebp - 0x444]
call fcn.00419c50
test eax, eax
jne 0x411456
push ecx
mov ecx, esp
push str._taskbar
call fcn.004116a0
lea ecx, [ebp - 0x444]
call fcn.00419c50
test eax, eax
je 0x41153e
lea ecx, [ebp - 0x418]
call fcn.0041f610
push dword [ebp - 0x418]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41151d
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 0x4114d3
test esi, esi
je 0x4114d3
sub esp, 8
lea ecx, [ebp - 0x424]
push dword [ebp - 0x418]
call fcn.00440280
mov esi, dword [ebp - 0x420]
mov ebx, dword [ebp - 0x424]
test eax, eax
jns 0x411505
sub esp, 0x10
mov dword [ebp - 0x420], 0xffffffff
push dword [ebp - 0x418]
call fcn.0041a400
test eax, eax
jne 0x411505
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 0x411516
push esi
call eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x41151d
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 0x41153e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x42c], 0
je 0x41154b
xor esi, esi
jmp 0x411558
mov ecx, dword [ebp - 0x458]
call fcn.00411be0
mov esi, eax
lea ecx, [ebp - 0x4b8]
call fcn.00404150
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 0x411593
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 0x4115ad
push eax
call fcn.0054df42
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 0x4115d8
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.004117d0
push dword [ebp - 0x450]
call fcn.00550427
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov ecx, dword [ebp - 0x440]
test ecx, ecx
je 0x41162b
mov edx, dword [ebp - 0x43c]
call fcn.0040d430
push dword [ebp - 0x440]
call fcn.00556b67
add esp, 4
mov edx, dword [ebp - 0x444]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x411646
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.0055042c
mov esp, ebp
pop ebp
ret