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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xa8
test r8d, r8d
jne 0x495c95
mov r10d, dword [rdx + 0x10]
test r10d, r10d
je 0x495ed0
mov rax, qword [rdx]
mov r15, r9
mov r14d, r8d
mov r13, rdx
mov rsi, rcx
mov qword [rsp + 0x78], 0
lea rdi, [rsp + 0x80]
lea rbp, [rsp + 0x60]
mov qword [rsp + 0x60], rax
mov rax, qword [rdx + 8]
mov qword [rsp + 0x68], rax
mov rax, qword [rdx + 0x10]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x70], 0
jmp 0x495d32
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call fcn.0048ec50
test eax, eax
je 0x495dbe
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x98]
mov dword [rsp + 0x70], 0
mov qword [rsp + 0x78], rax
mov r9, rdi
mov r8d, 1
mov rdx, rbp
mov rcx, rsi
call fcn.00499d60
test eax, eax
je 0x495ce0
jmp 0x495dbe
add r12d, dword [rsp + 0x70]
cmp r12d, dword [r13 + 0x10]
jg 0x495df5
nop
mov eax, dword [rbx + 0x24]
test eax, eax
jle 0x495d76
mov rdx, r13
mov rcx, rdi
call fcn.00499950
test eax, eax
jg 0x495df5
mov r9d, 2
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call fcn.00490b60
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x78], rax
mov rdx, rbp
mov rcx, rsi
call fcn.00491740
mov r12d, dword [rax + 0x20]
mov r9, rdi
mov rdx, rbp
mov rcx, rsi
mov rbx, rax
mov r8d, r12d
call fcn.00499e40
mov rax, qword [r13 + 8]
cmp qword [rsp + 0x68], rax
jne 0x495d60
jmp 0x495d50
test r15, r15
je 0x495e75
mov r8d, dword [r13 + 0x10]
sub r8d, dword [rbx + 0x10]
mov rax, qword [rbx + 0x48]
je 0x495e70
test rax, rax
je 0x495e70
test r8d, r8d
jle 0x495e60
mov edx, dword [rax + 0x38]
cmp r8d, edx
jl 0x495f05
sub r8d, edx
mov r10, qword [rax + 8]
je 0x495ef6
test r10, r10
jne 0x495e5b
jmp 0x495ef6
mov eax, dword [r10 + 0x38]
cmp eax, r8d
jg 0x495f08
sub r8d, eax
mov rcx, qword [r10 + 8]
je 0x495ef9
test rcx, rcx
je 0x495ef9
mov r10, rcx
test r8d, r8d
jg 0x495e35
mov eax, dword [rsp + 0x50]
jmp 0x495e72
xor eax, eax
mov dword [r15], eax
test r14d, r14d
jne 0x495ee0
mov rax, qword [rsp + 0x60]
mov qword [r13], rax
mov rax, qword [rsp + 0x68]
mov qword [r13 + 8], rax
mov rax, qword [rsp + 0x70]
mov qword [r13 + 0x10], rax
mov rax, qword [rsp + 0x78]
mov qword [r13 + 0x18], rax
mov r9d, 2
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call fcn.00490b60
nop
add rsp, 0xa8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
test r9, r9
je 0x495eb3
mov dword [r9], 0
jmp 0x495eb3
mov r9, r13
mov r8d, 1
mov rdx, rdi
mov rcx, rsi
call fcn.00499d60
jmp 0x495e9e
mov r10, rax
mov eax, dword [r10 + 0x48]
add eax, dword [r10]
jmp 0x495e72
mov r10, rax
lea rdx, [rsp + 0x5c]
mov eax, dword [rbx + 0x38]
mov r9d, dword [rbx + 0x28]
mov rcx, rsi
mov qword [rsp + 0x48], rdx
lea rdx, [rsp + 0x58]
add r9d, eax
mov qword [rsp + 0x40], rdx
lea rdx, [rsp + 0x54]
mov qword [rsp + 0x38], rdx
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x30], rdx
mov edx, dword [rbx + 0x34]
sub edx, eax
mov dword [rsp + 0x28], edx
mov edx, dword [rbx + 0x30]
sub edx, eax
mov eax, edx
sub eax, dword [rbx + 0x3c]
mov rdx, r10
mov dword [rsp + 0x20], eax
call qword [r10 + 0x30]
mov eax, dword [rsp + 0x50]
jmp 0x495e72