Function at 0x140187120
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, 0x378
mov r13, rcx
mov qword [rsp + 0x3c8], rdx
mov rcx, qword [rcx]
mov r14, qword [r13 + 8]
mov rbp, qword [r13 + 0x18]
mov qword [rsp + 0x3d0], r8
movsxd rdx, dword [r14 + 0x14]
lea rax, [rdx*8]
sub rax, rdx
mov rdx, qword [r14 + 0x20]
mov qword [rsp + 0xc0], 0
mov qword [rsp + 0xc8], 0
mov qword [rsp + 0xd0], 0
lea rdi, [rdx + rax*8]
mov qword [rsp + 0xd8], 0
mov qword [rsp + 0xe0], 0
mov qword [rsp + 0xe8], 0
mov qword [rsp + 0xf0], 0
movzx edx, byte [rbp + 0x10]
mov rcx, qword [rcx + 8]
mov r12, qword [r14 + 0x20]
lea rax, [rdx*8]
sub rax, rdx
shl rax, 4
lea rax, [rcx + rax + 8]
mov qword [rsp + 0x28], rax
cmp rdi, r12
jbe 0x14018722b
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x40], r14
mov r15, rdi
mov r14, r12
mov eax, dword [rax + 0x44]
mov dword [rsp + 0x3c], eax
lea rax, [rsp + 0x108]
mov qword [rsp + 0x30], rax
test byte [r14 + 0x15], 2
je 0x140187222
mov rdx, qword [r14 + 0x20]
mov rax, qword [rdx + 0x1e8]
and rax, qword [rbp + 8]
jne 0x140187248
add r14, 0x38
cmp r15, r14
ja 0x14018720a
xor r15d, r15d
mov eax, r15d
add rsp, 0x378
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rsi, qword [rdx + 0x20]
movsxd rdx, dword [rdx + 0x14]
movdqu xmm0, xmmword [r13]
movdqu xmm1, xmmword [r13 + 0x10]
lea rax, [rdx*8]
movdqu xmm2, xmmword [r13 + 0x20]
sub rax, rdx
movaps xmmword [rsp + 0xa0], xmm1
lea rdi, [rsi + rax*8]
lea rax, [rsp + 0x100]
movaps xmmword [rsp + 0xb0], xmm2
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0xb0], rax
movaps xmmword [rsp + 0x90], xmm0
cmp rsi, rdi
jae 0x140187644
xor edi, edi
mov qword [rsp + 0x60], r15
lea rax, [rsp + 0x140]
mov dword [rsp + 0x88], 1
mov r15d, edi
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x3c0], r13
jmp 0x14018739b
mov rax, qword [rsi + 0x20]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x28]
xor ebx, ebx
lea r12, [rsp + 0x90]
mov word [rsp + 0x100], bx
mov rax, qword [rax + 0x20]
cmp byte [rax + 0x3f], 1
je 0x140187400
mov rdx, qword [rsp + 0x3c8]
mov rcx, r12
call fcn.1401867c0
mov r15d, eax
test r15d, r15d
je 0x140187424
movzx ebx, word [rsp + 0x100]
test bx, bx
je 0x140187619
mov r10d, dword [rsp + 0x88]
test r10d, r10d
je 0x140187448
mov rdx, qword [rsp + 0x30]
movzx r8d, bx
lea rcx, [rsp + 0xc8]
mov word [rsp + 0xc0], bx
shl r8, 4
call sub.msvcrt.dll_memcpy
mov dword [rsp + 0x88], 0
add rsi, 0x38
cmp qword [rsp + 0x48], rsi
jbe 0x140187568
test byte [rsi + 0x15], 4
jne 0x1401872f0
mov eax, dword [rsp + 0x3c]
cmp dword [rsi + 0x1c], eax
jne 0x14018738c
mov rdi, qword [rsp + 0x40]
mov rax, qword [rdi]
mov qword [rsp + 0x188], rdi
mov byte [rsp + 0x190], 0x2c
mov qword [rsp + 0x180], rax
lea rax, [rsp + 0x180]
mov dword [rsp + 0x194], 1
mov qword [rsp + 0x1a0], rsi
mov qword [rsp + 0x98], rax
jmp 0x1401872fc
mov r8, qword [rsp + 0x3d0]
mov rdx, qword [rsp + 0x3c8]
mov rcx, r12
call fcn.14017de70
mov r15d, eax
test r15d, r15d
jne 0x14018733d
mov r8, qword [rsp + 0x3d0]
mov rdx, qword [rsp + 0x3c8]
mov rcx, r12
call fcn.140187120
mov r15d, eax
jmp 0x14018733d
lea rcx, [rsp + 0x148]
lea rdx, [rsp + 0xc8]
movzx r8d, word [rsp + 0xc0]
mov rbp, r8
shl r8, 4
call sub.msvcrt.dll_memcpy
xor r9d, r9d
mov word [rsp + 0xc0], r9w
test bp, bp
je 0x14018738c
mov rcx, qword [rsp + 0x78]
lea eax, [rbp - 1]
mov qword [rsp + 0x80], rsi
lea r14, [rsp + 0x112]
shl rax, 4
mov dword [rsp + 0x8c], r15d
add rax, rcx
mov rdi, rcx
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x110]
mov r15, rax
test bx, bx
je 0x140187533
movsx r13d, word [rdi + 0x12]
mov rbp, qword [rdi + 8]
mov qword [rsp + 0x50], rdi
xor ebx, ebx
movsx r12d, word [rdi + 0x10]
mov rdi, qword [rsp + 0x30]
lea rsi, [rsp + 0xc0]
mov r11, rbx
mov ecx, r13d
add rbx, 1
shl r11, 4
movsx edx, word [r14 + r11]
call fcn.14014bb90
movsx edx, word [r15 + r11]
mov ecx, r12d
mov r10d, eax
call fcn.14014bb90
mov rdx, qword [rdi + r11]
movsx r9d, r10w
mov rcx, rsi
movsx r8d, ax
or rdx, rbp
call fcn.14014f2a0
movzx eax, word [rsp + 0x100]
cmp eax, ebx
jg 0x1401874e3
mov rdi, qword [rsp + 0x50]
cmp qword [rsp + 0x58], rdi
je 0x140187550
movzx ebx, word [rsp + 0x100]
add rdi, 0x10
jmp 0x1401874bc
mov rsi, qword [rsp + 0x80]
mov r15d, dword [rsp + 0x8c]
jmp 0x14018738c
mov edi, r15d
mov rbp, qword [rsp + 0x68]
mov r14, qword [rsp + 0x70]
mov r15, qword [rsp + 0x60]
mov r13, qword [rsp + 0x3c0]
mov rax, qword [rbp + 0x38]
mov ecx, 1
xor r8d, r8d
mov word [rbp + 0x2c], cx
mov qword [rax], r14
mov dword [rbp + 0x28], 0x2000
mov word [rbp + 0x12], r8w
mov byte [rbp + 0x11], 0
mov qword [rbp + 0x18], 0
mov qword [rbp + 0x20], 0
test edi, edi
jne 0x14018767a
lea rbx, [rsp + 0xc0]
xor esi, esi
nop word [rax + rax]
movzx eax, word [rsp + 0xc0]
cmp eax, esi
jle 0x140187222
movzx eax, word [rbx + 0x10]
mov rdx, rbp
mov rcx, r13
add esi, 1
add rbx, 0x10
add eax, 1
mov word [rbp + 0x14], ax
movzx eax, word [rbx + 2]
mov word [rbp + 0x16], ax
mov rax, qword [rbx - 8]
mov qword [rbp], rax
call fcn.140154460
test eax, eax
je 0x1401875d0
mov r15d, eax
jmp 0x14018722e
xor r11d, r11d
mov edi, r15d
mov rbp, qword [rsp + 0x68]
mov r14, qword [rsp + 0x70]
mov word [rsp + 0xc0], r11w
mov r15, qword [rsp + 0x60]
mov r13, qword [rsp + 0x3c0]
jmp 0x140187582
mov eax, 1
xor edx, edx
mov word [rbp + 0x2c], ax
mov rax, qword [rbp + 0x38]
mov qword [rax], r14
mov dword [rbp + 0x28], 0x2000
mov word [rbp + 0x12], dx
mov byte [rbp + 0x11], 0
mov qword [rbp + 0x18], 0
mov qword [rbp + 0x20], 0
jmp 0x1401875bd
mov r15d, edi
jmp 0x14018722e