Function at 0x140099bd0
Capabilities:
Get process image filename

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x38]
sub rsp, 0x120
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov rax, qword [0x1404680d8]
xor rax, rsp
mov qword [rbp + 0x10], rax
xor r12d, r12d
mov dword [rsp + 0x24], r12d
mov ebx, 4
mov rax, qword gs:[0x58]
add rbx, qword [rax]
mov eax, dword [rbx]
cmp dword [0x14047c1bc], eax
jle 0x140099c65
lea rcx, [0x14047c1bc]
call fcn.140283170
cmp dword [0x14047c1bc], 0xffffffff
jne 0x140099c65
mov eax, r12d
xchg qword [0x14047c1c0], rax
lea rcx, [0x1402f3410]
call fcn.140282f40
nop
lea rcx, [0x14047c1bc]
call fcn.140283110
mov esi, 1
mov eax, dword [rbx]
cmp dword [0x14047c1c8], eax
jle 0x140099caa
lea rcx, [0x14047c1c8]
call fcn.140283170
cmp dword [0x14047c1c8], 0xffffffff
jne 0x140099caa
mov eax, esi
xchg dword [0x14047c1b8], eax
lea rcx, [0x1402f3400]
call fcn.140282f40
nop
lea rcx, [0x14047c1c8]
call fcn.140283110
xor eax, eax
lock cmpxchg qword [0x14047c1c0], r12
jne 0x140099e52
mov ecx, r12d
mov eax, esi
lock cmpxchg dword [0x14047c1b8], r12d
je 0x140099cf9
nop dword [rax + rax]
inc ecx
cmp ecx, 0x64
jne 0x140099cec
call qword [sym.imp.KERNEL32.dll_SwitchToThread]
test eax, eax
jne 0x140099ce9
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, r12d
mov eax, esi
lock cmpxchg dword [0x14047c1b8], r12d
jne 0x140099cd0
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_2cc3dada6a1da2f024e320c9ef51962b___void___.0
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x78]
mov qword [rbp - 0x50], rax
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x30]
call fcn.14000c410
nop
xor eax, eax
lock cmpxchg qword [0x14047c1c0], r12
mov r14, rax
jne 0x140099e46
mov ecx, 0x28
call fcn.140282c3c
mov r14, rax
mov qword [rsp + 0x28], rax
lea rax, vtable.._AV__Singleton_VExecutablePathSingleton__A0x7e8dfa08___misc_common_mb__.0
mov qword [r14], rax
lea rax, vtable.ExecutablePathSingleton.0
mov qword [r14], rax
lea r15, [r14 + 8]
mov rcx, r15
call fcn.14000c320
nop
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
mov word [rsp + 0x20], r12w
lea r8, [rsp + 0x20]
mov edx, 0x9c40
lea rcx, [rbp - 0x48]
call fcn.140024ee0
nop
mov rbx, qword [rbp - 0x40]
mov rdi, qword [rbp - 0x48]
sub rbx, rdi
sar rbx, 1
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov r8d, ebx
mov rdx, rdi
call qword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
lea rcx, [rsp + 0x58]
call fcn.14000c320
mov rbx, rax
mov dword [rsp + 0x24], esi
mov rdx, qword [rbp - 0x48]
lea rcx, [rsp + 0x38]
call fcn.14000d360
nop
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x38]
call fcn.14008f440
nop
lea rcx, [rsp + 0x38]
call fcn.14000c300
nop
lea rcx, [rbp - 0x48]
call fcn.140029670
cmp r15, rbx
je 0x140099e2a
mov rcx, r15
call fcn.14000c340
movups xmm0, xmmword [rbx]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [r15 + 0x10], xmm1
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], 7
mov word [rbx], r12w
and esi, 0xfffffffe
mov dword [rsp + 0x24], esi
lea rcx, [rsp + 0x58]
call fcn.14000c300
nop
mov rax, r14
xchg qword [0x14047c1c0], rax
lea rcx, [rbp - 0x30]
call fcn.14000c480
mov rax, r14
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140282c10
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret