Function at 0x10034eb1
Capabilities:
Delete file

Disassembly:
mov eax, 0x100d8be8
call fcn.100ac440
sub esp, 0x1bc
mov eax, dword [0x1011c710]
push ebx
push esi
push edi
push 0x100e3ab4
xor ebx, ebx
push ebx
push str.ad_clear_time
xor eax, ebp
push str.p2pconfig
mov dword [ebp - 0x10], eax
mov esi, ecx
call fcn.100027f5
push ebx
mov edi, eax
call fcn.100ad218
cmp edi, ebx
je 0x1003531e
sub eax, edi
cmp eax, 0x127500
pop ecx
jb 0x10035366
lea ecx, [ebp - 0x198]
call fcn.1000738b
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x190], ebx
lea ecx, [ebp - 0x1a4]
mov dword [ebp - 4], ebx
call fcn.100855ef
mov eax, dword [esi + 0x290]
mov ecx, dword [eax]
mov byte [ebp - 4], 1
mov dword [ebp - 0x180], ecx
mov edi, 0x100e2db4
jmp 0x10034ff0
add ecx, 0x10
push ecx
lea ecx, [ebp - 0x18c]
call fcn.1002cf9f
cmp dword [ebp - 0x18c], ebx
mov byte [ebp - 4], 2
je 0x10034fc6
push 0x100e2d52
lea ecx, [ebp - 0x17c]
call fcn.1000223a
mov eax, dword [ebp - 0x18c]
push dword [eax + 8]
lea eax, [ebp - 0x17c]
push dword [esi + 0x21c]
mov byte [ebp - 4], 3
push edi
push eax
call fcn.10001d75
add esp, 0x10
lea ecx, [ebp - 0x17c]
call fcn.10008cce
lea eax, [ebp - 0x17c]
push eax
lea eax, [ebp - 0x1ac]
push eax
lea ecx, [ebp - 0x1a4]
call fcn.1000b372
mov ecx, dword [ebp - 0x17c]
add ecx, 0xfffffff0
call fcn.10001199
mov ecx, dword [ebp - 0x188]
cmp ecx, ebx
mov byte [ebp - 4], 1
je 0x10034fd9
call fcn.1002cf1d
lea ecx, [ebp - 0x180]
call fcn.1002ce7e
mov eax, dword [esi + 0x290]
mov ecx, dword [ebp - 0x180]
cmp ecx, eax
jne 0x10034f46
mov eax, dword [esi + 0x29c]
mov ecx, dword [eax]
cmp ecx, eax
mov dword [ebp - 0x180], ecx
je 0x100350c4
mov eax, dword [ebp - 0x180]
add eax, 0x10
push eax
lea ecx, [ebp - 0x18c]
call fcn.1002cf9f
cmp dword [ebp - 0x18c], ebx
mov byte [ebp - 4], 4
je 0x10035094
push 0x100e2d52
lea ecx, [ebp - 0x17c]
call fcn.1000223a
mov eax, dword [ebp - 0x18c]
push dword [eax + 4]
lea eax, [ebp - 0x17c]
push dword [esi + 0x21c]
mov byte [ebp - 4], 5
push edi
push eax
call fcn.10001d75
add esp, 0x10
lea ecx, [ebp - 0x17c]
call fcn.10008cce
lea eax, [ebp - 0x17c]
push eax
lea eax, [ebp - 0x1ac]
push eax
lea ecx, [ebp - 0x1a4]
call fcn.1000b372
mov ecx, dword [ebp - 0x17c]
add ecx, 0xfffffff0
call fcn.10001199
mov ecx, dword [ebp - 0x188]
cmp ecx, ebx
mov byte [ebp - 4], 1
je 0x100350a7
call fcn.1002cf1d
lea ecx, [ebp - 0x180]
call fcn.1002ce7e
mov eax, dword [esi + 0x29c]
cmp dword [ebp - 0x180], eax
jne 0x1003500e
add esi, 0x21c
mov eax, dword [esi]
cmp dword [eax - 0xc], 5
jl 0x10035303
lea ecx, [ebp - 0x1c4]
call fcn.100958db
push 0x100e39e8
lea eax, [ebp - 0x180]
push esi
push eax
mov byte [ebp - 4], 6
call fcn.10001e18
add esp, 0xc
mov eax, dword [eax]
push ebx
push eax
lea ecx, [ebp - 0x1c4]
mov byte [ebp - 4], 7
call fcn.1009596e
mov ecx, dword [ebp - 0x180]
add ecx, 0xfffffff0
mov esi, eax
mov byte [ebp - 4], 6
call fcn.10001199
cmp esi, ebx
je 0x10035278
lea ecx, [ebp - 0x1c4]
call fcn.100957d2
lea ecx, [ebp - 0x1c4]
mov edi, eax
call fcn.100958a2
test eax, eax
jne 0x10035270
mov eax, dword [ebp - 0x1c4]
push 0x10
lea ecx, [ebp - 0x1c4]
call dword [eax + 0x38]
test eax, eax
jne 0x10035270
lea eax, [ebp - 0x17c]
push eax
lea ecx, [ebp - 0x1c4]
call fcn.10095af4
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 8
call fcn.10008cce
mov esi, dword [ebp - 0x1a0]
lea eax, [ebp - 0x17c]
push eax
lea eax, [ebp - 0x1c8]
push eax
lea ecx, [ebp - 0x1a4]
call fcn.1002dc57
cmp dword [eax], esi
jne 0x1003525e
lea eax, [ebp - 0x18c]
push eax
lea ecx, [ebp - 0x1c4]
mov dword [ebp - 0x18c], ebx
mov dword [ebp - 0x188], ebx
call fcn.1009583e
lea eax, [ebp - 0x1ac]
push eax
call fcn.10008248
mov eax, dword [ebp - 0x1ac]
sub eax, dword [ebp - 0x18c]
mov ecx, dword [ebp - 0x1a8]
sbb ecx, dword [ebp - 0x188]
push ebx
push 0x15180
push ecx
push eax
call fcn.100ad830
cmp edx, ebx
jl 0x1003525e
jg 0x10035204
cmp eax, 0xe
jb 0x1003525e
push 8
lea eax, [ebp - 0x180]
push eax
lea ecx, [ebp - 0x17c]
call fcn.10008b05
mov eax, dword [eax]
push str.lcfg.xml
push eax
call fcn.100ace10
pop ecx
pop ecx
mov ecx, dword [ebp - 0x180]
test eax, eax
setne byte [ebp - 0x181]
add ecx, 0xfffffff0
call fcn.10001199
cmp byte [ebp - 0x181], bl
je 0x1003525e
lea eax, [ebp - 0x17c]
push eax
push dword [ebp - 0x194]
lea ecx, [ebp - 0x198]
call fcn.1001ed26
mov ecx, dword [ebp - 0x17c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 6
call fcn.10001199
cmp edi, ebx
jne 0x10035129
lea ecx, [ebp - 0x1c4]
call fcn.10095702
mov edi, dword [ebp - 0x194]
mov esi, dword [edi]
jmp 0x10035298
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, dword [esi]
cmp esi, edi
jne 0x1003528d
push ebx
call fcn.100ad218
mov edx, eax
push 0x18
pop ecx
xor eax, eax
mov byte [ebp - 0x74], bl
lea edi, [ebp - 0x73]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push edx
stosb byte es:[edi], al
lea eax, [ebp - 0x74]
push 0x100e2dcc
push eax
call fcn.100acf5b
add esp, 0x10
push 0x100e3ab4
lea eax, [ebp - 0x74]
push eax
push str.ad_clear_time
push str.p2pconfig
call fcn.10002987
lea ecx, [ebp - 0x198]
call fcn.1001ec74
lea ecx, [ebp - 0x1a4]
call fcn.1000b413
lea ecx, [ebp - 0x1c4]
mov byte [ebp - 4], 1
call fcn.100958ff
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], bl
call fcn.1000e890
lea ecx, [ebp - 0x198]
call fcn.1001ed0f
jmp 0x10035366
mov edx, eax
push 0x40
pop ecx
xor eax, eax
mov byte [ebp - 0x178], bl
lea edi, [ebp - 0x177]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push edx
stosb byte es:[edi], al
lea eax, [ebp - 0x178]
push 0x100e2dcc
push eax
call fcn.100acf5b
add esp, 0x10
push 0x100e3ab4
lea eax, [ebp - 0x178]
push eax
push str.ad_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