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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x248
mov qword [rsp + 0x38], rdx
lea rbp, [rcx + 2]
lea r13, [rcx + 4]
lea r12, [rcx + 6]
lea r15, [rcx + 8]
lea r14, [rcx + 0xa]
lea rdi, [rcx + 0xc]
lea rsi, [rcx + 0xe]
lea r11, [rcx + 0x10]
lea r10, [rcx + 0x12]
lea r9, [rcx + 0x14]
lea r8, [rcx + 0x16]
lea rdx, [rcx + 0x18]
lea rax, [rcx + 0x3e]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rcx
lea rax, dbg.drop_in_place_i16_
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rbp
lea rbp, [rcx + 0x1a]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], r13
lea r13, [rcx + 0x1c]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], r12
lea r12, [rcx + 0x1e]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], r15
lea r15, [rcx + 0x20]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], r14
lea r14, [rcx + 0x22]
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], rdi
lea rdi, [rcx + 0x24]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xb8], rsi
lea rsi, [rcx + 0x26]
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0xc8], r11
lea r11, [rcx + 0x28]
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0xd8], r10
lea r10, [rcx + 0x2a]
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0xe8], r9
lea r9, [rcx + 0x2c]
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0xf8], r8
lea r8, [rcx + 0x2e]
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x108], rdx
lea rdx, [rcx + 0x30]
mov qword [rsp + 0x110], rax
mov qword [rsp + 0x118], rbp
lea rbx, [rcx + 0x32]
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x128], r13
lea r13, [rcx + 0x34]
mov qword [rsp + 0x130], rax
mov qword [rsp + 0x138], r12
lea r12, [rcx + 0x36]
mov qword [rsp + 0x140], rax
mov qword [rsp + 0x148], r15
lea r15, [rcx + 0x38]
mov qword [rsp + 0x150], rax
mov qword [rsp + 0x158], r14
lea r14, [rcx + 0x3a]
lea rcx, [rcx + 0x3c]
mov qword [rsp + 0x160], rax
mov qword [rsp + 0x168], rdi
lea rdi, [rsp + 0x58]
mov qword [rsp + 0x170], rax
mov qword [rsp + 0x178], rsi
lea rbp, [rsp + 0x68]
mov qword [rsp + 0x180], rax
mov qword [rsp + 0x188], r11
lea rsi, [rsp + 0x78]
mov qword [rsp + 0x190], rax
mov qword [rsp + 0x198], r10
mov qword [rsp + 0x1a0], rax
mov qword [rsp + 0x1a8], r9
mov qword [rsp + 0x1b0], rax
mov qword [rsp + 0x1b8], r8
mov qword [rsp + 0x1c0], rax
mov qword [rsp + 0x1c8], rdx
mov qword [rsp + 0x1d0], rax
mov qword [rsp + 0x1d8], rbx
mov qword [rsp + 0x1e0], rax
mov qword [rsp + 0x1e8], r13
mov qword [rsp + 0x1f0], rax
mov qword [rsp + 0x1f8], r12
mov qword [rsp + 0x200], rax
mov qword [rsp + 0x208], r15
mov qword [rsp + 0x210], rax
mov qword [rsp + 0x218], r14
mov qword [rsp + 0x220], rax
mov qword [rsp + 0x228], rcx
mov qword [rsp + 0x230], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x238], rax
lea rax, dbg.drop_in_place_core::iter::adapters::copied::Copied_core::slice::iter::Iter_u8___
mov qword [rsp + 0x240], rax
lea r13, [rsp + 0x218]
lea r12, [rsp + 0x228]
lea r14, [rsp + 0x238]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rdx + 0x20]
mov rax, qword [rdx + 0x28]
mov rbx, rdx
lea rdx, [0x005750b8]
mov r8d, 6
call qword [rax + 0x18]
mov qword [rsp + 0x28], rbx
mov byte [rsp + 0x30], al
mov qword [rsp + 0x20], 0
mov byte [rsp + 0x31], 0
lea rbx, dbg.drop_in_place_core::iter::adapters::copied::Copied_core::slice::iter::Iter_u8___
lea r15, [rsp + 0x20]
lea rdx, [rsp + 0x48]
mov rcx, r15
mov r8, rbx
call dbg.field
mov rcx, r15
mov rdx, rdi
mov r8, rbx
call dbg.field
mov rcx, r15
mov rdx, rbp
mov r8, rbx
call dbg.field
mov rcx, r15
mov rdx, rsi
mov r8, rbx
call dbg.field
mov rcx, r15
lea rdx, [rsp + 0x88]
mov r8, rbx
call dbg.field
mov rcx, r15
lea rdx, [rsp + 0x98]
mov r8, rbx
call dbg.field
mov rcx, r15
lea rdx, [rsp + 0xa8]
mov r8, rbx
call dbg.field
mov rcx, r15
lea rdx, [rsp + 0xb8]
mov r8, rbx
call dbg.field
mov rcx, r15
lea rdx, [rsp + 0xc8]
mov r8, rbx
call dbg.field
mov rcx, r15
lea rdx, [rsp + 0xd8]
mov r8, rbx
call dbg.field
mov rcx, r15
lea rdx, [rsp + 0xe8]
mov r8, rbx
call dbg.field
mov rcx, r15
lea rdx, [rsp + 0xf8]
mov r8, rbx
call dbg.field
mov rcx, r15
lea rdx, [rsp + 0x108]
mov r8, rbx
call dbg.field
mov rcx, r15
lea rdx, [rsp + 0x118]
mov r8, rbx
call dbg.field
mov rcx, r15
lea rdx, [rsp + 0x128]
mov r8, rbx
call dbg.field
mov rcx, r15
lea rdx, [rsp + 0x138]
mov r8, rbx
call dbg.field
mov rcx, r15
lea rdx, [rsp + 0x148]
mov r8, rbx
call dbg.field
mov rcx, r15
lea rdx, [rsp + 0x158]
mov r8, rbx
call dbg.field
mov rcx, r15
lea rdx, [rsp + 0x168]
mov r8, rbx
call dbg.field
mov rcx, r15
lea rdx, [rsp + 0x178]
mov r8, rbx
call dbg.field
mov rcx, r15
lea rdx, [rsp + 0x188]
mov r8, rbx
call dbg.field
mov rcx, r15
lea rdx, [rsp + 0x198]
mov r8, rbx
call dbg.field
mov rcx, r15
lea rdx, [rsp + 0x1a8]
mov r8, rbx
call dbg.field
mov rcx, r15
lea rdx, [rsp + 0x1b8]
mov r8, rbx
call dbg.field
mov rcx, r15
lea rdx, [rsp + 0x1c8]
mov r8, rbx
call dbg.field
mov rcx, r15
lea rdx, [rsp + 0x1d8]
mov r8, rbx
call dbg.field
mov rcx, r15
lea rdx, [rsp + 0x1e8]
mov r8, rbx
call dbg.field
mov rcx, r15
lea rdx, [rsp + 0x1f8]
mov r8, rbx
call dbg.field
mov rcx, r15
lea rdx, [rsp + 0x208]
mov r8, rbx
call dbg.field
mov rcx, r15
mov rdx, r13
mov r8, rbx
call dbg.field
mov rcx, r15
mov rdx, r12
mov r8, rbx
call dbg.field
mov rcx, r15
mov rdx, r14
mov r8, rbx
call dbg.field
mov rax, qword [rsp + 0x20]
movzx ecx, byte [rsp + 0x30]
test rax, rax
je 0x4f8b25
mov bl, 1
test cl, cl
jne 0x4f8b27
mov rsi, qword [rsp + 0x28]
cmp rax, 1
jne 0x4f8b09
cmp byte [rsp + 0x31], 0
je 0x4f8b09
test byte [rsi + 0x34], 4
jne 0x4f8b09
mov rcx, qword [rsi + 0x20]
mov rax, qword [rsi + 0x28]
lea rdx, [0x005680ec]
mov r8d, 1
call qword [rax + 0x18]
test al, al
jne 0x4f8b27
mov rcx, qword [rsi + 0x20]
mov rax, qword [rsi + 0x28]
lea rdx, [0x005673a7]
mov r8d, 1
call qword [rax + 0x18]
mov ebx, eax
jmp 0x4f8b27
mov ebx, ecx
test bl, bl
setne al
add rsp, 0x248
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret