Function at 0x10f8e27
Capabilities:
Delete file

Disassembly:
push 0x50
mov eax, 0x11bbdf7
call fcn.010aa62e
xor ebx, ebx
cmp dword [ebp + 8], ebx
jne 0x10f8e58
push 0x101bf70
push 0x101bf58
push 0x6a
call fcn.010f17c2
add esp, 0xc
mov eax, 0x80070057
jmp 0x10f94d2
cmp dword [ebp + 0xc], ebx
jne 0x10f8e69
push 0x101bf70
push 0x101b990
jmp 0x10f8e44
or dword [ebp - 0x24], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.010f4e48
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x48], ebx
call fcn.0107f04e
lea eax, [ebp - 0x28]
push eax
push ebx
push dword [ebp + 0xc]
mov byte [ebp - 4], 1
push ebx
call fcn.010f5a9e
cmp eax, ebx
mov dword [ebp - 0x14], eax
jl 0x10f943b
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0xc]
push ebx
push 0x8000000
push 3
push ebx
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x24], eax
cmp eax, 0xffffffff
je 0x10f9429
push eax
lea ecx, [ebp - 0x5c]
call fcn.010f4e58
cmp eax, ebx
mov dword [ebp - 0x14], eax
jl 0x10f943b
or dword [ebp - 0x24], 0xffffffff
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x5c]
call fcn.010f51d3
mov esi, eax
cmp dword [ebp - 0x40], ebx
jne 0x10f9434
cmp esi, ebx
je 0x10f9434
push 0x12330b6
push esi
call fcn.010aa735
mov edi, eax
pop ecx
pop ecx
mov dword [ebp - 0x3c], edi
cmp edi, ebx
jne 0x10f8f39
push 0x101bf70
push 0x101bf3c
push 0x6d
call fcn.010f17c2
add esp, 0xc
mov dword [ebp - 0x14], 0x8007000e
jmp 0x10f943b
lea eax, [ebp - 0x44]
push eax
push esi
push edi
lea ecx, [ebp - 0x5c]
call fcn.010f4f83
cmp eax, ebx
je 0x10f9410
cmp dword [ebp - 0x44], esi
jne 0x10f9410
lea ebx, [esi + edi]
lea esi, [edi + 4]
mov dword [ebp - 0x1c], ebx
cmp ebx, esi
jb 0x10f9434
cmp dword [edi], 1
jne 0x10f9434
cmp dword [ebp + 0x10], 0
mov eax, dword [esi]
lea eax, [esi + eax + 4]
je 0x10f8ff2
cmp ebx, eax
jb 0x10f9434
mov eax, dword [0x123718c]
test eax, eax
je 0x10f8f9c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [0x123718c], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push 0x123718c
lea edx, [esi + 4]
push edx
push eax
call dword [ecx + 0x16c]
mov dword [ebp - 0x14], eax
test eax, eax
jge 0x10f8fc8
push 0x16a
call fcn.010f17c2
pop ecx
jmp 0x10f943b
mov eax, dword [esi]
lea esi, [esi + eax + 4]
call fcn.010f2b13
test al, al
je 0x10f908d
push 0x145
call fcn.010f17c2
pop ecx
mov dword [ebp - 0x14], 0x819b0004
jmp 0x10f943b
cmp ebx, eax
jb 0x10f9434
mov eax, dword [0x1237190]
test eax, eax
je 0x10f9010
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [0x1237190], 0
mov edi, dword [ebp + 8]
mov eax, dword [edi]
push 0x1237190
lea ecx, [esi + 4]
push ecx
push edi
call dword [eax + 0x1a8]
mov dword [ebp - 0x14], eax
test eax, eax
jge 0x10f9033
push 0x16c
jmp 0x10f8fbd
mov eax, dword [esi]
lea esi, [esi + eax + 4]
call fcn.010f2b13
test al, al
jne 0x10f8fdb
mov eax, dword [esi]
lea eax, [esi + eax + 4]
cmp ebx, eax
jb 0x10f9434
mov eax, dword [0x1237194]
test eax, eax
je 0x10f9066
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [0x1237194], 0
mov eax, dword [edi]
push 0x1237194
lea ecx, [esi + 4]
push ecx
push edi
call dword [eax + 0x1a8]
mov dword [ebp - 0x14], eax
test eax, eax
jge 0x10f8fc8
push 0x16b
jmp 0x10f8fbd
mov eax, dword [0x1236a54]
test eax, eax
jne 0x10f9131
xor esi, esi
cmp esi, 5
jae 0x10f943b
xor eax, eax
mov ecx, esi
shl ecx, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x10], eax
je 0x10f90ef
push 0x123718c
add ecx, 0x12370ec
mov byte [ebp - 4], 2
call fcn.010fce6c
mov eax, dword [0x123718c]
mov dword [ebp - 4], 1
jmp 0x10f910f
push 0x1237190
add ecx, 0x123713c
mov byte [ebp - 4], 4
call fcn.010fce6c
mov eax, dword [0x1237190]
mov dword [ebp - 4], 1
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
inc esi
jmp 0x10f909c
cmp eax, 1
jne 0x10f9184
lea eax, [esi + 4]
cmp ebx, eax
jb 0x10f9434
mov edx, dword [esi]
xor edi, edi
mov esi, eax
test edx, edx
jbe 0x10f917b
lea ecx, [esi + 4]
cmp ebx, ecx
jb 0x10f9434
mov eax, dword [esi]
mov esi, ecx
xor ecx, ecx
test eax, eax
jbe 0x10f9176
mov ebx, dword [esi]
lea esi, [esi + ebx + 4]
mov ebx, dword [ebp - 0x1c]
cmp ebx, esi
jb 0x10f9434
inc ecx
cmp ecx, eax
jb 0x10f9160
inc edi
cmp edi, edx
jb 0x10f914b
mov dword [ebp - 0x34], 3
jmp 0x10f918b
mov dword [ebp - 0x34], 5
mov ecx, 0x12369fc
call fcn.010f41e6
test al, al
je 0x10f91a5
mov dword [ebp - 0x14], 0x819b0005
jmp 0x10f943b
call fcn.010f2b13
test al, al
jne 0x10f8fdb
lea edi, [esi + 4]
cmp ebx, edi
jb 0x10f9434
mov eax, dword [0x1236a54]
mov esi, dword [esi]
cmp eax, 1
jne 0x10f91d3
cmp esi, 3
jae 0x10f91e1
jmp 0x10f9434
cmp eax, 2
jne 0x10f91e1
cmp esi, 5
jb 0x10f9434
and dword [ebp - 0x18], 0
mov esi, dword [ebp - 0x18]
cmp esi, dword [ebp - 0x34]
jae 0x10f943b
call fcn.010f2b13
test al, al
jne 0x10f8fdb
test esi, esi
je 0x10f9276
mov esi, dword [0x1236a68]
and dword [ebp - 0x2c], 0
and dword [ebp - 0x20], 0
lea ebx, [esi + 4]
test esi, esi
je 0x10f923e
mov eax, dword [0x1236a6c]
sub eax, esi
sar eax, 4
cmp dword [ebp - 0x20], eax
jae 0x10f923e
mov ecx, dword [ebp - 0x18]
shl ecx, 4
add ecx, dword [ebx]
call fcn.010b94dd
add dword [ebp - 0x2c], eax
inc dword [ebp - 0x20]
add ebx, 0x10
jmp 0x10f9213
cmp dword [ebp - 0x2c], 0
jne 0x10f9276
lea ecx, [edi + 4]
cmp dword [ebp - 0x1c], ecx
jb 0x10f9434
mov eax, dword [edi]
mov edi, ecx
xor ecx, ecx
test eax, eax
jbe 0x10f926e
mov edx, dword [edi]
lea edi, [edi + edx + 4]
cmp dword [ebp - 0x1c], edi
jb 0x10f9434
inc ecx
cmp ecx, eax
jb 0x10f925a
inc dword [ebp - 0x18]
jmp 0x10f91e5
lea eax, [edi + 4]
cmp dword [ebp - 0x1c], eax
jb 0x10f9434
mov ebx, dword [ebp - 0x18]
mov ecx, dword [edi]
shl ebx, 4
cmp dword [ebp + 0x10], 0
mov dword [ebp - 0x2c], ecx
mov edi, eax
je 0x10f92a3
lea eax, [ebx + 0x12370ec]
push eax
call fcn.010f81ef
jmp 0x10f92af
lea eax, [ebx + 0x123713c]
push eax
call fcn.010f81ef
and dword [ebp - 0x20], 0
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x2c]
jae 0x10f93e2
cmp dword [ebp + 0x10], 0
mov eax, dword [edi]
lea eax, [edi + eax + 4]
je 0x10f9345
cmp dword [ebp - 0x1c], eax
jb 0x10f9434
mov eax, dword [esi]
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [edi + 4]
push ecx
push esi
call dword [eax + 0x16c]
mov dword [ebp - 0x14], eax
test eax, eax
jge 0x10f9302
push dword [ebp - 0x20]
push 0x16d
call fcn.010f17c2
pop ecx
jmp 0x10f8fc2
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebx + 0x12370ec]
mov byte [ebp - 4], 6
call fcn.010fce6c
jmp 0x10f9387
cmp dword [ebp - 0x1c], eax
jb 0x10f9434
mov eax, dword [esi]
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [edi + 4]
push ecx
push esi
call dword [eax + 0x1a8]
mov dword [ebp - 0x14], eax
test eax, eax
jge 0x10f9370
push dword [ebp - 0x20]
push 0x16e
jmp 0x10f92f7
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebx + 0x123713c]
mov byte [ebp - 4], 8
call fcn.010fce6c
mov eax, dword [edi]
mov ecx, 0x12369fc
mov dword [ebp - 4], 1
lea edi, [edi + eax + 4]
call fcn.010f41e6
test al, al
jne 0x10f9199
call fcn.010f2b13
test al, al
jne 0x10f8fdb
inc dword [ebp - 0x20]
jmp 0x10f92b6
mov ecx, dword [ebp - 0x18]
shl ecx, 4
cmp dword [ebp + 0x10], 0
je 0x10f9403
add ecx, 0x12370ec
call fcn.010b94dd
test eax, eax
jne 0x10f926e
jmp 0x10f9434
add ecx, 0x123713c
call fcn.010b94dd
jmp 0x10f93f9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x10f9424
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x14], eax
jmp 0x10f943b
push 0x15b
call fcn.010f17c2
pop ecx
mov dword [ebp - 0x14], 0x819b0003
mov esi, dword [ebp - 0x14]
xor edi, edi
push dword [ebp - 0x3c]
call fcn.010a9620
cmp dword [ebp - 0x24], 0xffffffff
pop ecx
je 0x10f9458
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x5c]
call fcn.010f514f
cmp eax, edi
jge 0x10f946a
cmp esi, edi
jl 0x10f946a
mov esi, eax
cmp esi, 0x819b0003
jne 0x10f94b3
mov eax, dword [ebp - 0x28]
push dword [eax + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp + 0x14], edi
je 0x10f94b3
push dword [ebp + 0x10]
push edi
push dword [ebp + 0xc]
call fcn.010f8a8a
mov esi, eax
cmp esi, edi
jge 0x10f94a2
push 0x16f
call fcn.010f17c2
pop ecx
jmp 0x10f9440
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.010f8e27
mov esi, eax
push dword [ebp - 0x48]
call fcn.010a9620
pop ecx
lea ecx, [ebp - 0x28]
call fcn.0107d6e4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.010f52d5
mov eax, esi
call fcn.010aa6e2
ret 0x10