Function at 0x100244c0
Capabilities:
Delete file

Disassembly:
push 0x24
mov eax, 0x10136a0d
call fcn.101018b2
mov ebx, ecx
lea esi, [ebx + 8]
push esi
call fcn.10021c5d
test eax, eax
pop ecx
jne 0x10024899
mov eax, dword [0x1019a028]
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.1000584b
call fcn.10020c96
pop ecx
pop ecx
lea eax, [ebp - 0x18]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push esi
call fcn.1000584b
call fcn.10020dca
mov eax, dword [0x1019a028]
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.1001dab5
or esi, 0xffffffff
cmp eax, esi
je 0x10024879
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x1c]
call fcn.1000e702
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.10005459
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.100015d9
push str._s.xml
lea ecx, [ebp - 0x14]
call fcn.1001c185
push dword [ebp - 0x14]
push dword [ebp - 0x1c]
call fcn.10056674
cmp eax, esi
pop ecx
pop ecx
je 0x10024879
push 0x2e
lea ecx, [ebp - 0x18]
call fcn.1001dab5
cmp eax, esi
je 0x10024879
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x18]
call fcn.1000e702
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.10005459
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.100015d9
push str._a.xml
lea ecx, [ebp - 0x10]
call fcn.1001c185
push dword [ebp - 0x10]
push dword [ebp - 0x18]
call fcn.10056674
cmp eax, esi
pop ecx
pop ecx
je 0x10024879
mov dword [ebp - 0x20], edi
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.100e70df
pop ecx
pop ecx
mov ecx, dword [ebp - 0x20]
cmp ecx, edi
je 0x1002486b
cmp eax, 1
je 0x1002486b
mov dword [ebp - 0x28], edi
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x10]
mov byte [ebp - 4], 7
call fcn.100e70df
pop ecx
pop ecx
mov ecx, dword [ebp - 0x28]
cmp ecx, edi
je 0x10024853
cmp eax, 1
je 0x10024853
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.10003abd
mov eax, dword [eax]
lea ecx, [ebp - 0x24]
push ecx
push eax
push dword [ebp - 0x20]
mov byte [ebp - 4], 9
call fcn.100e71ca
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 0x100246d7
cmp edi, 1
je 0x100246d7
mov eax, dword [0x1019a028]
mov dword [ebp - 0x2c], eax
push str.time
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xa
call fcn.10003abd
mov eax, dword [eax]
lea ecx, [ebp - 0x2c]
push ecx
push eax
push dword [ebp - 0x24]
mov byte [ebp - 4], 0xb
call fcn.100e7508
add esp, 0xc
push dword [ebp - 0x30]
movzx edi, al
mov byte [ebp - 4], 0xa
call esi
test edi, edi
jne 0x10024710
lea ecx, [ebp - 0x2c]
call fcn.100015d9
mov eax, dword [ebp - 0x24]
test eax, eax
mov byte [ebp - 4], 7
je 0x100246e5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x28]
test eax, eax
mov byte [ebp - 4], 6
je 0x100246f6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
test eax, eax
mov byte [ebp - 4], 3
je 0x10024879
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10024879
push dword [ebp - 0x2c]
call fcn.101013f2
push 0
mov edi, eax
call fcn.101029ff
pop ecx
pop ecx
mov ecx, eax
mov eax, edi
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x708
jge 0x100246cc
push 0x101564b4
lea ecx, [ebp - 0x30]
call fcn.10003abd
mov eax, dword [eax]
lea edi, [ebx + 0x10]
push edi
push eax
push dword [ebp - 0x24]
mov byte [ebp - 4], 0xc
call fcn.100e7508
add esp, 0xc
push dword [ebp - 0x30]
mov byte [ebp - 4], 0xa
call esi
push str.writeurl
lea ecx, [ebp - 0x30]
call fcn.10003abd
mov eax, dword [eax]
lea ecx, [ebx + 0x1c]
push ecx
push eax
push dword [ebp - 0x24]
mov byte [ebp - 4], 0xd
call fcn.100e7508
add esp, 0xc
push dword [ebp - 0x30]
mov byte [ebp - 4], 0xa
call esi
mov eax, dword [edi]
cmp dword [eax - 8], 0
je 0x100247d0
push 0x2f
mov ecx, edi
call fcn.1001dab5
cmp eax, 0xffffffff
je 0x100247d0
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.1000e753
push eax
lea ecx, [ebx + 0x14]
mov byte [ebp - 4], 0xe
call fcn.10005459
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xa
call fcn.100015d9
lea eax, [ebx + 0x44]
push eax
lea eax, [ebx + 0x34]
push eax
push dword [ebp - 0x20]
call fcn.10023920
lea eax, [ebx + 0x20]
push eax
add ebx, 0x54
push ebx
push dword [ebp - 0x28]
call fcn.1002370c
add esp, 0x18
lea ecx, [ebp - 0x2c]
call fcn.100015d9
mov eax, dword [ebp - 0x24]
test eax, eax
mov byte [ebp - 4], 7
je 0x1002480c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x28]
test eax, eax
mov byte [ebp - 4], 6
je 0x1002481d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
test eax, eax
mov byte [ebp - 4], 3
je 0x1002482e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x10]
call fcn.100015d9
lea ecx, [ebp - 0x14]
call fcn.100015d9
lea ecx, [ebp - 0x18]
call fcn.100015d9
lea ecx, [ebp - 0x1c]
call fcn.100015d9
xor eax, eax
inc eax
jmp 0x1002489b
cmp ecx, edi
mov byte [ebp - 4], 6
je 0x10024861
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x20]
cmp eax, edi
jmp 0x100246fb
cmp ecx, edi
mov byte [ebp - 4], 3
je 0x10024879
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
lea ecx, [ebp - 0x10]
call fcn.100015d9
lea ecx, [ebp - 0x14]
call fcn.100015d9
lea ecx, [ebp - 0x18]
call fcn.100015d9
lea ecx, [ebp - 0x1c]
call fcn.100015d9
xor eax, eax
call fcn.1010198a
ret