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

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x258
lea r13, [rdx + 0x528]
mov rsi, rcx
movsxd rdi, dword [r13 + 0x3c]
xor r12d, r12d
add rdi, r13
mov qword [rsp + 0x2b8], r12
xor ecx, ecx
mov qword [rsp + 0x2a0], rdi
mov r15, rdx
mov qword [rsp + 0x30], r13
call qword [rsi + 0x40]
mov qword [rsp + 0x2b0], rax
movsxd r8, dword [rax + 0x3c]
movzx r9d, word [r8 + rax + 4]
cmp word [rdi + 4], r9w
jne 0x456fcc
mov edx, dword [rdi + 0x50]
lea r9d, [r12 + 0x40]
mov eax, 0x1000
xor ecx, ecx
add edx, eax
mov r8d, 0x3000
call qword [rsi + 0x48]
mov rbx, rax
test rax, rax
je 0x456fcc
mov r8d, dword [rdi + 0x54]
mov rdx, r13
mov rcx, rax
call fcn.00457ad7
movzx ebp, word [rdi + 0x14]
mov r14d, r12d
add rbp, rdi
cmp r12w, word [rdi + 6]
jae 0x456c34
mov eax, r14d
lea r8, [rax + rax*4]
mov edx, dword [rbp + r8*8 + 0x2c]
mov ecx, dword [rbp + r8*8 + 0x24]
add rdx, r13
mov r8d, dword [rbp + r8*8 + 0x28]
add rcx, rbx
call fcn.00457ad7
movzx eax, word [rdi + 6]
inc r14d
cmp r14d, eax
jb 0x456c07
mov eax, dword [rdi + 0xb0]
test eax, eax
je 0x456cb4
mov r14, rbx
lea r9, [rbx + rax]
sub r14, qword [rdi + 0x30]
cmp dword [r9], r12d
je 0x456cb4
mov ebp, 0x1000
lea r10, [r9 + 8]
jmp 0x456ca0
movzx eax, word [r10]
mov ecx, 0xf000
movzx r11d, ax
and ax, cx
mov ecx, 0xa000
cmp ax, cx
jne 0x456c92
mov r8d, dword [r9]
and r11d, 0xfff
lea rax, [r11 + r8]
mov rdx, qword [rax + rbx]
lea rax, [r11 + r8]
add rdx, r14
mov qword [rax + rbx], rdx
jmp 0x456c9c
cmp r11w, bp
jae 0x456fbe
add r10, 2
mov eax, dword [r9 + 4]
add rax, r9
cmp r10, rax
jne 0x456c59
mov r9, r10
cmp dword [r10], r12d
jne 0x456c53
mov eax, dword [rdi + 0x90]
test eax, eax
je 0x456d5a
lea rbp, [rbx + rax]
mov eax, dword [rbp + 0xc]
test eax, eax
je 0x456d5a
mov ecx, eax
add rcx, rbx
call qword [rsi + 0x30]
mov r14d, dword [rbp]
mov rdi, rax
mov r13d, dword [rbp + 0x10]
add r14, rbx
add r13, rbx
jmp 0x456d38
jns 0x456cf9
movzx edx, cx
mov rcx, rdi
call qword [rsi + 0x38]
jmp 0x456d2c
cmp dword [r15 + 4], 0
lea r12, [rcx + rbx]
je 0x456d1e
lea rdx, [r12 + 2]
mov rcx, rsi
call fcn.00455fdb
test eax, eax
je 0x456d1e
mov rax, qword [rsi + 0x180]
jmp 0x456d29
lea rdx, [r12 + 2]
mov rcx, rdi
call qword [rsi + 0x38]
xor r12d, r12d
add r14, 8
mov qword [r13], rax
add r13, 8
mov rcx, qword [r14]
test rcx, rcx
jne 0x456cec
mov eax, dword [rbp + 0x20]
add rbp, 0x14
test eax, eax
jne 0x456cd1
mov rdi, qword [rsp + 0x2a0]
lea r13, [r15 + 0x528]
mov eax, dword [rdi + 0xf0]
test eax, eax
je 0x456dd6
lea r14, [rbx + 4]
add r14, rax
mov eax, dword [r14]
test eax, eax
je 0x456dd6
mov ecx, eax
add rcx, rbx
call qword [rsi + 0x30]
mov r12, rax
test rax, rax
je 0x456dc0
mov r15d, dword [r14 + 0xc]
mov ebp, dword [r14 + 8]
add r15, rbx
add rbp, rbx
jmp 0x456db8
mov rax, qword [rsi + 0x38]
test rcx, rcx
jns 0x456da0
movzx edx, cx
jmp 0x456da7
lea rdx, [rbx + 2]
add rdx, rcx
mov rcx, r12
call rax
add r15, 8
mov qword [rbp], rax
add rbp, 8
mov rcx, qword [r15]
test rcx, rcx
jne 0x456d92
add r14, 0x20
xor r12d, r12d
mov eax, dword [r14]
test eax, eax
jne 0x456d72
mov r15, qword [rsp + 0x2a8]
mov eax, dword [rdi + 0xd0]
test eax, eax
je 0x456e04
mov r14, qword [rax + rbx + 0x18]
test r14, r14
je 0x456e04
jmp 0x456dfc
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 1]
call rax
lea r14, [r14 + 8]
mov rax, qword [r14]
test rax, rax
jne 0x456dec
mov ebp, dword [rdi + 0x28]
add rbp, rbx
cmp dword [r15], 3
jne 0x456f2a
mov rcx, qword [rsp + 0x2b0]
xor r8d, r8d
lea edx, [r8 + 1]
call rbp
lea rdx, [r15 + 0x30c]
mov qword [rsp + 0x2a0], rdx
cmp byte [rdx], r12b
je 0x456fbe
mov eax, dword [rdi + 0x88]
test eax, eax
je 0x456fbe
add rax, rbx
mov ebp, dword [rax + 0x18]
test ebp, ebp
je 0x456fbe
mov r14d, dword [rax + 0x1c]
mov r12d, dword [rax + 0x20]
add r14, rbx
mov r15d, dword [rax + 0x24]
add r12, rbx
add r15, rbx
dec ebp
mov ecx, dword [r12 + rbp*4]
add rcx, rbx
call fcn.00457b13
test eax, eax
je 0x456e8e
test ebp, ebp
je 0x456e9c
mov rdx, qword [rsp + 0x2a0]
jmp 0x456e6e
movzx eax, word [r15 + rbp*2]
mov r14d, dword [r14 + rax*4]
add r14, rbx
jmp 0x456ea4
mov r14, qword [rsp + 0x2b8]
mov r8d, dword [rdi + 0x54]
xor edx, edx
mov rcx, rbx
call fcn.00457af7
mov r8d, dword [rdi + 0x54]
xor edx, edx
mov rcx, qword [rsp + 0x30]
call fcn.00457af7
test r14, r14
je 0x456fbe
mov rbp, qword [rsp + 0x2a8]
lea rdi, [rbp + 0x40c]
cmp byte [rdi], 0
je 0x456f22
mov eax, dword [rbp + 0x50c]
test eax, eax
je 0x456f0f
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], 0x100
or r9d, 0xffffffff
mov qword [rsp + 0x20], rax
mov r8, rdi
xor edx, edx
xor ecx, ecx
call qword [rsi + 0x70]
mov eax, dword [rbp + 0x50c]
test eax, eax
lea rcx, [rsp + 0x40]
cmove rcx, rdi
call r14
jmp 0x456fbe
call r14
jmp 0x456fbe
lea r8, [r15 + 0x40c]
cmp byte [r8], r12b
je 0x456f60
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], 0x100
or r9d, 0xffffffff
mov qword [rsp + 0x20], rax
xor edx, edx
xor ecx, ecx
call qword [rsi + 0x70]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.004572df
mov r8d, dword [rdi + 0x54]
xor edx, edx
mov rcx, rbx
call fcn.00457af7
mov r8d, dword [rdi + 0x54]
xor edx, edx
mov rcx, r13
call fcn.00457af7
cmp dword [r15 + 4], r12d
je 0x456faf
mov qword [rsp + 0x28], r12
xor r9d, r9d
mov r8, rbp
mov dword [rsp + 0x20], r12d
xor edx, edx
xor ecx, ecx
call qword [rsi + 0x88]
test rax, rax
je 0x456fbe
or edx, 0xffffffff
mov rcx, rax
call qword [rsi + pe_nt_image_headers64]
jmp 0x456fbe
mov rcx, qword gs:[0x30]
mov rcx, qword [rcx + 0x60]
call rbp
xor edx, edx
mov r8d, 0xc000
mov rcx, rbx
call qword [rsi + 0x50]
add rsp, 0x258
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret