Function at 0x1800469d0
Capabilities:
Get process image filename

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x478]
sub rsp, 0x560
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x180115b20]
xor rax, rsp
mov qword [rbp + 0x450], rax
mov rsi, rcx
mov qword [rbp - 0x50], rcx
mov dword [rbp + 0x220], edx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
xor eax, eax
mov qword [rbp + 0x228], rax
mov qword [rbp + 0x230], rax
mov r8d, edx
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdx, rax
lea rcx, [rbp + 0x228]
call fcn.180065030
nop
mov rbx, qword [rbp + 0x228]
test rbx, rbx
je 0x180046bfa
cmp qword [rbx], r14
je 0x180046bfa
mov word [rbp + 0x240], r14w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x242]
call fcn.1800906c0
mov r8d, 0x104
lea rdx, [rbp + 0x240]
mov rcx, qword [rbx]
call qword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
jne 0x180046b36
call fcn.180046e40
mov rdx, rax
lea rcx, [rbp + 0x20]
call fcn.18003aee0
nop
lea rdx, [rbp + 0x220]
mov rcx, rax
call fcn.1800479b0
mov rdx, rax
lea rcx, [rbp - 8]
call fcn.18003b0a0
nop
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.18004ac90
nop
cmp qword [rax + 0x18], 0x10
jb 0x180046ae4
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x48]
call fcn.1800892e0
nop
cmp qword [rbp - 0x70], 0x10
jb 0x180046b09
mov rcx, qword [rsp + 0x78]
call fcn.180089498
mov qword [rbp - 0x70], select
mov qword [rbp - 0x78], r14
mov byte [rsp + 0x78], 0
lea rax, vtable.message_exception.0
mov qword [rbp - 0x48], rax
lea rdx, [0x180112c40]
lea rcx, [rbp - 0x48]
call fcn.18008f6f8
nop
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], r14
mov word [rsp + 0x28], r14w
or rdi, 0xffffffffffffffff
cmp word [rbp + 0x240], 0
jne 0x180046b67
mov r8, r14
jmp 0x180046b7c
lea rax, [rbp + 0x240]
mov r8, rdi
inc r8
cmp word [rax + r8*2], 0
jne 0x180046b71
lea rdx, [rbp + 0x240]
lea rcx, [rsp + 0x28]
call fcn.180003cc0
nop
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.1800468d0
mov dword [rsp + 0x20], 1
cmp qword [rsp + 0x40], 8
jb 0x180046bb5
mov rcx, qword [rsp + 0x28]
call fcn.180089498
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], r14
mov word [rsp + 0x28], r14w
mov rbx, qword [rbp + 0x230]
test rbx, rbx
je 0x180046bf2
lock dec dword [rbx + 8]
jne 0x180046bf2
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx]
lock dec dword [rbx + 0xc]
jne 0x180046bf2
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + ioctlsocket]
mov rax, rsi
jmp 0x180046cf2
call fcn.180046d20
mov rdx, rax
lea rcx, [rbp + 0x120]
call fcn.18003aee0
mov rbx, rax
cmp byte [rax + 0x44], 0
je 0x180046c1f
mov rcx, rax
call fcn.18003c9f0
lea rdx, [rbp + 0x220]
mov rcx, rbx
call fcn.180047a30
inc dword [rbx + 0x3c]
mov r8d, dword [rbx + 0x3c]
cmp qword [rbx + 0x30], 0
je 0x180046c78
mov r9d, dword [rbx + 0x40]
cmp r8d, r9d
jge 0x180046c78
mov r10, qword [rbx + 0x18]
nop dword [rax]
movsxd rcx, r8d
mov rax, rcx
shr rax, 5
lea rdx, [r10 + rax*4]
and ecx, 0x1f
mov eax, 1
shl eax, cl
test dword [rdx], eax
je 0x180046c78
inc r8d
mov dword [rbx + 0x3c], r8d
cmp r8d, r9d
jl 0x180046c50
mov rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.18003b0a0
nop
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.18004ac90
nop
cmp qword [rax + 0x18], 0x10
jb 0x180046c9d
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x68]
call fcn.1800892e0
nop
cmp qword [rsp + 0x70], 0x10
jb 0x180046cc3
mov rcx, qword [rsp + 0x58]
call fcn.180089498
mov qword [rsp + 0x70], select
mov qword [rsp + 0x68], r14
mov byte [rsp + 0x58], 0
lea rax, vtable.message_exception.0
mov qword [rbp - 0x68], rax
lea rdx, [0x180112c40]
lea rcx, [rbp - 0x68]
call fcn.18008f6f8
nop
mov rcx, qword [rbp + 0x450]
xor rcx, rsp
call fcn.180089270
lea r11, [rsp + 0x560]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret