Function at 0x1004f11d
Capabilities:
Delete file

Disassembly:
mov eax, 0x100daf58
call fcn.100ac440
sub esp, 0x118
mov eax, dword [0x1011c710]
push ebx
push esi
push edi
mov esi, 0x100e3ab4
push esi
xor ebx, ebx
push ebx
push str.nt_clear_time
xor eax, ebp
push str.p2pconfig
mov dword [ebp - 0x10], eax
mov edi, ecx
call fcn.100027f5
cmp eax, ebx
mov dword [ebp - 0x88], eax
push ebx
je 0x1004f6b9
call fcn.100ad218
sub eax, dword [ebp - 0x88]
pop ecx
cmp eax, 0x3f480
jb 0x1004f6f6
lea ecx, [ebp - 0xd8]
call fcn.100c787c
mov eax, dword [edi + 0x78]
push ebx
push 0x4040
push eax
lea ecx, [ebp - 0xd8]
mov dword [ebp - 4], ebx
call fcn.100c7892
cmp eax, ebx
lea ecx, [ebp - 0xd8]
je 0x1004f6ae
call fcn.100c7b33
inc eax
push eax
call fcn.100c6c30
pop ecx
lea ecx, [ebp - 0xd8]
mov esi, eax
call fcn.100c7b33
inc eax
push eax
push ebx
push esi
call fcn.100ab720
add esp, 0xc
lea ecx, [ebp - 0xd8]
call fcn.100c7b33
push eax
push esi
lea ecx, [ebp - 0xd8]
call fcn.100c79a8
lea ecx, [ebp - 0xd8]
call fcn.100c7c15
lea ecx, [ebp - 0xf0]
call fcn.10008ed3
push ebx
push esi
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 1
call fcn.1005209b
cmp esi, ebx
je 0x1004f21b
push esi
call fcn.100c6c35
pop ecx
lea ecx, [ebp - 0xc4]
call fcn.1002da89
mov eax, dword [ebp - 0xf0]
cmp eax, ebx
mov byte [ebp - 4], 2
je 0x1004f3d8
lea ecx, [eax + 0x10]
push str.Msgs
call fcn.100083f3
test eax, eax
jne 0x1004f3d8
mov eax, dword [ebp - 0xf0]
mov eax, dword [eax + 0x4c]
mov ecx, dword [eax]
cmp ecx, eax
mov dword [ebp - 0x88], ecx
je 0x1004f3d8
mov eax, dword [ebp - 0x88]
mov esi, dword [eax + 8]
cmp dword [esi + 4], 5
jne 0x1004f3bb
push 0x100e956c
lea ecx, [esi + 0x10]
call fcn.100083f3
test eax, eax
jne 0x1004f3bb
push 0x100e9568
lea eax, [ebp - 0x124]
push eax
mov ecx, esi
call fcn.1005077e
cmp dword [eax + 0x18], 0x10
mov byte [ebp - 4], 3
jb 0x1004f2b0
mov eax, dword [eax + 4]
jmp 0x1004f2b3
add eax, 4
push eax
lea ecx, [ebp - 0x8c]
call fcn.1000223a
push ebx
push 1
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 5
call fcn.100017d0
lea eax, [ebp - 0x8c]
push eax
mov ecx, edi
call fcn.1004df93
call fcn.100c6d12
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x84], eax
push dword [ebp - 0x8c]
lea eax, [ebp - 0x84]
push dword [edi + 0x84]
mov byte [ebp - 4], 6
push 0x100e9558
push eax
call fcn.10001d75
add esp, 0x10
lea ecx, [ebp - 0x84]
call fcn.10008cce
lea eax, [ebp - 0x84]
push eax
push eax
lea ecx, [ebp - 0xa0]
call fcn.1002d3ed
push eax
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 7
call fcn.1002d6b1
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0xe0]
push eax
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 8
call fcn.100310e3
mov ecx, dword [ebp - 0x94]
add ecx, 0xfffffff0
call fcn.10001199
mov ecx, dword [ebp - 0x98]
add ecx, 0xfffffff0
call fcn.10001199
mov ecx, dword [ebp - 0x9c]
add ecx, 0xfffffff0
call fcn.10001199
mov ecx, dword [ebp - 0xa0]
add ecx, 0xfffffff0
call fcn.10001199
mov ecx, dword [ebp - 0x84]
add ecx, 0xfffffff0
call fcn.10001199
mov ecx, dword [ebp - 0x8c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.10001199
mov eax, dword [ebp - 0x88]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xf0]
cmp eax, dword [ecx + 0x4c]
mov dword [ebp - 0x88], eax
jne 0x1004f266
lea ecx, [ebp - 0x108]
call fcn.1000738b
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x100], ebx
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 9
call fcn.1000738b
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xf4], ebx
lea esi, [edi + 0x84]
mov eax, dword [esi]
cmp dword [eax - 0xc], 5
mov byte [ebp - 4], 0xa
jl 0x1004f675
lea ecx, [ebp - 0xb8]
call fcn.100958db
push 0x100e39e8
lea eax, [ebp - 0x88]
push esi
push eax
mov byte [ebp - 4], 0xb
call fcn.10001e18
add esp, 0xc
mov eax, dword [eax]
push ebx
push eax
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0xc
call fcn.1009596e
mov ecx, dword [ebp - 0x88]
mov esi, eax
jmp 0x1004f60c
call fcn.100957d2
lea ecx, [ebp - 0xb8]
mov esi, eax
call fcn.100958a2
test eax, eax
jne 0x1004f549
mov eax, dword [ebp - 0xb8]
push 0x10
lea ecx, [ebp - 0xb8]
call dword [eax + 0x38]
test eax, eax
je 0x1004f549
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x94], ebx
call fcn.10095870
lea eax, [ebp - 0xe0]
push eax
call fcn.10008248
mov eax, dword [ebp - 0xe0]
sub eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0xdc]
sbb ecx, dword [ebp - 0x94]
push ebx
push 0x15180
push ecx
push eax
call fcn.100ad830
cmp edx, ebx
jl 0x1004f618
jg 0x1004f4f9
cmp eax, 3
jb 0x1004f618
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0xb8]
call fcn.10095af4
mov eax, dword [ebp - 0x8c]
cmp dword [eax - 0xc], 0xa
mov byte [ebp - 4], 0xd
jle 0x1004f53e
push ebx
push str.notice
lea ecx, [ebp - 0x8c]
call fcn.10003f61
cmp eax, 0xffffffff
je 0x1004f53e
push dword [ebp - 0x8c]
mov ecx, edi
call fcn.1004e027
mov ecx, dword [ebp - 0x8c]
jmp 0x1004f60c
lea ecx, [ebp - 0xb8]
call fcn.100958a2
test eax, eax
jne 0x1004f618
mov eax, dword [ebp - 0xb8]
push 0x10
lea ecx, [ebp - 0xb8]
call dword [eax + 0x38]
test eax, eax
jne 0x1004f618
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0xb8]
call fcn.10095af4
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0xe
call fcn.10008cce
push 3
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x84]
call fcn.10008b05
push 0x100e3d40
push eax
call fcn.10008578
pop ecx
pop ecx
mov ecx, dword [ebp - 0x88]
add ecx, 0xfffffff0
mov byte [ebp - 0x8d], al
call fcn.10001199
cmp byte [ebp - 0x8d], bl
je 0x1004f606
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0xc4]
call fcn.1002dc14
mov eax, dword [ebp - 0x9c]
cmp eax, dword [ebp - 0xc0]
jne 0x1004f606
push dword [ebp - 0x84]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 0x84]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0xb
call fcn.10001199
cmp esi, ebx
lea ecx, [ebp - 0xb8]
jne 0x1004f464
call fcn.10095702
push ebx
call fcn.100ad218
mov ecx, eax
xor eax, eax
mov word [ebp - 0x1c], bx
lea edi, [ebp - 0x1a]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
push 0xa
lea eax, [ebp - 0x1c]
push eax
push ecx
call fcn.100af751
add esp, 0x10
push 0x100e3ab4
lea eax, [ebp - 0x1c]
push eax
push str.nt_clear_time
push str.p2pconfig
call fcn.10002987
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0xa
call fcn.100958ff
lea ecx, [ebp - 0xfc]
call fcn.1001ed0f
lea ecx, [ebp - 0x108]
call fcn.1001ed0f
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 1
call fcn.10034d3e
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], bl
call fcn.10050485
lea ecx, [ebp - 0xd8]
or dword [ebp - 4], 0xffffffff
call fcn.100c7c51
jmp 0x1004f6f6
call fcn.100ad218
mov edx, eax
push 0x18
pop ecx
xor eax, eax
mov byte [ebp - 0x80], bl
lea edi, [ebp - 0x7f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push edx
stosb byte es:[edi], al
lea eax, [ebp - 0x80]
push 0x100e2dcc
push eax
call fcn.100acf5b
add esp, 0x10
push esi
lea eax, [ebp - 0x80]
push eax
push str.nt_clear_time
push str.p2pconfig
call fcn.10002987
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
pop ebx
call fcn.100ac33f
leave
ret