Function at 0x140001023
Capabilities:
Delete file

Disassembly:
jmp 0x140004330
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1e20]
mov eax, 0x1f20
call fcn.140005e70
sub rsp, rax
mov rax, qword [0x14000b030]
xor rax, rsp
mov qword [rbp + 0x1e10], rax
xor edi, edi
xor eax, eax
lea rcx, [rbp - 0xc]
xor edx, edx
mov r8d, 0x1e10
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x68], rdi
mov r15d, edi
mov r13d, edi
mov qword [rbp - 0x78], rdi
mov dword [rbp - 0x80], edi
mov dword [rbp - 0x60], edi
mov qword [rbp - 0x5c], rax
mov qword [rbp - 0x54], rax
mov qword [rbp - 0x4c], rax
mov qword [rbp - 0x44], rax
mov qword [rbp - 0x3c], rax
mov qword [rbp - 0x34], rax
mov qword [rbp - 0x2c], rax
mov qword [rbp - 0x24], rax
mov qword [rbp - 0x1c], rax
mov qword [rsp + 0x60], rdi
mov dword [rbp - 0x10], edi
call sub.MSVCR120.dll_memset
mov r14d, edi
mov qword [rsp + 0x70], rdi
mov r12d, edi
mov qword [rbp - 0x70], rdi
mov qword [rsp + 0x58], rdi
mov dword [rsp + 0x54], edi
mov rcx, qword [0x14000b020]
lea rsi, [0x14000b020]
cmp rcx, rsi
je 0x140004411
test byte [rcx + 0x1c], 2
je 0x140004411
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0x71]
lea r8, [0x140009960]
call fcn.140001078
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x68]
mov ecx, 8
call sub.winbio.dll_WinBioEnumBiometricUnits
mov ebx, eax
test eax, eax
jns 0x14000444f
mov rcx, qword [0x14000b020]
cmp rcx, rsi
je 0x14000499c
test byte [rcx + 0x1c], 8
je 0x14000499c
mov edx, 0x72
jmp 0x140004714
mov rax, qword [rsp + 0x78]
test rax, rax
jne 0x140004497
mov ebx, 0x80004002
mov rcx, qword [0x14000b020]
cmp rcx, rsi
je 0x14000499c
test byte [rcx + 0x1c], 8
je 0x14000499c
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x73]
lea r8, [0x140009960]
call fcn.140001078
mov rcx, qword [0x14000b020]
jmp 0x14000499c
mov rsi, rdi
test rax, rax
je 0x14000496f
mov rcx, qword [rsp + 0x68]
nop dword [rax + rax]
add rcx, 0x14
lea rdx, str.USBVID_138APID_0015
mov r8d, 0x15
add rcx, rdi
call qword [sym.imp.MSVCR120.dll_wcsncmp]
mov rcx, qword [rsp + 0x68]
test eax, eax
jne 0x1400044d7
mov r15d, dword [rdi + rcx]
add rcx, 0x14
lea rdx, str.USBVID_138APID_0017
mov r8d, 0x15
add rcx, rdi
call qword [sym.imp.MSVCR120.dll_wcsncmp]
mov rcx, qword [rsp + 0x68]
test eax, eax
jne 0x1400044fe
mov r13d, dword [rdi + rcx]
inc rsi
add rdi, 0xa1c
cmp rsi, qword [rsp + 0x78]
jb 0x1400044b0
xor edi, edi
test r15d, r15d
je 0x14000496f
test r13d, r13d
je 0x14000496f
lea rax, [rsp + 0x50]
lea edx, [rdi + 1]
lea ecx, [rdi + 8]
mov qword [rsp + 0x30], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x28], 1
mov qword [rsp + 0x20], rdi
call sub.winbio.dll_WinBioOpenSession
mov ebx, eax
test eax, eax
jns 0x14000457b
mov rcx, qword [0x14000b020]
lea rsi, [0x14000b020]
cmp rcx, rsi
je 0x14000499c
test byte [rcx + 0x1c], 8
je 0x14000499c
lea edx, [rdi + 0x74]
jmp 0x140004714
mov ecx, dword [rsp + 0x50]
mov edx, r15d
call sub.winbio.dll_WinBioLockUnit
mov ebx, eax
test eax, eax
jns 0x1400045b8
mov rcx, qword [0x14000b020]
lea rsi, [0x14000b020]
cmp rcx, rsi
je 0x14000499c
test byte [rcx + 0x1c], 8
je 0x14000499c
mov edx, 0x75
jmp 0x140004714
lea rcx, [rbp - 0x60]
mov dword [0x14000b198], 1
call fcn.140001028
mov ebx, eax
test eax, eax
jns 0x1400045fc
mov rcx, qword [0x14000b020]
lea rsi, [0x14000b020]
cmp rcx, rsi
je 0x14000499c
test byte [rcx + 0x1c], 8
je 0x14000499c
mov edx, 0x76
jmp 0x140004714
mov ecx, dword [rsp + 0x50]
lea rax, [rsp + 0x58]
lea r9, [rsp + 0x60]
lea r8, [rbp - 0x60]
mov edx, r15d
mov qword [rsp + 0x20], rax
call sub.winbio.dll_WinBioEnumEnrollments
test eax, eax
jns 0x140004733
mov rcx, qword [0x14000b020]
lea rsi, [0x14000b020]
cmp rcx, rsi
je 0x140004654
test byte [rcx + 0x1c], 8
je 0x140004654
mov rcx, qword [rcx + 0x10]
lea r8, [0x140009960]
mov edx, 0x77
mov r9d, eax
call fcn.140001041
cmp dword [0x14000b198], 1
jne 0x14000469d
mov ecx, dword [rsp + 0x50]
mov edx, r15d
call sub.winbio.dll_WinBioUnlockUnit
test eax, eax
jns 0x140004697
mov rcx, qword [0x14000b020]
cmp rcx, rsi
je 0x140004697
test byte [rcx + 0x1c], 8
je 0x140004697
mov rcx, qword [rcx + 0x10]
lea r8, [0x140009960]
mov edx, 0x78
mov r9d, eax
call fcn.140001041
mov dword [0x14000b198], edi
mov ecx, dword [rsp + 0x50]
lea r8, [rbp - 0x60]
mov edx, r13d
call fcn.140001069
test eax, eax
jns 0x1400046db
mov rcx, qword [0x14000b020]
cmp rcx, rsi
je 0x1400046db
test byte [rcx + 0x1c], 8
je 0x1400046db
mov rcx, qword [rcx + 0x10]
lea r8, [0x140009960]
mov edx, 0x79
mov r9d, eax
call fcn.140001041
mov ecx, dword [rsp + 0x50]
lea r8, [rbp - 0x60]
mov edx, r15d
call fcn.140001037
mov ebx, eax
test eax, eax
jns 0x1400047f7
mov rcx, qword [0x14000b020]
cmp rcx, rsi
je 0x14000499c
test byte [rcx + 0x1c], 8
je 0x14000499c
mov edx, 0x7a
mov r9d, eax
mov rcx, qword [rcx + 0x10]
lea r8, [0x140009960]
call fcn.140001041
mov rcx, qword [0x14000b020]
jmp 0x14000499c
mov ecx, dword [rsp + 0x50]
lea rax, [rbp - 0x68]
mov r9d, 0x44219c
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x78]
mov r8d, 2
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0x1e14
lea rax, [rbp - 0x10]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x80]
mov edx, r15d
mov qword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call sub.winbio.dll_WinBioControlUnit
mov ebx, eax
test eax, eax
js 0x1400048d0
movabs rax, 0x6a63bd81a98ef607
lea r9, [rsp + 0x70]
lea rcx, [rbp - 0x60]
mul qword [rbp - 0x78]
lea rax, [rbp - 0x70]
shr rdx, 5
mov qword [rsp + 0x20], rax
mov r8d, edx
lea rdx, [rbp - 0x10]
call fcn.140001087
mov ebx, eax
test eax, eax
jns 0x14000480d
mov rcx, qword [0x14000b020]
lea rsi, [0x14000b020]
cmp rcx, rsi
je 0x140004803
test byte [rcx + 0x1c], 8
je 0x140004803
mov rcx, qword [rcx + 0x10]
lea r8, [0x140009960]
mov edx, 0x7b
mov r9d, eax
call fcn.140001041
mov r14, qword [rsp + 0x70]
mov rcx, qword [0x14000b020]
jmp 0x14000499c
mov r14, qword [rsp + 0x70]
jmp 0x14000499c
mov rdx, qword [rsp + 0x58]
mov r12, qword [rbp - 0x70]
mov r14, qword [rsp + 0x70]
cmp rdx, r12
jne 0x140004859
movzx r9d, di
test rdx, rdx
je 0x140004859
mov r8, rdi
nop dword [rax]
mov rax, qword [rsp + 0x60]
movzx ecx, di
movzx r8d, byte [r8 + rax]
mov rax, rdi
cmp r8b, byte [rax + r14]
je 0x1400048b4
inc cx
movzx eax, cx
cmp rax, rdx
jb 0x140004840
mov dword [rsp + 0x54], 1
cmp dword [0x14000b198], 1
jne 0x1400048c7
mov ecx, dword [rsp + 0x50]
mov edx, r15d
call sub.winbio.dll_WinBioUnlockUnit
mov ebx, eax
test eax, eax
jns 0x1400048a5
mov rcx, qword [0x14000b020]
lea rax, [0x14000b020]
cmp rcx, rax
je 0x1400048ac
test byte [rcx + 0x1c], 8
je 0x1400048ac
mov rcx, qword [rcx + 0x10]
lea r8, [0x140009960]
mov edx, 0x7c
mov r9d, ebx
call fcn.140001041
mov rcx, qword [0x14000b020]
mov dword [0x14000b198], edi
jmp 0x1400048d7
inc r9w
movzx r8d, r9w
cmp r8, rdx
jb 0x140004830
jmp 0x140004859
mov rcx, qword [0x14000b020]
jmp 0x1400048dc
mov rcx, qword [0x14000b020]
mov rdx, qword [rsp + 0x58]
cmp rdx, r12
jne 0x1400048eb
cmp dword [rsp + 0x54], edi
je 0x140004995
mov ecx, dword [rsp + 0x50]
lea r8, [rbp - 0x60]
mov edx, r13d
call fcn.140001069
test eax, eax
jns 0x140004932
mov rcx, qword [0x14000b020]
lea rsi, [0x14000b020]
cmp rcx, rsi
je 0x140004939
test byte [rcx + 0x1c], 8
je 0x140004939
mov rcx, qword [rcx + 0x10]
lea r8, [0x140009960]
mov edx, 0x7d
mov r9d, eax
call fcn.140001041
jmp 0x140004939
lea rsi, [0x14000b020]
mov ecx, dword [rsp + 0x50]
lea r8, [rbp - 0x60]
mov edx, r15d
call fcn.140001037
mov ebx, eax
test eax, eax
jns 0x1400047f7
mov rcx, qword [0x14000b020]
cmp rcx, rsi
je 0x14000499c
test byte [rcx + 0x1c], 8
je 0x14000499c
mov edx, 0x7e
jmp 0x140004714
mov rcx, qword [0x14000b020]
lea rsi, [0x14000b020]
cmp rcx, rsi
je 0x14000499c
test byte [rcx + 0x1c], 8
je 0x14000499c
mov edx, 0x7f
mov r9d, ebx
jmp 0x140004717
lea rsi, [0x14000b020]
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x1400049ba
mov rcx, rax
call sub.winbio.dll_WinBioFree
mov rcx, qword [0x14000b020]
mov qword [rsp + 0x60], rdi
test r14, r14
je 0x1400049ce
mov rcx, r14
call sub.winbio.dll_WinBioFree
mov rcx, qword [0x14000b020]
cmp rcx, rsi
je 0x1400049ee
test byte [rcx + 0x1c], 8
je 0x1400049ee
mov rcx, qword [rcx + 0x10]
lea r8, [0x140009960]
mov edx, 0x80
call fcn.140001078
lea rcx, [0x14000b280]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [0x14000b198], 1
jne 0x140004a8d
mov ecx, dword [rsp + 0x50]
mov edx, r13d
call sub.winbio.dll_WinBioUnlockUnit
test eax, eax
jns 0x140004a42
mov rcx, qword [0x14000b020]
cmp rcx, rsi
je 0x140004a42
test byte [rcx + 0x1c], 8
je 0x140004a42
mov rcx, qword [rcx + 0x10]
lea r8, [0x140009960]
mov edx, 0x81
mov r9d, eax
call fcn.140001041
mov ecx, dword [rsp + 0x50]
mov edx, r15d
call sub.winbio.dll_WinBioUnlockUnit
mov ebx, eax
test eax, eax
jns 0x140004a7e
mov rcx, qword [0x14000b020]
cmp rcx, rsi
je 0x140004a85
test byte [rcx + 0x1c], 8
je 0x140004a85
mov rcx, qword [rcx + 0x10]
lea r8, [0x140009960]
mov edx, 0x82
mov r9d, eax
call fcn.140001041
mov rcx, qword [0x14000b020]
mov dword [0x14000b198], edi
jmp 0x140004a94
mov rcx, qword [0x14000b020]
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x140004aae
mov ecx, eax
call sub.winbio.dll_WinBioCloseSession
mov rcx, qword [0x14000b020]
mov dword [rsp + 0x50], edi
cmp rcx, rsi
je 0x140004ad1
test byte [rcx + 0x1c], 2
je 0x140004ad1
mov rcx, qword [rcx + 0x10]
lea r8, [0x140009960]
mov edx, 0x83
mov r9d, ebx
call fcn.140001041
mov eax, ebx
mov rcx, qword [rbp + 0x1e10]
xor rcx, rsp
call fcn.140005ed0
lea r11, [rsp + 0x1f20]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret