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

Disassembly:
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x48
mov qword [rsp + 0x40], rcx
mov rbx, rcx
mov rbp, rdx
mov rsi, r8
mov r14d, r9d
test rbp, rbp
je 0x140534ab6
cmp qword [rbx + 8], 0
je 0x1405349ab
mov r15, qword [rbx + 0x10]
mov r13, qword [rbx + 0x18]
mov rcx, qword [rbx]
mov rcx, qword [rcx + 0x30]
mov r10, qword [rcx + 0x88]
mov rcx, r13
mov rdx, rbp
call qword [r10]
mov r12d, eax
xor edi, edi
mov rcx, qword [rbx + 8]
mov eax, r12d
imul rax, qword [rbx + 0x30]
shr rax, 0x20
inc rax
mov edx, dword [rcx + 8]
mov r8d, edx
imul rax, r8
shr rax, 0x20
cmp eax, edx
jae 0x140534b12
mov eax, eax
lea rax, [rcx + rax*4 + 0x10]
mov edx, dword [rax]
dec edx
mov r8d, dword [r15 + 8]
mov dword [rsp + 0x38], r8d
cmp r8d, edx
jbe 0x14053490e
mov ecx, edx
shl rcx, 5
lea r10, [r15 + rcx + 0x10]
mov qword [rsp + 0x20], r10
cmp dword [r10 + 8], r12d
je 0x140534ac1
mov edx, dword [r10 + 0xc]
inc edi
mov dword [rsp + 0x3c], edi
cmp r8d, edi
jb 0x140534b0c
mov edi, dword [rsp + 0x3c]
jmp 0x1405348cd
cmp dword [rbx + 0x40], 0
jg 0x140534a5a
mov r14d, dword [rbx + 0x38]
cmp r8d, r14d
je 0x1405349ba
lea ecx, [r14 + 1]
mov dword [rbx + 0x38], ecx
mov r15, qword [rbx + 0x10]
mov dword [rsp + 0x3c], edi
cmp r14d, dword [r15 + 8]
jae 0x140534b12
mov ecx, r14d
shl rcx, 5
lea r8, [r15 + rcx + 0x10]
mov qword [rsp + 0x28], r8
mov dword [r8 + 8], r12d
mov qword [rsp + 0x30], rax
mov ecx, dword [rax]
dec ecx
mov dword [r8 + 0xc], ecx
mov rcx, r8
mov rdx, rbp
call fcn.14000ea70
mov rbp, qword [rsp + 0x28]
lea rdi, [rbp + 0x10]
call fcn.14000ebf0
movsq qword [rdi], qword [rsi]
inc r14d
mov rbp, qword [rsp + 0x30]
mov dword [rbp], r14d
inc dword [rbx + 0x44]
cmp dword [rsp + 0x3c], 0x64
ja 0x140534a87
mov eax, 1
add rsp, 0x48
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rbx
xor edx, edx
call fcn.1404bdb70
jmp 0x140534875
mov ecx, dword [rbx + 0x38]
call fcn.1402e14b0
mov edx, eax
mov rcx, rbx
xor r8d, r8d
call fcn.140534b20
mov rcx, qword [rbx + 8]
mov edx, r12d
imul rdx, qword [rbx + 0x30]
shr rdx, 0x20
inc rdx
mov eax, dword [rcx + 8]
mov r8d, eax
imul rdx, r8
shr rdx, 0x20
cmp edx, eax
jae 0x140534b12
mov edx, edx
lea rax, [rcx + rdx*4 + 0x10]
mov r15, rax
mov rax, r15
jmp 0x140534925
cmp r14b, 1
jne 0x140534a36
mov rdi, qword [rsp + 0x20]
add rdi, 0x10
call fcn.14000ebf0
movsq qword [rdi], qword [rsi]
mov eax, 1
add rsp, 0x48
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
cmp r14b, 2
jne 0x140534a47
mov rdx, rbp
xor ecx, ecx
call fcn.1405e9080
int3
xor eax, eax
add rsp, 0x48
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
mov r14d, dword [rbx + 0x3c]
mov edx, dword [rbx + 0x3c]
cmp edx, r8d
jae 0x140534b12
shl rdx, 5
mov edx, dword [r15 + rdx + 0x1c]
neg edx
add edx, 0xfffffffd
mov dword [rbx + 0x3c], edx
dec dword [rbx + 0x40]
mov dword [rsp + 0x3c], edi
jmp 0x140534934
mov rdx, r13
lea rcx, [0x1406ed5e0]
call fcn.1402e4ce0
test rax, rax
je 0x140534995
mov edx, dword [r15 + 8]
mov rcx, rbx
mov r8d, 1
call fcn.140534b20
jmp 0x140534995
mov ecx, 4
call fcn.140284bd0
int3
mov qword [rsp + 0x30], rax
mov rcx, qword [rbx]
mov rcx, qword [rcx + 0x30]
mov r9, qword [rcx + 0x80]
mov edx, edx
shl rdx, 5
mov rdx, qword [r15 + rdx + 0x10]
mov rcx, r13
mov r10, r9
mov r8, rbp
call qword [r9]
test eax, eax
jne 0x140534a0a
mov rax, qword [rsp + 0x20]
mov edx, dword [rax + 0xc]
inc edi
cmp dword [rsp + 0x38], edi
mov rax, qword [rsp + 0x30]
jae 0x1405348cd
call fcn.1402851b0
int3
call fcn.140284750
int3