Function at 0x49498a
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x587bd0
push 0x4e51b0
mov eax, dword fs:[0]
push eax
push ecx
push ecx
mov eax, 0x31e8
call fcn.004e3640
mov eax, dword [0x59a240]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
xor ebx, ebx
mov dword [ebp - 0x31e0], ebx
push 0x300c
push ebx
lea eax, [ebp - 0x31bc]
push eax
call fcn.004e4da0
mov dword [ebp - 0x31dc], ebx
mov dword [ebp - 0x31e4], ebx
push 0x40
push ebx
lea eax, [ebp - 0x5c]
push eax
call fcn.004e4da0
add esp, 0x18
mov dword [ebp - 0x31d4], ebx
mov dword [ebp - 0x31ec], ebx
call fcn.00411726
xor edi, edi
inc edi
push edi
call fcn.0049337b
call fcn.0040e037
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x494a7d
call fcn.0047d25f
test eax, eax
je 0x494a7d
call fcn.0047d25f
test eax, eax
jns 0x494a54
call fcn.0047d25f
neg eax
push eax
push str.WebServer__d
push ebx
call fcn.0049e318
add esp, 0xc
mov esi, eax
jmp 0x494a59
mov esi, str.MISSION_CONTROL
push ebx
call fcn.0047c976
pop ecx
push eax
push esi
call fcn.004cbb99
push eax
push str.__PAULA_Aggregate_Server_v_s:___s___s__
push ebx
call fcn.0049e318
add esp, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
call fcn.004464be
mov esi, eax
mov dword [ebp - 0x31c4], esi
test esi, esi
jne 0x494a9e
push str.:10:FATAL_SERVER_ERROR:_The_PAULA_object_could_not_be_created_
call fcn.004255b9
pop ecx
jmp 0x495a46
push 0x300c
push ebx
lea eax, [ebp - 0x31bc]
push eax
call fcn.004e4da0
add esp, 0xc
mov dword [ebp - 0x3198], edi
call fcn.00493a5a
wait
mov dword [ebp - 4], ebx
call fcn.00438996
call fcn.0043d46e
wait
mov dword [ebp - 4], 0xfffffffe
jmp 0x494af4
call fcn.004ca9ca
mov dword [ebp - 0x31e8], eax
push str._nLoading_configuration.
push 7
call fcn.0040f3a2
push str.PaulaConfig.cfg
mov esi, dword [ebp - 0x31c4]
push esi
call fcn.0044dabb
add esp, 0x10
test eax, eax
je 0x494b6a
push eax
push str.PaulaConfig.cfg
push str.PaulaServer___could_not_LoadConfigSettings__s__because___s__Trying_again...
call fcn.00425c08
push str.PaulaConfig.cfg
push esi
call fcn.0044dabb
add esp, 0x14
mov dword [ebp - 0x31c0], eax
test eax, eax
je 0x494b6a
push 0xf
pop esi
mov ebx, eax
push ebx
push str.PaulaConfig.cfg
push str.PaulaServer___FAILED_to_LoadConfigSettings__s__because___s__Continuing_anyway...
call fcn.004255b9
add esp, 0xc
sub esi, 1
jne 0x494b50
xor ebx, ebx
push str._nInitializing..
push 7
call fcn.0040f3a2
push 0x139
mov esi, str.E:UserskerryDocumentsVisual_Studio_2022ProjectsPAULA__TEMP_COPY_ServerPAULA.c
push esi
push ebx
call fcn.004c9210
add esp, 0x14
call fcn.0047d25f
test eax, eax
je 0x494bc6
push 0x13d
push esi
push str.PaulaServer
push ebx
push ebx
push 0x6929e8
push 0x498960
push ebx
push ebx
call fcn.00428c2f
test eax, eax
je 0x494bc6
push 0x13e
push esi
push str.PaulaServer
push eax
call fcn.00426fac
mov dword [0x6929e8], ebx
push 0x143
push esi
push str.PaulaServer
push ebx
push ebx
push 0x6929e8
push 0x492f27
push ebx
push ebx
call fcn.00428c2f
test eax, eax
jne 0x494c01
push str._GetLastError_
push str.:9:PaulaServer___FAILED:_Could_not_start_the_termination_detection_thread___s
call fcn.004255b9
pop ecx
pop ecx
jmp 0x494c12
push 0x149
push esi
push str.PaulaServer
push eax
call fcn.00426fac
wait
mov dword [ebp - 4], edi
push ebx
call fcn.004382ef
pop ecx
call fcn.004ddb33
call fcn.004d682d
push ebx
call fcn.0049337b
push str._nChecking_for_updates...
push 7
call fcn.0040f3a2
push 0x6929e8
call fcn.004d2d7c
mov esi, dword [ebp - 0x31c4]
push esi
call fcn.004993f9
push str._nSetting_file_access_rights...
push 7
call fcn.0040f3a2
push edi
push ebx
call fcn.00467602
add esp, 0x20
cmp dword [esi + 0xd90], 0x1dcd79e3
jne 0x494c92
push str.10.164.136.136
push ebx
push ebx
call fcn.0046045f
pop ecx
pop ecx
push eax
call fcn.004e4f00
pop ecx
pop ecx
test eax, eax
je 0x494c92
call fcn.0040d6b1
jmp 0x494c97
call fcn.0040d693
push str._nLogging_resources...
push 7
call fcn.0040f3a2
push str._nLogging_on_to_server...
push 7
call fcn.0040f3a2
push 0x19c
push str.E:UserskerryDocumentsVisual_Studio_2022ProjectsPAULA__TEMP_COPY_ServerPAULA.c
push ebx
call fcn.004625f2
push 0x3f
lea eax, [ebp - 0x5c]
push eax
call fcn.0046028c
mov esi, str.TenderTypes.htm
push esi
push ebx
call fcn.0047ced0
push eax
call fcn.0042916f
add esp, 0x30
test eax, eax
je 0x494ddd
xor eax, eax
lea edi, [ebp - 0x180]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x170]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x1a5
push str.E:UserskerryDocumentsVisual_Studio_2022ProjectsPAULA__TEMP_COPY_ServerPAULA.c
lea eax, [ebp - 0x170]
push eax
call fcn.004c9210
add esp, 0xc
push ebx
push ebx
lea eax, [ebp - 0x180]
push eax
push ebx
push ebx
push esi
push ebx
call fcn.0047ced0
pop ecx
pop ecx
push eax
call fcn.0042ac63
pop ecx
pop ecx
lea esi, [ebp - 0x180]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
lea esi, [ebp - 0x170]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004ca88e
push eax
call fcn.004ee48a
add esp, 0x24
cmp eax, 0x5265c00
jle 0x494ddd
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push ebx
lea eax, [ebp - 0x180]
push eax
push ebx
push ebx
push str.TenderTypes.htm
push ebx
call fcn.0047ced0
pop ecx
pop ecx
push eax
call fcn.0042ac63
pop ecx
pop ecx
lea esi, [ebp - 0x180]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
lea esi, [ebp - 0x170]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004ca88e
push eax
call fcn.004ee48a
add esp, 0x24
cmp eax, 0x5265c00
jle 0x494ddd
push str.TenderTypes.htm
push ebx
call fcn.0047ced0
push eax
call fcn.00429e69
push str.:2:The_tender_type_HTML_help_file_was_deleted.
call fcn.00425c08
add esp, 0x10
mov dword [ebp - 0x31d4], ebx
mov eax, dword [ebp - 0x31c4]
add eax, 0x1094
push eax
call fcn.00464946
pop ecx
wait
mov dword [ebp - 4], 0xfffffffe
jmp 0x494e1a
mov dword [ebp - 0x31d0], ebx
call fcn.0046f522
call fcn.00493bc0
push ebx
call fcn.0040ecc6
mov dword [esp], str._nSESSION_READY_TO_START_n
push 7
call fcn.0040f3a2
pop ecx
pop ecx
wait
mov dword [ebp - 4], 2
mov dword [ebp - 0x31d8], ebx
cmp dword [0x6929e8], 0
jne 0x4958ee
mov dword [0x68c9a8], ebx
lea eax, [ebp - 0x3200]
push eax
call fcn.004c9010
pop ecx
push ebx
sub esp, 0x10
mov esi, eax
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004c9acc
push eax
push dword [ebp - 0x31d8]
push str._nStarting_loop__d:__s
push 7
call fcn.0040f3a2
push 0x1eb
call fcn.00494548
push 1
push ebx
call fcn.00493fbf
add esp, 0x30
test eax, eax
je 0x494ef5
push 0x1f2
push str.E:UserskerryDocumentsVisual_Studio_2022ProjectsPAULA__TEMP_COPY_ServerPAULA.c
push 0x80
call fcn.004625f2
add esp, 0xc
test eax, eax
jle 0x495070
call fcn.004ca9ca
sub eax, dword [0x6929ec]
cmp eax, 0x36ee80
jbe 0x495011
call fcn.004ca9ca
mov dword [0x6929ec], eax
push str.:5:System_has_been_locked_in_standby_for_over_an_hour.
call fcn.004255b9
pop ecx
mov esi, 0xea60
mov dword [0x68c9a8], 0x2c
push 0x214
call fcn.00494548
mov dword [esp], 0x6929e8
call fcn.0049424a
pop ecx
test eax, eax
je 0x494f35
call fcn.004ca9ca
sub eax, dword [ebp - 0x31d0]
cmp eax, 0x1b7740
jbe 0x49510d
cmp dword [ebp - 0x31d0], 0
jne 0x494f58
push 0x6929e8
call fcn.0049424a
pop ecx
test eax, eax
je 0x494f58
call fcn.004ca9ca
mov dword [ebp - 0x31d0], eax
call fcn.004ee499
cdq
idiv esi
mov esi, edx
call fcn.0047d475
lea edi, [eax - 1]
neg edi
sbb edi, edi
and edi, 0xfffb6c20
add edi, 0x927c0
sub edi, esi
call fcn.004ca9ca
sub eax, dword [ebp - 0x31d0]
cmp eax, edi
jbe 0x49510d
push str._nSyncronizing_all_files...
push 7
call fcn.0040f3a2
push 0x227
push str.E:UserskerryDocumentsVisual_Studio_2022ProjectsPAULA__TEMP_COPY_ServerPAULA.c
push 0xf97f
call fcn.004625f2
add esp, 0x14
test eax, eax
jne 0x4950b2
push 0x539d1c
push 7
call fcn.0040f3a2
pop ecx
pop ecx
cmp dword [0x59a178], 0
je 0x494ff9
push 0x104
push ebx
lea eax, [ebp - 0x160]
push eax
call fcn.004e4da0
push ebx
lea eax, [ebp - 0x160]
push eax
call fcn.0046379e
add esp, 0x14
mov dword [0x59a178], ebx
push 1
call fcn.004991ed
pop ecx
call fcn.004651fe
mov dword [ebp - 0x31dc], ebx
jmp 0x4950fd
xor eax, eax
lea edi, [ebp - 0x1a0]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x1a0]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x19a]
cmp eax, dword [0x6929f4]
je 0x495050
push str.:0:TAMS_is_restarting.__Entering_standby...
call fcn.00425c08
pop ecx
movzx eax, word [ebp - 0x19a]
mov dword [0x6929f4], eax
push 0x6929e8
push 0x493e0
call fcn.004cb09b
pop ecx
pop ecx
call fcn.004ca9ca
mov dword [0x6929f0], eax
jmp 0x4958e3
call fcn.004ca9ca
mov dword [0x6929ec], eax
call fcn.004ca9ca
sub eax, dword [0x6929f0]
cmp eax, 0x1d4c0
jae 0x494ef5
push 0x6929e8
mov esi, 0xea60
push esi
call fcn.004cb09b
push str.:0:Exiting_standby_after_TAMS_reboot...
call fcn.00425c08
add esp, 0xc
jmp 0x494efa
push 0x53d724
push 7
call fcn.0040f3a2
push ebx
call fcn.004991ed
add esp, 0xc
mov eax, dword [ebp - 0x31dc]
inc eax
mov dword [ebp - 0x31dc], eax
cmp eax, 0xf
jle 0x4950eb
push str.PaulaConfig.cfg
push dword [ebp - 0x31c4]
call fcn.0044dabb
pop ecx
pop ecx
mov eax, dword [ebp - 0x31c4]
add eax, 0x1094
push eax
call fcn.00464946
pop ecx
call fcn.0040cd0a
call fcn.004ca9ca
mov dword [ebp - 0x31d0], eax
mov dword [0x68c9a8], 0x62
push 0x24a
call fcn.00494548
push ebx
push 0x124f80
call fcn.004643fb
mov dword [0x68c9a8], 0x6b
push 0x253
call fcn.00494548
call fcn.00470a5e
mov dword [0x68c9a8], 0x6f
push 0x257
call fcn.00494548
push dword [ebp - 0x31c4]
call fcn.00496b16
mov dword [0x68c9a8], 0x73
push 0x25b
call fcn.00494548
call fcn.00498a8e
mov dword [0x68c9a8], 0x78
push 0x260
call fcn.00494548
add esp, 0x20
call fcn.004ca9ca
sub eax, dword [ebp - 0x31e4]
cmp eax, 0x927c0
jbe 0x4951b6
call fcn.004d32ac
call fcn.004ca9ca
mov dword [ebp - 0x31e4], eax
call fcn.004ca9ca
sub eax, dword [ebp - 0x31e8]
cmp eax, 0x124f80
jbe 0x4951dd
call fcn.00438996
call fcn.00436994
call fcn.004ca9ca
mov dword [ebp - 0x31e8], eax
mov dword [0x68c9a8], 0x8b
push 0x273
call fcn.00494548
pop ecx
cmp dword [0x6929e8], 0
jne 0x4958e3
cmp dword [ebp - 0x31d8], 0
je 0x49522c
push ebx
push 0x20
call fcn.00460bec
pop ecx
pop ecx
test eax, eax
je 0x49522c
call fcn.004ca9ca
sub eax, dword [ebp - 0x31ec]
cmp eax, 0x1b7740
jbe 0x4952ae
mov dword [0x68c9a8], 0x92
push 0x27a
call fcn.00494548
push 1
call fcn.0045c965
mov dword [0x68c9a8], 0x98
push 0x280
call fcn.00494548
push 0x6929e8
call fcn.004dfd53
add esp, 0x10
test eax, eax
jne 0x495277
call fcn.004ca9ca
mov dword [ebp - 0x31ec], eax
mov dword [0x68c9a8], 0x9d
push 0x285
call fcn.00494548
mov dword [esp], 0x6929e8
call fcn.004d2d7c
mov dword [0x68c9a8], 0x9f
mov dword [esp], 0x287
call fcn.00494548
pop ecx
cmp dword [0x6929e8], 0
jne 0x4958e3
mov dword [0x68c9a8], 0xa6
push 0x28e
call fcn.00494548
pop ecx
wait
mov dword [ebp - 4], 3
push dword [ebp - 0x31c4]
call fcn.00494587
pop ecx
wait
mov dword [ebp - 4], 2
jmp 0x495309
push 1
push ebx
call fcn.00493fbf
pop ecx
pop ecx
test eax, eax
je 0x49532d
mov esi, 0x1b7740
mov dword [ebp - 0x31c0], esi
mov dword [ebp - 0x31c8], esi
jmp 0x495461
xor eax, eax
lea edi, [ebp - 0x1b0]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x1b0]
push eax
call fcn.004c8fad
sub esp, 0xc
lea esi, [ebp - 0x1b0]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004c82a1
add esp, 0x10
movzx eax, ax
mov word [ebp - 0x1ac], ax
mov ecx, 0x668a0
mov dword [ebp - 0x31c0], ecx
mov dword [ebp - 0x31c8], ecx
cmp dword [ebp - 0x224], 0
jne 0x495449
shl eax, 4
lea esi, [ebp - 0x220]
add esi, eax
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
lea esi, [ebp - 0x1b0]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004ca94d
push eax
call fcn.004ee48a
add esp, 0x24
cmp eax, 0xdbba0
jg 0x4953c6
mov esi, 0xea60
jmp 0x49531c
cmp eax, 0x36ee80
jg 0x4953f0
movzx ecx, word [ebp - 0x1ac]
add ecx, ecx
mov ax, word [ebp - 0x1a8]
cmp ax, word [ebp + ecx*8 - 0x218]
jb 0x4953f0
mov edi, 0x1d4c0
mov esi, edi
jmp 0x49543b
mov eax, dword [ebp - 0x1ac]
dec eax
push 4
pop ecx
cmp ax, cx
ja 0x495413
cmp word [ebp - 0x1a8], 0x12
jb 0x495413
mov esi, 0x493e0
jmp 0x49531c
cmp word [ebp - 0x1ac], 0
je 0x495427
cmp word [ebp - 0x1ac], 6
jne 0x49545b
mov edi, 0x1d4c0
cmp word [ebp - 0x1a8], 0x10
jb 0x495453
mov esi, 0x493e0
mov dword [ebp - 0x31c0], esi
mov dword [ebp - 0x31c8], esi
jmp 0x495466
mov esi, 0xdbba0
jmp 0x49531c
mov esi, dword [ebp - 0x31c0]
jmp 0x495466
mov esi, dword [ebp - 0x31c0]
mov edi, 0x1d4c0
push 1
push ebx
call fcn.00493fbf
pop ecx
pop ecx
test eax, eax
jne 0x49547f
push 0x36ee80
call fcn.004979c0
pop ecx
mov dword [0x68c9a8], 0x10d
push 0x2f5
call fcn.00494548
pop ecx
call fcn.0047d25f
test eax, eax
je 0x4954a8
call fcn.004ca9ca
mov dword [ebp - 0x31e0], eax
call fcn.004ee499
mov ecx, esi
cmp esi, edi
cmova ecx, edi
shr ecx, 2
inc ecx
xor edx, edx
div ecx
sub esi, edx
call fcn.004ca9ca
sub eax, dword [ebp - 0x31e0]
cmp eax, esi
jbe 0x495712
call fcn.0047d25f
test eax, eax
js 0x495712
xor eax, eax
lea edi, [ebp - 0x170]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x190]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x180]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x31cc], ebx
push 0x304
push str.E:UserskerryDocumentsVisual_Studio_2022ProjectsPAULA__TEMP_COPY_ServerPAULA.c
lea eax, [ebp - 0x180]
push eax
call fcn.004c9210
mov dword [ebp - 0x31cc], ebx
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0x170]
push eax
call fcn.00493887
add esp, 0x14
test eax, eax
je 0x4955a3
sub esp, 0x10
lea esi, [ebp - 0x170]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
lea esi, [ebp - 0x180]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004ca88e
push eax
call fcn.004ee48a
mov dword [ebp - 0x31f0], eax
add esp, 0x14
lea esi, [ebp - 0x190]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
lea esi, [ebp - 0x180]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004ca88e
push eax
call fcn.004ee48a
add esp, 0x24
mov ecx, dword [ebp - 0x31c0]
cmp eax, ecx
jle 0x4955b1
xor esi, esi
inc esi
mov dword [ebp - 0x31cc], esi
jmp 0x49564e
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x517380]
mulsd xmm0, qword [0x5585a8]
cvttsd2si eax, xmm0
mov edi, dword [ebp - 0x31f0]
cmp edi, eax
jle 0x495648
xor esi, esi
inc esi
mov dword [ebp - 0x31cc], esi
push esi
push ebx
call fcn.00493fbf
pop ecx
pop ecx
test eax, eax
jne 0x49564e
movzx eax, word [ebp - 0x17a]
cmp eax, dword [0x6929f8]
jne 0x49563a
cmp dword [ebp - 0x31d4], 0
jne 0x49563a
call fcn.004ca9ca
sub eax, dword [0x6929fc]
cmp eax, 0x927c0
jbe 0x49563a
cmp edi, 0x493e0
jle 0x495630
push edi
push str.:2:Its_been_too_long_since_SA7_succeeded:_lSuccessDif___d
call fcn.00425c08
pop ecx
pop ecx
call fcn.004ca9ca
mov dword [0x6929fc], eax
movzx eax, word [ebp - 0x17a]
mov dword [0x6929f8], eax
jmp 0x49564e
mov esi, dword [ebp - 0x31cc]
call fcn.004c84e2
test eax, eax
je 0x49566f
test esi, esi
jne 0x495666
push str.:1:_RefreshSales___is_being_forced_because_the_time_discrepancy_file_is_broken.
call fcn.00425c08
pop ecx
xor esi, esi
inc esi
mov dword [ebp - 0x31cc], esi
test esi, esi
je 0x495707
cmp dword [ebp - 0x31d4], 0
jne 0x495707
push 0x33b
push str.E:UserskerryDocumentsVisual_Studio_2022ProjectsPAULA__TEMP_COPY_ServerPAULA.c
lea eax, [ebp - 0x190]
push eax
call fcn.004c9210
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0x170]
push eax
call fcn.00497d0e
push 0x6929e8
lea eax, [ebp - 0x31bc]
push eax
push dword [ebp - 0x31c4]
call fcn.004960ec
add esp, 0x20
test eax, eax
je 0x495707
push 0x341
push str.E:UserskerryDocumentsVisual_Studio_2022ProjectsPAULA__TEMP_COPY_ServerPAULA.c
lea eax, [ebp - 0x170]
push eax
call fcn.004c9210
lea esi, [ebp - 0x170]
lea edi, [ebp - 0x190]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0x170]
push eax
call fcn.00497d0e
add esp, 0x14
call fcn.004ca9ca
mov dword [ebp - 0x31e0], eax
mov dword [0x68c9a8], 0x16e
push 0x356
call fcn.00494548
mov dword [0x68c9a8], 0x174
mov dword [esp], 0x35c
call fcn.00494548
call fcn.004969b5
mov dword [0x68c9a8], 0x179
mov dword [esp], 0x361
call fcn.00494548
pop ecx
cmp dword [ebp - 0x31d4], 0
je 0x495789
call fcn.004ca9ca
sub eax, dword [0x692a14]
cmp eax, 0x4e20
jb 0x495789
push ebx
push str.OpenFiles.log
push ebx
call fcn.0047cdb0
pop ecx
pop ecx
push eax
call fcn.0042cfc9
pop ecx
pop ecx
mov dword [0x68c9a8], 0x184
push 0x36c
call fcn.00494548
pop ecx
cmp dword [0x56f16c], 0
je 0x49580d
call fcn.004ca9ca
sub eax, dword [0x692a00]
cmp eax, 0xdbba0
jbe 0x49580d
call fcn.004ca9ca
mov dword [0x692a00], eax
call fcn.00467997
test eax, eax
je 0x49580d
cmp dword [0x692a04], 0
jne 0x4957df
call fcn.004ca9ca
mov dword [0x692a04], eax
call fcn.004ca9ca
sub eax, dword [0x692a04]
cmp eax, 0x6ddd00
jbe 0x49580d
call fcn.0045d0ba
push eax
push str.:1:FYI:_The_server_is_verifying_the_TAMS_server_auto_detected_ip_address:_iResult___d
call fcn.00425c08
pop ecx
pop ecx
call fcn.004ca9ca
mov dword [0x692a04], eax
mov dword [0x68c9a8], 0x199
push 0x381
call fcn.00494548
push 1
push ebx
call fcn.00493fbf
add esp, 0xc
test eax, eax
jne 0x495840
push 0x36ee80
push 1
push ebx
call fcn.00465028
add esp, 0xc
mov dword [0x68c9a8], 0x19f
push 0x387
call fcn.00494548
mov dword [0x68c9a8], 0x1a6
mov dword [esp], 0x38e
call fcn.00494548
pop ecx
cmp dword [ebp - 0x31d4], 0
je 0x49587b
mov eax, 0x2710
jmp 0x4958d6
call fcn.0047d25f
test eax, eax
je 0x49588b
mov eax, 0x7d0
jmp 0x4958d6
call fcn.0047d475
cmp eax, 1
jne 0x4958ab
push 0x4e20
push 0x7d0
call fcn.0045933c
add eax, 0xea60
jmp 0x4958d4
call fcn.0047d475
test eax, eax
je 0x4958c0
push 0x9c40
push 0x2710
jmp 0x4958ca
push 0x1b58
push 0x3e8
call fcn.0045933c
add eax, 0x7530
pop ecx
pop ecx
push 0x6929e8
push eax
call fcn.004cb09b
pop ecx
pop ecx
inc dword [ebp - 0x31d8]
jmp 0x494e4e
wait
mov dword [ebp - 4], 0xfffffffe
jmp 0x49596e
lea eax, [ebp - 0x31bc]
push eax
call fcn.0042d8a2
pop ecx
call fcn.0047d25f
test eax, eax
je 0x4959de
call fcn.004d85ed
test eax, eax
je 0x4959de
push str._n_nWaiting_up_to_20_seconds_for_async_backup_thread_to_quit...
call fcn.0040f3a2
mov dword [esp], 0x4e20
call fcn.004e11cd
pop ecx
test eax, eax
jne 0x4959c7
push str.:3:WaitForSendProcessedUploadPackagesAsync___FAILED.
call fcn.004255b9
mov dword [esp], str.FAILED___
call fcn.0040f3a2
mov dword [esp], 0xad9
jmp 0x4959d8
push 0x539d1c
call fcn.0040f3a2
mov dword [esp], 0x4c6
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.E:UserskerryDocumentsVisual_Studio_2022ProjectsPAULA__TEMP_COPY_ServerPAULA.c
push 0x3e1
push ebx
push dword [ebp - 0x31a8]
call fcn.004a3fce
add esp, 0x10
test eax, eax
je 0x495a41
push str.ww
push ebx
push dword [ebp - 0x31a8]
call fcn.004a733c
add esp, 0xc
push 0x4b
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
call esi
push str.byM
push 5
push dword [ebp - 0x31a8]
call fcn.004a733c
add esp, 0xc
push 0xaf
call esi
push dword [ebp - 0x31a8]
call fcn.004a3646
pop ecx
call fcn.00444254
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004e3632
leave
ret