Function at 0x71cf0090
Capabilities:
Delete file
Get common file path
Hash data with md5
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x4d8
mov eax, dword [0x71d5a008]
xor eax, esp
mov dword [esp + 0x4d4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x24c], edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x248], 0
push esi
push edi
mov edi, dword [ebp + 0x14]
test ecx, ecx
jne 0x71cf00e7
lea eax, [ecx + 1]
pop edi
pop esi
mov ecx, dword [esp + 0x4d4]
xor ecx, esp
call fcn.71cf548b
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [edi + 0xc], 0
je 0x71cf0702
push 0xffffffffffffffff
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [edi + 8]
push dword [edi + 4]
mov esi, dword [eax]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp esi, 0x12345678
jne 0x71cf0702
cmp dword [ebp + 0x10], 0x23
jne 0x71cf0133
mov ecx, dword [0x71d7808c]
mov dword [esp + 0x24], ecx
jmp 0x71cf013d
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x24], eax
mov esi, dword [edi + 8]
mov byte [esp + 0x17], 0
mov eax, dword [esi + 0x18]
mov dword [esp + 0x24c], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x71cf01a5
add esi, 0x3c
cmp word [esi], 0
je 0x71cf01a5
push 0
mov edx, eax
mov ecx, esi
call fcn.71cf1550
add esp, 4
test al, al
jne 0x71cf01a0
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x71cf0180
sub ecx, edx
sar ecx, 1
lea esi, [esi + ecx*2]
add esi, 2
cmp word [esi], ax
mov eax, dword [esp + 0x1c]
jne 0x71cf0167
jmp 0x71cf01a5
mov byte [esp + 0x17], 1
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
xor esi, esi
cmp byte [esp + 0x17], 0
jne 0x71cf06c5
mov eax, dword [esp + 0x24c]
test eax, eax
je 0x71cf01f7
cmp dword [0x71d7aa7c], eax
je 0x71cf01d9
mov dword [0x71d7aa7c], eax
mov eax, dword [esp + 0x20]
jmp 0x71cf01e5
mov eax, dword [esp + 0x20]
cmp dword [0x71d7aa78], eax
je 0x71cf01f7
mov dword [0x71d7aa78], eax
cmp dword [0x71d7aa6c], esi
je 0x71cf01f7
call fcn.71cf0740
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], esi
cmp dword [esp + 0x254], esi
je 0x71cf021e
mov eax, dword [ebp + 8]
mov ecx, eax
mov edi, dword [esp + 0x28]
mov dword [esp + 0x18], eax
mov dword [esp + 0x24c], ecx
jmp 0x71cf0278
cmp dword [ebp + 0x10], 0x23
mov ecx, 0x1000000
mov edx, dword [ebp + 8]
mov eax, 0x40000
cmove eax, ecx
shr edx, 1
push eax
lea ecx, [eax - 1]
cmp edx, ecx
lea eax, [esp + 0x1c]
push eax
cmovae edx, ecx
lea eax, [esp + 0x28]
push edx
mov edx, dword [esp + 0x34]
mov ecx, 0xfde9
push eax
call fcn.71cf1c80
mov esi, eax
add esp, 0x10
mov eax, dword [esp + 0x18]
mov ecx, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x24c], ecx
test esi, esi
js 0x71cf0670
mov edi, dword [esp + 0x20]
cmp dword [0x71d7aa6c], 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x2b0], xmm0
je 0x71cf03d6
test edi, edi
je 0x71cf03be
test eax, eax
je 0x71cf03be
cmp eax, dword [0x71d78090]
jbe 0x71cf02bb
lea ecx, [esp + 0x2b0]
mov edx, eax
push ecx
mov ecx, edi
call fcn.71cf1dd0
jmp 0x71cf031f
push eax
mov edx, edi
mov dword [esp + 0x270], 0
lea ecx, [esp + 0x25c]
mov dword [esp + 0x26c], 0
mov dword [esp + 0x25c], 0x67452301
mov dword [esp + 0x260], 0xefcdab89
mov dword [esp + 0x264], 0x98badcfe
mov dword [esp + 0x268], 0x10325476
call fcn.71cf20d0
lea edx, [esp + 0x2b4]
lea ecx, [esp + 0x25c]
call fcn.71cf2190
movups xmm0, xmmword [esp + 0x2b4]
mov ecx, dword [0x71d7aa6c]
lea eax, [esp + 0x2b4]
add esp, 4
movups xmmword [esp + 0x2b0], xmm0
push eax
lea eax, [esp + 0x30]
push eax
call fcn.71cf0c40
lea eax, [esp + 0x2b0]
push eax
push dword [esp + 0x38]
call fcn.71cf0d00
test al, al
je 0x71cf03d6
mov eax, dword [0x71d7aa6c]
mov edx, dword [esp + 0x34]
cmp edx, dword [eax]
je 0x71cf03d6
mov eax, dword [edx + 0x20]
mov ecx, dword [0x71d7aa64]
inc eax
cmp eax, ecx
je 0x71cf0385
lea eax, [ecx + 1]
mov dword [0x71d7aa64], eax
mov dword [edx + 0x20], ecx
mov edx, dword [esp + 0x24c]
lea eax, [esp + 0x2b0]
push eax
push ecx
mov ecx, edi
call fcn.71cefb50
push dword [esp + 0x24]
push str.ScriptShieldScanScript_url:__s__script_is_whitelisted
push 0x4d6
push 0x71d1ae04
push 2
call fcn.71cec390
add esp, 0x1c
jmp 0x71cf068e
lea eax, [esp + 0x2b0]
mov edx, ecx
push eax
push ecx
mov ecx, edi
call fcn.71cefb50
mov esi, dword [esp + 0x20]
jmp 0x71cf03ec
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x2b0]
push eax
push ecx
mov edx, esi
mov ecx, edi
call fcn.71cefb50
add esp, 8
mov dword [esp + 0x38], 0
lea eax, [esp + 0x40]
mov dword [esp + 0x3c], 0
push 0x208
push 0
push eax
call fcn.71cf7720
add esp, 0xc
lea eax, [esp + 0x3c]
mov edx, esi
push eax
lea eax, [esp + 0x3c]
push eax
push ecx
lea eax, [esp + 0x4c]
mov ecx, edi
push eax
call fcn.71ceef30
mov esi, eax
add esp, 0x10
test esi, esi
jns 0x71cf051b
lea eax, [esp + 0x2d0]
xor esi, esi
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x71cf046f
lea eax, [esp + 0x40]
push eax
push esi
push 0x71d5455c
lea eax, [esp + 0x2dc]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x71cf048c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x71cf0486
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x71cf0513
push 0
push 0x100
push 2
push 0
push 0
push 0x40000000
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x24c], eax
cmp eax, 0xffffffff
je 0x71cf04fe
push 0
lea ecx, [esp + 0x258]
mov dword [esp + 0x258], 0
push ecx
push dword [esp + 0x20]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x71cf04ef
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x71cf04ef
movzx esi, si
or esi, 0x80070000
push dword [esp + 0x24c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x71cf0513
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x71cf0515
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x71cf068e
push 0x40
lea eax, [esp + 0x25c]
mov dword [esp + 0x250], 0
push 0
push eax
call fcn.71cf7720
mov esi, dword [0x71d7aa94]
add esp, 0xc
mov dword [esp + 0x250], 0
test esi, esi
je 0x71cf05bb
cmp word [0x71d7aa70], 0x16
ja 0x71cf0569
jne 0x71cf0565
cmp word [0x71d7aa72], 9
jae 0x71cf0569
xor cl, cl
jmp 0x71cf056b
mov cl, 1
lea eax, [esp + 0x24c]
test cl, cl
push eax
push 0x20
lea eax, [esp + 0x260]
mov ecx, esi
push eax
lea eax, [esp + 0x25c]
push eax
mov eax, 1
cmovne eax, dword [ebp + 0x10]
push eax
push dword [0x71d7aa50]
lea eax, [esp + 0x58]
push dword [0x71d78088]
push 0
push dword [esp + 0x3c]
push eax
push dword [esp + 0x4c]
call dword [0x71d122ac]
call esi
add esp, 0x2c
jmp 0x71cf05f9
mov esi, dword [0x71d7aa98]
test esi, esi
je 0x71cf0622
lea eax, [esp + 0x24c]
mov ecx, esi
push eax
push 0x20
lea eax, [esp + 0x260]
push eax
lea eax, [esp + 0x25c]
push eax
push dword [esp + 0x2c]
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x3c]
call dword [0x71d122ac]
call esi
add esp, 0x1c
test eax, eax
je 0x71cf0622
push eax
push dword [esp + 0x20]
push str.AavmRpcScanFile_url:__s__failed_with_an_error:_0x_08x
push 0x46b
push 0x71d1ae04
push 1
call fcn.71cec390
add esp, 0x18
mov esi, 0x80004005
jmp 0x71cf0639
xor esi, esi
cmp dword [esp + 0x250], esi
jne 0x71cf0639
lea ecx, [esp + 0x2b0]
call fcn.71cefe60
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x71cf0650
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x71cf0663
push ecx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [esp + 0x38]
test eax, eax
je 0x71cf068e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x71cf068e
push esi
push str.ConvertString___failed_with_an_error:_0x_08x
push 0x4db
push 0x71d1ae04
push 1
call fcn.71cec390
mov edi, dword [esp + 0x34]
add esp, 0x14
cmp edi, dword [esp + 0x28]
je 0x71cf069d
push edi
call fcn.71cf5a25
add esp, 4
test esi, esi
js 0x71cf0729
xor eax, eax
cmp dword [esp + 0x250], eax
sete al
pop edi
pop esi
mov ecx, dword [esp + 0x4d4]
xor ecx, esp
call fcn.71cf548b
mov esp, ebp
pop ebp
ret
push dword [esp + 0x1c]
push str.ScriptShieldScanScript_url:__s__is_in_exceptions_list.
push 0x4e7
push 0x71d1ae04
push 2
call fcn.71cec390
xor eax, eax
add esp, 0x14
cmp dword [esp + 0x250], eax
sete al
pop edi
pop esi
mov ecx, dword [esp + 0x4d4]
xor ecx, esp
call fcn.71cf548b
mov esp, ebp
pop ebp
ret
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push 0x80004030
push str.CheckScanConfiguration___failed_with_an_error:_0x_08x
push 0x4eb
push 0x71d1ae04
push 1
call fcn.71cec390
add esp, 0x14
mov ecx, dword [esp + 0x4dc]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, esp
call fcn.71cf548b
mov esp, ebp
pop ebp
ret