Function at 0x5c8800
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, 0x3b8
mov r14, qword [rcx + 8]
mov rbp, qword [rcx + 0x18]
movsxd rax, dword [r14 + 0x14]
mov qword [rsp + 0x408], rdx
mov rdx, qword [rcx]
mov r13, rcx
shl rax, 6
add rax, qword [r14 + 0x20]
mov qword [rsp + 0x410], r8
mov qword [rsp + 0xc0], 0
mov rdi, rax
mov qword [rsp + 0xc8], 0
mov qword [rsp + 0xd0], 0
mov qword [rsp + 0xd8], 0
mov qword [rsp + 0xe0], 0
mov qword [rsp + 0xe8], 0
mov qword [rsp + 0xf0], 0
mov rcx, qword [rdx + 8]
movzx edx, byte [rbp + 0x10]
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 0x5c8903
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 0x5c88fa
mov rax, qword [r14 + 0x28]
mov rdx, qword [rax + 0x228]
test qword [rbp + 8], rdx
jne 0x5c8920
add r14, 0x40
cmp r15, r14
ja 0x5c88e2
xor r15d, r15d
mov eax, r15d
add rsp, 0x3b8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rsi, qword [rax + 0x20]
movsxd rax, dword [rax + 0x14]
movdqa xmm0, xmmword [r13]
movdqa xmm1, xmmword [r13 + 0x10]
shl rax, 6
movdqa xmm2, xmmword [r13 + 0x20]
lea rdi, [rsi + rax]
lea rax, [rsp + 0x100]
movaps xmmword [rsp + 0xa0], xmm1
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 0x5c8d04
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 + 0x400], r13
jmp 0x5c8a74
mov rax, qword [rsi + 0x28]
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]
mov edi, dword [rax + 0x54]
test edi, edi
je 0x5c8ad0
mov r8, qword [rsp + 0x410]
mov rdx, qword [rsp + 0x408]
mov rcx, r12
call fcn.005bf6f0
mov r15d, eax
test r15d, r15d
je 0x5c8aec
movzx ebx, word [rsp + 0x100]
test bx, bx
je 0x5c8cd9
mov r10d, dword [rsp + 0x88]
test r10d, r10d
je 0x5c8b10
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, 0x40
cmp qword [rsp + 0x48], rsi
jbe 0x5c8c30
test byte [rsi + 0x15], 4
jne 0x5c89c0
mov eax, dword [rsp + 0x3c]
cmp dword [rsi + 0x1c], eax
jne 0x5c8a65
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 0x5c89cc
mov rdx, qword [rsp + 0x408]
mov rcx, r12
call fcn.005c8020
mov r15d, eax
test r15d, r15d
jne 0x5c8a16
mov r8, qword [rsp + 0x410]
mov rdx, qword [rsp + 0x408]
mov rcx, r12
call fcn.005c8800
mov r15d, eax
jmp 0x5c8a16
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 0x5c8a65
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 0x5c8bfb
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.00596280
mov ecx, r12d
movsx edx, word [r15 + r11]
mov r10d, eax
call fcn.00596280
mov rcx, rsi
mov rdx, qword [rdi + r11]
movsx r9d, r10w
movsx r8d, ax
or rdx, rbp
call fcn.0058d5e0
movzx eax, word [rsp + 0x100]
cmp eax, ebx
jg 0x5c8bab
mov rdi, qword [rsp + 0x50]
cmp qword [rsp + 0x58], rdi
je 0x5c8c18
movzx ebx, word [rsp + 0x100]
add rdi, 0x10
jmp 0x5c8b84
mov rsi, qword [rsp + 0x80]
mov r15d, dword [rsp + 0x8c]
jmp 0x5c8a65
mov edi, r15d
mov rbp, qword [rsp + 0x68]
mov r14, qword [rsp + 0x70]
mov r15, qword [rsp + 0x60]
mov r13, qword [rsp + 0x400]
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 0x5c8d3a
lea rbx, [rsp + 0xc0]
xor esi, esi
nop
movzx eax, word [rsp + 0xc0]
cmp eax, esi
jle 0x5c88fa
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.0059f310
test eax, eax
je 0x5c8c90
mov r15d, eax
jmp 0x5c8906
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 + 0x400]
jmp 0x5c8c4a
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 0x5c8c85
mov r15d, edi
jmp 0x5c8906