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

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x20
mov r8, qword [rcx]
mov rbp, rdx
or dword [rdx + 0x10], 1
mov rdi, rcx
mov rdx, qword [rdx + 8]
and rdx, 0xfffffffffffffffe
mov qword [rsp + 0x48], rsi
test byte [rbp + 8], 1
mov qword [rsp + 0x50], r14
je 0x140106381
mov rdx, qword [rdx + 0x18]
mov rcx, qword [rbp + 0xb0]
lea rbx, [0x14068e1e0]
cmp rcx, rbx
jne 0x1401063a2
lea rcx, [rbp + 0xb0]
call fcn.1400d06d0
jmp 0x1401063bd
cmp rcx, r8
je 0x1401063bd
cmp qword [r8 + 0x18], 0x10
mov rdx, r8
jb 0x1401063b4
mov rdx, qword [r8]
mov r8, qword [r8 + 0x10]
call fcn.14005e220
mov r8, qword [rdi + 8]
cmp qword [r8 + 0x10], 0
je 0x140106413
or dword [rbp + 0x10], 2
mov rdx, qword [rbp + 8]
and rdx, 0xfffffffffffffffe
test byte [rbp + 8], 1
je 0x1401063de
mov rdx, qword [rdx + 0x18]
mov rcx, qword [rbp + 0xb8]
cmp rcx, rbx
jne 0x1401063f8
lea rcx, [rbp + 0xb8]
call fcn.1400d06d0
jmp 0x140106413
cmp rcx, r8
je 0x140106413
cmp qword [r8 + 0x18], 0x10
mov rdx, r8
jb 0x14010640a
mov rdx, qword [r8]
mov r8, qword [r8 + 0x10]
call fcn.14005e220
cmp dword [rdi + 0x3c], 3
jne 0x14010642e
mov ecx, 3
call fcn.140118c40
mov rdx, rax
mov rcx, rbp
call fcn.1401201e0
xor r14d, r14d
mov qword [rsp + 0x58], r15
mov esi, r14d
cmp dword [rdi + 0x20], r14d
jle 0x14010647b
nop
mov edx, esi
mov rcx, rdi
call fcn.14011e580
lea rcx, [rbp + 0x18]
mov rbx, qword [rax]
call fcn.1400e4b10
cmp rax, rbx
je 0x140106474
cmp qword [rbx + 0x18], 0x10
mov rdx, rbx
jb 0x140106468
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.14005e220
inc esi
cmp esi, dword [rdi + 0x20]
jl 0x140106440
mov ebx, r14d
cmp dword [rdi + 0x24], ebx
jle 0x1401064b7
mov rsi, r14
nop word [rax + rax]
mov rax, qword [rdi + 0x58]
lea rdx, [rsp + 0x40]
mov ecx, dword [rsi + rax]
mov dword [rsp + 0x40], ecx
lea rcx, [rbp + 0x90]
call fcn.1400e4a50
inc ebx
lea rsi, [rsi + 4]
cmp ebx, dword [rdi + 0x24]
jl 0x140106490
mov ebx, r14d
cmp dword [rdi + 0x28], ebx
jle 0x1401064f7
mov rsi, r14
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rdi + 0x60]
lea rdx, [rsp + 0x40]
mov ecx, dword [rsi + rax]
mov dword [rsp + 0x40], ecx
lea rcx, [rbp + 0xa0]
call fcn.1400e4a50
inc ebx
lea rsi, [rsi + 4]
cmp ebx, dword [rdi + 0x28]
jl 0x1401064d0
mov r15, qword [rsp + 0x58]
mov ebx, r14d
cmp dword [rdi + 0x2c], ebx
jle 0x14010652b
lea rcx, [rbp + 0x30]
call fcn.1400fa9e0
movsxd rcx, ebx
mov rdx, rax
lea rcx, [rcx + rcx*8]
shl rcx, 4
add rcx, qword [rdi + 0x68]
call fcn.140105650
inc ebx
cmp ebx, dword [rdi + 0x2c]
jl 0x140106504
mov ebx, r14d
cmp dword [rdi + 0x30], ebx
jle 0x14010655a
lea rcx, [rbp + 0x48]
call fcn.1400faa50
movsxd rcx, ebx
mov rdx, rax
lea rcx, [rcx + rcx*4]
shl rcx, 4
add rcx, qword [rdi + 0x70]
call fcn.140105b10
inc ebx
cmp ebx, dword [rdi + 0x30]
jl 0x140106533
mov esi, r14d
cmp dword [rdi + 0x34], r14d
jle 0x1401065d6
mov rcx, qword [rbp + 0x70]
test rcx, rcx
je 0x140106588
movsxd rdx, dword [rbp + 0x68]
mov eax, dword [rcx]
cmp edx, eax
jge 0x140106583
mov r8, qword [rcx + rdx*8 + 8]
lea eax, [rdx + 1]
mov dword [rbp + 0x68], eax
jmp 0x1401065b8
cmp eax, dword [rbp + 0x6c]
jne 0x14010659a
mov edx, dword [rbp + 0x6c]
lea rcx, [rbp + 0x60]
inc edx
call fcn.1400e5440
mov rcx, qword [rbp + 0x70]
inc dword [rcx]
mov rcx, qword [rbp + 0x60]
call fcn.14013a540
movsxd rcx, dword [rbp + 0x68]
mov r8, rax
mov rax, qword [rbp + 0x70]
mov qword [rax + rcx*8 + 8], r8
inc dword [rbp + 0x68]
movsxd rax, esi
mov rdx, r8
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, qword [rdi + 0x78]
call fcn.140106a10
inc esi
cmp esi, dword [rdi + 0x34]
jl 0x140106563
mov rsi, qword [rsp + 0x48]
cmp dword [rdi + 0x38], r14d
jle 0x14010660c
lea rcx, [rbp + 0x78]
call fcn.1400faac0
movsxd rcx, r14d
mov rdx, rax
imul rcx, rcx, 0x98
add rcx, qword [rdi + 0x80]
call fcn.140105e10
inc r14d
cmp r14d, dword [rdi + 0x38]
jl 0x1401065e1
mov rbx, qword [rdi + 0x88]
call fcn.14014f070
mov r14, qword [rsp + 0x50]
cmp rbx, rax
je 0x140106669
mov rbx, qword [rdi + 0x88]
or dword [rbp + 0x10], 8
mov rax, qword [rbp + 0xc8]
test rax, rax
jne 0x140106657
mov rcx, qword [rbp + 8]
and rcx, 0xfffffffffffffffe
test byte [rbp + 8], 1
je 0x14010664b
mov rcx, qword [rcx + 0x18]
call fcn.140139ee0
mov qword [rbp + 0xc8], rax
mov rdx, rbx
mov rcx, rax
add rsp, 0x20
pop rdi
pop rbp
pop rbx
jmp 0x140142550
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
cmp rdx, rcx
je 0x14014257f
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rbx, rcx
call fcn.140141540
mov rdx, rdi
mov rcx, rbx
call fcn.140147780
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret