Function at 0x68a33200
Capabilities:
Delete file
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x4b8
mov eax, dword [0x68aaf040]
xor eax, esp
mov dword [esp + 0x4b4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x240], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x23c], 0
push esi
push edi
mov edi, dword [ebp + 0x14]
test ecx, ecx
jne 0x68a33257
lea eax, [ecx + 1]
pop edi
pop esi
mov ecx, dword [esp + 0x4b4]
xor ecx, esp
call fcn.68a3943b
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
push dword [edi + 4]
mov dword [esp + 0x254], 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [edi + 0xc], 0
je 0x68a338b7
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 0x68a338b7
cmp dword [ebp + 0x10], 0x23
jne 0x68a332ae
mov ecx, dword [0x68ab09a4]
mov dword [esp + 0x18], ecx
jmp 0x68a332b8
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x18], eax
mov esi, dword [edi + 8]
mov byte [esp + 0x17], 0
mov eax, dword [esi + 0x18]
mov dword [esp + 0x240], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x23c], eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x68a33325
add esi, 0x3c
cmp word [esi], 0
je 0x68a33325
push 0
mov edx, eax
mov ecx, esi
call fcn.68a34160
add esp, 4
test al, al
jne 0x68a33320
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x68a33300
sub ecx, edx
sar ecx, 1
lea esi, [esi + ecx*2]
add esi, 2
cmp word [esi], ax
mov eax, dword [esp + 0x1c]
jne 0x68a332e5
jmp 0x68a33325
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 0x68a3387a
mov eax, dword [esp + 0x240]
test eax, eax
je 0x68a33389
cmp dword [0x68ab33f0], eax
je 0x68a3335c
mov dword [0x68ab33f0], eax
mov eax, dword [esp + 0x23c]
jmp 0x68a3336b
mov eax, dword [esp + 0x23c]
cmp dword [0x68ab33ec], eax
je 0x68a33389
mov edi, dword [0x68ab33e0]
mov dword [0x68ab33ec], eax
test edi, edi
je 0x68a3338f
mov ecx, edi
call fcn.68a34d60
lea ecx, [edi + 0x10]
call fcn.68a34d60
mov edi, dword [0x68ab33e0]
xorps xmm0, xmm0
movaps xmmword [esp + 0x260], xmm0
test edi, edi
je 0x68a333dc
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x68a333d4
xor ecx, ecx
cmp cx, word [eax]
je 0x68a333d4
lea ecx, [esp + 0x260]
push ecx
push ecx
push eax
call fcn.68a34db0
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x18], ecx
test al, al
jne 0x68a33897
mov edi, dword [0x68ab33e0]
jmp 0x68a333dc
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov dword [esp + 0x240], esi
mov dword [esp + 0x23c], esi
cmp dword [esp + 0x248], esi
je 0x68a33403
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x240], ecx
jmp 0x68a33469
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 + 0x244]
push eax
cmovae edx, ecx
lea eax, [esp + 0x244]
push edx
mov edx, dword [esp + 0x30]
mov ecx, 0xfde9
push eax
call fcn.68a34890
mov ecx, dword [esp + 0x250]
mov esi, eax
add esp, 0x10
mov dword [esp + 0x240], ecx
test esi, esi
js 0x68a33822
mov eax, dword [esp + 0x23c]
mov edi, dword [0x68ab33e0]
mov dword [esp + 0x23c], eax
xorps xmm0, xmm0
movaps xmmword [esp + 0x250], xmm0
test edi, edi
je 0x68a33496
lea edx, [esp + 0x250]
push edx
push ecx
push eax
mov ecx, edi
call fcn.68a34b50
mov byte [esp + 0x17], al
jmp 0x68a3349b
mov byte [esp + 0x17], 0
cmp dword [0x68ab33d8], 0
mov edi, dword [esp + 0x23c]
je 0x68a334c5
mov edx, dword [esp + 0x240]
lea eax, [esp + 0x250]
push eax
push ecx
mov ecx, edi
call fcn.68a32ef0
add esp, 8
cmp byte [esp + 0x17], 0
jne 0x68a33806
push 0x208
lea eax, [esp + 0x34]
mov dword [esp + 0x2c], 0
push 0
push eax
mov dword [esp + 0x38], 0
call fcn.68a3b750
mov edx, dword [esp + 0x24c]
lea eax, [esp + 0x38]
add esp, 0xc
push eax
lea eax, [esp + 0x2c]
push eax
push ecx
lea eax, [esp + 0x3c]
mov ecx, edi
push eax
call fcn.68a32240
mov esi, eax
add esp, 0x10
test esi, esi
jns 0x68a33604
lea eax, [esp + 0x2b0]
xor esi, esi
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x68a33555
lea eax, [esp + 0x30]
push eax
push esi
push 0x68aa764c
lea eax, [esp + 0x2bc]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x68a33572
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x68a3356c
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x68a335fc
push 0
push 0x100
push 2
push 0
push 0
push 0x40000000
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x23c], eax
cmp eax, 0xffffffff
je 0x68a335e7
push 0
lea ecx, [esp + 0x24c]
mov dword [esp + 0x24c], 0
push ecx
push dword [esp + 0x248]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x68a335d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x68a335d8
movzx esi, si
or esi, 0x80070000
push dword [esp + 0x23c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x68a335fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x68a335fe
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x68a33843
push 0x40
lea eax, [esp + 0x274]
mov dword [esp + 0x240], 0
push 0
push eax
mov dword [esp + 0x24c], 0
call fcn.68a3b750
mov eax, dword [0x68ab340c]
add esp, 0xc
mov dword [esp + 0x244], 0
mov dword [esp + 0x20], eax
test eax, eax
je 0x68a336a3
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x24c]
push ecx
lea ecx, [esp + 0x244]
push ecx
lea ecx, [esp + 0x244]
push ecx
push 0x20
lea ecx, [esp + 0x280]
push ecx
lea ecx, [esp + 0x258]
push ecx
push dword [ebp + 0x10]
lea ecx, [esp + 0x4c]
push dword [0x68ab33c8]
push dword [0x68ab09a0]
push 0
push esi
push ecx
push dword [esp + 0x48]
mov ecx, eax
call dword [0x68a57338]
call dword [esp + 0x54]
add esp, 0x34
jmp 0x68a33762
mov ecx, dword [0x68ab3410]
mov dword [esp + 0x20], ecx
test ecx, ecx
je 0x68a3371e
cmp word [0x68ab33e4], 0x16
ja 0x68a336cb
jne 0x68a336c7
cmp word [0x68ab33e6], 9
jae 0x68a336cb
xor dl, dl
jmp 0x68a336cd
mov dl, 1
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x23c]
push eax
push 0x20
lea eax, [esp + 0x278]
test dl, dl
push eax
lea eax, [esp + 0x250]
push eax
mov eax, 1
cmovne eax, dword [ebp + 0x10]
push eax
push dword [0x68ab33c8]
lea eax, [esp + 0x48]
push dword [0x68ab09a0]
push 0
push esi
push eax
push dword [esp + 0x40]
call dword [0x68a57338]
call dword [esp + 0x4c]
add esp, 0x2c
jmp 0x68a33762
mov eax, dword [0x68ab3414]
mov dword [esp + 0x20], eax
test eax, eax
je 0x68a33788
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x23c]
push ecx
push 0x20
lea ecx, [esp + 0x278]
push ecx
lea ecx, [esp + 0x250]
push ecx
push esi
lea ecx, [esp + 0x44]
push ecx
push dword [esp + 0x30]
mov ecx, eax
call dword [0x68a57338]
call dword [esp + 0x3c]
add esp, 0x1c
test eax, eax
je 0x68a33788
push eax
push esi
push str.AavmRpcScanFile_url:__s__failed_with_an_error:_0x_08x
push 0x423
push 0x68a60164
push 1
call fcn.68a2de70
add esp, 0x18
mov esi, 0x80004005
jmp 0x68a337cf
mov ecx, dword [0x68ab33e0]
xor esi, esi
test ecx, ecx
je 0x68a337cf
cmp dword [esp + 0x244], esi
jne 0x68a337b0
lea eax, [esp + 0x250]
push eax
call fcn.68a34c60
mov ecx, dword [0x68ab33e0]
xor esi, esi
test dword [esp + 0x24c], 0x100
je 0x68a337cf
lea eax, [esp + 0x260]
add ecx, 0x10
push eax
call fcn.68a34c60
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x68a337e6
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x68a337f9
push ecx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x68a33843
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x68a33843
push dword [esp + 0x1c]
push str.ScriptShieldScanScript_url:__s__script_is_whitelisted
push 0x48c
push 0x68a60164
push 2
call fcn.68a2de70
jmp 0x68a33840
push esi
push str.ConvertString___failed_with_an_error:_0x_08x
push 0x491
push 0x68a60164
push 1
call fcn.68a2de70
mov edi, dword [esp + 0x250]
add esp, 0x14
cmp edi, dword [esp + 0x24]
je 0x68a33852
push edi
call fcn.68a39891
add esp, 4
test esi, esi
js 0x68a338de
xor eax, eax
cmp dword [esp + 0x244], eax
sete al
pop edi
pop esi
mov ecx, dword [esp + 0x4b4]
xor ecx, esp
call fcn.68a3943b
mov esp, ebp
pop ebp
ret
push dword [esp + 0x1c]
push str.ScriptShieldScanScript_url:__s__is_in_exceptions_list.
push 0x49e
push 0x68a60164
push 2
call fcn.68a2de70
add esp, 0x14
xor eax, eax
cmp dword [esp + 0x244], eax
sete al
pop edi
pop esi
mov ecx, dword [esp + 0x4b4]
xor ecx, esp
call fcn.68a3943b
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 0x4a2
push 0x68a60164
push 1
call fcn.68a2de70
add esp, 0x14
mov ecx, dword [esp + 0x4bc]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, esp
call fcn.68a3943b
mov esp, ebp
pop ebp
ret