Function at 0x14004aa80
Capabilities:
Load assembly via iassembly

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x700
mov rax, qword [0x1401c00d8]
xor rax, rsp
mov qword [rsp + 0x6f0], rax
xor eax, eax
cmp eax, 1
je 0x14004ab49
mov dword [rsp + 0x58], 2
mov rcx, qword [rsp + 0x710]
call fcn.140024a10
mov dword [rsp + 0x5c], eax
lea r8, [0x1401480c0]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x5c]
call fcn.140020890
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
je 0x14004ab49
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 0x118
lea r8, [0x1401480e0]
lea rdx, [0x140148170]
lea rcx, [rsp + 0x198]
call fcn.1400b5fe0
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0xc8], rax
mov rcx, qword [rsp + 0xc8]
call fcn.140004910
nop
lea rcx, [rsp + 0x198]
call fcn.1400b60e0
lea rcx, [rsp + 0x32]
call fcn.140004910
mov qword [rsp + 0xd0], rax
mov rcx, qword [rsp + 0x710]
call fcn.14004b240
mov qword [rsp + 0xd8], rax
mov r8, qword [rsp + 0xd0]
mov rdx, qword [rsp + 0xd8]
lea rcx, [rsp + 0x60]
call fcn.14004d7a0
nop
lea rcx, [rsp + 0x60]
call fcn.14000f240
mov qword [rsp + 0x50], rax
xor eax, eax
cmp eax, 1
je 0x14004ac53
lea rcx, [rsp + 0x60]
call fcn.14001cd90
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0xe8], 0x4d0
lea r8, str.sizeof_context_____data.size__
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0xe8]
call fcn.1400269c0
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
je 0x14004ac53
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x11e
lea r8, [0x140148200]
lea rdx, [0x140148290]
lea rcx, [rsp + 0x298]
call fcn.1400b5fe0
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0xf8], rax
mov rcx, qword [rsp + 0xf8]
call fcn.140004910
nop
lea rcx, [rsp + 0x298]
call fcn.1400b60e0
mov rax, qword [rsp + 0x710]
add rax, 0x80
mov r8d, 0x4d0
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call fcn.1400cc590
mov rax, qword [rsp + 0x710]
add rax, 0x550
mov rcx, rax
call fcn.1400249e0
test rax, rax
jbe 0x14004b191
mov dword [rsp + 0x698], 0
mov dword [rsp + 0x69c], 0
mov dword [rsp + 0x6a0], 0
mov dword [rsp + 0x6a4], 0
mov dword [rsp + 0x6a8], 0
mov dword [rsp + 0x6ac], 0
mov qword [rsp + 0x6b0], 0
mov qword [rsp + 0x6b8], 0
lea rax, [rsp + 0x6c0]
mov rdi, rax
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
mov dword [rsp + 0x698], 0xfffffb30
mov rcx, qword [rsp + 0x710]
call fcn.14004b240
mov dword [rsp + 0x69c], eax
mov eax, dword [rsp + 0x698]
mov dword [rsp + 0x6a0], eax
mov dword [rsp + 0x6a4], 0x4d0
mov dword [rsp + 0x6a8], 0x40
mov rcx, qword [rsp + 0x710]
call fcn.14004b240
sub rax, 0x510
mov dword [rsp + 0x6ac], eax
xor eax, eax
cmp eax, 1
je 0x14004ae17
lea rcx, [rsp + 0x60]
call fcn.14001cd90
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x108], 0x4e8
lea r8, str.sizeof_context____sizeof_context_ex____data.size__
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x108]
call fcn.1400269c0
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
je 0x14004ae17
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, 0x138
lea r8, [0x140148330]
lea rdx, [0x1401483c0]
lea rcx, [rsp + 0x398]
call fcn.1400b5fe0
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x118], rax
mov rcx, qword [rsp + 0x118]
call fcn.140004910
nop
lea rcx, [rsp + 0x398]
call fcn.1400b60e0
mov eax, 1
imul rax, rax, 0x4d0
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov r8d, 0x18
lea rdx, [rsp + 0x698]
mov rcx, rax
call fcn.1400cc590
mov qword [rsp + 0x48], 0x550
mov rax, qword [rsp + 0x710]
add rax, 0x550
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x90]
call fcn.140006040
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x90]
call fcn.14000f890
mov qword [rsp + 0x120], rax
jmp 0x14004ae9a
mov rax, qword [rsp + 0x38]
add rax, 8
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x120]
cmp qword [rsp + 0x38], rax
je 0x14004b083
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
call fcn.140006040
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x98]
call qword [rax + 0x10]
movzx eax, al
mov ecx, 1
mov qword [rsp + 0x128], rcx
movzx ecx, al
mov rax, qword [rsp + 0x128]
shl rax, cl
mov rcx, qword [rsp + 0x6b0]
or rcx, rax
mov rax, rcx
mov qword [rsp + 0x6b0], rax
xor eax, eax
cmp eax, 1
je 0x14004affb
lea rcx, [rsp + 0x60]
call fcn.14001cd90
mov qword [rsp + 0x130], rax
mov rcx, qword [rsp + 0x40]
call fcn.140006040
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xa0]
call qword [rax + 8]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x138], rax
lea r8, str.cursor__entry__Size_____data.size__
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x138]
call fcn.1400269c0
mov qword [rsp + 0xa8], rax
cmp qword [rsp + 0xa8], 0
je 0x14004affb
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x20], rax
mov r9d, 0x140
lea r8, [0x140148450]
lea rdx, [0x1401484e0]
lea rcx, [rsp + 0x498]
call fcn.1400b5fe0
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x148], rax
mov rcx, qword [rsp + 0x148]
call fcn.140004910
nop
lea rcx, [rsp + 0x498]
call fcn.1400b60e0
mov rcx, qword [rsp + 0x40]
call fcn.140006040
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov rdx, rax
mov rcx, qword [rsp + 0xb0]
call qword [rsp + 0x150]
mov rcx, qword [rsp + 0x40]
call fcn.140006040
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xb8]
call qword [rax + 8]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
jmp 0x14004ae8c
movabs rax, 0x8000000000000000
mov rcx, qword [rsp + 0x6b0]
or rcx, rax
mov rax, rcx
mov qword [rsp + 0x6b8], rax
xor eax, eax
cmp eax, 1
je 0x14004b166
lea rcx, [rsp + 0x60]
call fcn.14001cd90
mov qword [rsp + 0x158], rax
movsxd rax, dword [rsp + 0x6a8]
add rax, 0x510
mov qword [rsp + 0x160], rax
lea r8, str.context_ex.xstate.offset__sizeof_context____sizeof_xsave_header____data.size__
lea rdx, [rsp + 0x158]
lea rcx, [rsp + 0x160]
call fcn.1400269c0
mov qword [rsp + 0xc0], rax
cmp qword [rsp + 0xc0], 0
je 0x14004b166
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x20], rax
mov r9d, 0x14c
lea r8, [0x1401485b0]
lea rdx, str.bool___cdecl_crashpad::MinidumpContextAMD64Writer::WriteObject_class_crashpad::FileWriterInterface__
lea rcx, [rsp + 0x598]
call fcn.1400b5fe0
mov qword [rsp + 0x190], rax
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x170], rax
mov rcx, qword [rsp + 0x170]
call fcn.140004910
nop
lea rcx, [rsp + 0x598]
call fcn.1400b60e0
movsxd rax, dword [rsp + 0x6a8]
mov rcx, qword [rsp + 0x50]
lea rax, [rcx + rax + 0x4d0]
mov r8d, 0x40
lea rdx, [rsp + 0x6b0]
mov rcx, rax
call fcn.1400cc590
mov rax, qword [rsp + 0x718]
mov rax, qword [rax]
mov rax, qword [rax + 8]
mov qword [rsp + 0x188], rax
lea rcx, [rsp + 0x60]
call fcn.14001cd90
mov qword [rsp + 0x178], rax
lea rcx, [rsp + 0x60]
call fcn.14000f240
mov qword [rsp + 0x180], rax
mov r8, qword [rsp + 0x178]
mov rdx, qword [rsp + 0x180]
mov rcx, qword [rsp + 0x718]
call qword [rsp + 0x188]
movzx eax, al
test eax, eax
jne 0x14004b208
mov byte [rsp + 0x30], 0
lea rcx, [rsp + 0x60]
call fcn.1400310d0
movzx eax, byte [rsp + 0x30]
jmp 0x14004b21c
mov byte [rsp + 0x31], 1
lea rcx, [rsp + 0x60]
call fcn.1400310d0
movzx eax, byte [rsp + 0x31]
mov rcx, qword [rsp + 0x6f0]
xor rcx, rsp
call fcn.1400cb890
add rsp, 0x700
pop rdi
ret