Function at 0x1000a270
Capabilities:
Check if file exists
Delete file
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005c5d8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x10070660]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea eax, [ebp - 0x48]
push eax
call ebx
mov ax, word [ebp - 0x48]
cmp ax, 9
je 0x1000a2b4
cmp ax, 6
jne 0x1000a2bb
push str.FunBSSUpd.dll
jmp 0x1000a2c0
push str.FunBSS64Upd.dll
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, dword [0x100742e4]
lea esi, [ebp - 0x1c]
call 0x100159d0
lea ecx, [ebp - 0x48]
push ecx
mov dword [ebp - 4], 0
call ebx
mov ax, word [ebp - 0x48]
cmp ax, 9
je 0x1000a2f1
cmp ax, 6
jne 0x1000a2f8
mov ecx, str.FunBSS64.dll
jmp 0x1000a2fd
mov ecx, str.FunBSS.dll
lea edx, [ebp - 0x18]
push edx
call fcn.10001bb0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
push ecx
call fcn.1000a840
lea edx, [ebp - 0x48]
push edx
call ebx
mov ax, word [ebp - 0x48]
cmp ax, 9
je 0x1000a32d
cmp ax, 6
jne 0x1000a334
mov ecx, str.FunBSS64Upd.dll
jmp 0x1000a339
mov ecx, str.FunBSSUpd.dll
lea eax, [ebp - 0x14]
push eax
call fcn.10001bb0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.1000a840
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1000a4a1
lea ecx, [ebp - 0x24]
push ecx
mov ecx, str.unload
call fcn.10001bb0
lea edx, [ebp - 0x20]
mov bl, 3
push edx
mov ecx, 0x100635f4
mov byte [ebp - 4], bl
call fcn.10001bb0
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x20]
push ecx
mov byte [ebp - 4], 4
call fcn.1000a6c0
mov byte [ebp - 0xd], al
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1000a3bc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000a3df
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0xd], 0
je 0x1000a4a1
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x18]
call fcn.1000a520
test al, al
je 0x1000a494
push str.Update_Lsp_DONE_
call fcn.100048d0
push eax
call fcn.10021360
add esp, 8
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [ebp - 0x20]
push edx
mov ecx, str.load
call fcn.10001bb0
lea eax, [ebp - 0x24]
mov bl, 5
push eax
mov ecx, 0x100635f4
mov byte [ebp - 4], bl
call fcn.10001bb0
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x24]
push edx
mov byte [ebp - 4], 6
call fcn.1000a6c0
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000a46f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000a4a1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x1000a4a1
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.10009f50
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000a4c4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000a4e7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000a50d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret