Function at 0x1000ba20
Capabilities:
Delete file
Get common file path

Disassembly:
mov eax, 0x443c
call fcn.10019dc0
mov eax, dword [0x1003efe0]
xor eax, esp
mov dword [esp + 0x4438], eax
lea eax, [esp + 0x230]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x1000bcc1
push edi
lea ecx, [esp + 0x2c]
push ecx
xor edi, edi
push edi
push 0x10032510
lea edx, [esp + 0x240]
push edx
mov word [esp + 0x44a], di
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x1000bcc0
push ebp
lea eax, [esp + 0x30]
push str.BitDefender.MultiSubmission.BDSS_crash
push eax
mov word [esp + 0x23e], di
call fcn.100187f0
mov ebp, eax
add esp, 8
cmp ebp, edi
je 0x1000bcbf
push str.Check
push ebp
call fcn.100188c0
add esp, 8
test eax, eax
je 0x1000bad6
push ebp
call fcn.100188b0
add esp, 4
pop ebp
pop edi
mov ecx, dword [esp + 0x4438]
xor ecx, esp
call fcn.10019da6
add esp, 0x443c
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
push 0x10040418
call ebx
mov ecx, dword [0x10040448]
mov esi, dword [ecx]
lea ecx, [ecx]
cmp esi, dword [0x10040448]
je 0x1000bb5a
cmp dword [esi + 0x20], 8
jb 0x1000bb03
mov eax, dword [esi + 0xc]
jmp 0x1000bb06
lea eax, [esi + 0xc]
push 0x2000
lea edx, [esp + 0x44c]
push edx
push eax
call fcn.1000b140
add esp, 0xc
test eax, eax
jne 0x1000bb46
push edi
lea eax, [esp + 0x1c]
push str.file_d
push eax
call fcn.1000b330
lea ecx, [esp + 0x454]
push ecx
lea edx, [esp + 0x28]
push edx
push ebp
call fcn.10018a00
add esp, 0x18
cmp esi, dword [0x10040448]
jne 0x1000bb53
call fcn.1001b3cb
mov esi, dword [esi]
add edi, 1
jmp 0x1000baf0
push 0x10040418
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push ebp
call fcn.10018950
add esp, 4
test eax, eax
jne 0x1000bb84
push str.Perform
push ebp
call fcn.100188c0
add esp, 8
test eax, eax
je 0x1000bb92
push ebp
call fcn.100188b0
add esp, 4
jmp 0x1000bcbd
push 0x10040418
call ebx
mov eax, dword [0x10040448]
mov edi, dword [eax]
xor ebx, ebx
mov dword [esp + 0x10], 0x10040444
cmp edi, dword [0x10040448]
mov dword [esp + 0x14], edi
je 0x1000bc6c
cmp dword [edi + 0x20], 8
jb 0x1000bbc5
mov eax, dword [edi + 0xc]
jmp 0x1000bbc8
lea eax, [edi + 0xc]
push 0x2000
lea ecx, [esp + 0x44c]
push ecx
push eax
call fcn.1000b140
add esp, 0xc
test eax, eax
jne 0x1000bc55
push ebx
lea edx, [esp + 0x1c]
push str.file_d
push edx
call fcn.1000b330
lea eax, [esp + 0x454]
push eax
lea ecx, [esp + 0x28]
push ecx
push ebp
call fcn.10018a00
add esp, 0x18
test eax, eax
jne 0x1000bc55
call fcn.10018b60
mov esi, eax
test esi, esi
je 0x1000bc55
lea ecx, [esp + 0x10]
call fcn.1000b920
cmp dword [eax + 0x18], 8
jb 0x1000bc2b
mov eax, dword [eax + 4]
jmp 0x1000bc2e
add eax, 4
push 0
push eax
push esi
call fcn.10018ad0
add esp, 0xc
test eax, eax
jne 0x1000bc55
push 1
push esi
lea edx, [esp + 0x20]
push edx
push ebp
call fcn.10018960
push esi
call fcn.10018b70
add esp, 0x14
cmp edi, dword [0x10040448]
jne 0x1000bc62
call fcn.1001b3cb
mov edi, dword [edi]
add ebx, 1
jmp 0x1000bbaa
push 0x10040418
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push ebp
call fcn.10018950
add esp, 4
test eax, eax
push ebp
jne 0x1000bb85
call fcn.100188b0
push 0
push 0
push 0
push 0
push 4
push 0
push str.http:__submit.bitdefender.com_submit.php
push 0
push 0
lea eax, [esp + 0x60]
push 0
push eax
call fcn.10018b80
add esp, 0x30
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop esi
pop ebx
pop ebp
pop edi
mov ecx, dword [esp + 0x4438]
xor ecx, esp
call fcn.10019da6
add esp, 0x443c
ret