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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016d87f
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 0x10009fdb
push str.Engineer_Test
push eax
call esi
test eax, eax
je 0x1000a36c
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 1
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
call fcn.10012257
mov ecx, eax
test ecx, ecx
je 0x1000a3aa
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.10008f20
test al, al
jne 0x1000a053
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000a031
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x470]
call fcn.10007720
mov byte [ebp - 4], 3
call fcn.10012257
mov ecx, eax
test ecx, ecx
je 0x1000a3b4
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.1014ac9c
add esp, 8
test eax, eax
jne 0x1000a092
or eax, 0xffffffff
jmp 0x1000a096
sub eax, edi
sar eax, 1
push eax
push 0
lea eax, [ebp - 0x468]
push eax
lea ecx, [ebp - 0x470]
call fcn.10009240
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 0x1000a121
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x1000a10c
mov eax, dword [ebx]
cmp eax, dword [ecx]
jne 0x1000a10c
push ebx
call fcn.10009030
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 0x1000a101
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 0x1000a124
push dword [edx - 0xc]
lea ecx, [ebp - 0x464]
push edx
call fcn.10007720
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 0x1000a145
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.10008d30
add esp, 0xc
push 0
push dword [eax]
call fcn.10158db6
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 0x1000a193
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x45d], 0
je 0x1000a270
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.10008d30
add esp, 0xc
push 0
lea ecx, [ebp - 0x45c]
mov byte [ebp - 4], 6
push ecx
push dword [eax]
call fcn.10012d9b
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 0x1000a217
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x478]
test eax, eax
je 0x1000a270
cmp dword [ebp - 0x440], 0
ja 0x1000a230
cmp dword [ebp - 0x444], 0x500000
jbe 0x1000a270
push str.NDA.log
lea eax, [ebp - 0x464]
push eax
lea eax, [ebp - 0x468]
push eax
call fcn.10008d30
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 0x1000a270
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.10008d30
add esp, 0xc
push 0
push dword [ebp - 0x474]
call fcn.10158db6
add esp, 8
test eax, eax
jne 0x1000a2a6
push 0x1017bd48
jmp 0x1000a2ab
push 0x1017bd4c
push dword [ebp - 0x474]
call fcn.1014df5e
add esp, 8
mov dword [ebp - 0x46c], eax
test eax, eax
je 0x1000a311
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.10010cb0
push dword [ebp - 0x46c]
call fcn.1014dfec
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 0x1000a32e
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 0x1000a349
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 0x1000a36f
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1000a36f
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 0x1000a38e
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.101481ae
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10007550
push 0x80004005
call fcn.10007550
int3