Function at 0x1400087e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x1400087e0
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x17]
sub rsp, 0xb0
mov qword [rbp - 0x21], 0xfffffffffffffffe
mov qword [rsp + 0x100], rbx
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov rsi, r8
mov r12, rdx
mov r14, rcx
mov qword [rbp - 0x19], rcx
mov byte [rcx + 8], 0
xor r15d, r15d
mov qword [rcx + 0x10], r15
mov qword [rcx + 0x18], r15
mov qword [rcx + 0x20], r15
mov dword [rcx + 0x28], r15d
lea rax, vtable.Agent.0
mov qword [rcx], rax
lea rax, vtable.Agent.1.0
mov qword [rcx + 0x30], rax
movzx eax, r8b
and al, 1
mov byte [rcx + 0x38], al
movzx eax, r8b
shr al, 1
and al, 1
mov byte [rcx + 0x39], al
mov dword [rcx + 0x3c], r9d
add rcx, 0x40
call fcn.140001064
nop
mov qword [r14 + 0x68], r15
mov qword [r14 + 0x70], r15
mov qword [r14 + 0x78], r15
mov qword [r14 + 0x80], r15
mov qword [r14 + 0x88], r15
mov qword [r14 + 0x90], r15
mov qword [r14 + 0x98], r15
mov word [r14 + 0xa0], r15w
mov byte [r14 + 0xa2], r15b
mov qword [r14 + 0xa8], r15
mov qword [r14 + 0xb0], r15
lea rcx, [r14 + 0xb8]
mov qword [rcx + 0x18], 7
mov qword [rcx + 0x10], r15
cmp qword [rcx + 0x18], 8
jb 0x1400088d5
mov rax, qword [rcx]
jmp 0x1400088d8
mov rax, rcx
mov word [rax], r15w
mov r8d, 1
lea rdx, [0x14008662c]
call fcn.14000346d
nop
lea rcx, [0x140086630]
call fcn.140001e10
mov ebx, dword [rbp + 0x7f]
mov edi, dword [rbp + 0x77]
cmp edi, 1
jl 0x14000890b
cmp ebx, 1
jge 0x140008923
lea r8, str.initialCols___1__initialRows___1
mov edx, 0x9e
lea rcx, str.agentAgent.cc
call fcn.1400045f7
lea rcx, [0x140085f30]
lea rax, [rbp + 0x77]
cmp edi, 0x9c4
cmovg rax, rcx
mov eax, dword [rax]
mov dword [rbp + 0x77], eax
lea rcx, [0x140085f34]
lea rax, [rbp + 0x7f]
cmp ebx, 0x7d0
cmovg rax, rcx
mov eax, dword [rax]
mov dword [rbp + 0x7f], eax
cmp byte [r14 + 0x39], 0
je 0x140008969
test sil, 4
jne 0x140008969
xor r13b, r13b
jmp 0x14000896c
mov r13b, 1
movzx eax, word [rbp + 0x77]
mov word [rbp - 0x59], ax
movzx eax, word [rbp + 0x7f]
mov word [rbp - 0x57], ax
lea rdx, [rbp - 0x49]
mov rcx, r14
call fcn.14000382d
nop
cmp byte [r14 + 0x38], 0
je 0x1400089f7
lea rcx, [rbp - 0x69]
call fcn.140002441
mov rcx, rax
lea rdx, [r14 + 0x78]
cmp rdx, rax
je 0x1400089d2
mov rax, qword [rax]
mov qword [rcx], r15
mov rbx, qword [rdx]
mov qword [rdx], rax
test rbx, rbx
je 0x1400089d2
cmp byte [rbx + 8], 0
je 0x1400089c5
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0x10
mov rcx, rbx
call fcn.1400035d0
mov rbx, qword [rbp - 0x69]
test rbx, rbx
je 0x1400089f7
cmp byte [rbx + 8], 0
je 0x1400089ea
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0x10
mov rcx, rbx
call fcn.1400035d0
mov rdx, qword [rbp - 0x49]
lea rcx, [r14 + 0x40]
call fcn.14000b930
mov rcx, r14
call fcn.140002c25
mov rbx, rax
mov r8d, 3
mov rdx, r12
mov rcx, rax
call fcn.1400031f2
mov edx, 0x10000
mov rcx, rbx
call fcn.140002905
mov qword [r14 + 0x80], rbx
lea r8, str.conin
xor edx, edx
mov rcx, r14
call fcn.140003003
mov qword [r14 + 0x88], rax
lea r8, str.conout
mov dl, 1
mov rcx, r14
call fcn.140003003
mov qword [r14 + 0x90], rax
cmp byte [r14 + 0x38], 0
je 0x140008a83
lea r8, str.conerr
mov dl, 1
mov rcx, r14
call fcn.140003003
mov qword [r14 + 0x98], rax
lea rcx, [rbp - 0x39]
call fcn.14000d860
nop
lea rdx, [rbp - 0x11]
mov rcx, qword [r14 + 0x88]
call fcn.140003215
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x140008aac
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp - 0x39]
call fcn.1400024ff
nop
mov r8, qword [rbp + 7]
cmp r8, 8
jb 0x140008ad3
inc r8
mov rdx, qword [rbp - 0x11]
lea rcx, [rbp - 0x11]
call fcn.14000452a
lea rdx, [rbp - 0x11]
mov rcx, qword [r14 + 0x90]
call fcn.140003215
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x140008af2
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp - 0x39]
call fcn.1400024ff
nop
mov r8, qword [rbp + 7]
cmp r8, 8
jb 0x140008b19
inc r8
mov rdx, qword [rbp - 0x11]
lea rcx, [rbp - 0x11]
call fcn.14000452a
cmp byte [r14 + 0x38], 0
je 0x140008b66
lea rdx, [rbp - 0x11]
mov rcx, qword [r14 + 0x98]
call fcn.140003215
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x140008b3f
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp - 0x39]
call fcn.1400024ff
nop
mov r8, qword [rbp + 7]
cmp r8, 8
jb 0x140008b66
inc r8
mov rdx, qword [rbp - 0x11]
lea rcx, [rbp - 0x11]
call fcn.14000452a
mov rax, qword [rbp - 0x31]
sub rax, qword [rbp - 0x39]
mov qword [rbp - 0x69], rax
mov r9d, 8
lea r8, [rbp - 0x69]
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000426e
mov r8, qword [rbp - 0x31]
mov rdx, qword [rbp - 0x39]
sub r8, rdx
mov rcx, qword [r14 + 0x80]
call fcn.140001c71
nop
lea rcx, [rbp - 0x39]
call fcn.140001451
mov qword [rbp - 0x51], r15
mov ecx, 0x60
call fcn.140001ae6
mov rbx, rax
mov qword [rbp - 0x69], rax
test rax, rax
je 0x140008c1e
movzx ecx, byte [r14 + 0x39]
mov rax, qword [r14 + 0x90]
mov qword [rbx], rax
mov qword [rbx + 8], r15
mov dword [rbx + 0x10], r15d
mov byte [rbx + 0x14], 1
mov qword [rbx + 0x18], r15
mov qword [rbx + 0x20], r15
mov qword [rbx + 0x28], r15
mov byte [rbx + 0x30], 0
mov dword [rbx + 0x34], 0xffffffff
lea rax, [rbx + 0x38]
mov qword [rax + 0x18], 0xf
mov qword [rax + 0x10], r15
cmp qword [rax + 0x18], 0x10
jb 0x140008c0e
mov rax, qword [rax]
mov byte [rax], 0
mov byte [rbx + 0x58], cl
mov byte [rbx + 0x59], r13b
mov byte [rbx + 0x5a], 0
jmp 0x140008c21
mov rbx, r15
mov rdi, rbx
mov qword [rbp - 0x51], rbx
mov ecx, 0x88
call fcn.140001ae6
mov qword [rbp - 0x41], rax
mov esi, dword [rbp - 0x59]
test rax, rax
je 0x140008c6b
mov rdi, r15
mov qword [rbp - 0x51], r15
mov qword [rbp - 0x69], rbx
mov dword [rbp - 0x61], esi
lea rcx, [rbp - 0x61]
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x69]
mov r8, qword [rbp - 0x49]
lea rdx, [r14 + 0x40]
mov rcx, rax
call fcn.14000311b
jmp 0x140008c6e
mov rax, r15
mov rbx, qword [r14 + 0x68]
mov qword [r14 + 0x68], rax
test rbx, rbx
je 0x140008c90
mov rcx, rbx
call fcn.140001979
mov edx, 0x88
mov rcx, rbx
call fcn.1400035d0
cmp byte [r14 + 0x38], 0
je 0x140008da4
mov qword [rbp - 0x59], r15
mov ecx, 0x60
call fcn.140001ae6
mov r12, rax
mov qword [rbp - 0x41], rax
test rax, rax
je 0x140008d23
movzx ecx, byte [r14 + 0x39]
mov rax, qword [r14 + 0x98]
mov qword [r12], rax
mov qword [r12 + 8], r15
mov dword [r12 + 0x10], r15d
mov byte [r12 + 0x14], 1
mov qword [r12 + 0x18], r15
mov qword [r12 + 0x20], r15
mov qword [r12 + 0x28], r15
mov byte [r12 + 0x30], 0
mov dword [r12 + 0x34], 0xffffffff
lea rax, [r12 + 0x38]
mov qword [rax + 0x18], 0xf
mov qword [rax + 0x10], r15
cmp qword [rax + 0x18], 0x10
jb 0x140008d0e
mov rax, qword [rax]
mov byte [rax], 0
mov byte [r12 + 0x58], cl
mov byte [r12 + 0x59], r13b
mov byte [r12 + 0x5a], 0
jmp 0x140008d26
mov r12, r15
mov rbx, r12
mov qword [rbp - 0x59], rbx
mov ecx, 0x88
call fcn.140001ae6
mov qword [rbp - 0x41], rax
test rax, rax
je 0x140008d6d
mov rbx, r15
mov qword [rbp - 0x59], rbx
mov qword [rbp - 0x69], r12
mov dword [rbp - 0x61], esi
lea rcx, [rbp - 0x61]
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x69]
mov r8, qword [r14 + 0x78]
lea rdx, [r14 + 0x40]
mov rcx, rax
call fcn.14000311b
jmp 0x140008d70
mov rax, r15
mov rsi, qword [r14 + 0x70]
mov qword [r14 + 0x70], rax
test rsi, rsi
je 0x140008d93
mov rcx, rsi
call fcn.140001979
mov edx, 0x88
mov rcx, rsi
call fcn.1400035d0
nop
test rbx, rbx
je 0x140008da4
mov rdx, rbx
lea rcx, [rbp - 0x59]
call fcn.140001bc7
lea rdx, [r14 + 0xb8]
lea rsi, [r14 + 0x40]
mov rcx, rsi
call fcn.140003887
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
mov ecx, pe_nt_image_headers64
call fcn.140001ae6
mov rcx, rax
mov qword [rbp - 0x41], rax
test rax, rax
je 0x140008e03
lea r9, [r14 + 0x30]
test r14, r14
cmove r9, r15
movzx eax, byte [r14 + 0x38]
mov byte [rsp + 0x28], al
mov qword [rsp + 0x20], rsi
mov r8d, dword [r14 + 0x3c]
mov rdx, rbx
call fcn.1400028c4
mov r15, rax
mov rbx, qword [r14 + 0xa8]
mov qword [r14 + 0xa8], r15
test rbx, rbx
je 0x140008e35
lea rcx, [rbx + 0x48]
call fcn.140001da2
lea rcx, [rbx + 0x28]
call fcn.140001a05
mov edx, pe_nt_image_headers64
mov rcx, rbx
call fcn.1400035d0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
mov edx, 1
lea rcx, [0x14000b370]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
mov edx, 0x19
mov rcx, r14
call fcn.14000222a
nop
test rdi, rdi
je 0x140008e71
mov rdx, rdi
lea rcx, [rbp - 0x51]
call fcn.140001bc7
nop
mov rbx, qword [rbp - 0x49]
test rbx, rbx
je 0x140008e97
cmp byte [rbx + 8], 0
je 0x140008e89
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0x10
mov rcx, rbx
call fcn.1400035d0
nop
mov rax, r14
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.140003cb0
mov rbx, qword [rsp + 0x100]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret