Function at 0x13fb84850
Capabilities:
Check mutex on windows
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rdi
push r13
lea rbp, [rsp - 0x4038]
mov eax, 0x4138
call fcn.13fb87300
sub rsp, rax
mov rax, qword [0x13fb933b8]
xor rax, rsp
mov qword [rbp + 0x4010], rax
xor r13d, r13d
movsxd rbx, ecx
mov qword [rbp - 0x68], rdx
mov rdi, rdx
mov dword [rsp + 0x6c], ebx
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x58], r13
mov dword [rsp + 0x58], r13d
mov qword [rbp - 0x78], r13
cmp ebx, 2
jne 0x13fb849c8
mov rdx, qword [rdx + 8]
lea r8, [0x13fb8fb80]
mov ecx, r13d
movzx eax, word [r8 + rcx*2]
cmp ax, word [rdx + rcx*2]
jne 0x13fb8490f
movzx eax, word [r8 + rcx*2 + 2]
cmp ax, word [rdx + rcx*2 + 2]
jne 0x13fb8490f
add rcx, 2
cmp rcx, 0xe
jne 0x13fb848b5
xor edx, edx
lea rcx, [rbp - 0x80]
call fcn.13fb81210
mov ecx, 2
mov ebx, eax
call sub.ucrtbase.dll___acrt_iob_func
mov r9, qword [rbp - 0x80]
lea rdx, [0x13fb8fb30]
mov r8, qword [0x13fb932c0]
mov rcx, rax
call fcn.13fb836c0
mov eax, ebx
jmp 0x13fb85196
mov eax, 0x2d
cmp ax, word [rdx]
jne 0x13fb849eb
mov eax, 0x63
cmp ax, word [rdx + 2]
jne 0x13fb849eb
cmp r13w, word [rdx + 4]
jne 0x13fb849eb
mov dword [0x13fb93448], 1
mov dword [rsp + 0x58], 1
mov rdx, qword [rdi + rbx*8 - 8]
lea r8, [0x13fb8fbb8]
mov rcx, r13
nop dword [rax + rax]
movzx eax, word [r8 + rcx*2]
inc rcx
cmp ax, word [rdx + rcx*2 - 2]
jne 0x13fb84a7e
cmp rcx, 6
jne 0x13fb84960
lea r8, [0x13fb8fbd0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.kernel32.dll_CreateMutexW]
mov qword [rsp + 0x78], rax
test rax, rax
je 0x13fb84a83
mov edx, 0x927c0
mov rcx, rax
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
jne 0x13fb84a69
call qword [sym.imp.kernel32.dll_GetLastError]
mov edx, eax
lea rcx, [0x13fb8fc38]
call fcn.13fb82590
jmp 0x13fb84a83
cmp ebx, 5
jle 0x13fb849e2
mov edx, ebx
lea rcx, [0x13fb931b8]
call fcn.13fb862b0
mov eax, ebx
jmp 0x13fb85196
cmp ebx, 1
jle 0x13fb84949
mov rdx, qword [rdi + 8]
lea r8, [0x13fb8fba8]
mov rcx, r13
nop dword [rax]
movzx eax, word [r8 + rcx*2]
inc rcx
cmp ax, word [rdx + rcx*2 - 2]
jne 0x13fb84949
cmp rcx, 4
jne 0x13fb84a00
mov dword [0x13fb93448], 1
cmp ebx, 3
jle 0x13fb84a5a
mov rax, qword [rdi + 0x10]
mov rcx, qword [rdi + 0x18]
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x80], rcx
cmp ebx, 4
jle 0x13fb84a4a
mov r8, qword [rdi + 0x20]
mov qword [rbp - 0x78], r8
jmp 0x13fb84949
lea rax, [0x13fb8fbb0]
mov qword [rbp - 0x78], rax
jmp 0x13fb84949
mov ecx, 1
call fcn.13fb82e60
jmp 0x13fb85196
cmp eax, 0x102
jne 0x13fb84a83
lea rcx, [0x13fb8fc68]
call fcn.13fb82590
jmp 0x13fb84a83
mov qword [rsp + 0x78], r13
xor ecx, ecx
cmp dword [0x13fb93448], r13d
je 0x13fb84a9a
xor r8d, r8d
xor edx, edx
call fcn.13fb82d60
jmp 0x13fb84a9f
call fcn.13fb82ac0
mov ecx, 0x1002
mov qword [rsp + 0x4170], rsi
call sub.ucrtbase.dll_malloc
mov r8d, 0x800
mov qword [rbp - 0x70], rax
mov rdx, rax
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.kernel32.dll_GetModuleFileNameW]
test rbx, rbx
jne 0x13fb84ae2
call fcn.13fb82ce0
mov rdx, qword [rdi]
lea rcx, [0x13fb93098]
jmp 0x13fb86286
mov edx, 0x21
mov rcx, rbx
call sub.vcruntime140.dll_wcschr
test rax, rax
jne 0x13fb86277
lea edx, [rax + 0x23]
mov rcx, rbx
call sub.vcruntime140.dll_wcschr
test rax, rax
jne 0x13fb86277
mov rcx, rbx
mov qword [rsp + 0x4128], r14
call fcn.13fb83d10
mov r14, rax
test rax, rax
jne 0x13fb84b45
call fcn.13fb82ce0
xor edx, edx
lea rcx, [0x13fb930c0]
call fcn.13fb862b0
lea rcx, [r14 - 1]
call fcn.13fb82e60
jmp 0x13fb85186
lea rdi, [rbp + 0x10]
mov qword [rsp + 0x4120], r15
sub rdi, r14
mov qword [0x13fb93440], r14
mov ebx, r13d
mov rcx, r14
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rcx]
mov word [rcx + rdi], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x13fb84b70
lea rcx, [rbp + 0x10]
sub rcx, 2
nop dword [rax + rax]
cmp word [rcx + 2], bx
lea rcx, [rcx + 2]
jne 0x13fb84b90
mov eax, dword [0x13fb8f504]
mov dword [rcx], eax
lea rcx, [rbp + 0x10]
sub rcx, 2
nop word [rax + rax]
cmp word [rcx + 2], bx
lea rcx, [rcx + 2]
jne 0x13fb84bb0
mov r8, qword [0x13fb932f0]
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x13fb84bd0
lea rdx, [0x13fb8f558]
lea rcx, [rbp + 0x10]
call sub.ucrtbase.dll__wfopen
mov r15, rax
mov rsi, 0xffffffffffffffff
test rax, rax
je 0x13fb84c5d
mov r8, rax
lea rcx, [rbp + 0x10]
mov edx, 0x7ff
call sub.ucrtbase.dll_fgetws
test rax, rax
je 0x13fb84c51
lea rax, [rbp + 0x10]
mov rbx, rsi
nop
inc rbx
cmp word [rax + rbx*2], r13w
jne 0x13fb84c20
movsxd rax, ebx
lea rax, [rax*2 - 2]
cmp word [rbp + rax + 0x10], 0xa
jne 0x13fb84c51
cmp rax, 0x1000
jae 0x13fb8629c
mov word [rbp + rax + 0x10], r13w
dec ebx
mov rcx, r15
call sub.ucrtbase.dll_fclose
test ebx, ebx
jne 0x13fb84cda
mov rcx, r14
movzx eax, word [rcx]
mov word [rcx + rdi], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x13fb84c60
lea rcx, [rbp + 0x10]
sub rcx, 2
nop dword [rax + rax]
cmp word [rcx + 2], r13w
lea rcx, [rcx + 2]
jne 0x13fb84c80
mov eax, dword [0x13fb8f504]
mov dword [rcx], eax
lea rax, [rbp + 0x10]
sub rax, 2
nop dword [rax + rax]
cmp word [rax + 2], r13w
lea rax, [rax + 2]
jne 0x13fb84ca0
movups xmm0, xmmword [0x13fb8f560]
mov rbx, rsi
movsd xmm1, qword [0x13fb8f570]
movups xmmword [rax], xmm0
movsd qword [rax + 0x10], xmm1
lea rax, [rbp + 0x10]
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], r13w
jne 0x13fb84cd0
movsxd rcx, ebx
mov qword [rsp + 0x4130], r12
lea rcx, [rcx*2 + 2]
call sub.ucrtbase.dll_malloc
lea rcx, [rbp + 0x10]
mov qword [rbp - 0x60], rax
mov r8, rax
lea rdx, [rbp + 0x10]
sub r8, rcx
nop dword [rax]
nop dword [rax + rax]
movzx ecx, word [rdx]
mov word [r8 + rdx], cx
lea rdx, [rdx + 2]
test cx, cx
jne 0x13fb84d10
mov rdx, qword [0x13fb932c0]
lea rcx, [0x13fb8fc90]
mov r8, rax
call fcn.13fb869e0
mov rbx, rsi
nop word [rax + rax]
cmp word [r14 + rbx*2 + 2], r13w
lea rbx, [rbx + 1]
jne 0x13fb84d40
lea eax, [rbx + 0x10]
movsxd rcx, eax
add rcx, rcx
call sub.ucrtbase.dll_malloc
mov r12, rax
mov rdx, r14
lea eax, [rbx + 1]
mov rcx, r12
movsxd r8, eax
call sub.ucrtbase.dll_wcsncpy
lea rcx, [r12 - 2]
cmp word [rcx + 2], r13w
lea rcx, [rcx + 2]
jne 0x13fb84d73
mov eax, dword [0x13fb8f504]
mov dword [rcx], eax
lea rax, [r12 - 2]
nop dword [rax + rax]
cmp word [rax + 2], r13w
lea rax, [rax + 2]
jne 0x13fb84d90
movsd xmm0, qword [0x13fb8f718]
lea rdx, [rbp - 0x20]
mov rcx, r12
movsd qword [rax], xmm0
call sub.ucrtbase.dll__wstat64i32
test eax, eax
je 0x13fb84dc2
mov rcx, r12
call sub.ucrtbase.dll_free
mov r12, r13
test r12, r12
jne 0x13fb84f55
lea rax, [rsp + 0x48]
mov dword [rsp + 0x50], 0x1000
mov r9d, 1
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [0x13fb8f720]
mov rcx, 0xffffffff80000002
mov r12, r13
call qword [sym.imp.advapi32.dll_RegOpenKeyExW]
test eax, eax
je 0x13fb84e16
mov edx, eax
lea rcx, [0x13fb92dc0]
call fcn.13fb862b0
mov ecx, esi
jmp 0x13fb85171
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rdx, [0x13fb8f778]
lea rax, [rbp + 0x2010]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.advapi32.dll_RegQueryValueExW]
test eax, eax
je 0x13fb84e68
mov edx, eax
lea rcx, [0x13fb92e20]
call fcn.13fb862b0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.advapi32.dll_RegCloseKey]
mov ecx, esi
jmp 0x13fb85171
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x60]
mov r9d, 1
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rbp + 0x2010]
call qword [sym.imp.advapi32.dll_RegOpenKeyExW]
test eax, eax
je 0x13fb84eb1
mov edx, eax
lea rcx, [0x13fb92e80]
call fcn.13fb862b0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.advapi32.dll_RegCloseKey]
mov ecx, esi
jmp 0x13fb85171
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rdx, [0x13fb8f7a0]
lea rax, [rbp + 0x2010]
mov dword [rsp + 0x50], 0x1000
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.advapi32.dll_RegQueryValueExW]
test eax, eax
je 0x13fb84efb
mov edx, eax
lea rcx, [0x13fb92ed0]
call fcn.13fb862b0
jmp 0x13fb84f3a
lea rax, [rbp + 0x2010]
mov rbx, rsi
inc rbx
cmp word [rax + rbx*2], r12w
jne 0x13fb84f05
lea eax, [rbx + 1]
movsxd rcx, eax
add rcx, rcx
call sub.ucrtbase.dll_malloc
movsxd rbx, ebx
lea rdx, [rbp + 0x2010]
mov r8, rbx
mov rcx, rax
mov r12, rax
call sub.ucrtbase.dll_wcsncpy
mov word [r12 + rbx*2], r13w
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.advapi32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x13fb850ec
call fcn.13fb847d0
cmp eax, 1
jne 0x13fb850e4
lea rdx, [0x13fb8f520]
mov rcx, r14
call fcn.13fb835c0
test eax, eax
je 0x13fb850e4
lea rdx, [rbp + 0x2010]
mov rcx, r14
sub rdx, r14
nop word [rax + rax]
movzx eax, word [rcx]
mov word [rdx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x13fb84f90
lea rcx, [rbp + 0x2010]
sub rcx, 2
nop dword [rax + rax]
cmp word [rcx + 2], r13w
lea rcx, [rcx + 2]
jne 0x13fb84fb0
mov eax, dword [0x13fb8f504]
mov dword [rcx], eax
lea rax, [rbp + 0x2010]
sub rax, 2
nop
cmp word [rax + 2], r13w
lea rax, [rax + 2]
jne 0x13fb84fd0
movups xmm0, xmmword [0x13fb8f538]
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x2010]
movups xmmword [rax], xmm0
call sub.ucrtbase.dll__wstat64i32
test eax, eax
jne 0x13fb850e4
lea rbx, [rbp + 0x1010]
mov rcx, r14
sub rbx, r14
nop word [rax + rax]
movzx eax, word [rcx]
mov word [rbx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x13fb85010
lea rcx, [rbp + 0x1010]
sub rcx, 2
nop dword [rax + rax]
cmp word [rcx + 2], r13w
lea rcx, [rcx + 2]
jne 0x13fb85030
mov eax, dword [0x13fb8f504]
mov dword [rcx], eax
lea rax, [rbp + 0x1010]
sub rax, 2
nop
cmp word [rax + 2], r13w
lea rax, [rax + 2]
jne 0x13fb85050
movups xmm0, xmmword [0x13fb8f548]
lea rdx, [rbp + 0x1010]
mov rcx, r12
movups xmmword [rax], xmm0
call fcn.13fb86680
test eax, eax
jne 0x13fb850e4
mov rcx, r14
nop dword [rax + rax]
movzx eax, word [rcx]
mov word [rbx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x13fb85080
lea rcx, [rbp + 0x1010]
sub rcx, 2
nop dword [rax + rax]
cmp word [rcx + 2], r13w
lea rcx, [rcx + 2]
jne 0x13fb850a0
mov eax, dword [0x13fb8f504]
mov dword [rcx], eax
lea rax, [rbp + 0x1010]
sub rax, 2
nop
cmp word [rax + 2], r13w
lea rax, [rax + 2]
jne 0x13fb850c0
movups xmm0, xmmword [0x13fb8f538]
mov rdx, r12
lea rcx, [rbp + 0x1010]
movups xmmword [rax], xmm0
call fcn.13fb86680
call sub.ucrtbase.dll__errno
mov dword [rax], r13d
test r12, r12
je 0x13fb86270
call fcn.13fb81140
test eax, eax
jle 0x13fb86264
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.13fb81210
test eax, eax
js 0x13fb86264
cmp qword [rsp + 0x70], r13
je 0x13fb86264
mov r9d, 1
mov dword [rsp + 0x68], r13d
xor r8d, r8d
mov dword [rsp + 0x20], 0xf0000000
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.advapi32.dll_CryptAcquireContextW]
test eax, eax
jne 0x13fb851b2
call qword [sym.imp.kernel32.dll_GetLastError]
mov edx, eax
lea rcx, [0x13fb8f630]
call fcn.13fb869e0
mov rcx, r12
call fcn.13fb866e0
test eax, eax
jns 0x13fb85335
mov ecx, 0xfffffffd
call fcn.13fb82e60
mov r12, qword [rsp + 0x4130]
mov r15, qword [rsp + 0x4120]
mov r14, qword [rsp + 0x4128]
mov rsi, qword [rsp + 0x4170]
mov rcx, qword [rbp + 0x4010]
xor rcx, rsp
call fcn.13fb87030
add rsp, 0x4138
pop r13
pop rdi
pop rbx
pop rbp
ret
lea r15, [rbp + 0x3010]
mov dword [rsp + 0x54], r13d
sub r15, r12
lea r13, [0x13fb929a0]
nop dword [rax + rax]
mov rcx, qword [r13]
lea rdx, [rbp + 0x1010]
call fcn.13fb83380
mov rdi, rax
mov rdx, rsi
inc rdx
cmp byte [rax + rdx], 0
jne 0x13fb851e6
mov rcx, r12
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rcx]
mov word [r15 + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x13fb85200
lea rcx, [rbp + 0x3010]
sub rcx, 2
nop dword [rax]
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x13fb85220
mov eax, dword [0x13fb8f504]
movsxd rbx, edx
mov rdx, rdi
mov dword [rcx], eax
lea rcx, [rbp + 0x1010]
lea r8, [rbx - 0x20]
call sub.ucrtbase.dll_strncpy
add rbx, 0xffffffffffffffe0
lea rdx, [rbp - 0x50]
lea rcx, [rbx + rdi]
sub rdx, rcx
nop dword [rax + rax]
movzx eax, byte [rcx]
mov byte [rdx + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x13fb85260
cmp rbx, 0x845
jae 0x13fb862a2
lea rcx, [rbp + 0x1010]
mov byte [rbp + rbx + 0x1010], al
call fcn.13fb83040
lea rcx, [rbp + 0x3010]
mov r8, rax
sub rcx, 2
nop dword [rax]
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x13fb852a0
xor edx, edx
nop dword [rax]
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x13fb852b0
mov rcx, r8
call sub.ucrtbase.dll_free
lea r8, [rbp - 0x50]
lea rdx, [rbp + 0x3010]
lea rcx, [rsp + 0x40]
call fcn.13fb830b0
test eax, eax
jne 0x13fb852fd
inc dword [rsp + 0x54]
lea rax, [0x13fb92ab0]
add r13, 8
cmp r13, rax
jl 0x13fb851d0
jmp 0x13fb85307
mov eax, dword [rsp + 0x54]
not eax
mov dword [rsp + 0x68], eax
mov rcx, qword [rsp + 0x40]
xor edx, edx
call qword [sym.imp.advapi32.dll_CryptReleaseContext]
cmp dword [rsp + 0x68], 0
jge 0x13fb8515c
lea rcx, [0x13fb93140]
call fcn.13fb862b0
mov ecx, 0xfffffffe
jmp 0x13fb85171
xor ecx, ecx
call sub.ucrtbase.dll_fflush
mov rcx, qword [0x13fb93a40]
lea rdx, [0x13fb8fcd8]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov r12, rax
test rax, rax
jne 0x13fb85380
mov rdx, qword [0x13fb93a40]
lea r9d, [rax - 4]
lea r8, [0x13fb8fce8]
lea rcx, [0x13fb92d20]
call fcn.13fb862b0
lea ecx, [r12 - 4]
jmp 0x13fb85171
mov rcx, qword [0x13fb93a40]
lea r9, [0x13fb8fcf0]
lea r8, [0x13fb8fd30]
mov rdx, r12
mov rax, qword [rcx]
call qword [rax + 0x388]
mov qword [rsp + 0x60], rax
mov r13, rax
test rax, rax
jne 0x13fb853d5
mov rdx, qword [0x13fb93a40]
lea r9d, [rax - 5]
lea r8, [0x13fb8fce8]
lea rcx, [0x13fb92d20]
call fcn.13fb862b0
lea ecx, [r13 - 5]
jmp 0x13fb85171
mov rdx, r13
mov rcx, r12
call fcn.13fb837d0
mov r15, rax
test rax, rax
jne 0x13fb8540f
mov rdx, qword [0x13fb93a40]
lea r9d, [rax - 6]
lea r8, [0x13fb8fd38]
lea rcx, [0x13fb92d20]
call fcn.13fb862b0
lea ecx, [r15 - 6]
jmp 0x13fb85171
xor edx, edx
lea rcx, [0x13fb92bd8]
call fcn.13fb83380
mov rcx, qword [0x13fb93a40]
mov rdx, rax
mov rdi, rax
mov r8, qword [rcx]
call qword [r8 + 0x538]
mov rcx, qword [0x13fb93a40]
mov r8, r13
mov qword [rsp + 0x28], r15
mov r9, rax
mov rdx, r12
mov dword [rsp + 0x20], 1
mov rbx, rax
mov r10, qword [rcx]
call qword [r10 + 0x390]
mov rcx, qword [0x13fb93a40]
mov rdx, rbx
mov r13, rax
mov r8, qword [rcx]
call qword [r8 + 0xb8]
mov rcx, rdi
call sub.ucrtbase.dll_free
test r13, r13
jne 0x13fb85492
lea r9d, [r13 - 0x24]
lea r8, [0x13fb8f988]
jmp 0x13fb85578
xor edx, edx
lea rcx, [0x13fb92b20]
call fcn.13fb83380
mov rcx, qword [0x13fb93a40]
mov r8, rsi
mov qword [rsp + 0x40], rax
mov rax, qword [rcx]
inc r8
cmp word [r14 + r8*2], 0
jne 0x13fb854b2
mov rdx, r14
call qword [rax + 0x518]
mov rcx, qword [0x13fb93a40]
mov rdx, r13
mov r9, qword [rsp + 0x40]
mov rdi, rax
mov r8, qword [0x13fb932e0]
mov rbx, qword [rcx]
call qword [rbx + 0x108]
mov rcx, qword [0x13fb93a40]
mov r9, r15
mov r8, rax
mov qword [rsp + 0x20], rdi
mov rdx, r13
call qword [rbx + 0xe0]
mov rcx, qword [0x13fb93a40]
mov rdx, rdi
mov r13, rax
mov qword [rsp + 0x48], rax
mov r8, qword [rcx]
call qword [r8 + 0xb8]
mov rcx, qword [rsp + 0x40]
call sub.ucrtbase.dll_free
test r13, r13
jne 0x13fb85595
mov rcx, qword [0x13fb93a40]
mov rax, qword [rcx]
call qword [rax + 0x78]
test rax, rax
je 0x13fb8556b
mov rcx, rax
call fcn.13fb83d90
mov rdx, rax
lea rcx, [0x13fb93068]
mov rbx, rax
call fcn.13fb862b0
mov rcx, rbx
call sub.ucrtbase.dll_free
lea ecx, [r13 - 8]
jmp 0x13fb85171
mov r9d, 0xffffffdb
lea r8, [0x13fb8f9e8]
mov rdx, qword [0x13fb93a40]
lea rcx, [0x13fb92d20]
call fcn.13fb862b0
mov ecx, 0xfffffff8
jmp 0x13fb85171
mov rax, qword [rbp - 0x60]
mov r8, r15
mov r15, qword [rsp + 0x60]
mov rcx, r12
mov r9, qword [rbp - 0x70]
mov rdx, r15
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
call fcn.13fb84200
mov qword [rbp - 0x60], rax
test rax, rax
jne 0x13fb855d5
lea ecx, [rax - 9]
jmp 0x13fb85171
mov rdx, qword [rsp + 0x70]
lea rbx, [0x13fb8fd40]
mov rcx, rbx
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
mov byte [rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x13fb855f0
mov rcx, qword [rsp + 0x70]
call sub.ucrtbase.dll_free
xor edx, edx
mov qword [rsp + 0x70], rbx
lea rcx, [0x13fb92c60]
call fcn.13fb83380
mov rcx, qword [0x13fb93a40]
mov rdx, rax
mov rdi, rax
mov r8, qword [rcx]
call qword [r8 + 0x538]
mov rcx, qword [0x13fb93a40]
mov r8, r15
mov qword [rsp + 0x28], r13
mov r9, rax
mov rdx, r12
mov qword [rsp + 0x20], 0
mov rbx, rax
mov r10, qword [rcx]
call qword [r10 + 0x390]
mov rcx, qword [0x13fb93a40]
mov rdx, rbx
mov r13, rax
mov qword [rsp + 0x40], rax
mov r8, qword [rcx]
call qword [r8 + 0xb8]
mov rcx, rdi
call sub.ucrtbase.dll_free
test r13, r13
jne 0x13fb856b0
mov rdx, qword [0x13fb93a40]
lea r9d, [r13 - 0xa]
lea r8, [0x13fb8fd68]
lea rcx, [0x13fb92d20]
call fcn.13fb862b0
lea ecx, [r13 - 0xa]
jmp 0x13fb85171
mov rcx, qword [0x13fb93a40]
mov rdx, r13
mov r9, qword [0x13fb932e8]
mov r8, qword [0x13fb932e0]
mov rbx, qword [rcx]
call qword [rbx + 0x108]
mov rcx, qword [0x13fb93a40]
mov rdx, r13
mov r8, rax
call qword [rbx + 0xe0]
mov qword [rsp + 0x60], rax
test rax, rax
jne 0x13fb85716
mov rdx, qword [0x13fb93a40]
lea r9d, [rax - 0xb]
lea r8, [0x13fb8fd70]
lea rcx, [0x13fb92d20]
call fcn.13fb862b0
mov ecx, 0xfffffff5
jmp 0x13fb85171
mov eax, dword [rsp + 0x6c]
mov r9d, 1
dec eax
movsxd r10, eax
cmp r10, r9
jle 0x13fb85860
mov r11, qword [rbp - 0x68]
lea rbx, [0x13fb8fb40]
mov r8d, r9d
nop dword [rax]
mov rdx, qword [r11 + r8*8]
inc r9d
mov rax, rsi
nop word [rax + rax]
movzx ecx, word [rbx + rax*2 + 2]
cmp cx, word [rdx + rax*2 + 2]
jne 0x13fb85770
add rax, 2
cmp rax, 0xf
je 0x13fb8577d
movzx ecx, word [rbx + rax*2]
cmp cx, word [rdx + rax*2]
je 0x13fb85750
inc r8
cmp r8, r10
jl 0x13fb85740
jmp 0x13fb85860
movsxd rax, r9d
mov rbx, qword [r11 + rax*8]
test rbx, rbx
je 0x13fb85860
mov rcx, qword [0x13fb93a40]
lea r9, [0x13fb8fd78]
lea r8, [0x13fb8fda0]
mov rdx, r13
mov rax, qword [rcx]
call qword [rax + 0x108]
mov rcx, qword [0x13fb93a40]
mov r13, rax
test rax, rax
mov rax, qword [rcx]
je 0x13fb85855
mov r8, rsi
nop word [rax + rax]
inc r8
cmp word [r14 + r8*2], 0
jne 0x13fb857d0
mov rdx, r14
call qword [rax + 0x518]
mov rcx, qword [0x13fb93a40]
mov r8, rsi
mov rdi, rax
mov rax, qword [rcx]
inc r8
cmp word [rbx + r8*2], 0
jne 0x13fb857f4
mov rdx, rbx
call qword [rax + 0x518]
mov rcx, qword [0x13fb93a40]
mov r9, rdi
mov rdx, qword [rsp + 0x60]
mov r8, r13
mov rbx, rax
mov qword [rsp + 0x20], rax
mov r10, qword [rcx]
call qword [r10 + 0x1e8]
mov rcx, qword [0x13fb93a40]
mov rdx, rdi
mov r8, qword [rcx]
call qword [r8 + 0xb8]
mov rcx, qword [0x13fb93a40]
mov rdx, rbx
mov rax, qword [rcx]
call qword [rax + 0xb8]
jmp 0x13fb8585b
call qword [rax + 0x88]
mov r13, qword [rsp + 0x40]
xor edx, edx
lea rcx, [0x13fb92c98]
call fcn.13fb83380
xor edx, edx
lea rcx, [0x13fb92cb0]
mov rdi, rax
call fcn.13fb83380
mov rcx, qword [0x13fb93a40]
mov r9, rax
mov r8, rdi
mov rdx, r13
mov rbx, rax
mov r10, qword [rcx]
call qword [r10 + 0x108]
mov rcx, rdi
mov qword [rsp + 0x40], rax
call sub.ucrtbase.dll_free
mov rcx, rbx
call sub.ucrtbase.dll_free
cmp qword [rsp + 0x40], 0
jne 0x13fb858e3
mov rdx, qword [0x13fb93a40]
lea r8, [0x13fb8fda8]
mov r9d, 0xfffffff4
lea rcx, [0x13fb92d20]
call fcn.13fb862b0
mov ecx, 0xfffffff4
jmp 0x13fb85171
cmp qword [rsp + 0x78], 0
jne 0x13fb8593d
lea r8, [0x13fb8fbd0]
mov edx, 1
xor ecx, ecx
call qword [sym.imp.kernel32.dll_CreateMutexW]
mov qword [rsp + 0x78], rax
mov rbx, rax
test rax, rax
je 0x13fb8593d
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0xb7
jne 0x13fb8593d
mov rcx, rbx
call qword [sym.imp.kernel32.dll_ReleaseMutex]
call fcn.13fb82ce0
lea rcx, [0x13fb93270]
call fcn.13fb862b0
mov ecx, 0xfffffff3
jmp 0x13fb85171
cmp dword [0x13fb93448], 0
jne 0x13fb8594b
call fcn.13fb82ab0
mov rcx, qword [0x13fb93a40]
lea rdx, [0x13fb8fdb0]
mov rax, qword [rcx]
call qword [rax + 0x538]
mov rcx, qword [0x13fb93a40]
mov r8, r15
mov rbx, rax
mov rdx, r12
mov rax, qword [rsp + 0x48]
mov r9, rbx
mov qword [rsp + 0x28], rax
mov r10, qword [rcx]
mov dword [rsp + 0x20], 1
call qword [r10 + 0x390]
mov rcx, qword [0x13fb93a40]
mov rdx, rbx
mov rdi, rax
mov r8, qword [rcx]
call qword [r8 + 0xb8]
mov rcx, qword [0x13fb93a40]
mov rdx, qword [rcx]
call qword [rdx + 0x78]
test rax, rax
je 0x13fb859da
mov rcx, qword [0x13fb93a40]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rcx, qword [0x13fb93a40]
mov rax, qword [rcx]
call qword [rax + 0x88]
mov rcx, qword [0x13fb93a40]
mov rdx, rdi
call fcn.13fb86cb0
mov rcx, qword [0x13fb93a40]
mov r8, rsi
mov rax, qword [rcx]
nop word [rax + rax]
inc r8
cmp word [r14 + r8*2], 0
jne 0x13fb85a00
mov rdx, r14
call qword [rax + 0x518]
cmp dword [0x13fb93448], 0
mov rcx, qword [0x13fb93a40]
mov qword [rsp + 0x48], rax
je 0x13fb85e41
mov r8, qword [rcx]
lea rdx, [0x13fb8fdd8]
call qword [r8 + 0x30]
mov rcx, qword [0x13fb93a40]
lea r9, [0x13fb8fdf0]
lea r8, [0x13fb8fe30]
mov rdx, rax
mov r15, rax
mov r10, qword [rcx]
call qword [r10 + 0x388]
cmp dword [rsp + 0x58], 0
mov r12, rax
mov rcx, qword [0x13fb93a40]
mov rdi, qword [rcx]
je 0x13fb85a8d
lea rdx, [0x13fb8fe3c]
call qword [rdi + 0x538]
lea rdx, [0x13fb8fe48]
jmp 0x13fb85bbb
mov rax, qword [rbp - 0x58]
mov r8, rsi
inc r8
cmp word [rax + r8*2], 0
jne 0x13fb85a94
mov rdx, rax
call qword [rdi + 0x518]
mov rcx, qword [0x13fb93a40]
lea rdx, [0x13fb8fe68]
mov rbx, rax
mov r8, qword [rcx]
call qword [r8 + 0x538]
mov rcx, qword [0x13fb93a40]
mov r8, r12
mov r9, rax
mov qword [rsp + 0x20], rbx
mov rdx, r15
call qword [rdi + 0x390]
mov rcx, qword [0x13fb93a40]
mov r8, rsi
mov rax, qword [rbp - 0x80]
mov rdi, qword [rcx]
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x13fb85af0
mov rdx, rax
call qword [rdi + 0x518]
mov rcx, qword [0x13fb93a40]
lea rdx, [0x13fb8fe88]
mov rbx, rax
mov r8, qword [rcx]
call qword [r8 + 0x538]
mov rcx, qword [0x13fb93a40]
mov r8, r12
mov r9, rax
mov qword [rsp + 0x20], rbx
mov rdx, r15
call qword [rdi + 0x390]
mov rcx, qword [0x13fb93a40]
lea rdx, [0x13fb8fe3c]
mov rdi, qword [rcx]
call qword [rdi + 0x538]
mov rcx, qword [0x13fb93a40]
lea rdx, [0x13fb8fea0]
mov rbx, rax
mov r8, qword [rcx]
call qword [r8 + 0x538]
mov rcx, qword [0x13fb93a40]
mov r8, r12
mov r9, rax
mov qword [rsp + 0x20], rbx
mov rdx, r15
call qword [rdi + 0x390]
mov rcx, qword [0x13fb93a40]
mov r8, rsi
mov rax, qword [rbp - 0x78]
mov rdi, qword [rcx]
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x13fb85ba0
mov rdx, rax
call qword [rdi + 0x518]
lea rdx, [0x13fb8fec0]
mov rcx, qword [0x13fb93a40]
mov rbx, rax
mov r8, qword [rcx]
call qword [r8 + 0x538]
mov rcx, qword [0x13fb93a40]
mov r8, r12
mov r9, rax
mov qword [rsp + 0x20], rbx
mov rdx, r15
call qword [rdi + 0x390]
mov rcx, qword [0x13fb93a40]
lea rdx, [0x13fb8fedf]
mov rdi, qword [rcx]
call qword [rdi + 0x538]
mov rcx, qword [0x13fb93a40]
lea rdx, [0x13fb8fee0]
mov rbx, rax
mov r8, qword [rcx]
call qword [r8 + 0x30]
mov rcx, qword [0x13fb93a40]
mov r9, rbx
mov r8, rax
mov edx, 0xb
call qword [rdi + 0x560]
mov rcx, qword [0x13fb93a40]
lea rdx, [0x13fb8fef8]
mov rdi, rax
mov rbx, qword [rcx]
call qword [rbx + 0x538]
mov rcx, qword [0x13fb93a40]
xor r8d, r8d
mov r9, rax
mov rdx, rdi
call qword [rbx + 0x570]
mov rcx, qword [0x13fb93a40]
mov rax, qword [rbp - 0x70]
mov rbx, qword [rcx]
nop
inc rsi
cmp word [rax + rsi*2], 0
jne 0x13fb85c70
mov r8, rsi
mov rdx, rax
call qword [rbx + 0x518]
mov rcx, qword [0x13fb93a40]
mov r8d, 1
mov r9, rax
mov rdx, rdi
call qword [rbx + 0x570]
mov rcx, qword [0x13fb93a40]
lea rdx, [0x13fb8ff04]
mov rbx, qword [rcx]
call qword [rbx + 0x538]
mov rcx, qword [0x13fb93a40]
mov r8d, 2
mov r9, rax
mov rdx, rdi
call qword [rbx + 0x570]
mov rcx, qword [0x13fb93a40]
lea rdx, [0x13fb8ff10]
mov rbx, qword [rcx]
call qword [rbx + 0x538]
mov rcx, qword [0x13fb93a40]
mov r8d, 3
mov r9, rax
mov rdx, rdi
call qword [rbx + 0x570]
mov rcx, qword [0x13fb93a40]
lea rdx, [0x13fb8ff20]
mov rbx, qword [rcx]
call qword [rbx + 0x538]
mov rcx, qword [0x13fb93a40]
mov r8d, 4
mov r9, rax
mov rdx, rdi
call qword [rbx + 0x570]
mov rcx, qword [0x13fb93a40]
lea rdx, [0x13fb8ff2c]
mov rbx, qword [rcx]
call qword [rbx + 0x538]
mov rcx, qword [0x13fb93a40]
mov r8d, 5
mov r9, rax
mov rdx, rdi
call qword [rbx + 0x570]
mov rcx, qword [0x13fb93a40]
mov rdx, qword [0x13fb932c8]
mov rbx, qword [rcx]
call qword [rbx + 0x538]
mov rcx, qword [0x13fb93a40]
mov r8d, 6
mov r9, rax
mov rdx, rdi
call qword [rbx + 0x570]
mov rcx, qword [0x13fb93a40]
lea rdx, [0x13fb8ff30]
mov rbx, qword [rcx]
call qword [rbx + 0x538]
mov rcx, qword [0x13fb93a40]
mov r8d, 7
mov r9, rax
mov rdx, rdi
call qword [rbx + 0x570]
mov rcx, qword [0x13fb93a40]
mov rdx, qword [0x13fb932d0]
mov rbx, qword [rcx]
call qword [rbx + 0x538]
mov rcx, qword [0x13fb93a40]
mov r8d, 8
mov r9, rax
mov rdx, rdi
call qword [rbx + 0x570]
mov rcx, qword [0x13fb93a40]
lea rdx, [0x13fb8ff38]
mov rbx, qword [rcx]
call qword [rbx + 0x538]
mov rcx, qword [0x13fb93a40]
mov r8d, 9
mov r9, rax
mov rdx, rdi
call qword [rbx + 0x570]
mov rcx, qword [0x13fb93a40]
mov rbx, qword [rcx]
mov rdx, qword [0x13fb932d8]
call qword [rbx + 0x538]
mov r8d, 0xa
jmp 0x13fb860bc
mov rdi, qword [rcx]
lea rdx, [0x13fb8fedf]
call qword [rdi + 0x538]
mov rcx, qword [0x13fb93a40]
lea rdx, [0x13fb8fee0]
mov rbx, rax
mov r8, qword [rcx]
call qword [r8 + 0x30]
mov rcx, qword [0x13fb93a40]
mov r9, rbx
mov r8, rax
mov edx, 0xc
call qword [rdi + 0x560]
mov rcx, qword [0x13fb93a40]
lea rdx, [0x13fb8fef8]
mov rdi, rax
mov rbx, qword [rcx]
call qword [rbx + 0x538]
mov rcx, qword [0x13fb93a40]
xor r8d, r8d
mov r9, rax
mov rdx, rdi
call qword [rbx + 0x570]
mov rcx, qword [0x13fb93a40]
mov rax, qword [rbp - 0x70]
mov rbx, qword [rcx]
nop
inc rsi
cmp word [rax + rsi*2], 0
jne 0x13fb85ec0
mov r8, rsi
mov rdx, rax
call qword [rbx + 0x518]
mov rcx, qword [0x13fb93a40]
mov r8d, 1
mov r9, rax
mov rdx, rdi
call qword [rbx + 0x570]
mov rcx, qword [0x13fb93a40]
lea rdx, [0x13fb8ff04]
mov rbx, qword [rcx]
call qword [rbx + 0x538]
mov rcx, qword [0x13fb93a40]
mov r8d, 2
mov r9, rax
mov rdx, rdi
call qword [rbx + 0x570]
mov rcx, qword [0x13fb93a40]
lea rdx, [0x13fb8ff10]
mov rbx, qword [rcx]
call qword [rbx + 0x538]
mov rcx, qword [0x13fb93a40]
mov r8d, 3
mov r9, rax
mov rdx, rdi
call qword [rbx + 0x570]
mov rcx, qword [0x13fb93a40]
lea rdx, [0x13fb8ff40]
mov rbx, qword [rcx]
call qword [rbx + 0x538]
mov rcx, qword [0x13fb93a40]
mov r8d, 4
mov r9, rax
mov rdx, rdi
call qword [rbx + 0x570]
mov rcx, qword [0x13fb93a40]
lea rdx, [0x13fb8ff4c]
mov rbx, qword [rcx]
call qword [rbx + 0x538]
mov rcx, qword [0x13fb93a40]
mov r8d, 5
mov r9, rax
mov rdx, rdi
call qword [rbx + 0x570]
mov rcx, qword [0x13fb93a40]
lea rdx, [0x13fb8ff2c]
mov rbx, qword [rcx]
call qword [rbx + 0x538]
mov rcx, qword [0x13fb93a40]
mov r8d, 6
mov r9, rax
mov rdx, rdi
call qword [rbx + 0x570]
mov rcx, qword [0x13fb93a40]
mov rdx, qword [0x13fb932c8]
mov rbx, qword [rcx]
call qword [rbx + 0x538]
mov rcx, qword [0x13fb93a40]
mov r8d, 7
mov r9, rax
mov rdx, rdi
call qword [rbx + 0x570]
mov rcx, qword [0x13fb93a40]
lea rdx, [0x13fb8ff30]
mov rbx, qword [rcx]
call qword [rbx + 0x538]
mov rcx, qword [0x13fb93a40]
mov r8d, 8
mov r9, rax
mov rdx, rdi
call qword [rbx + 0x570]
mov rcx, qword [0x13fb93a40]
mov rdx, qword [0x13fb932d0]
mov rbx, qword [rcx]
call qword [rbx + 0x538]
mov rcx, qword [0x13fb93a40]
mov r8d, 9
mov r9, rax
mov rdx, rdi
call qword [rbx + 0x570]
mov rcx, qword [0x13fb93a40]
mov rbx, qword [rcx]
lea rdx, [0x13fb8ff38]
call qword [rbx + 0x538]
mov rcx, qword [0x13fb93a40]
mov r8d, 0xa
mov r9, rax
mov rdx, rdi
call qword [rbx + 0x570]
mov rcx, qword [0x13fb93a40]
mov rdx, qword [0x13fb932d8]
mov rbx, qword [rcx]
call qword [rbx + 0x538]
mov r8d, 0xb
mov rcx, qword [0x13fb93a40]
mov r9, rax
mov rdx, rdi
call qword [rbx + 0x570]
mov rcx, qword [0x13fb93a40]
mov rdx, qword [rbp - 0x60]
mov r9, qword [rsp + 0x48]
mov r8, qword [rsp + 0x40]
mov rax, qword [rcx]
mov qword [rsp + 0x28], rdi
mov rdi, qword [rsp + 0x60]
mov qword [rsp + 0x20], rdx
mov rdx, rdi
call qword [rax + 0x188]
mov ebx, eax
test eax, eax
jns 0x13fb86116
lea rcx, [0x13fb93020]
call fcn.13fb862b0
jmp 0x13fb8622e
cmp ebx, 0xd
jne 0x13fb8620c
mov edx, ebx
lea rcx, [0x13fb931e8]
call fcn.13fb862b0
cmp dword [rsp + 0x58], 0
jne 0x13fb8619d
test ebx, ebx
jne 0x13fb8619d
call fcn.13fb847d0
cmp eax, 1
jne 0x13fb8619d
lea rdx, [0x13fb8f520]
mov rcx, r14
call fcn.13fb835c0
test eax, eax
je 0x13fb8619d
mov rax, qword [rbp - 0x68]
lea r8, [0x13fb8fbb8]
lea rdx, [rbp - 0x50]
mov qword [rbp - 0x40], 0
lea ecx, [rbx + 2]
mov rax, qword [rax]
mov qword [rbp - 0x50], rax
lea rax, [0x13fb8fb9c]
mov qword [rbp - 0x48], rax
call fcn.13fb86410
test eax, eax
jne 0x13fb8619d
call sub.ucrtbase.dll__errno
lea rcx, [0x13fb8ff70]
mov edx, dword [rax]
call fcn.13fb82590
mov rsi, qword [rsp + 0x78]
test rsi, rsi
je 0x13fb861b9
mov rcx, rsi
call qword [sym.imp.kernel32.dll_ReleaseMutex]
mov rcx, rsi
call qword [sym.imp.kernel32.dll_CloseHandle]
mov rcx, qword [0x13fb93a40]
lea r9, [0x13fb8ff98]
lea r8, [0x13fb8ffa0]
mov rdx, r13
mov rax, qword [rcx]
call qword [rax + 0x108]
test rax, rax
je 0x13fb861f9
mov rcx, qword [0x13fb93a40]
mov r9d, ebx
mov r8, rax
mov rdx, rdi
mov r10, qword [rcx]
call qword [r10 + 0x1e8]
lea rcx, [0x13fb8ffa8]
call fcn.13fb869e0
xor ecx, ecx
jmp 0x13fb85171
mov rcx, qword [0x13fb93a40]
mov rax, qword [rcx]
call qword [rax + 0x78]
test rax, rax
je 0x13fb8622e
mov rcx, qword [0x13fb93a40]
mov rax, qword [rcx]
call qword [rax + 0x80]
cmp ebx, 0x17
jne 0x13fb8612d
mov rdx, qword [rbp - 0x68]
lea r8, [0x13fb8fbb8]
mov ecx, dword [rsp + 0x6c]
call fcn.13fb86410
test eax, eax
jne 0x13fb8619d
call sub.ucrtbase.dll__errno
lea rcx, [0x13fb8ff50]
jmp 0x13fb86196
lea rcx, [0x13fb930f0]
call fcn.13fb862b0
mov ecx, esi
jmp 0x13fb85171
call fcn.13fb82ce0
mov rdx, rbx
lea rcx, [0x13fb93220]
call fcn.13fb862b0
mov rcx, 0xffffffffffffffff
call fcn.13fb82e60
jmp 0x13fb8518e
call fcn.13fb8715c
int3
call fcn.13fb8715c
int3