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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016d9cf
mov eax, dword fs:[0]
push eax
sub esp, 0x46c
mov eax, dword [0x101cfe2c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [sym.imp.USER32.dll_FindWindowW]
push str.LiveUpdate_DQA_TEST
push 0
mov dword [ebp - 4], 0
call esi
test eax, eax
jne 0x1000a0bb
push str.Engineer_Test
push eax
call esi
test eax, eax
je 0x1000a44c
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 1
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
call fcn.10012397
mov ecx, eax
test ecx, ecx
je 0x1000a48a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x470], eax
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x470]
call fcn.10009000
test al, al
jne 0x1000a133
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000a111
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x470]
call fcn.10007800
mov byte [ebp - 4], 3
call fcn.10012397
mov ecx, eax
test ecx, ecx
je 0x1000a494
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x464], esi
mov edi, dword [ebp - 0x470]
push 0x5c
push edi
mov byte [ebp - 4], 4
call fcn.1014adec
add esp, 8
test eax, eax
jne 0x1000a172
or eax, 0xffffffff
jmp 0x1000a176
sub eax, edi
sar eax, 1
push eax
push 0
lea eax, [ebp - 0x468]
push eax
lea ecx, [ebp - 0x470]
call fcn.10009320
mov edx, dword [eax]
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 5
mov dword [ebp - 0x46c], ecx
lea ebx, [edx - 0x10]
cmp ebx, ecx
je 0x1000a201
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x1000a1ec
mov eax, dword [ebx]
cmp eax, dword [ecx]
jne 0x1000a1ec
push ebx
call fcn.10009110
or ebx, 0xffffffff
mov dword [ebp - 0x478], eax
add esp, 4
mov ecx, ebx
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x1000a1e1
mov edx, dword [ebp - 0x46c]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x478]
lea esi, [eax + 0x10]
mov dword [ebp - 0x464], esi
jmp 0x1000a204
push dword [edx - 0xc]
lea ecx, [ebp - 0x464]
push edx
call fcn.10007800
mov esi, dword [ebp - 0x464]
or ebx, 0xffffffff
mov edx, dword [ebp - 0x468]
mov eax, ebx
mov byte [ebp - 4], 4
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000a225
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.NDA.log
lea eax, [ebp - 0x464]
push eax
lea eax, [ebp - 0x468]
push eax
call fcn.10008e10
add esp, 0xc
push 0
push dword [eax]
call fcn.10158f06
mov edx, dword [ebp - 0x468]
add esp, 8
cmp eax, 0xffffffff
mov eax, ebx
setne byte [ebp - 0x45d]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000a273
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x45d], 0
je 0x1000a350
push str.NDA.log
lea eax, [ebp - 0x464]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x468]
movlpd qword [ebp - 0x45c], xmm0
push eax
movlpd qword [ebp - 0x454], xmm0
movlpd qword [ebp - 0x44c], xmm0
call fcn.10008e10
add esp, 0xc
push 0
lea ecx, [ebp - 0x45c]
mov byte [ebp - 4], 6
push ecx
push dword [eax]
call fcn.10012edb
mov edx, dword [ebp - 0x468]
mov ecx, ebx
mov dword [ebp - 0x478], eax
add edx, 0xfffffff0
mov byte [ebp - 4], 4
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x1000a2f7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x478]
test eax, eax
je 0x1000a350
cmp dword [ebp - 0x440], 0
ja 0x1000a310
cmp dword [ebp - 0x444], 0x500000
jbe 0x1000a350
push str.NDA.log
lea eax, [ebp - 0x464]
push eax
lea eax, [ebp - 0x468]
push eax
call fcn.10008e10
add esp, 0xc
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 0x468]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000a350
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.NDA.log
lea eax, [ebp - 0x464]
push eax
lea eax, [ebp - 0x474]
push eax
call fcn.10008e10
add esp, 0xc
push 0
push dword [ebp - 0x474]
call fcn.10158f06
add esp, 8
test eax, eax
jne 0x1000a386
push 0x1017bd48
jmp 0x1000a38b
push 0x1017bd4c
push dword [ebp - 0x474]
call fcn.1014e0ae
add esp, 8
mov dword [ebp - 0x46c], eax
test eax, eax
je 0x1000a3f1
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push dword [ebp + 8]
movzx eax, word [ebp - 0x21e]
push eax
movzx eax, word [ebp - 0x220]
push eax
movzx eax, word [ebp - 0x222]
push eax
movzx eax, word [ebp - 0x224]
push eax
push 0x1017bd50
push dword [ebp - 0x46c]
call fcn.10010df0
push dword [ebp - 0x46c]
call fcn.1014e13c
add esp, 0x20
mov edx, dword [ebp - 0x474]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000a40e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1000a429
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x1000a44f
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1000a44f
or ebx, 0xffffffff
mov edx, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1000a46e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101482f7
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10007630
push 0x80004005
call fcn.10007630
int3