Function at 0x10009fe0
Capabilities:
Delete file
Get common file path
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10032c32
mov eax, dword fs:[0]
push eax
sub esp, 0xfc0
mov eax, dword [0x10048034]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 8]
mov edi, dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLog]
push str.doRequestURLRule_Begin
push 0xffffffffffffffff
mov dword [ebp - 0xf98], ebx
call edi
add esp, 8
cmp dword [ebx + 0x10], 0
je 0x1000aa51
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x42c], ax
lea eax, [ebp - 0x42a]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
cmp dword [ebx + 0x14], 8
jb 0x1000a05c
mov ebx, dword [ebx]
mov eax, dword [0x1004b0d8]
test al, 1
jne 0x1000a07a
or eax, 1
push 0x10035280
mov dword [0x1004b0d8], eax
call fcn.1002f887
add esp, 4
push 0x104
lea eax, [ebp - 0x42c]
push eax
push ebx
mov ecx, 0x1004b0d4
call dword [0x10040c94]
lea ecx, [ebp - 0x42c]
lea edx, [ecx + 2]
jmp 0x1000a0a0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000a0a0
sub ecx, edx
sar ecx, 1
jne 0x1000a0cb
push 0x10038400
lea eax, [ebp - 0x42c]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
add esp, 0xc
mov eax, dword [0x1004a770]
test al, 1
jne 0x1000a0e9
or eax, 1
push 0x10035220
mov dword [0x1004a770], eax
call fcn.1002f887
add esp, 4
push 0
push 1
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0xedc]
push eax
call fcn.10005b90
mov dword [ebp - 4], 0
cmp dword [ebp - 0xec8], 8
lea eax, [ebp - 0xedc]
cmovae eax, dword [ebp - 0xedc]
push eax
push str.doRequestURLRule_strCheckDownLoad___s
push 0xffffffffffffffff
call edi
add esp, 8
lea edx, [ebp - 0xedc]
lea ecx, [ebp - 0xe6c]
call fcn.1000e8f0
add esp, 4
mov byte [ebp - 4], 1
cmp dword [ebp - 0xe5c], 0
je 0x1000a9e5
push 6
push 0
push 0x10038458
lea ecx, [ebp - 0xe6c]
call fcn.1000b3f0
cmp eax, 0xffffffff
je 0x1000a9e5
push 5
push 0
push 0x10038468
lea ecx, [ebp - 0xe6c]
call fcn.1000b3f0
cmp eax, 0xffffffff
je 0x1000a9e5
push 0
push 0x10038474
lea ecx, [ebp - 0xe6c]
call fcn.1000b240
cmp eax, 0xffffffff
je 0x1000a9e5
push 0
push 0x1003847c
lea ecx, [ebp - 0xe6c]
call fcn.1000b240
cmp eax, 0xffffffff
je 0x1000a9e5
cmp dword [ebp - 0xe58], 8
lea eax, [ebp - 0xe6c]
cmovae eax, dword [ebp - 0xe6c]
push eax
push str.doRequestURLRule_RequestURL_return__s
push 0xffffffffffffffff
call edi
xor eax, eax
mov dword [ebp - 0xe80], 7
mov dword [ebp - 0xe84], 0
mov word [ebp - 0xe94], ax
mov dword [ebp - 0xe98], 7
mov dword [ebp - 0xe9c], eax
mov word [ebp - 0xeac], ax
mov dword [ebp - 0xeb0], 7
mov dword [ebp - 0xeb4], eax
mov word [ebp - 0xec4], ax
and dword [ebp - 0xe74], 0xfffffe00
mov dword [ebp - 0xe70], eax
add esp, 8
lea ecx, [ebp - 0xf64]
mov byte [ebp - 4], 7
call fcn.1000ab00
lea ecx, [ebp - 0xf64]
call fcn.1001c570
push ecx
lea edx, [ebp - 0xe6c]
lea ecx, [ebp - 0xf94]
mov byte [ebp - 4], 8
call fcn.10011b70
add esp, 4
push ecx
lea ecx, [ebp - 0xe7c]
push ecx
push eax
lea ecx, [ebp - 0xf64]
mov byte [ebp - 4], 9
call fcn.1001c680
test al, al
lea ecx, [ebp - 0xf94]
sete bl
call fcn.10001620
test bl, bl
je 0x1000a30f
cmp dword [ebp - 0xe58], 8
lea eax, [ebp - 0xe6c]
cmovae eax, dword [ebp - 0xe6c]
push eax
push str.doRequestURLRule_reader.parse_URL_s
push 0xffffffffffffffff
call edi
add esp, 0xc
lea ecx, [ebp - 0xf64]
call fcn.1000aa80
lea ecx, [ebp - 0xe7c]
mov byte [ebp - 4], 5
call fcn.1001aae0
lea ecx, [ebp - 0xec4]
call fcn.100016f0
lea ecx, [ebp - 0xeac]
call fcn.100016f0
lea ecx, [ebp - 0xe94]
call fcn.100016f0
lea ecx, [ebp - 0xe6c]
call fcn.100016f0
lea ecx, [ebp - 0xedc]
call fcn.100016f0
jmp 0x1000aa51
cmp byte [ebp - 0xe74], 0
jne 0x1000a337
cmp dword [ebp - 0xe58], 8
lea eax, [ebp - 0xe6c]
cmovae eax, dword [ebp - 0xe6c]
push eax
push str.doRequestURLRule_info.isNull___end_URL_s
jmp 0x1000a2b2
mov eax, dword [ebp - 0xf74]
and eax, 0xffffff01
or eax, 1
mov dword [ebp - 0xf74], eax
mov dword [ebp - 0xf70], 0
mov dword [ebp - 0xf7c], 0
lea eax, [ebp - 0xf7c]
push eax
push str.status
lea eax, [ebp - 0xf8c]
push eax
lea ecx, [ebp - 0xe7c]
mov byte [ebp - 4], 0xa
call fcn.1001b2c0
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.1001ad30
lea ecx, [ebp - 0xf8c]
mov esi, eax
mov byte [ebp - 4], 0xa
call fcn.1001aae0
lea ecx, [ebp - 0xf7c]
mov byte [ebp - 4], 8
call fcn.1001aae0
test esi, esi
jne 0x1000a3bb
push esi
push str.doRequestURLRule_status_end_iRet__u
jmp 0x1000a2b2
push ecx
lea ecx, [ebp - 0xf7c]
call fcn.1001a920
lea eax, [ebp - 0xf7c]
push eax
push str.token
lea eax, [ebp - 0xf8c]
push eax
lea ecx, [ebp - 0xe7c]
mov byte [ebp - 4], 0xc
call fcn.1001b2c0
lea ecx, [ebp - 0xfc8]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.1001ac10
push ecx
mov edx, eax
lea ecx, [ebp - 0xfb0]
mov byte [ebp - 4], 0xe
call fcn.10011c80
add esp, 4
lea ecx, [ebp - 0xe94]
push eax
call fcn.1000b1e0
lea ecx, [ebp - 0xfb0]
call fcn.100016f0
lea ecx, [ebp - 0xfc8]
call fcn.10001620
lea ecx, [ebp - 0xf8c]
mov byte [ebp - 4], 0xc
call fcn.1001aae0
lea ecx, [ebp - 0xf7c]
mov byte [ebp - 4], 8
call fcn.1001aae0
cmp dword [ebp - 0xe84], 0
je 0x1000a2b9
cmp dword [ebp - 0xe80], 8
lea eax, [ebp - 0xe94]
cmovae eax, dword [ebp - 0xe94]
push eax
push str.doRequestURLRule_strToken__s
push 0xffffffffffffffff
call edi
add esp, 8
lea ecx, [ebp - 0xf7c]
call fcn.1001a920
lea eax, [ebp - 0xf7c]
push eax
push 0x10038698
lea eax, [ebp - 0xf8c]
push eax
lea ecx, [ebp - 0xe7c]
mov byte [ebp - 4], 0xf
call fcn.1001b2c0
lea ecx, [ebp - 0xfb0]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x10
call fcn.1001ac10
push ecx
mov edx, eax
lea ecx, [ebp - 0xfc8]
mov byte [ebp - 4], 0x11
call fcn.10011c80
add esp, 4
lea ecx, [ebp - 0xeac]
push eax
call fcn.1000b1e0
lea ecx, [ebp - 0xfc8]
call fcn.100016f0
lea ecx, [ebp - 0xfb0]
call fcn.10001620
lea ecx, [ebp - 0xf8c]
mov byte [ebp - 4], 0xf
call fcn.1001aae0
lea ecx, [ebp - 0xf7c]
mov byte [ebp - 4], 8
call fcn.1001aae0
cmp dword [ebp - 0xe9c], 0
je 0x1000a2b9
cmp dword [ebp - 0xe98], 8
lea eax, [ebp - 0xeac]
cmovae eax, dword [ebp - 0xeac]
push eax
push 0x1003869c
push 0xffffffffffffffff
call edi
add esp, 8
lea ecx, [ebp - 0xf7c]
call fcn.1001a920
lea eax, [ebp - 0xf7c]
push eax
push str.zip_md5
lea eax, [ebp - 0xf8c]
push eax
lea ecx, [ebp - 0xe7c]
mov byte [ebp - 4], 0x12
call fcn.1001b2c0
lea ecx, [ebp - 0xfb0]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x13
call fcn.1001ac10
push ecx
mov edx, eax
lea ecx, [ebp - 0xfc8]
mov byte [ebp - 4], 0x14
call fcn.10011c80
add esp, 4
lea ecx, [ebp - 0xec4]
push eax
call fcn.1000b1e0
lea ecx, [ebp - 0xfc8]
call fcn.100016f0
lea ecx, [ebp - 0xfb0]
call fcn.10001620
lea ecx, [ebp - 0xf8c]
mov byte [ebp - 4], 0x12
call fcn.1001aae0
lea ecx, [ebp - 0xf7c]
mov byte [ebp - 4], 8
call fcn.1001aae0
cmp dword [ebp - 0xeb4], 0
je 0x1000a2b9
cmp dword [ebp - 0xeb0], 8
lea eax, [ebp - 0xec4]
cmovae eax, dword [ebp - 0xec4]
push eax
push str.doRequestURLRule_strTmpZMD5__s
push 0xffffffffffffffff
call edi
add esp, 0xc
lea ecx, [ebp - 0xf64]
call fcn.1000aa80
lea ecx, [ebp - 0xe7c]
mov byte [ebp - 4], 5
call fcn.1001aae0
xor eax, eax
push 0x206
mov dword [ebp - 4], 4
push eax
mov word [ebp - 0xc4c], ax
lea eax, [ebp - 0xc4a]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0xc4c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x224], ax
lea eax, [ebp - 0x222]
push eax
call sub.MSVCR110.dll_memset
mov ebx, dword [sym.imp.MSVCR110.dll_swprintf_s]
add esp, 0xc
lea eax, [ebp - 0xc4c]
push str.srd.zip
push eax
push str._s_s
lea eax, [ebp - 0x224]
push 0x104
push eax
call ebx
add esp, 0x14
cmp dword [ebp - 0xe80], 8
lea esi, [ebp - 0xe94]
cmovae esi, dword [ebp - 0xe94]
call fcn.100026b0
push esi
push 0
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0xef4]
push eax
call fcn.10005b90
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0xf94]
mov byte [ebp - 4], 0x16
call fcn.10001690
lea edx, [ebp - 0xf94]
lea ecx, [ebp - 0xef4]
mov byte [ebp - 4], 0x17
call fcn.1000d620
lea ecx, [ebp - 0xf94]
mov esi, eax
mov byte [ebp - 4], 0x16
call fcn.100016f0
test esi, esi
jne 0x1000a724
push str.doRequestURLRule_DownloadFile_end
push 0xffffffffffffffff
call edi
add esp, 8
lea ecx, [ebp - 0xef4]
call fcn.100016f0
jmp 0x1000a2d3
xor eax, eax
push 0x206
push eax
mov word [ebp - 0xe54], ax
lea eax, [ebp - 0xe52]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0xe54]
push 0x104
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.1002c2e0
mov ecx, eax
call dword [0x10040c94]
cmp dword [ebp - 0xeb0], 8
mov esi, dword [sym.imp.MSVCR110.dll__wcsicmp]
lea ecx, [ebp - 0xe54]
lea eax, [ebp - 0xec4]
cmovae eax, dword [ebp - 0xec4]
push ecx
push eax
call esi
add esp, 8
test eax, eax
je 0x1000a7c8
push 0x80
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str.doRequestURLRule_tcZipMd5_end
push 0xffffffffffffffff
call edi
add esp, 8
lea ecx, [ebp - 0xef4]
call fcn.100016f0
jmp 0x1000a2d3
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x83c], ax
lea eax, [ebp - 0x83a]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x634], ax
lea eax, [ebp - 0x632]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x83c]
call fcn.1000b930
lea eax, [ebp - 0x83c]
push eax
push str._stmp
push 0x104
push eax
call ebx
add esp, 0x10
mov dword [ebp - 0xf68], 0
push 1
lea eax, [ebp - 0x224]
push eax
push 0
lea ecx, [ebp - 0xf68]
mov byte [ebp - 4], 0x18
call fcn.1001a010
lea eax, [ebp - 0x634]
push eax
lea eax, [ebp - 0x83c]
push eax
lea ecx, [ebp - 0xf68]
call fcn.1001a200
lea ecx, [ebp - 0xf68]
call fcn.1001a160
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x80
lea eax, [ebp - 0x224]
push eax
call ebx
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0xa44], ax
lea eax, [ebp - 0xa42]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0xa44]
push 0x104
push eax
lea eax, [ebp - 0x634]
push eax
call fcn.1002c2e0
mov ecx, eax
call dword [0x10040c94]
cmp dword [ebp - 0xe98], 8
lea ecx, [ebp - 0xa44]
lea eax, [ebp - 0xeac]
cmovae eax, dword [ebp - 0xeac]
push ecx
push eax
call esi
add esp, 8
test eax, eax
je 0x1000a938
push 0x80
lea eax, [ebp - 0x634]
push eax
call ebx
lea eax, [ebp - 0x634]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str.doRequestURLRule_tcDATMd5_end
push 0xffffffffffffffff
call edi
add esp, 8
lea ecx, [ebp - 0xf68]
mov byte [ebp - 4], 0x16
call fcn.10019fe0
lea ecx, [ebp - 0xef4]
call fcn.100016f0
jmp 0x1000a2d3
mov eax, dword [ebp - 0xf98]
cmp dword [eax + 0x14], 8
jb 0x1000a946
mov eax, dword [eax]
push 3
push eax
lea eax, [ebp - 0x634]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push str.doRequestURLRule_End
push 0xffffffffffffffff
call edi
add esp, 8
lea ecx, [ebp - 0xf68]
mov byte [ebp - 4], 0x16
call fcn.10019fe0
lea ecx, [ebp - 0xef4]
call fcn.100016f0
lea ecx, [ebp - 0xec4]
call fcn.100016f0
lea ecx, [ebp - 0xeac]
call fcn.100016f0
lea ecx, [ebp - 0xe94]
call fcn.100016f0
lea ecx, [ebp - 0xe6c]
call fcn.100016f0
lea ecx, [ebp - 0xedc]
call fcn.100016f0
xor eax, eax
jmp 0x1000aa54
cmp dword [ebp - 0xe58], 8
lea eax, [ebp - 0xe6c]
cmovae eax, dword [ebp - 0xe6c]
push eax
push str.doRequestURLRule_RequestURL_strCheckDownLoad__end_strRet_s
push 0xffffffffffffffff
call edi
mov esi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 0xc
cmp dword [ebp - 0xe58], 8
jb 0x1000aa20
push dword [ebp - 0xe6c]
call esi
add esp, 4
xor eax, eax
cmp dword [ebp - 0xec8], 8
mov dword [ebp - 0xe58], 7
mov dword [ebp - 0xe5c], 0
mov word [ebp - 0xe6c], ax
jb 0x1000aa51
push dword [ebp - 0xedc]
call esi
add esp, 4
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.1002f746
mov esp, ebp
pop ebp
ret 4