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

Disassembly:
push rbx
push rsi
push r13
push r14
sub rsp, 0x38
mov rsi, qword [rcx + 0xa8]
mov r14, rcx
mov r13, qword [rcx]
mov rbx, qword [rcx + 0x10]
test rsi, rsi
je 0x14007f696
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], r12
xor r12d, r12d
mov qword [rsp + 0x30], r15
nop dword [rax]
movsxd r8, dword [rsi + 0x10]
xor edx, edx
mov rax, qword [r13 + 0x20]
mov r9, r8
mov edi, dword [rsi + 0x14]
mov rcx, r14
shl r9, 5
mov dword [rsp + 0x20], 0x70
mov r9, qword [r9 + rax + 0x18]
mov r9, qword [r9 + 0x68]
call fcn.14007e970
mov rax, qword [rsi + 8]
lea ebp, [rdi - 1]
movsxd rdx, dword [rbx + 0x90]
mov r15, qword [rax]
cmp dword [rbx + 0x94], edx
jg 0x14007f421
xor r8d, r8d
mov dword [rsp + 0x20], r12d
mov r9d, ebp
mov rcx, rbx
lea edx, [r8 + 0x75]
call fcn.140035b50
mov edx, eax
jmp 0x14007f44b
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rbx + 0x90], eax
mov rax, qword [rbx + 0x88]
mov qword [rax + rcx*8], 0x75
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], r12d
mov qword [rax + rcx*8 + 0x10], r12
xor r9d, r9d
mov r8, r15
mov rcx, rbx
call fcn.140036b20
mov eax, dword [rbx + 0x90]
add eax, 0xc
cmp eax, dword [rbx + 0x94]
jle 0x14007f47a
mov rcx, rbx
call fcn.140035a10
test eax, eax
jne 0x14007f682
movsxd rax, dword [rbx + 0x90]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
mov qword [rax + rcx*8], 0x4b
mov qword [rax + rcx*8 + 8], r12
mov qword [rax + rcx*8 + 0x10], r12
lea rax, [rax + rcx*8]
mov byte [rax + 0x18], 0x24
mov dword [rax + 0x1c], r12d
mov dword [rax + 0x20], 0xa
mov ecx, dword [rbx + 0x90]
add ecx, 0xa
mov dword [rax + 0x20], ecx
mov dword [rax + 0x24], r12d
mov byte [rax + 0x19], r12b
mov qword [rax + 0x28], r12
mov word [rax + 0x1a], r12w
mov qword [rax + 0x30], 0x5e
mov qword [rax + 0x38], r12
mov qword [rax + 0x40], r12
mov byte [rax + 0x48], 0x34
mov dword [rax + 0x4c], r12d
mov dword [rax + 0x50], 9
mov ecx, dword [rbx + 0x90]
add ecx, 9
mov dword [rax + 0x50], ecx
mov dword [rax + 0x54], r12d
mov byte [rax + 0x49], r12b
mov qword [rax + 0x58], r12
mov word [rax + 0x4a], r12w
mov qword [rax + 0x60], 0x87
mov qword [rax + 0x68], r12
mov qword [rax + 0x70], r12
mov qword [rax + 0x78], 0x5e
mov qword [rax + 0x80], 1
mov qword [rax + 0x88], r12
mov qword [rax + 0x90], 0x56
mov qword [rax + 0x98], r12
mov qword [rax + 0xa0], r12
mov qword [rax + 0xa8], 0x50
mov qword [rax + 0xb0], r12
mov qword [rax + 0xb8], r12
mov byte [rax + 0xc0], 9
mov dword [rax + 0xc4], r12d
mov dword [rax + 0xc8], 0xb
mov ecx, dword [rbx + 0x90]
add ecx, 0xb
mov dword [rax + 0xc8], ecx
mov dword [rax + 0xcc], r12d
mov byte [rax + 0xc1], r12b
mov qword [rax + 0xd0], r12
mov word [rax + 0xc2], r12w
mov byte [rax + 0xd8], 0x27
mov dword [rax + 0xdc], r12d
mov dword [rax + 0xe0], 2
mov ecx, dword [rbx + 0x90]
add ecx, 2
mov dword [rax + 0xe0], ecx
mov dword [rax + 0xe4], r12d
mov byte [rax + 0xd9], r12b
mov qword [rax + 0xe8], r12
mov word [rax + 0xda], r12w
mov qword [rax + 0xf0], 0x47
mov qword [rax + 0xf8], r12
mov qword [rax + 0x100], r12
mov qword [rax + 0x108], 0x7a
mov qword [rax + 0x110], r12
mov qword [rax + 0x118], r12
add dword [rbx + 0x90], 0xc
test rax, rax
je 0x14007f682
lea edx, [rdi + 2]
mov dword [rax + 8], edi
lea ecx, [rdi + 1]
mov dword [rax + 0xc], edx
mov dword [rax + 0x68], ecx
mov dword [rax + 0xb0], edx
mov dword [rax + 0x3c], edi
mov dword [rax + 0x4c], ebp
mov dword [rax + 0x54], edi
mov word [rax + 0x4a], 0x10
mov dword [rax + 0x84], edi
mov dword [rax + 0x94], edi
mov dword [rax + 0xac], edi
mov dword [rax + 0xf8], edi
cmp dword [r14 + 0x34], r12d
jne 0x14007f676
mov dword [r14 + 0x34], 1
mov rsi, qword [rsi]
test rsi, rsi
jne 0x14007f3c0
mov r12, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
mov r15, qword [rsp + 0x30]
add rsp, 0x38
pop r14
pop r13
pop rsi
pop rbx
ret