Function at 0x4a0d00
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.00547620
push 0xffffffffffffffff
push 0x104
lea eax, [ebp - 0x264]
push str..current.txt
push eax
call fcn.00547440
push ebx
call fcn.00546a10
mov esi, eax
lea eax, [ebp - 0x264]
push eax
call fcn.00546a10
push ebx
push str._s..txt
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x160]
push 0x104
push eax
call fcn.00547160
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.0049a150
lea eax, [ebp - 0x160]
push eax
call fcn.00546670
add esp, 4
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x160]
lea ecx, [ebp - 0x1c]
push eax
call fcn.0049f670
lea ecx, [ebp - 0x784]
call fcn.0049c510
test al, al
je 0x4a0f65
push esi
push str._s.__u.txt
lea eax, [ebp - 0x160]
push 0x104
push eax
call fcn.00547160
add esp, 0x10
lea ecx, [ebp - 0x784]
call fcn.0049aae0
test al, al
je 0x4a0f65
mov esi, 3
lea ecx, [ebp - 0x784]
call fcn.0049b8e0
push closesocket
push dword [ebp - 0x20]
push eax
call fcn.005476a0
add esp, 0xc
test eax, eax
jne 0x4a0ffe
mov esi, dword [0x7dbb48]
lea eax, [ebp - 0x368]
push esi
push ebx
push str._s._10u.txt
push 0x104
push eax
call fcn.00547160
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x24]
add esp, 0x14
cmp eax, ecx
jb 0x4a0e79
mov eax, dword [ebp - 4]
lea eax, [ecx + eax*4]
lea ecx, [ebp - 0x24]
cmp ecx, eax
jae 0x4a0e79
push str._src___m_Memory.Base______src____m_Memory.Base____m_Size___
push 0x478
push str.c:_buildslave_steam_rel_client_win32_build_srcpublic_tier1utlvector.h
call fcn.00536d10
add esp, 0xc
test al, al
jne 0x4a0e79
int3
lea ecx, [ebp - 0x14]
call fcn.0046ffa0
mov edx, dword [ebp - 4]
lea ecx, [edx + 1]
cmp ecx, eax
jle 0x4a0ea5
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 0x4a0ec4
shl eax, 2
push eax
mov eax, dword [ebp - 0x10]
push eax
add eax, 4
push eax
call fcn.0054f320
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.0055ceaa
add esp, 8
test eax, eax
jne 0x4a1175
lea eax, [ebp - 0x368]
push eax
lea ecx, [edi + 0x118]
call fcn.0049f670
push 4
call fcn.0054d1de
mov esi, eax
add esp, 4
test esi, esi
je 0x4a0f29
mov dword [esi], 0
mov edx, 0x6e3a60
mov ecx, dword [edi + 0x118]
test ecx, ecx
cmovne edx, ecx
mov ecx, esi
push edx
call fcn.0049f670
jmp 0x4a0f2b
xor esi, esi
push 0
push 0
push esi
push 0x4a4bc0
call fcn.0053d090
add esp, 0x10
test eax, eax
je 0x4a0f4a
push eax
call fcn.0053dbc0
add esp, 4
mov esi, 3
lea ebx, [edi + 0xc]
lea ecx, [ebp - 0x784]
call fcn.0049aae0
test al, al
jne 0x4a0e01
cmp byte [edi + 1], 0
jne 0x4a1179
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.004a0680
add esp, 0x10
cmp dword [ebp - 4], 0x63
jle 0x4a11ab
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.00547160
lea eax, [ebp - 0x160]
push eax
call fcn.0055cf63
mov eax, dword [ebp - 4]
add esp, 0x18
lea ecx, [eax - 1]
test ecx, ecx
jle 0x4a0ff0
lea eax, [ecx*4]
mov ecx, dword [ebp - 0x10]
push eax
lea eax, [ecx + 4]
push eax
push ecx
call fcn.0054f320
mov eax, dword [ebp - 4]
add esp, 0xc
dec eax
mov dword [ebp - 4], eax
cmp eax, 0x63
jg 0x4a0fa0
jmp 0x4a11ab
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
lea eax, [ebp - 0x160]
push eax
lea ecx, [ebp - 0x784]
call fcn.0049b8e0
push eax
call fcn.00466940
add esp, 0xc
cmp eax, 1
jne 0x4a113c
cmp byte [edi + 1], 0
je 0x4a112b
cmp dword [edi + 4], 0
je 0x4a112b
push dword [0x7dbb48]
call fcn.004ab670
mov ecx, dword [edi + 4]
add esp, 4
add ecx, dword [ebp - 0x18]
cmp ecx, eax
jae 0x4a0f52
lea ecx, [ebp - 0x784]
call fcn.0049b8e0
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.00450b30
add esp, 0x2c
lea ecx, [ebp - 0x784]
call fcn.0049b8e0
mov ecx, dword [ebp - 0x1c]
mov edx, 0x6e3a60
test ecx, ecx
push eax
cmovne edx, ecx
lea eax, [ebp - 0x5c]
push edx
push 0x6e95b0
push eax
call fcn.0049eb10
mov ecx, eax
add esp, 0x10
cmp byte [ecx + 0xf], 0
jge 0x4a10f8
mov ecx, dword [ecx]
test ecx, ecx
mov eax, 0x6e3a60
cmovne eax, ecx
push eax
call fcn.0049da10
add esp, 4
test byte [ebp - 0x4d], 0x80
je 0x4a0f52
call fcn.005368d0
push 0
push dword [ebp - 0x5c]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
jmp 0x4a0f52
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
call fcn.004a0c60
jmp 0x4a0f52
cmp byte [0x7da819], 0
jne 0x4a0f52
push str.Failed_to_find_time_in_logfile_name
push 0xcd2
push str.c:_buildslave_steam_rel_client_win32_build_srccommonlogger.cpp
mov byte [0x7da819], 1
call fcn.00536d10
add esp, 0xc
test al, al
jne 0x4a0f52
int3
xor bl, bl
jmp 0x4a11ad
cmp dword [edi + 4], 0
ja 0x4a11ab
cmp byte [0x7da81a], 0
jne 0x4a11ab
push str.Persistent_Logfiles_created_which_have_no_cleanup_limit_specified_
push 0xcec
push str.c:_buildslave_steam_rel_client_win32_build_srccommonlogger.cpp
mov byte [0x7da81a], 1
call fcn.00536d10
add esp, 0xc
test al, al
jne 0x4a11ab
int3
mov bl, 1
call fcn.005368d0
push 0
push dword [ebp - 0x1c]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x784]
call fcn.0049a3e0
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