Function at 0x4a0d30
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.00544d20
push 0xffffffffffffffff
push 0x104
lea eax, [ebp - 0x264]
push str..current.txt
push eax
call fcn.00544b40
push ebx
call fcn.00544110
mov esi, eax
lea eax, [ebp - 0x264]
push eax
call fcn.00544110
push ebx
push str._s..txt
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x160]
push 0x104
push eax
call fcn.00544860
add esp, 0x34
lea ecx, [ebp - 0x14]
push 0
push 0
push 4
call fcn.004997e0
push ecx
mov eax, esp
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x160]
mov dword [eax], ecx
lea ecx, [ebp - 0x784]
call fcn.0049a180
lea eax, [ebp - 0x160]
push eax
call fcn.00543d70
add esp, 4
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x160]
lea ecx, [ebp - 0x1c]
push eax
call fcn.0049f6a0
lea ecx, [ebp - 0x784]
call fcn.0049c540
test al, al
je 0x4a0f95
push esi
push str._s.__u.txt
lea eax, [ebp - 0x160]
push 0x104
push eax
call fcn.00544860
add esp, 0x10
lea ecx, [ebp - 0x784]
call fcn.0049ab10
test al, al
je 0x4a0f95
mov esi, 3
lea ecx, [ebp - 0x784]
call fcn.0049b910
push closesocket
push dword [ebp - 0x20]
push eax
call fcn.00544da0
add esp, 0xc
test eax, eax
jne 0x4a102e
mov esi, dword [0x7d8a48]
lea eax, [ebp - 0x368]
push esi
push ebx
push str._s._10u.txt
push 0x104
push eax
call fcn.00544860
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x24]
add esp, 0x14
cmp eax, ecx
jb 0x4a0ea9
mov eax, dword [ebp - 4]
lea eax, [ecx + eax*4]
lea ecx, [ebp - 0x24]
cmp ecx, eax
jae 0x4a0ea9
push str._src___m_Memory.Base______src____m_Memory.Base____m_Size___
push 0x478
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srcpublic_tier1utlvector.h
call fcn.00534490
add esp, 0xc
test al, al
jne 0x4a0ea9
int3
lea ecx, [ebp - 0x14]
call fcn.0046ffe0
mov edx, dword [ebp - 4]
lea ecx, [edx + 1]
cmp ecx, eax
jle 0x4a0ed5
lea ecx, [ebp - 0x14]
call fcn.0046ffe0
mov ecx, dword [ebp - 4]
sub ecx, eax
inc ecx
push ecx
lea ecx, [ebp - 0x14]
call fcn.00499a60
mov edx, dword [ebp - 4]
inc edx
mov dword [ebp - 4], edx
lea eax, [edx - 1]
test eax, eax
jle 0x4a0ef4
shl eax, 2
push eax
mov eax, dword [ebp - 0x10]
push eax
add eax, 4
push eax
call fcn.0054ca20
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.0055a5aa
add esp, 8
test eax, eax
jne 0x4a11a5
lea eax, [ebp - 0x368]
push eax
lea ecx, [edi + 0x118]
call fcn.0049f6a0
push 4
call fcn.0054a8dd
mov esi, eax
add esp, 4
test esi, esi
je 0x4a0f59
mov dword [esi], 0
mov edx, 0x6e0a80
mov ecx, dword [edi + 0x118]
test ecx, ecx
cmovne edx, ecx
mov ecx, esi
push edx
call fcn.0049f6a0
jmp 0x4a0f5b
xor esi, esi
push 0
push 0
push esi
push 0x4a4c00
call fcn.0053a840
add esp, 0x10
test eax, eax
je 0x4a0f7a
push eax
call fcn.0053b2e0
add esp, 4
mov esi, 3
lea ebx, [edi + 0xc]
lea ecx, [ebp - 0x784]
call fcn.0049ab10
test al, al
jne 0x4a0e31
cmp byte [edi + 1], 0
jne 0x4a11a9
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
push 0x4a4cd0
lea ecx, [edx + eax*4]
mov eax, ecx
sub eax, edx
sar eax, 2
push eax
push ecx
push edx
call fcn.004a06b0
add esp, 0x10
cmp dword [ebp - 4], 0x63
jle 0x4a11db
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.00544860
lea eax, [ebp - 0x160]
push eax
call fcn.0055a663
mov eax, dword [ebp - 4]
add esp, 0x18
lea ecx, [eax - 1]
test ecx, ecx
jle 0x4a1020
lea eax, [ecx*4]
mov ecx, dword [ebp - 0x10]
push eax
lea eax, [ecx + 4]
push eax
push ecx
call fcn.0054ca20
mov eax, dword [ebp - 4]
add esp, 0xc
dec eax
mov dword [ebp - 4], eax
cmp eax, 0x63
jg 0x4a0fd0
jmp 0x4a11db
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
lea eax, [ebp - 0x160]
push eax
lea ecx, [ebp - 0x784]
call fcn.0049b910
push eax
call fcn.00466970
add esp, 0xc
cmp eax, 1
jne 0x4a116c
cmp byte [edi + 1], 0
je 0x4a115b
cmp dword [edi + 4], 0
je 0x4a115b
push dword [0x7d8a48]
call fcn.004ab6b0
mov ecx, dword [edi + 4]
add esp, 4
add ecx, dword [ebp - 0x18]
cmp ecx, eax
jae 0x4a0f82
lea ecx, [ebp - 0x784]
call fcn.0049b910
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.00450b80
add esp, 0x2c
lea ecx, [ebp - 0x784]
call fcn.0049b910
mov ecx, dword [ebp - 0x1c]
mov edx, 0x6e0a80
test ecx, ecx
push eax
cmovne edx, ecx
lea eax, [ebp - 0x5c]
push edx
push 0x6e6660
push eax
call fcn.0049eb40
mov ecx, eax
add esp, 0x10
cmp byte [ecx + 0xf], 0
jge 0x4a1128
mov ecx, dword [ecx]
test ecx, ecx
mov eax, 0x6e0a80
cmovne eax, ecx
push eax
call fcn.0049da40
add esp, 4
test byte [ebp - 0x4d], 0x80
je 0x4a0f82
call fcn.00534050
push 0
push dword [ebp - 0x5c]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
jmp 0x4a0f82
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
call fcn.004a0c90
jmp 0x4a0f82
cmp byte [0x7d7719], 0
jne 0x4a0f82
push str.Failed_to_find_time_in_logfile_name
push 0xcfc
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srccommonlogger.cpp
mov byte [0x7d7719], 1
call fcn.00534490
add esp, 0xc
test al, al
jne 0x4a0f82
int3
xor bl, bl
jmp 0x4a11dd
cmp dword [edi + 4], 0
ja 0x4a11db
cmp byte [0x7d771a], 0
jne 0x4a11db
push str.Persistent_Logfiles_created_which_have_no_cleanup_limit_specified_
push 0xd16
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srccommonlogger.cpp
mov byte [0x7d771a], 1
call fcn.00534490
add esp, 0xc
test al, al
jne 0x4a11db
int3
mov bl, 1
call fcn.00534050
push 0
push dword [ebp - 0x1c]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x784]
call fcn.0049a410
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call fcn.00499910
lea ecx, [ebp - 0x14]
call fcn.00499910
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret