Function at 0x10035a53
Capabilities:
Delete file

Disassembly:
push 0x24
mov eax, 0x1017d94d
call fcn.10145d80
mov ebx, ecx
lea esi, [ebx + 0x18]
push esi
call fcn.100330ab
test eax, eax
pop ecx
jne 0x10035e2c
mov eax, dword [0x101f3028]
mov dword [ebp - 0x1c], eax
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push esi
mov byte [ebp - 4], 1
call fcn.10007ade
call fcn.100320e4
pop ecx
pop ecx
lea eax, [ebp - 0x18]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push esi
call fcn.10007ade
call fcn.10032218
mov eax, dword [0x101f3028]
pop ecx
pop ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
push 0x2e
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.1002a041
or esi, 0xffffffff
cmp eax, esi
je 0x10035e0c
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10011725
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.10007845
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.10003b75
push str._s.xml
lea ecx, [ebp - 0x14]
call fcn.1001107f
push dword [ebp - 0x14]
push dword [ebp - 0x1c]
call fcn.10073800
cmp eax, esi
pop ecx
pop ecx
je 0x10035e0c
push 0x2e
lea ecx, [ebp - 0x18]
call fcn.1002a041
cmp eax, esi
je 0x10035e0c
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x18]
call fcn.10011725
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.10007845
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.10003b75
push str._a.xml
lea ecx, [ebp - 0x10]
call fcn.1001107f
push dword [ebp - 0x10]
push dword [ebp - 0x18]
call fcn.10073800
cmp eax, esi
pop ecx
pop ecx
je 0x10035e0c
mov dword [ebp - 0x20], edi
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.10126d24
pop ecx
pop ecx
mov ecx, dword [ebp - 0x20]
cmp ecx, edi
je 0x10035dfe
cmp eax, 1
je 0x10035dfe
mov dword [ebp - 0x28], edi
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x10]
mov byte [ebp - 4], 7
call fcn.10126d24
pop ecx
pop ecx
mov ecx, dword [ebp - 0x28]
cmp ecx, edi
je 0x10035de6
cmp eax, 1
je 0x10035de6
push dword [ebp - 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call esi
push dword [ebp - 0x10]
call esi
mov dword [ebp - 0x24], edi
push str.space
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 8
call fcn.10005f82
mov eax, dword [eax]
lea ecx, [ebp - 0x24]
push ecx
push eax
push dword [ebp - 0x20]
mov byte [ebp - 4], 9
call fcn.10126e0f
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 0xc
push dword [ebp - 0x30]
mov edi, eax
call esi
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x10035c6a
cmp edi, 1
je 0x10035c6a
mov eax, dword [0x101f3028]
mov dword [ebp - 0x2c], eax
push str.time
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xa
call fcn.10005f82
mov eax, dword [eax]
lea ecx, [ebp - 0x2c]
push ecx
push eax
push dword [ebp - 0x24]
mov byte [ebp - 4], 0xb
call fcn.10127155
add esp, 0xc
push dword [ebp - 0x30]
movzx edi, al
mov byte [ebp - 4], 0xa
call esi
test edi, edi
jne 0x10035ca3
lea ecx, [ebp - 0x2c]
call fcn.10003b75
mov eax, dword [ebp - 0x24]
test eax, eax
mov byte [ebp - 4], 7
je 0x10035c78
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x28]
test eax, eax
mov byte [ebp - 4], 6
je 0x10035c89
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
test eax, eax
mov byte [ebp - 4], 3
je 0x10035e0c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10035e0c
push dword [ebp - 0x2c]
call fcn.101458c0
push 0
mov edi, eax
call fcn.10146fd5
pop ecx
pop ecx
mov ecx, eax
mov eax, edi
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x708
jge 0x10035c5f
push 0x101a3668
lea ecx, [ebp - 0x30]
call fcn.10005f82
mov eax, dword [eax]
lea edi, [ebx + 0x20]
push edi
push eax
push dword [ebp - 0x24]
mov byte [ebp - 4], 0xc
call fcn.10127155
add esp, 0xc
push dword [ebp - 0x30]
mov byte [ebp - 4], 0xa
call esi
push str.writeurl
lea ecx, [ebp - 0x30]
call fcn.10005f82
mov eax, dword [eax]
lea ecx, [ebx + 0x2c]
push ecx
push eax
push dword [ebp - 0x24]
mov byte [ebp - 4], 0xd
call fcn.10127155
add esp, 0xc
push dword [ebp - 0x30]
mov byte [ebp - 4], 0xa
call esi
mov eax, dword [edi]
cmp dword [eax - 8], 0
je 0x10035d63
push 0x2f
mov ecx, edi
call fcn.1002a041
cmp eax, 0xffffffff
je 0x10035d63
mov ecx, dword [edi]
mov ecx, dword [ecx - 8]
sub ecx, eax
dec ecx
push ecx
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.10011776
push eax
lea ecx, [ebx + 0x24]
mov byte [ebp - 4], 0xe
call fcn.10007845
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xa
call fcn.10003b75
lea eax, [ebx + 0x54]
push eax
lea eax, [ebx + 0x44]
push eax
push dword [ebp - 0x20]
call fcn.10034eb3
lea eax, [ebx + 0x30]
push eax
add ebx, 0x64
push ebx
push dword [ebp - 0x28]
call fcn.10034c9f
add esp, 0x18
lea ecx, [ebp - 0x2c]
call fcn.10003b75
mov eax, dword [ebp - 0x24]
test eax, eax
mov byte [ebp - 4], 7
je 0x10035d9f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x28]
test eax, eax
mov byte [ebp - 4], 6
je 0x10035db0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
test eax, eax
mov byte [ebp - 4], 3
je 0x10035dc1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x10]
call fcn.10003b75
lea ecx, [ebp - 0x14]
call fcn.10003b75
lea ecx, [ebp - 0x18]
call fcn.10003b75
lea ecx, [ebp - 0x1c]
call fcn.10003b75
xor eax, eax
inc eax
jmp 0x10035e2e
cmp ecx, edi
mov byte [ebp - 4], 6
je 0x10035df4
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x20]
cmp eax, edi
jmp 0x10035c8e
cmp ecx, edi
mov byte [ebp - 4], 3
je 0x10035e0c
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
lea ecx, [ebp - 0x10]
call fcn.10003b75
lea ecx, [ebp - 0x14]
call fcn.10003b75
lea ecx, [ebp - 0x18]
call fcn.10003b75
lea ecx, [ebp - 0x1c]
call fcn.10003b75
xor eax, eax
call fcn.10145e58
ret