Function at 0x40c670
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4710ec
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfc
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor edi, edi
mov esi, ecx
mov dword [ebp - 0x38], edi
push 0x16
xor eax, eax
mov dword [ebp - 0x34], esi
push str.Monitor_thread_running
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00404a00
push edi
lea eax, [ebp - 0x28]
mov dword [ebp - 4], edi
push eax
push 0x3e6
mov ecx, esi
call fcn.00408820
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40c715
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c70b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d97f
push edx
push ecx
call fcn.00448b15
add esp, 8
cmp byte [esi + 0x3ba], 0
jne 0x40c75a
lea eax, [esi + 0x1e0]
mov edi, 5
nop dword [eax]
mov ecx, eax
call fcn.004326e0
test eax, eax
jne 0x40c74c
push 0x3e8
push dword [esi + 0x23c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [esi + 0x1e0]
sub edi, 1
jne 0x40c730
mov edi, dword [ebp - 0x30]
lea eax, [ebp - 0x68]
push eax
call fcn.00432500
push str.logs_
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 1
push eax
call fcn.0041d080
add esp, 0x10
lea ecx, [esi + 0x1c8]
push eax
call fcn.00406110
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40c7c2
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c7b8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d943
push edx
push ecx
call fcn.00448b15
add esp, 8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x40c817
mov ecx, dword [ebp - 0x68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c80d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d943
push edx
push ecx
call fcn.00448b15
add esp, 8
mov byte [ebp - 0x29], 0
nop dword [eax + eax]
cmp byte [esi + 0x3b9], 0
je 0x40c9ff
lea ecx, [ebp - 0x28]
call fcn.004046e0
lea ecx, [esi + 0x374]
mov dword [ebp - 4], 2
lea eax, [ebp - 0x28]
mov dword [esi + 0x340], 1
cmp ecx, eax
je 0x40c864
cmp dword [ebp - 0x14], 8
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00404a00
lea ecx, [esi + 0x344]
lea eax, [ebp - 0x28]
cmp ecx, eax
je 0x40c882
cmp dword [ebp - 0x14], 8
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00404a00
lea ecx, [esi + 0x35c]
lea eax, [ebp - 0x28]
cmp ecx, eax
je 0x40c8a0
cmp dword [ebp - 0x14], 8
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00404a00
cmp dword [esi + 0x3cc], 0
jne 0x40cc96
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.0042eb90
add esp, 8
push 0x10
push str.SavedStatus.json
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00404b90
or edi, 1
xor ecx, ecx
mov dword [ebp - 0x30], edi
lea edi, [esi + 0x3bc]
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0xbc]
movq qword [ebp - 0x70], xmm1
movq qword [ebp - 0xac], xmm1
movups xmmword [ebp - 0xa4], xmm0
movups xmmword [ebp - 0xbc], xmm0
cmp edi, eax
je 0x40c978
mov ecx, dword [edi + 0x14]
cmp ecx, 8
jb 0x40c960
mov eax, dword [edi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x40c94a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d943
mov eax, edx
push ecx
push eax
call fcn.00448b15
movups xmm0, xmmword [ebp - 0xa4]
add esp, 8
movq xmm1, qword [ebp - 0x70]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
movups xmmword [edi], xmm0
movq qword [edi + 0x10], xmm1
jmp 0x40c9b8
mov edx, dword [ebp - 0xa8]
cmp edx, 8
jb 0x40c9b8
mov ecx, dword [ebp - 0xbc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c9ae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d943
push edx
push ecx
call fcn.00448b15
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x3c]
cmp edx, 8
jb 0x40cc96
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c9f0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d943
push edx
push ecx
call fcn.00448b15
add esp, 8
jmp 0x40cc96
lea eax, [ebp - 0x108]
push eax
lea ecx, [esi + 0x1e0]
call fcn.004328d0
mov edi, eax
mov dword [ebp - 4], 4
lea edx, [edi + 4]
mov ecx, dword [edi]
mov dword [esi + 0x340], ecx
lea ecx, [esi + 0x344]
cmp ecx, edx
je 0x40ca42
cmp dword [edx + 0x14], 8
mov eax, edx
jb 0x40ca39
mov eax, dword [edx]
push dword [edx + 0x10]
push eax
call fcn.00404a00
lea eax, [edi + 0x1c]
lea ecx, [esi + 0x35c]
cmp ecx, eax
je 0x40ca62
cmp dword [eax + 0x14], 8
mov edx, eax
jb 0x40ca59
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.00404a00
lea eax, [edi + 0x34]
lea ecx, [esi + 0x374]
cmp ecx, eax
je 0x40ca82
cmp dword [eax + 0x14], 8
mov edx, eax
jb 0x40ca79
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.00404a00
lea ecx, [ebp - 0x108]
call fcn.00409df0
lea edi, [esi + 0x344]
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x28]
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x30]
or eax, 2
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], eax
mov eax, dword [edi + 0x10]
add eax, 4
push eax
call fcn.00406860
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x40cad3
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.00404b90
push 4
push str..._
lea ecx, [ebp - 0x28]
call fcn.00404b90
lea ecx, [esi + 0x374]
lea eax, [ebp - 0x28]
cmp ecx, eax
je 0x40cb0c
cmp dword [ebp - 0x14], 8
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00404a00
lea eax, [ebp - 0x28]
cmp edi, eax
je 0x40cb26
cmp dword [ebp - 0x14], 8
mov ecx, edi
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00404a00
lea ecx, [esi + 0x35c]
lea eax, [ebp - 0x28]
cmp ecx, eax
je 0x40cb44
cmp dword [ebp - 0x14], 8
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00404a00
cmp dword [esi + 0x3cc], 0
jne 0x40cc92
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.0042eb90
add esp, 8
push 0x10
push str.SavedStatus.json
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.00404b90
or dword [ebp - 0x30], 4
lea edi, [esi + 0x3bc]
xor ecx, ecx
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x88]
movq qword [ebp - 0x70], xmm1
movq qword [ebp - 0x78], xmm1
movups xmmword [ebp - 0xa4], xmm0
movups xmmword [ebp - 0x88], xmm0
cmp edi, eax
je 0x40cc17
mov ecx, dword [edi + 0x14]
cmp ecx, 8
jb 0x40cbff
mov eax, dword [edi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x40cbe9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d943
mov eax, edx
push ecx
push eax
call fcn.00448b15
movups xmm0, xmmword [ebp - 0xa4]
add esp, 8
movq xmm1, qword [ebp - 0x70]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
movups xmmword [edi], xmm0
movq qword [edi + 0x10], xmm1
jmp 0x40cc54
mov edx, dword [ebp - 0x74]
cmp edx, 8
jb 0x40cc54
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40cc4a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d943
push edx
push ecx
call fcn.00448b15
add esp, 8
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x3c]
cmp edx, 8
jb 0x40cc92
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40cc88
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d943
push edx
push ecx
call fcn.00448b15
add esp, 8
and dword [ebp - 0x30], 0xfffffffd
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40ccd7
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40cccd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d943
push edx
push ecx
call fcn.00448b15
add esp, 8
lea eax, [esi + 0x3bc]
mov edx, str.Information___The_current_version_information_will_be_saved_to_
push eax
lea ecx, [ebp - 0x50]
call fcn.0041cd20
add esp, 4
push 1
push 0x486788
mov ecx, eax
mov dword [ebp - 4], 7
call fcn.00404b90
or dword [ebp - 0x30], 8
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x68], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x58], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push ecx
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 8
push eax
push 0x3e6
mov ecx, esi
call fcn.00408820
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x54]
cmp edx, 8
jb 0x40cd7e
mov ecx, dword [ebp - 0x68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40cd74
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d943
push edx
push ecx
call fcn.00448b15
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x3c]
cmp edx, 8
jb 0x40cdbf
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40cdb5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d943
push edx
push ecx
call fcn.00448b15
add esp, 8
cmp dword [esi + 0x390], 0
jbe 0x40ce87
cmp dword [esi + 0x3a4], 0
je 0x40ce87
push 0x54
xor eax, eax
mov dword [ebp - 0x18], 0
push str.The_updater_is_being_called_by_the_setup_app_and_the_project_ID_is_being_forced_to_1
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00404a00
push 1
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 9
push eax
push 0x3e7
mov ecx, esi
call fcn.00408820
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40ce56
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ce4c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d97f
push edx
push ecx
call fcn.00448b15
add esp, 8
lea eax, [esi + 0x394]
lea edi, [esi + 0x344]
cmp edi, eax
je 0x40ce7b
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x40ce70
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edi
call fcn.00404a00
mov dword [esi + 0x340], 1
jmp 0x40ce8d
lea edi, [esi + 0x344]
cmp byte [esi + 0x3ba], 0
jne 0x40cfe2
cmp dword [esi + 0x340], 1
jge 0x40cfc6
push 0x15
xor eax, eax
mov dword [ebp - 0x18], 0
push str.Project_ID_is_not_set
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00404a00
push 1
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0xa
push eax
push 0x3e7
mov ecx, esi
call fcn.00408820
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40cf24
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40cf1a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d97f
push edx
push ecx
call fcn.00448b15
add esp, 8
cmp byte [ebp - 0x29], 0
jne 0x40cfb1
push 0x2f
xor eax, eax
mov dword [ebp - 0x18], 0
push str.Information_2013___Waiting_for_Acquire_to_start
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00404a00
push 1
push 0x3e7
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0xb
push eax
push 0
mov ecx, esi
call fcn.0040b710
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40cfad
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40cfa3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d97f
push edx
push ecx
call fcn.00448b15
add esp, 8
mov byte [ebp - 0x29], 1
push 0xea60
push dword [esi + 0x23c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x40cff7
cmp byte [esi + 0x3ba], 0
jne 0x40cfe2
lea ecx, [esi + 0x1e0]
call fcn.00432830
test al, al
je 0x40d07e
cmp dword [esi + 0x340], 1
jge 0x40d0ad
mov edi, dword [ebp - 0x30]
jmp 0x40c820
push 0x25
xor eax, eax
mov dword [ebp - 0x18], 0
push str.Main_thread_exited_waiting_for_player
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00404a00
mov dword [ebp - 4], 0xc
push 1
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
push 0x3e7
call fcn.00408820
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40d06d
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40d063
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d97f
push edx
push ecx
call fcn.00448b15
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 0x26
xor eax, eax
mov dword [ebp - 0x18], 0
push str.Player_has_exited_so_we_will_terminate
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00404a00
mov dword [ebp - 4], 0xd
jmp 0x40d021
lea eax, [esi + 0x340]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.0042cb80
add esp, 8
push 0x15
push str.Project_ID_is_set_to
push 0
mov ecx, eax
mov dword [ebp - 4], 0xe
call fcn.0041e5c0
or dword [ebp - 0x30], 0x10
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x68], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x58], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push ecx
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 0xf
push eax
push 0x3e6
mov ecx, esi
call fcn.00408820
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x54]
cmp edx, 8
jb 0x40d152
mov ecx, dword [ebp - 0x68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40d148
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d948
push edx
push ecx
call fcn.00448b15
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x3c]
cmp edx, 8
jb 0x40d193
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40d189
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d948
push edx
push ecx
call fcn.00448b15
add esp, 8
push str.WayfinderServerCoreSync.xml
lea eax, [ebp - 0x50]
push edi
push eax
call fcn.0041d080
add esp, 0xc
lea ecx, [esi + 0xf0]
push eax
call fcn.00406110
mov edx, dword [ebp - 0x3c]
cmp edx, 8
jb 0x40d1eb
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40d1e1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d94d
push edx
push ecx
call fcn.00448b15
add esp, 8
push str.WayfinderServerMapSync.xml
lea eax, [ebp - 0x50]
push edi
push eax
call fcn.0041d080
add esp, 0xc
lea ecx, [esi + 0x108]
push eax
call fcn.00406110
mov edx, dword [ebp - 0x3c]
cmp edx, 8
jb 0x40d243
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40d239
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d952
push edx
push ecx
call fcn.00448b15
add esp, 8
push str.WayfinderServerProjectSync.xml
lea eax, [ebp - 0x50]
push edi
push eax
call fcn.0041d080
add esp, 0xc
lea ecx, [esi + 0x120]
push eax
call fcn.00406110
mov edx, dword [ebp - 0x3c]
cmp edx, 8
jb 0x40d29b
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40d291
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d957
push edx
push ecx
call fcn.00448b15
add esp, 8
push 0x16
xor eax, eax
mov dword [ebp - 0x18], 0
push str.Synch_files_identified
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00404a00
push 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0x10
push eax
push 0x3e6
mov ecx, esi
call fcn.00408820
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40d318
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40d30e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d97f
push edx
push ecx
call fcn.00448b15
add esp, 8
cmp byte [ebp - 0x29], 0
je 0x40d39d
push 0x2f
xor eax, eax
mov dword [ebp - 0x18], 0
push str.Information_2014___Acquire_started_successfully
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00404a00
push 1
push 0x3e7
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0x11
push eax
push 0
mov ecx, esi
call fcn.0040b710
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40d39d
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40d393
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d97f
push edx
push ecx
call fcn.00448b15
add esp, 8
mov dword [ebp - 4], 0x12
mov edi, 3
nop dword [eax]
cmp byte [esi + 0x3ac], 0
jne 0x40d4ef
cmp byte [esi + 0x3ad], 0
je 0x40d4ef
push 0x43
xor eax, eax
mov dword [ebp - 0x18], 0
push str.Information_2046___Wayfinder_is_in_passive_state._Attempting_reboot
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00404a00
push 1
push 0x3b0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x13
push eax
push 0xffffffffffffffff
mov ecx, esi
call fcn.0040b710
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40d443
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40d439
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d97f
push edx
push ecx
call fcn.00448b15
add esp, 8
cmp byte [esi + 0x3ba], 0
jne 0x40d453
call fcn.0042de80
jmp 0x40d455
mov al, 1
test al, al
jne 0x40d4e8
push 0x33
xor eax, eax
mov dword [ebp - 0x18], 0
push str.Error_2047___Reboot_failed._Manual_reboot_required.
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00404a00
push 1
push 0x3b0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x14
push eax
push 0xffffffffffffffff
mov ecx, esi
call fcn.0040b710
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40d4d6
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40d4cc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d97f
push edx
push ecx
call fcn.00448b15
add esp, 8
mov eax, dword [esi + 0x3b4]
cmp eax, 3
cmovl eax, edi
mov dword [esi + 0x3b4], eax
mov byte [esi + 0x3ad], 0
mov eax, dword [esi + 0x234]
test eax, eax
je 0x40d546
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x40d546
mov edi, dword [esi + 0x234]
cmp dword [edi + 4], eax
je 0x40d53c
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [edi + 4], eax
je 0x40d95c
push 0
push dword [edi + 4]
push dword [edi]
call fcn.00434e52
add esp, 0xc
test eax, eax
jne 0x40d963
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [esi + 0x234], 0
cmp byte [esi + 0x240], 0
je 0x40d558
cmp dword [esi + 0x234], 0
je 0x40d5a3
call fcn.0042ddb0
mov edi, dword [esi + 0x248]
sub edi, eax
mov eax, dword [esi + 0x24c]
sbb eax, edx
cdq
xor eax, edx
xor edi, edx
sub edi, edx
sbb eax, edx
mov ecx, eax
mov eax, dword [esi + 0x3dc]
cdq
cmp ecx, edx
jg 0x40d596
jl 0x40d589
cmp edi, eax
jae 0x40d596
cmp byte [esi + 0x269], 0
je 0x40d71e
cmp dword [esi + 0x234], 0
jne 0x40d67b
push 0x1e
xor eax, eax
mov dword [ebp - 0x18], 0
push str.About_to_create_updater_thread
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00404a00
push 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x15
push eax
push 0x3e6
mov ecx, esi
call fcn.00408820
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40d61a
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40d610
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d97f
push edx
push ecx
call fcn.00448b15
add esp, 8
push 8
call fcn.00448ae5
mov edi, eax
add esp, 4
mov dword [ebp - 0x8c], edi
push 4
mov byte [ebp - 4], 0x16
call fcn.00448ae5
or dword [ebp - 0x30], 0x20
add esp, 4
mov dword [ebp - 0x6c], eax
mov dword [eax], esi
lea ecx, [edi + 4]
mov byte [ebp - 4], 0x17
push ecx
push 0
push eax
push 0x41ee90
push 0
push 0
mov dword [ebp - 0x38], ecx
call fcn.0045166d
add esp, 0x18
mov dword [edi], eax
test eax, eax
je 0x40d96a
mov byte [ebp - 4], 0x12
mov dword [esi + 0x234], edi
jmp 0x40d71e
xor eax, eax
mov dword [ebp - 0x18], 0
push eax
push 0x4854f0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00404a00
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x18
push eax
push 0
push 0
mov ecx, esi
call fcn.0040e6b0
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40d6ee
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40d6e4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d97a
push edx
push ecx
call fcn.00448b15
add esp, 8
call fcn.0042ddb0
lea ecx, [esi + 0x248]
mov dword [ebp - 0x38], 3
mov dword [ecx], eax
lea eax, [ebp - 0x38]
push 8
push ecx
push eax
push 0x494af8
push 0x4949f0
mov dword [ecx + 4], edx
call fcn.00431f30
add esp, 0x14
cmp byte [esi + 0x3ba], 0
jne 0x40d7b0
lea ecx, [esi + 0x1e0]
call fcn.00432830
test al, al
jne 0x40d7b0
push 0x26
xor eax, eax
mov dword [ebp - 0x18], 0
push str.Player_has_exited_so_we_will_terminate
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00404a00
mov byte [ebp - 4], 0x19
push 1
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
push 0x3e7
call fcn.00408820
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40d06d
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40d063
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d97f
jmp 0x40d063
push 0x7530
push dword [esi + 0x23c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, 3
cmp eax, 0x102
je 0x40d3b0
jmp 0x40d859
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
push 0x12
xor eax, eax
mov dword [ebp - 0x18], 0
push str.Main_thread_exited
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00404a00
mov dword [ebp - 4], 0x22
jmp 0x40d761
call fcn.0044e13a
call fcn.0044e13a
call fcn.0044e13a
call fcn.0044e13a
call fcn.0044e13a
push 5
call fcn.004344da
push 2
call fcn.004344da
mov eax, dword [ebp - 0x38]
push 6
mov dword [eax], 0
call fcn.004344da
call fcn.0044e13a
call fcn.0044e13a
int3