Function at 0x180024410
Capabilities:
Get process image filename

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x630
mov qword [rsp + 0x1f8], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x1800ba080]
xor rax, rsp
mov qword [rsp + 0x620], rax
mov r13, rcx
xor r14d, r14d
mov dword [rsp + 0x188], r14d
mov eax, dword [0x1800c09e4]
lea rdi, [0x1800c0860]
test al, 1
jne 0x1800244df
or eax, 1
mov dword [0x1800c09e4], eax
lea ecx, [r14 + 8]
call fcn.18006ea94
test rax, rax
je 0x180024488
mov qword [rax], rdi
jmp 0x18002448b
mov rax, r14
mov qword [0x1800c0860], rax
mov rcx, rdi
call fcn.18002a750
mov qword [0x1800c0890], rax
mov byte [rax + 0x1d], 1
mov rax, qword [0x1800c0890]
mov qword [rax + 8], rax
mov rax, qword [0x1800c0890]
mov qword [rax], rax
mov rax, qword [0x1800c0890]
mov qword [rax + 0x10], rax
mov qword [0x1800c0898], r14
lea rcx, [0x180091970]
call fcn.18006e52c
nop
mov eax, dword [0x1800c09e4]
lea rbp, [0x1800c08d0]
test al, 2
jne 0x180024533
or eax, 2
mov dword [0x1800c09e4], eax
mov ecx, 8
call fcn.18006ea94
test rax, rax
je 0x180024507
mov qword [rax], rbp
jmp 0x18002450a
mov rax, r14
mov qword [0x1800c08d0], rax
mov qword [0x1800c08e8], r14
mov qword [0x1800c08f0], r14
mov qword [0x1800c08f8], r14
lea rcx, [0x180091910]
call fcn.18006e52c
nop
mov ecx, 8
call fcn.18006ea94
test rax, rax
je 0x18002454f
lea rcx, [rsp + 0x90]
mov qword [rax], rcx
jmp 0x180024552
mov rax, r14
mov qword [rsp + 0x90], rax
mov qword [rsp + 0xa8], r14
mov qword [rsp + 0xb0], r14
mov qword [rsp + 0xb8], r14
lea rcx, [rsp + 0x90]
call fcn.180048664
test eax, eax
jne 0x180024fed
lea ecx, [rax + 8]
call fcn.18006ea94
test rax, rax
je 0x1800245a1
lea rcx, [rsp + 0xf0]
mov qword [rax], rcx
jmp 0x1800245a4
mov rax, r14
mov qword [rsp + 0xf0], rax
lea rcx, [rsp + 0xf0]
call fcn.18002a750
mov qword [rsp + 0x120], rax
mov byte [rax + 0x1d], 1
mov rax, qword [rsp + 0x120]
mov qword [rax + 8], rax
mov rax, qword [rsp + 0x120]
mov qword [rax], rax
mov rax, qword [rsp + 0x120]
mov qword [rax + 0x10], rax
mov qword [rsp + 0x128], r14
mov rcx, qword [rsp + 0xa8]
mov rdi, rcx
mov rsi, qword [rsp + 0xb0]
cmp rcx, rsi
jbe 0x18002461d
call fcn.18006e940
mov rsi, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rdi
movaps xmm0, xmmword [rsp + 0x80]
movdqa xmmword [rsp + 0x80], xmm0
mov rdi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x88]
cmp rcx, rsi
jbe 0x180024660
call fcn.18006e940
test rdi, rdi
je 0x18002466f
cmp rdi, qword [rsp + 0x90]
je 0x180024674
call fcn.18006e940
cmp rbx, rsi
je 0x1800246e1
test rdi, rdi
jne 0x180024688
call fcn.18006e940
mov r11, r14
jmp 0x18002468b
mov r11, qword [rdi]
cmp rbx, qword [r11 + 0x20]
jb 0x180024696
call fcn.18006e940
mov r8, rbx
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xf0]
call fcn.180026b90
test rdi, rdi
jne 0x1800246ba
call fcn.18006e940
mov r11, r14
jmp 0x1800246bd
mov r11, qword [rdi]
cmp rbx, qword [r11 + 0x20]
jb 0x1800246c8
call fcn.18006e940
add rbx, 8
mov rsi, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xa8]
jmp 0x180024656
mov rax, qword [0x1800c0898]
cmp qword [rsp + 0x128], rax
jne 0x180024790
mov rax, qword [0x1800c0890]
mov rcx, qword [rax]
mov qword [rsp + 0x88], rcx
mov rax, qword [0x1800c0860]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0xf0]
mov qword [rsp + 0x70], rcx
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rcx
xor eax, eax
movaps xmm0, xmmword [rsp + 0x80]
movdqa xmmword [rsp + 0x80], xmm0
movaps xmm1, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x70], xmm1
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x20], al
movzx r9d, byte [rsp + 0x30]
lea r8, [rsp + 0x80]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.18002bde0
test al, al
jne 0x180024f67
mov ecx, 8
call fcn.18006ea94
test rax, rax
je 0x1800247ac
lea rcx, [rsp + 0xc0]
mov qword [rax], rcx
jmp 0x1800247af
mov rax, r14
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0xd8], r14
mov qword [rsp + 0xe0], r14
mov qword [rsp + 0xe8], r14
mov rcx, qword [rsp + 0xa8]
mov rbx, rcx
mov rdi, qword [rsp + 0xb0]
cmp rcx, rdi
jbe 0x1800247fc
call fcn.18006e940
mov rdi, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rbx
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
or r15, 0xffffffffffffffff
movabs r12, 0x7ffffffffffffffe
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
cmp rcx, rdi
jbe 0x18002483b
call fcn.18006e940
test rsi, rsi
je 0x18002484a
cmp rsi, qword [rsp + 0x90]
je 0x18002484f
call fcn.18006e940
cmp rbp, rdi
je 0x180024c9c
mov word [rsp + 0x200], r14w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x202]
call fcn.1800729a0
test rsi, rsi
jne 0x180024885
call fcn.18006e940
mov rdx, r14
jmp 0x180024888
mov rdx, qword [rsi]
cmp rbp, qword [rdx + 0x20]
jb 0x180024893
call fcn.18006e940
mov r8d, dword [rbp]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x180024c46
cmp rax, 0xffffffffffffffff
je 0x180024c66
mov word [rsp + 0x410], r14w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x412]
call fcn.1800729a0
mov r8d, 0x104
lea rdx, [rsp + 0x410]
mov rcx, rdi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x180024c3b
lea rdx, [rsp + 0x200]
lea rcx, [rsp + 0x410]
call fcn.1800327e0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 7
mov qword [rsp + 0x60], rdx
mov r8, r14
mov qword [rsp + 0x58], r14
mov word [rsp + 0x48], r14w
xor eax, eax
mov rcx, r15
lea rdi, [rsp + 0x200]
repne scasw ax, word [rdi]
not rcx
dec rcx
mov rbx, rcx
cmp rcx, r12
jbe 0x180024959
call fcn.18006e02c
mov rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x58]
cmp rdx, rbx
jae 0x180024972
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.180008a80
mov rdx, qword [rsp + 0x60]
jmp 0x180024991
test rbx, rbx
jne 0x180024991
mov qword [rsp + 0x58], r14
lea rax, [rsp + 0x48]
cmp rdx, 8
cmovae rax, qword [rsp + 0x48]
mov word [rax], r14w
jmp 0x1800249d7
test rbx, rbx
je 0x1800249d7
lea rcx, [rsp + 0x48]
cmp rdx, 8
cmovae rcx, qword [rsp + 0x48]
lea rdi, [rbx + rbx]
add rdx, rdx
mov r9, rdi
lea r8, [rsp + 0x200]
call fcn.18006e9a0
mov qword [rsp + 0x58], rbx
lea rax, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rax, qword [rsp + 0x48]
mov word [rdi + rax], r14w
lea rdx, [rsp + 0x200]
lea rcx, [rsp + 0x1d0]
call fcn.1800451fc
mov r12, rax
test rsi, rsi
jne 0x1800249fe
call fcn.18006e940
mov rdx, r14
jmp 0x180024a01
mov rdx, qword [rsi]
cmp rbp, qword [rdx + 0x20]
jb 0x180024a0c
call fcn.18006e940
test rsi, rsi
jne 0x180024a1b
call fcn.18006e940
mov rdx, r14
jmp 0x180024a1e
mov rdx, qword [rsi]
cmp rbp, qword [rdx + 0x20]
jb 0x180024a29
call fcn.18006e940
mov ecx, dword [rbp + 4]
mov eax, dword [rbp]
mov dword [rsp + 0x130], eax
mov dword [rsp + 0x134], ecx
mov edx, 7
mov qword [rsp + 0x158], rdx
mov r8, r14
mov qword [rsp + 0x150], r14
mov word [rsp + 0x140], r14w
mov rbx, qword [rsp + 0x58]
cmp rbx, 0xffffffffffffffff
cmova rbx, r15
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
jbe 0x180024a8f
call fcn.18006e02c
mov rdx, qword [rsp + 0x158]
mov r8, qword [rsp + 0x150]
cmp rdx, rbx
jae 0x180024aae
mov rdx, rbx
lea rcx, [rsp + 0x138]
call fcn.180008a80
mov rdx, qword [rsp + 0x158]
jmp 0x180024ad6
test rbx, rbx
jne 0x180024ad6
mov qword [rsp + 0x150], r14
lea rax, [rsp + 0x140]
cmp rdx, 8
cmovae rax, qword [rsp + 0x140]
mov word [rax], r14w
jmp 0x180024b37
test rbx, rbx
je 0x180024b37
lea r8, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae r8, qword [rsp + 0x48]
lea rcx, [rsp + 0x140]
cmp rdx, 8
cmovae rcx, qword [rsp + 0x140]
lea rdi, [rbx + rbx]
add rdx, rdx
mov r9, rdi
call fcn.18006e9a0
mov qword [rsp + 0x150], rbx
lea rax, [rsp + 0x140]
cmp qword [rsp + 0x158], 8
cmovae rax, qword [rsp + 0x140]
mov word [rax + rdi], r14w
mov qword [rsp + 0x180], socket
mov qword [rsp + 0x178], r14
mov byte [rsp + 0x168], 0
mov r9, r15
xor r8d, r8d
mov rdx, r12
lea rcx, [rsp + 0x160]
call fcn.180004de0
nop
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0xc0]
call fcn.1800269b0
nop
cmp qword [rsp + 0x180], 0x10
jb 0x180024b98
mov rcx, qword [rsp + 0x168]
call fcn.18006e998
mov qword [rsp + 0x180], socket
mov qword [rsp + 0x178], r14
mov byte [rsp + 0x168], 0
cmp qword [rsp + 0x158], 8
jb 0x180024bcc
mov rcx, qword [rsp + 0x140]
call fcn.18006e998
mov qword [rsp + 0x158], 7
mov qword [rsp + 0x150], r14
mov word [rsp + 0x140], r14w
cmp qword [rsp + 0x1f0], 0x10
jb 0x180024c01
mov rcx, qword [rsp + 0x1d8]
call fcn.18006e998
mov qword [rsp + 0x1f0], socket
mov qword [rsp + 0x1e8], r14
mov byte [rsp + 0x1d8], 0
cmp qword [rsp + 0x60], 8
jb 0x180024c5c
mov rcx, qword [rsp + 0x48]
call fcn.18006e998
movabs r12, 0x7ffffffffffffffe
jmp 0x180024c66
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180024c66
cmp rax, 0xffffffffffffffff
je 0x180024c66
test rax, rax
je 0x180024c66
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180024c66
movabs r12, 0x7ffffffffffffffe
test rsi, rsi
jne 0x180024c75
call fcn.18006e940
mov rdx, r14
jmp 0x180024c78
mov rdx, qword [rsi]
cmp rbp, qword [rdx + 0x20]
jb 0x180024c83
call fcn.18006e940
add rbp, 8
mov rdi, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xa8]
jmp 0x180024831
lea r8, [0x1800c0860]
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x190]
call fcn.18002aca0
nop
mov rax, qword [rsp + 0x1c0]
mov rdi, qword [rax]
mov rbx, qword [rsp + 0x190]
nop dword [rax]
mov rsi, qword [rsp + 0x1c0]
test rbx, rbx
je 0x180024ce7
cmp rbx, qword [rsp + 0x190]
je 0x180024cec
call fcn.18006e940
cmp rdi, rsi
je 0x180024d8b
test rbx, rbx
jne 0x180024d04
call fcn.18006e940
mov r11, r14
jmp 0x180024d07
mov r11, qword [rbx]
cmp rdi, qword [r11 + 0x30]
jne 0x180024d12
call fcn.18006e940
mov ecx, dword [rdi + 0x18]
call fcn.180023940
test rbx, rbx
jne 0x180024d24
call fcn.18006e940
cmp byte [rdi + 0x1d], 0
je 0x180024d31
call fcn.18006e940
jmp 0x180024cd0
mov rax, qword [rdi + 0x10]
cmp byte [rax + 0x1d], 0
jne 0x180024d61
mov rdi, rax
mov rax, qword [rax]
cmp byte [rax + 0x1d], 0
jne 0x180024cd0
nop word [rax + rax]
mov rdi, rax
mov rax, qword [rax]
cmp byte [rax + 0x1d], 0
je 0x180024d50
jmp 0x180024cd0
mov rax, qword [rdi + 8]
cmp byte [rax + 0x1d], 0
jne 0x180024d83
nop dword [rax + rax]
cmp rdi, qword [rax + 0x10]
jne 0x180024d83
mov rdi, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x1d], 0
je 0x180024d70
mov rdi, rax
jmp 0x180024cd0
mov rdx, qword [0x1800c08d0]
mov rdi, qword [rsp + 0xc0]
mov qword [0x1800c08d0], rdi
mov qword [rsp + 0xc0], rdx
cmp rdi, rdx
je 0x180024dba
mov rax, qword [rdi]
mov rcx, qword [rdx]
mov qword [rdi], rcx
mov qword [rdx], rax
mov rcx, qword [0x1800c08e8]
mov rax, qword [rsp + 0xd8]
mov qword [0x1800c08e8], rax
mov qword [rsp + 0xd8], rcx
mov rcx, qword [0x1800c08f0]
mov rax, qword [rsp + 0xe0]
mov qword [0x1800c08f0], rax
mov qword [rsp + 0xe0], rcx
mov rcx, qword [0x1800c08f8]
mov rax, qword [rsp + 0xe8]
mov qword [0x1800c08f8], rax
mov qword [rsp + 0xe8], rcx
mov rdx, qword [0x1800c0860]
mov rdi, qword [rsp + 0xf0]
mov qword [0x1800c0860], rdi
mov qword [rsp + 0xf0], rdx
cmp rdi, rdx
je 0x180024e43
mov rax, qword [rdi]
mov rcx, qword [rdx]
mov qword [rdi], rcx
mov qword [rdx], rax
mov rcx, qword [0x1800c0890]
mov rax, qword [rsp + 0x120]
mov qword [0x1800c0890], rax
mov qword [rsp + 0x120], rcx
mov rcx, qword [0x1800c0898]
mov rax, qword [rsp + 0x128]
mov qword [0x1800c0898], rax
mov qword [rsp + 0x128], rcx
mov rax, qword [rsp + 0x1c0]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x190]
mov qword [rsp + 0x40], rcx
mov rax, qword [rax]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x70], rcx
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
movaps xmm1, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x70], xmm1
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x190]
call fcn.1800290d0
mov rcx, qword [rsp + 0x1c0]
call fcn.18006e998
mov qword [rsp + 0x1c0], r14
mov qword [rsp + 0x1c8], r14
mov rcx, qword [rsp + 0x190]
call fcn.18006e998
nop
mov rcx, qword [rsp + 0xd8]
test rcx, rcx
je 0x180024f3b
movzx r9d, byte [rsp + 0x30]
lea r8, [rsp + 0xd0]
mov rdx, qword [rsp + 0xe0]
call fcn.18002b7d0
mov rcx, qword [rsp + 0xd8]
call fcn.18006e998
mov qword [rsp + 0xd8], r14
mov qword [rsp + 0xe0], r14
mov qword [rsp + 0xe8], r14
mov rcx, qword [rsp + 0xc0]
call fcn.18006e998
lea rbp, [0x1800c08d0]
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0xf0]
mov qword [rsp + 0x40], rcx
mov rax, qword [rax]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x70], rcx
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
movaps xmm1, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x70], xmm1
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0xf0]
call fcn.1800290d0
mov rcx, qword [rsp + 0x120]
call fcn.18006e998
mov qword [rsp + 0x120], r14
mov qword [rsp + 0x128], r14
mov rcx, qword [rsp + 0xf0]
call fcn.18006e998
mov rdx, rbp
mov rcx, r13
call fcn.180026870
nop
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
je 0x18002500b
call fcn.18006e998
mov qword [rsp + 0xa8], r14
mov qword [rsp + 0xb0], r14
mov qword [rsp + 0xb8], r14
mov rcx, qword [rsp + 0x90]
call fcn.18006e998
mov rax, r13
mov rcx, qword [rsp + 0x620]
xor rcx, rsp
call fcn.18006e130
lea r11, [rsp + 0x630]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret