Function at 0x4a0cf0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x784
push ebx
push esi
push edi
mov edi, ecx
lea eax, [ebp - 0x264]
push 0x104
lea ebx, [edi + 0xc]
push ebx
push eax
call fcn.00547600
push 0xffffffffffffffff
push 0x104
lea eax, [ebp - 0x264]
push str..current.txt
push eax
call fcn.00547420
push ebx
call fcn.005469f0
mov esi, eax
lea eax, [ebp - 0x264]
push eax
call fcn.005469f0
push ebx
push str._s..txt
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x160]
push 0x104
push eax
call fcn.00547140
add esp, 0x34
lea ecx, [ebp - 0x14]
push 0
push 0
push 4
call fcn.004997b0
push ecx
mov eax, esp
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x160]
mov dword [eax], ecx
lea ecx, [ebp - 0x784]
call fcn.0049a140
lea eax, [ebp - 0x160]
push eax
call fcn.00546650
add esp, 4
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x160]
lea ecx, [ebp - 0x1c]
push eax
call fcn.0049f660
lea ecx, [ebp - 0x784]
call fcn.0049c500
test al, al
je 0x4a0f55
push esi
push str._s.__u.txt
lea eax, [ebp - 0x160]
push 0x104
push eax
call fcn.00547140
add esp, 0x10
lea ecx, [ebp - 0x784]
call fcn.0049aad0
test al, al
je 0x4a0f55
mov esi, 3
lea ecx, [ebp - 0x784]
call fcn.0049b8d0
push closesocket
push dword [ebp - 0x20]
push eax
call fcn.00547680
add esp, 0xc
test eax, eax
jne 0x4a0fee
mov esi, dword [0x7d9a88]
lea eax, [ebp - 0x368]
push esi
push ebx
push str._s._10u.txt
push 0x104
push eax
call fcn.00547140
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x24]
add esp, 0x14
cmp eax, ecx
jb 0x4a0e69
mov eax, dword [ebp - 4]
lea eax, [ecx + eax*4]
lea ecx, [ebp - 0x24]
cmp ecx, eax
jae 0x4a0e69
push str._src___m_Memory.Base______src____m_Memory.Base____m_Size___
push 0x47a
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srcpublic_tier1utlvector.h
call fcn.00536b70
add esp, 0xc
test al, al
jne 0x4a0e69
int3
lea ecx, [ebp - 0x14]
call fcn.0046ffa0
mov edx, dword [ebp - 4]
lea ecx, [edx + 1]
cmp ecx, eax
jle 0x4a0e95
lea ecx, [ebp - 0x14]
call fcn.0046ffa0
mov ecx, dword [ebp - 4]
sub ecx, eax
inc ecx
push ecx
lea ecx, [ebp - 0x14]
call fcn.00499a30
mov edx, dword [ebp - 4]
inc edx
mov dword [ebp - 4], edx
lea eax, [edx - 1]
test eax, eax
jle 0x4a0eb4
shl eax, 2
push eax
mov eax, dword [ebp - 0x10]
push eax
add eax, 4
push eax
call fcn.0054f300
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov dword [eax], esi
lea eax, [ebp - 0x368]
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.0055ce0c
add esp, 8
test eax, eax
jne 0x4a1165
lea eax, [ebp - 0x368]
push eax
lea ecx, [edi + 0x118]
call fcn.0049f660
push 4
call fcn.0054d1bd
mov esi, eax
add esp, 4
test esi, esi
je 0x4a0f19
mov dword [esi], 0
mov edx, 0x6e2a60
mov ecx, dword [edi + 0x118]
test ecx, ecx
cmovne edx, ecx
mov ecx, esi
push edx
call fcn.0049f660
jmp 0x4a0f1b
xor esi, esi
push 0
push 0
push esi
push 0x4a4bc0
call fcn.0053cf30
add esp, 0x10
test eax, eax
je 0x4a0f3a
push eax
call fcn.0053dab0
add esp, 4
mov esi, 3
lea ebx, [edi + 0xc]
lea ecx, [ebp - 0x784]
call fcn.0049aad0
test al, al
jne 0x4a0df1
cmp byte [edi + 1], 0
jne 0x4a1169
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
push 0x4a4c90
lea ecx, [edx + eax*4]
mov eax, ecx
sub eax, edx
sar eax, 2
push eax
push ecx
push edx
call fcn.004a0670
add esp, 0x10
cmp dword [ebp - 4], 0x63
jle 0x4a119b
lea esp, [esp]
mov eax, dword [ebp - 0x10]
push dword [eax]
lea eax, [ebp - 0x160]
push ebx
push str._s._10u.txt
push 0x104
push eax
call fcn.00547140
lea eax, [ebp - 0x160]
push eax
call fcn.0055cec5
mov eax, dword [ebp - 4]
add esp, 0x18
lea ecx, [eax - 1]
test ecx, ecx
jle 0x4a0fe0
lea eax, [ecx*4]
mov ecx, dword [ebp - 0x10]
push eax
lea eax, [ecx + 4]
push eax
push ecx
call fcn.0054f300
mov eax, dword [ebp - 4]
add esp, 0xc
dec eax
mov dword [ebp - 4], eax
cmp eax, 0x63
jg 0x4a0f90
jmp 0x4a119b
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
lea eax, [ebp - 0x160]
push eax
lea ecx, [ebp - 0x784]
call fcn.0049b8d0
push eax
call fcn.00466910
add esp, 0xc
cmp eax, 1
jne 0x4a112c
cmp byte [edi + 1], 0
je 0x4a111b
cmp dword [edi + 4], 0
je 0x4a111b
push dword [0x7d9a88]
call fcn.004ab630
mov ecx, dword [edi + 4]
add esp, 4
add ecx, dword [ebp - 0x18]
cmp ecx, eax
jae 0x4a0f42
lea ecx, [ebp - 0x784]
call fcn.0049b8d0
and dword [ebp - 0x48], 0xff0fffff
xor ecx, ecx
push eax
push str.Persistent_logfile__s_is_past_the_keep_until_date___cleaning_up_n
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x45], 0
and dword [ebp - 0x48], 0xfff00000
push eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x4c], 0
push eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x44], ecx
push eax
push 1
push 2
push 1
push 6
push ecx
push ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], 3
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
call fcn.00450b10
add esp, 0x2c
lea ecx, [ebp - 0x784]
call fcn.0049b8d0
mov ecx, dword [ebp - 0x1c]
mov edx, 0x6e2a60
test ecx, ecx
push eax
cmovne edx, ecx
lea eax, [ebp - 0x5c]
push edx
push 0x6e86c0
push eax
call fcn.0049eb00
mov ecx, eax
add esp, 0x10
cmp byte [ecx + 0xf], 0
jge 0x4a10e8
mov ecx, dword [ecx]
test ecx, ecx
mov eax, 0x6e2a60
cmovne eax, ecx
push eax
call fcn.0049da00
add esp, 4
test byte [ebp - 0x4d], 0x80
je 0x4a0f42
call fcn.00536730
push 0
push dword [ebp - 0x5c]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
jmp 0x4a0f42
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
call fcn.004a0c50
jmp 0x4a0f42
cmp byte [0x7d8759], 0
jne 0x4a0f42
push str.Failed_to_find_time_in_logfile_name
push 0xcd2
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srccommonlogger.cpp
mov byte [0x7d8759], 1
call fcn.00536b70
add esp, 0xc
test al, al
jne 0x4a0f42
int3
xor bl, bl
jmp 0x4a119d
cmp dword [edi + 4], 0
ja 0x4a119b
cmp byte [0x7d875a], 0
jne 0x4a119b
push str.Persistent_Logfiles_created_which_have_no_cleanup_limit_specified_
push 0xcec
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srccommonlogger.cpp
mov byte [0x7d875a], 1
call fcn.00536b70
add esp, 0xc
test al, al
jne 0x4a119b
int3
mov bl, 1
call fcn.00536730
push 0
push dword [ebp - 0x1c]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x784]
call fcn.0049a3d0
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call fcn.004998e0
lea ecx, [ebp - 0x14]
call fcn.004998e0
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret