Function at 0x1000c270
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100f80f0
push 0x100d893f
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push esi
push edi
mov eax, dword [0x100ff008]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, ecx
mov dword [ebp - 0x20], esi
mov ecx, 0x10103149
call fcn.100d96c4
cmp byte [ebp + 8], 0
je 0x1000c331
mov ecx, esi
call fcn.1000beb0
mov edi, eax
mov dword [ebp + 8], edi
test edi, edi
je 0x1000c331
push 0x100e84cc
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen]
add esp, 8
mov dword [ebp - 0x24], eax
test eax, eax
je 0x1000c331
wait
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.1000c230
mov byte [ebp - 0x19], al
wait
mov dword [ebp - 4], 0xfffffffe
jmp 0x1000c318
push dword [ebp - 0x24]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
cmp byte [ebp - 0x19], 0
je 0x1000c331
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
wait
mov dword [ebp - 4], 1
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1000c34d
push ecx
call fcn.1000c510
mov dword [esi + 8], 0
wait
jmp 0x1000c36d
mov dword [ebp - 4], 0xfffffffe
lea eax, [esi + 0x58]
mov dword [ebp - 0x24], eax
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea edi, [esi + 0xc]
mov eax, dword [edi + 0x38]
mov dword [ebp - 0x48], eax
mov ecx, dword [edi + 0x3c]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0
cmp eax, ecx
je 0x1000c3bb
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x38]
call fcn.1000d8d0
mov dword [ebp - 0x6c], edi
movups xmm0, xmmword [ebp - 0x38]
movups xmmword [ebp - 0x68], xmm0
movups xmm0, xmmword [ebp - 0x48]
movups xmmword [ebp - 0x58], xmm0
lea ecx, [ebp - 0x6c]
call fcn.1000d540
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x3c], 0
lea esi, [edi + 0x38]
mov eax, dword [esi]
mov dword [ebp - 0x38], eax
mov ecx, dword [esi + 4]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x90], edi
movups xmm0, xmmword [ebp - 0x48]
movups xmmword [ebp - 0x8c], xmm0
movups xmm0, xmmword [ebp - 0x38]
movups xmmword [ebp - 0x7c], xmm0
lea ecx, [ebp - 0x90]
call fcn.1000d540
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x8c]
jne 0x1000c4e1
mov eax, dword [ebp - 0x64]
cmp eax, dword [ebp - 0x88]
jne 0x1000c4e1
mov ecx, dword [ebp - 0x60]
cmp ecx, dword [ebp - 0x84]
jne 0x1000c4e1
cmp ecx, eax
je 0x1000c462
mov esi, dword [ebp - 0x5c]
cmp esi, dword [ebp - 0x80]
jne 0x1000c4e4
lea esi, [edi + 0x38]
mov ecx, dword [edi + 0x34]
mov eax, dword [edi + 0x48]
sub eax, ecx
jne 0x1000c470
test ecx, ecx
je 0x1000c477
mov ecx, esi
call fcn.1000d440
mov eax, dword [edi + 0x44]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100f47d0]
cvtpd2ps xmm1, xmm0
movss dword [ebp + 8], xmm1
movss xmm0, dword [edi + 8]
mulss xmm0, xmm1
call fcn.100d9bc0
mov dword [edi], eax
movss xmm0, dword [edi + 0xc]
mulss xmm0, dword [ebp + 8]
call fcn.100d9bc0
mov dword [edi + 4], eax
mov byte [edi + 0x10], 0
mov dword [edi + 0x34], 0
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov esi, dword [ebp - 0x5c]
push 0x128
push dword [esi + 0x18]
call fcn.100d83a8
add esp, 8
add esi, 0x1c
mov dword [ebp - 0x5c], esi
lea ecx, [ebp - 0x68]
call fcn.1000d8d0
lea ecx, [ebp - 0x6c]
call fcn.1000d540
jmp 0x1000c3e4