Function at 0x4ba690
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, 0x148
mov rsi, rdx
lea r11, [rcx + 4]
lea rdi, [rcx + 8]
lea r15, [rcx + 0xc]
lea r12, [rcx + 0x10]
lea rdx, [rcx + 0x14]
lea r8, [rcx + 0x18]
lea r14, [rcx + 0x1c]
lea r13, [rcx + 0x20]
lea r10, [rcx + 0x24]
lea r9, [rcx + 0x28]
lea rbx, [rcx + 0x2c]
lea rbp, [rcx + 0x30]
lea rax, [rcx + 0x3c]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rcx
lea rax, dbg.drop_in_place_core::iter::adapters::fuse::Fuse_core::option::IntoIter_core::char::EscapeDebug___
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], r11
lea r11, [rcx + 0x34]
lea rcx, [rcx + 0x38]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rdi
lea rdi, [rsp + 0x58]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], r15
lea r15, [rsp + 0x68]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], r12
lea r12, [rsp + 0x78]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], rdx
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], r8
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xb8], r14
lea r14, [rsp + 0xa8]
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0xc8], r13
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0xd8], r10
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0xe8], r9
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0xf8], rbx
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x108], rbp
mov qword [rsp + 0x110], rax
mov qword [rsp + 0x118], r11
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x128], rcx
mov qword [rsp + 0x130], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x138], rax
lea rax, dbg.drop_in_place_core::iter::adapters::copied::Copied_core::slice::iter::Iter_u8___
mov qword [rsp + 0x140], rax
lea rbp, [rsp + 0x128]
lea rbx, [rsp + 0x138]
mov rcx, qword [rsi + 0x20]
mov rax, qword [rsi + 0x28]
lea rdx, [0x004e859a]
mov r8d, 6
call qword [rax + 0x18]
mov qword [rsp + 0x30], rsi
mov byte [rsp + 0x38], al
mov qword [rsp + 0x28], 0
mov byte [rsp + 0x39], 0
lea r13, dbg.drop_in_place_core::iter::adapters::copied::Copied_core::slice::iter::Iter_u8___
lea rsi, [rsp + 0x28]
lea rdx, [rsp + 0x48]
mov rcx, rsi
mov r8, r13
call dbg.field
mov rcx, rsi
mov rdx, rdi
mov r8, r13
call dbg.field
mov rcx, rsi
mov rdx, r15
mov r8, r13
call dbg.field
mov rcx, rsi
mov rdx, r12
mov r8, r13
call dbg.field
mov rcx, rsi
lea rdx, [rsp + 0x88]
mov r8, r13
call dbg.field
mov rcx, rsi
lea rdx, [rsp + 0x98]
mov r8, r13
call dbg.field
mov rcx, rsi
mov rdx, r14
mov r8, r13
call dbg.field
mov rcx, rsi
lea rdx, [rsp + 0xb8]
mov r8, r13
call dbg.field
mov rcx, rsi
lea rdx, [rsp + 0xc8]
mov r8, r13
call dbg.field
mov rcx, rsi
lea rdx, [rsp + 0xd8]
mov r8, r13
call dbg.field
mov rcx, rsi
lea rdx, [rsp + 0xe8]
mov r8, r13
call dbg.field
mov rcx, rsi
lea rdx, [rsp + 0xf8]
mov r8, r13
call dbg.field
mov rcx, rsi
lea rdx, [rsp + 0x108]
mov r8, r13
call dbg.field
mov rcx, rsi
lea rdx, [rsp + 0x118]
mov r8, r13
call dbg.field
mov rcx, rsi
mov rdx, rbp
mov r8, r13
call dbg.field
mov rcx, rsi
mov rdx, rbx
mov r8, r13
call dbg.field
mov rax, qword [rsp + 0x28]
movzx ecx, byte [rsp + 0x38]
test rax, rax
je 0x4ba9bb
mov bl, 1
test cl, cl
jne 0x4ba9bd
mov rsi, qword [rsp + 0x30]
cmp rax, 1
jne 0x4ba99f
cmp byte [rsp + 0x39], 0
je 0x4ba99f
test byte [rsi + 0x34], 4
jne 0x4ba99f
mov rcx, qword [rsi + 0x20]
mov rax, qword [rsi + 0x28]
lea rdx, [0x004db0b4]
mov r8d, 1
call qword [rax + 0x18]
test al, al
jne 0x4ba9bd
mov rcx, qword [rsi + 0x20]
mov rax, qword [rsi + 0x28]
lea rdx, [0x004da38f]
mov r8d, 1
call qword [rax + 0x18]
mov ebx, eax
jmp 0x4ba9bd
mov ebx, ecx
mov eax, ebx
add rsp, 0x148
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret