Function at 0x10153453
Capabilities:
Print debug messages

Disassembly:
push 0x38
mov eax, 0x101952f1
call fcn.1015d13e
mov esi, ecx
call fcn.10152524
test al, al
je 0x10153471
xor eax, eax
jmp 0x10153792
cmp byte [esi + 0xd0], 0
je 0x1015346a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp byte [ebp + 8], 0
jne 0x1015367c
mov ebx, dword [esi + 0x2c]
test ebx, ebx
jbe 0x1015367c
xor edx, edx
mov eax, 0x1000000
div ebx
lea ecx, [esi + 0x94]
mov edi, eax
add edi, dword [esi + 0xec]
call fcn.1014484a
cmp edi, eax
jae 0x1015367c
mov edx, dword [esi + 0xc4]
push 1
push 0xffffffffffffffff
mov eax, edi
imul eax, ebx
xor ebx, ebx
push ebx
push ebx
push 0xffffffffffffffff
xor ecx, ecx
mov byte [ebp + 0xb], 1
mov byte [edx + 0x21], cl
lea edx, [ebp - 0x18]
push edx
push dword [0x101c8fc0]
mov dword [ebp - 4], ebx
push ecx
mov ecx, dword [esi + 0xc4]
push eax
push ebx
push 1
lea eax, [ebp + 0xb]
push eax
call fcn.1017829b
cmp dword [ebp - 0x18], ebx
je 0x1015351a
push str._CPushFile::TimerWritePieceState_______________Write_Fail______________
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esi + 0xc4]
mov byte [eax + 0x21], 1
push 2
pop eax
jmp 0x10153792
mov ecx, dword [esi + 0xc4]
lea eax, [ebp - 0x18]
push eax
call fcn.10176ed0
mov eax, dword [esi + 0xc4]
cmp dword [ebp - 0x18], ebx
mov byte [eax + 0x21], 1
jne 0x10153512
mov dword [esi + 0xec], edi
lea ebx, [esi + 0xf0]
mov eax, dword [ebx + 4]
mov eax, dword [eax]
push ebx
push eax
lea ecx, [ebp - 0x30]
call fcn.10144f24
mov eax, dword [ebx + 4]
push ebx
push eax
lea ecx, [ebp - 0x38]
call fcn.10144f24
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x30]
call fcn.101424d2
test al, al
jne 0x10153512
lea ecx, [ebp - 0x30]
call fcn.1014497c
mov eax, dword [eax]
cmp eax, dword [esi + 0xec]
ja 0x10153512
lea ecx, [ebp - 0x30]
call fcn.1014497c
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x10153655
mov eax, dword [eax + 0xc]
sub eax, ecx
je 0x10153655
lea ecx, [ebp - 0x30]
call fcn.1014497c
push dword [eax]
lea ecx, [esi + 0x94]
mov dword [ebp - 0x14], ecx
call fcn.10144860
mov ecx, eax
call fcn.10140a84
test eax, eax
mov dword [ebp - 0x1c], eax
jbe 0x101535c9
dec dword [ebp - 0x1c]
lea ecx, [ebp - 0x30]
call fcn.1014497c
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x101535dc
xor edi, edi
jmp 0x101535e1
mov edi, dword [eax + 0xc]
sub edi, ecx
lea ecx, [ebp - 0x30]
call fcn.1014497c
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x20], eax
call fcn.1014497c
mov ecx, dword [ebp - 0x20]
push edi
push 0
add ecx, 4
mov dword [ebp - 0x28], eax
call fcn.10003510
mov ecx, dword [ebp - 0x28]
push eax
push dword [ebp - 0x1c]
mov eax, dword [esi + 0x38]
add eax, dword [ecx]
push 0
push eax
mov ecx, esi
call fcn.10153161
test al, al
jne 0x10153655
lea ecx, [ebp - 0x30]
call fcn.1014497c
mov ecx, dword [ebp - 0x14]
mov esi, eax
call fcn.1014484a
cmp dword [esi], eax
jae 0x1015364e
lea ecx, [ebp - 0x30]
call fcn.1014497c
push dword [eax]
mov ecx, dword [ebp - 0x14]
call fcn.10144860
mov ecx, eax
call fcn.10140feb
push 3
jmp 0x10153514
push dword [ebp - 0x2c]
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
mov ecx, ebx
push eax
call fcn.101462be
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], eax
jmp 0x10153553
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0x94]
mov dword [ebp - 0x14], ecx
call fcn.1014484a
inc eax
mov dword [esi + 0xec], eax
lea edi, [esi + 0xf0]
mov eax, dword [edi + 4]
push edi
push dword [eax]
lea ecx, [ebp - 0x30]
call fcn.10144f24
push edi
push dword [edi + 4]
lea ecx, [ebp - 0x24]
call fcn.10144f24
jmp 0x1015375b
lea ecx, [ebp - 0x30]
call fcn.1014497c
mov ecx, dword [eax + 8]
add eax, 4
test ecx, ecx
je 0x10153753
mov eax, dword [eax + 8]
sub eax, ecx
je 0x10153753
lea ecx, [ebp - 0x30]
call fcn.1014497c
push dword [eax]
mov ecx, dword [ebp - 0x14]
call fcn.10144860
mov ecx, eax
call fcn.10140a84
test eax, eax
mov dword [ebp + 8], eax
jbe 0x101536fa
dec dword [ebp + 8]
lea ecx, [ebp - 0x30]
call fcn.1014497c
mov ecx, dword [eax + 8]
add eax, 4
test ecx, ecx
jne 0x10153710
xor edi, edi
jmp 0x10153715
mov edi, dword [eax + 8]
sub edi, ecx
lea ecx, [ebp - 0x30]
call fcn.1014497c
lea ecx, [ebp - 0x30]
mov ebx, eax
call fcn.1014497c
push edi
push 0
lea ecx, [ebx + 4]
mov dword [ebp - 0x28], eax
call fcn.10003510
mov ecx, dword [ebp - 0x28]
push eax
push dword [ebp + 8]
mov eax, dword [esi + 0x38]
add eax, dword [ecx]
push 0
push eax
mov ecx, esi
call fcn.10153161
test al, al
je 0x1015361f
lea ecx, [ebp - 0x30]
call fcn.1014dc51
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x30]
call fcn.101424d2
test al, al
je 0x101536ba
lea ecx, [esi + 0xf0]
call fcn.10146aea
mov ecx, esi
mov byte [esi + 0xd0], 0
call fcn.10152aa1
neg al
sbb eax, eax
and eax, 0xfffffffe
add eax, 3
call fcn.1015d1e3
ret 4