Function at 0x1008aea0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x788
push ebx
push esi
mov ebx, ecx
lea eax, [ebp - 0x268]
push edi
push 0x104
lea esi, [ebx + 0xc]
push esi
push eax
mov dword [ebp - 0x20], esi
call fcn.100bb8d0
push 0xffffffffffffffff
push 0x104
lea eax, [ebp - 0x268]
push str..current.txt
push eax
call fcn.100bb6f0
push esi
call fcn.100baed0
mov dword [ebp - 4], eax
lea eax, [ebp - 0x268]
push eax
call fcn.100baed0
push esi
push str._s..txt
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x164]
push 0x104
push eax
call fcn.100bb550
add esp, 0x30
lea ecx, [ebp - 0x164]
mov eax, esp
xor edi, edi
xor esi, esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov dword [eax], ecx
lea ecx, [ebp - 0x788]
mov dword [ebp - 0xc], esi
call fcn.10085400
lea eax, [ebp - 0x164]
push eax
call fcn.100bae90
add esp, 4
mov dword [ebp - 8], esi
lea eax, [ebp - 0x164]
lea ecx, [ebp - 8]
push eax
call fcn.10077780
lea ecx, [ebp - 0x788]
call fcn.10086310
test al, al
je 0x1008b093
push dword [ebp - 4]
lea eax, [ebp - 0x164]
push str._s.__u.txt
push 0x104
push eax
call fcn.100bb550
add esp, 0x10
lea ecx, [ebp - 0x788]
call fcn.10085680
test al, al
je 0x1008b093
lea esi, [edi + 3]
jmp 0x1008afa0
lea ecx, [ebp - 0x788]
call fcn.10085ba0
push SysReAllocString
push dword [ebp - 0x1c]
push eax
call fcn.100bb950
add esp, 0xc
test eax, eax
jne 0x1008b113
mov eax, dword [0x104251a8]
push eax
mov dword [ebp - 4], eax
lea eax, [ebx + 0xc]
push eax
push str._s._10u.txt
lea eax, [ebp - 0x36c]
push 0x104
push eax
call fcn.100bb550
add esp, 0x14
lea eax, [ebp - 4]
lea ecx, [ebp - 0x18]
push eax
push 0
call fcn.1008dc10
lea eax, [ebp - 0x36c]
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.100dba32
add esp, 8
test eax, eax
jne 0x1008b27e
lea eax, [ebp - 0x36c]
push eax
lea ecx, [ebx + 0x118]
call fcn.10077780
push 4
call fcn.100c162c
mov esi, eax
add esp, 4
test esi, esi
je 0x1008b054
mov dword [esi], edi
mov edx, 0x1024cb86
mov ecx, dword [ebx + 0x118]
test ecx, ecx
cmovne edx, ecx
mov ecx, esi
push edx
call fcn.10077780
jmp 0x1008b056
xor esi, esi
push 0
push 0
push esi
push 0x1008e430
call fcn.100aeb20
add esp, 0x10
test eax, eax
je 0x1008b075
push eax
call fcn.100af7d0
add esp, 4
mov esi, 3
lea ecx, [ebp - 0x788]
call fcn.10085680
test al, al
jne 0x1008afa0
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x18]
cmp byte [ebx + 1], 0
jne 0x1008b285
lea ecx, [esi*4]
mov eax, ecx
push 0x10048bd0
sar eax, 2
push eax
lea eax, [ecx + edi]
push eax
push edi
call fcn.1008a760
add esp, 0x10
cmp esi, 0x63
jle 0x1008b2b7
push dword [edi]
lea eax, [ebp - 0x164]
push dword [ebp - 0x20]
push str._s._10u.txt
push 0x104
push eax
call fcn.100bb550
lea eax, [ebp - 0x164]
push eax
call fcn.100db9c8
dec esi
add esp, 0x18
test esi, esi
jle 0x1008b109
lea eax, [esi*4]
push eax
lea eax, [edi + 4]
push eax
push edi
call fcn.100c2f10
add esp, 0xc
cmp esi, 0x63
jg 0x1008b0c5
jmp 0x1008b2b7
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
lea eax, [ebp - 0x164]
push eax
lea ecx, [ebp - 0x788]
call fcn.10085ba0
push eax
call fcn.10064ec0
add esp, 0xc
cmp eax, 1
jne 0x1008b245
cmp byte [ebx + 1], 0
je 0x1008b232
cmp dword [ebx + 4], edi
je 0x1008b232
push dword [0x104251a8]
call fcn.1007b5e0
mov ecx, dword [ebx + 4]
add esp, 4
add ecx, dword [ebp - 4]
cmp ecx, eax
jae 0x1008b07a
lea ecx, [ebp - 0x788]
call fcn.10085ba0
and dword [ebp - 0x4c], 0xff0fffff
xor ecx, ecx
push eax
push str.Persistent_logfile__s_is_past_the_keep_until_date___cleaning_up_n
lea eax, [ebp - 0x50]
mov byte [ebp - 0x49], 0
and dword [ebp - 0x4c], 0xfff00000
push eax
push 1
push 2
push 1
push 6
push ecx
push ecx
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], 3
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
call fcn.1005d010
add esp, 0x24
lea ecx, [ebp - 0x788]
call fcn.10085ba0
mov ecx, dword [ebp - 8]
mov edx, 0x1024cb86
test ecx, ecx
push eax
cmovne edx, ecx
lea eax, [ebp - 0x60]
push edx
push 0x1024f6dc
push eax
call fcn.10076a90
mov ecx, eax
add esp, 0x10
cmp byte [ecx + 0xf], 0
jge 0x1008b1ff
mov ecx, dword [ecx]
test ecx, ecx
mov eax, 0x1024cb86
cmovne eax, ecx
push eax
call fcn.10086bb0
add esp, 4
test byte [ebp - 0x51], 0x80
je 0x1008b07a
call fcn.100ad570
push 0
push dword [ebp - 0x60]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
jmp 0x1008b07a
lea eax, [ebp - 4]
push eax
push 0
lea ecx, [ebp - 0x18]
call fcn.1008dc10
jmp 0x1008b07a
cmp byte [0x10425991], 0
jne 0x1008b07a
push str.Failed_to_find_time_in_logfile_name
push 0xcb9
push str.C:_buildworker_steam_rel_client_win32_build_srccommonlogger.cpp
mov byte [0x10425991], 1
call fcn.100ad9f0
add esp, 0xc
test al, al
jne 0x1008b07a
int3
mov edi, dword [ebp - 0x18]
xor bl, bl
jmp 0x1008b2b9
cmp dword [ebx + 4], 0
ja 0x1008b2b7
cmp byte [0x10425992], 0
jne 0x1008b2b7
push str.Persistent_Logfiles_created_which_have_no_cleanup_limit_specified_
push 0xcd3
push str.C:_buildworker_steam_rel_client_win32_build_srccommonlogger.cpp
mov byte [0x10425992], 1
call fcn.100ad9f0
add esp, 0xc
test al, al
jne 0x1008b2b7
int3
mov bl, 1
call fcn.100ad570
push 0
push dword [ebp - 8]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x788]
call fcn.10085450
mov esi, dword [ebp - 0x10]
test esi, esi
js 0x1008b308
test edi, edi
je 0x1008b2f1
call fcn.100ad570
push 0
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
xor edi, edi
test esi, esi
js 0x1008b308
test edi, edi
je 0x1008b308
call fcn.100ad570
push 0
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret