Function at 0x100247d0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10181df9
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x101f7210]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x130]
mov dword [ebp - 4], 0
call fcn.100237c0
push ecx
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 1
call fcn.10002b70
push 0x15
push str.Zshieldzs_isp_client
lea ecx, [ebp - 0x130]
call fcn.100125b0
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0xd0]
call fcn.100026c0
push ecx
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 2
call fcn.10002b70
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push str._s.log
lea eax, [ebp - 0x70]
push eax
push 0x10203748
call fcn.10010fa0
add esp, 0x10
mov edx, eax
mov byte [ebp - 4], 3
cmp dword [edx + 0x14], 8
jb 0x10024883
mov edx, dword [edx]
cmp word [edx], 0
jne 0x1002488d
xor ecx, ecx
jmp 0x100248a1
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10024892
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xd0]
call fcn.100125b0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 2
call fcn.100024d0
cmp dword [ebp - 0xbc], 8
lea eax, [ebp - 0xd0]
cmovae eax, dword [ebp - 0xd0]
push eax
call fcn.100050f0
mov esi, eax
mov edi, edx
mov ecx, esi
or ecx, edi
jne 0x100248ea
lea eax, [ebp - 0xd0]
push eax
call fcn.10011a60
push ecx
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x140], str.WPFHelper.cpp:DelLog__:Line_941
mov dword [ebp - 0x13c], 0
call fcn.10002930
movq xmm0, qword [ebp - 0x140]
push eax
push edi
push esi
push str.size_llu_log_file_s
sub esp, 0xc
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], 1
call fcn.10005540
add esp, 0x1c
test edi, edi
jl 0x10024a54
jg 0x10024948
cmp esi, 0xa00000
jb 0x10024a54
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x70]
call fcn.100026c0
push ecx
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 4
call fcn.10002b70
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push str._s2.log
lea eax, [ebp - 0x1a0]
push eax
push 0x10203748
call fcn.10010fa0
add esp, 0x10
mov edx, eax
mov byte [ebp - 4], 5
cmp dword [edx + 0x14], 8
jb 0x10024997
mov edx, dword [edx]
cmp word [edx], 0
jne 0x100249a1
xor ecx, ecx
jmp 0x100249b5
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100249a6
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x70]
call fcn.100125b0
lea ecx, [ebp - 0x1a0]
mov byte [ebp - 4], 4
call fcn.100024d0
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ecx
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x140], str.WPFHelper.cpp:DelLog__:Line_948
mov esi, eax
mov dword [ebp - 0x13c], 0
call fcn.10002930
movq xmm0, qword [ebp - 0x140]
push eax
push esi
push str.delete__d__log_file_s
sub esp, 0xc
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], 1
call fcn.10005540
cmp dword [ebp - 0x5c], 8
lea ecx, [ebp - 0x70]
lea eax, [ebp - 0xd0]
cmovae ecx, dword [ebp - 0x70]
cmp dword [ebp - 0xbc], 8
push ecx
cmovae eax, dword [ebp - 0xd0]
push eax
call fcn.1014b334
add esp, 0x20
lea ecx, [ebp - 0x70]
call fcn.100024d0
lea ecx, [ebp - 0xd0]
call fcn.100024d0
lea ecx, [ebp - 0x130]
call fcn.100024d0
lea ecx, [ebp + 8]
call fcn.100024d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014aad2
mov esp, ebp
pop ebp
ret