Function at 0x4a0d70
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.00544870
push 0xffffffffffffffff
push 0x104
lea eax, [ebp - 0x264]
push str..current.txt
push eax
call fcn.00544690
push ebx
call fcn.00543c50
mov esi, eax
lea eax, [ebp - 0x264]
push eax
call fcn.00543c50
push ebx
push str._s..txt
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x160]
push 0x104
push eax
call fcn.005443b0
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.005438b0
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 0x4a0fd5
push esi
push str._s.__u.txt
lea eax, [ebp - 0x160]
push 0x104
push eax
call fcn.005443b0
add esp, 0x10
lea ecx, [ebp - 0x784]
call fcn.0049ab10
test al, al
je 0x4a0fd5
mov esi, 3
lea ecx, [ebp - 0x784]
call fcn.0049b910
push closesocket
push dword [ebp - 0x20]
push eax
call fcn.005448f0
add esp, 0xc
test eax, eax
jne 0x4a106e
mov esi, dword [0x7d8988]
lea eax, [ebp - 0x368]
push esi
push ebx
push str._s._10u.txt
push 0x104
push eax
call fcn.005443b0
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x24]
add esp, 0x14
cmp eax, ecx
jb 0x4a0ee9
mov eax, dword [ebp - 4]
lea eax, [ecx + eax*4]
lea ecx, [ebp - 0x24]
cmp ecx, eax
jae 0x4a0ee9
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.00533fe0
add esp, 0xc
test al, al
jne 0x4a0ee9
int3
lea ecx, [ebp - 0x14]
call fcn.0046ffe0
mov edx, dword [ebp - 4]
lea ecx, [edx + 1]
cmp ecx, eax
jle 0x4a0f15
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 0x4a0f34
shl eax, 2
push eax
mov eax, dword [ebp - 0x10]
push eax
add eax, 4
push eax
call fcn.0054c570
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.0055a0fa
add esp, 8
test eax, eax
jne 0x4a11e5
lea eax, [ebp - 0x368]
push eax
lea ecx, [edi + 0x118]
call fcn.0049f6a0
push 4
call fcn.0054a42d
mov esi, eax
add esp, 4
test esi, esi
je 0x4a0f99
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 0x4a0f9b
xor esi, esi
push 0
push 0
push esi
push 0x4a4c60
call fcn.0053a380
add esp, 0x10
test eax, eax
je 0x4a0fba
push eax
call fcn.0053ae20
add esp, 4
mov esi, 3
lea ebx, [edi + 0xc]
lea ecx, [ebp - 0x784]
call fcn.0049ab10
test al, al
jne 0x4a0e71
cmp byte [edi + 1], 0
jne 0x4a11e9
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
push 0x4a4d30
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 0x4a121b
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.005443b0
lea eax, [ebp - 0x160]
push eax
call fcn.0055a1b3
mov eax, dword [ebp - 4]
add esp, 0x18
lea ecx, [eax - 1]
test ecx, ecx
jle 0x4a1060
lea eax, [ecx*4]
mov ecx, dword [ebp - 0x10]
push eax
lea eax, [ecx + 4]
push eax
push ecx
call fcn.0054c570
mov eax, dword [ebp - 4]
add esp, 0xc
dec eax
mov dword [ebp - 4], eax
cmp eax, 0x63
jg 0x4a1010
jmp 0x4a121b
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 0x4a11ac
cmp byte [edi + 1], 0
je 0x4a119b
cmp dword [edi + 4], 0
je 0x4a119b
push dword [0x7d8988]
call fcn.004ab710
mov ecx, dword [edi + 4]
add esp, 4
add ecx, dword [ebp - 0x18]
cmp ecx, eax
jae 0x4a0fc2
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 0x6e6650
push eax
call fcn.0049eb40
mov ecx, eax
add esp, 0x10
cmp byte [ecx + 0xf], 0
jge 0x4a1168
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 0x4a0fc2
call fcn.00533ba0
push 0
push dword [ebp - 0x5c]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
jmp 0x4a0fc2
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
call fcn.004a0cd0
jmp 0x4a0fc2
cmp byte [0x7d7659], 0
jne 0x4a0fc2
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 [0x7d7659], 1
call fcn.00533fe0
add esp, 0xc
test al, al
jne 0x4a0fc2
int3
xor bl, bl
jmp 0x4a121d
cmp dword [edi + 4], 0
ja 0x4a121b
cmp byte [0x7d765a], 0
jne 0x4a121b
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 [0x7d765a], 1
call fcn.00533fe0
add esp, 0xc
test al, al
jne 0x4a121b
int3
mov bl, 1
call fcn.00533ba0
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