Function at 0x10024580
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bce60
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x100fe39c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push 0
mov dword [ebp - 0x78], ecx
mov dword [ecx + 4], eax
call dword [sym.imp.ole32.dll_CoInitialize]
mov ecx, dword [0x101037c8]
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ecx, ecx
jne 0x1002463e
push 0x100fe048
call edi
cmp dword [0x101037c8], 0
jne 0x10024631
push 4
call fcn.1004f16d
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x10024614
mov ecx, esi
mov dword [esi], 0
call fcn.1005aa90
mov byte [ebp - 4], 0
jmp 0x10024616
xor esi, esi
mov dword [ebp - 4], 0xffffffff
xor ecx, ecx
lea eax, [ebp - 0x14]
lock or dword [eax], ecx
mov dword [0x101037c8], esi
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x100fe048
call esi
mov ecx, dword [0x101037c8]
push 1
call fcn.1005e990
test al, al
je 0x10024bbe
call fcn.100659e0
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
mov ecx, eax
call edx
test al, al
je 0x10024bbe
mov ecx, dword [0x101037c8]
test ecx, ecx
jne 0x100246d6
push 0x100fe048
call edi
cmp dword [0x101037c8], 0
jne 0x100246c9
push 4
call fcn.1004f16d
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 2
test esi, esi
je 0x100246ac
mov ecx, esi
mov dword [esi], 0
call fcn.1005aa90
mov byte [ebp - 4], 2
jmp 0x100246ae
xor esi, esi
mov dword [ebp - 4], 0xffffffff
xor ecx, ecx
lea eax, [ebp - 0x14]
lock or dword [eax], ecx
mov dword [0x101037c8], esi
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x100fe048
call esi
mov ecx, dword [0x101037c8]
push 0
lea eax, [ebp - 0x74]
push eax
call fcn.1005b9b0
mov dword [ebp - 4], 4
push str.Log_taskbar.log
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.10021db0
add esp, 0xc
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x60]
cmp edx, 8
jb 0x10024738
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002472e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10024be0
push edx
push ecx
call fcn.1004f19d
add esp, 8
xor eax, eax
mov dword [ebp - 0x64], 0
cmp dword [ebp - 0x18], 8
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
mov dword [ebp - 0x60], 7
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10024774
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.1004e390
mov ecx, dword [0x101037e8]
test ecx, ecx
jne 0x10024807
push 0x100fe064
call edi
cmp dword [0x101037e8], 0
jne 0x100247fa
push 0x1c
call fcn.1004f16d
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x100247e7
xorps xmm0, xmm0
movups xmmword [eax], xmm0
movq qword [eax + 0x10], xmm0
mov dword [eax + 0x18], 0
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov byte [ebp - 4], 7
jmp 0x100247e9
xor eax, eax
mov byte [ebp - 4], 6
xor edx, edx
lea ecx, [ebp - 0x14]
lock or dword [ecx], edx
mov dword [0x101037e8], eax
push 0x100fe064
call esi
mov ecx, dword [0x101037e8]
push 1
call fcn.10024c00
test eax, eax
jne 0x100248fc
call fcn.1004e090
push 2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x100248e8
push 0x53
mov dword [ebp - 0x64], eax
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x60], eax
push 0x100cd9c0
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], al
call fcn.10008e70
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x5c]
push 3
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
push 0x100cda14
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
call fcn.10008e70
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x74]
push 0x2d
push eax
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x114]
call fcn.10004210
mov esi, eax
mov byte [ebp - 4], 0xb
push str.init_NetBridge_fail.
push esi
call fcn.10006300
add esp, 8
call fcn.1004e090
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x114]
call fcn.100067d0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x5c]
call fcn.100053b0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x74]
call fcn.100053b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.10005430
jmp 0x10024bbe
mov ecx, str.http:__s.ludashi.com_wan_ex_ary_pid_pidmidmidex_ary_mid2_mid2appverappvermodvermodvertypetypeactionactionex_ary_app_appex_ary_platform_pcex_ary_modver_modverex_ary_mid_mid
mov dword [ebp - 0x4c], 0
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10024926
sub ecx, edx
sar ecx, 1
push ecx
push str.http:__s.ludashi.com_wan_ex_ary_pid_pidmidmidex_ary_mid2_mid2appverappvermodvermodvertypetypeactionactionex_ary_app_appex_ary_platform_pcex_ary_modver_modverex_ary_mid_mid
lea ecx, [ebp - 0x5c]
call fcn.10008f70
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x5c]
mov ecx, dword [ebp - 0x78]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.10024210
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x48]
cmp edx, 8
jb 0x10024995
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002498b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10024be5
push edx
push ecx
call fcn.1004f19d
add esp, 8
mov ecx, dword [0x101037c4]
xor eax, eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
test ecx, ecx
jne 0x10024a07
push 0x100fe02c
call edi
cmp dword [0x101037c4], 0
jne 0x100249fa
push 4
call fcn.1004f16d
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0x10
test eax, eax
je 0x100249e7
mov ecx, eax
mov dword [eax], 0
call fcn.10053500
jmp 0x100249e9
xor eax, eax
mov byte [ebp - 4], 0xf
xor edx, edx
lea ecx, [ebp - 0x14]
lock or dword [ecx], edx
mov dword [0x101037c4], eax
push 0x100fe02c
call esi
mov ecx, dword [0x101037c4]
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
push str.task_rec
push 1
call fcn.10053590
test eax, eax
jne 0x10024b1b
call fcn.1004e090
push 2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x10024af9
push 0x53
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x48], eax
push 0x100cda48
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], al
call fcn.10008e70
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x74]
push 3
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
push 0x100cda44
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
call fcn.10008e70
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x5c]
push 0x35
push eax
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x114]
call fcn.10004210
mov esi, eax
mov byte [ebp - 4], 0x13
push str.init_taskpop_statistic_fail.
push esi
call fcn.10006300
add esp, 8
call fcn.1004e090
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x114]
call fcn.100067d0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x74]
call fcn.100053b0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x5c]
call fcn.100053b0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x44]
call fcn.10005430
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.10005430
xor eax, eax
jmp 0x10024bc3
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x10024b59
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10024b4f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10024bea
push edx
push ecx
call fcn.1004f19d
add esp, 8
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x10024baa
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10024ba0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10024bef
push edx
push ecx
call fcn.1004f19d
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov eax, 1
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.1004f51c
mov esp, ebp
pop ebp
ret 8
call fcn.1008b33c
call fcn.1008b33c
call fcn.1008b33c
call fcn.1008b33c
int3