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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x78
mov r11, qword [rdx]
mov rbx, rdx
mov rsi, qword [rcx + 0x10]
xor edi, edi
movsxd r10, r9d
mov r13, r8
mov rbp, rcx
mov qword [rsp + 0x58], r11
movzx edx, byte [r11]
mov r15d, 0x400
mov r14d, 0x800
lea eax, [rdx - 0x2d]
test al, 0xf7
je 0x14005c531
cmp dl, 0x32
jne 0x14005be7b
mov ebp, dword [rsp + 0xe8]
lea edx, [rdi + 0x4b]
mov r9d, ebp
xor r8d, r8d
mov rcx, rsi
call fcn.1400c4cb0
jmp 0x14005c4de
mov r12, qword [r8 + 0x60]
mov r14d, edi
mov dword [rsp + 0x38], 5
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], rdi
test dword [r12 + 0x38], r15d
jne 0x14005bebd
mov rax, qword [r12 + 0x20]
test rax, rax
je 0x14005bebd
mov rax, qword [rax + 0x38]
cmp byte [r10 + rax], dil
je 0x14005bebd
cmp dword [rsp + 0xe0], edi
mov eax, edi
sete al
jmp 0x14005bec4
mov eax, dword [rsp + 0xe0]
mov r15d, dword [rsp + 0xe8]
mov r8, r10
mov dword [rsp + 0x3c], eax
test r9d, r9d
jle 0x14005befa
mov rdx, qword [r12 + 0x48]
mov rax, rdi
mov rcx, qword [rdx + rax*8]
test rcx, rcx
je 0x14005bef2
cmp qword [rcx], r11
je 0x14005bf97
inc rax
cmp rax, r10
jl 0x14005bee0
movzx ecx, word [r12 + 0x3c]
cmp r10d, ecx
jge 0x14005bf3b
mov rax, qword [r12 + 0x48]
sub ecx, r10d
lea rdx, [rax + r8*8]
mov r8d, ecx
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rdx]
lea ecx, [r14 + 1]
lea rdx, [rdx + 8]
cmp qword [rax], r11
cmovne ecx, r14d
mov r14d, ecx
sub r8, 1
jne 0x14005bf20
mov edx, dword [r11 + 4]
mov dword [rsp + 0x34], edi
mov dword [rsp + 0x30], edi
bt edx, 0xc
jae 0x14005c0ed
mov rax, qword [r11 + 0x20]
mov rcx, qword [rax + 0x20]
cmp dword [rcx], 1
je 0x14005c0ed
cmp dword [r11 + 0x2c], edi
je 0x14005c00c
bt edx, 0x19
jae 0x14005c00c
mov rcx, qword [rsp + 0xc0]
movsxd rbp, r14d
shl rbp, 2
mov rcx, qword [rcx]
test rcx, rcx
je 0x14005bfaa
mov rdx, rbp
call fcn.140096c00
jmp 0x14005bfb2
mov rdx, rbx
mov rcx, r13
call fcn.1400616e0
mov eax, r15d
jmp 0x14005c572
mov rcx, rbp
call fcn.1400ac550
mov qword [rsp + 0x40], rax
mov r15, rax
test rax, rax
je 0x14005bfcc
mov r8, rbp
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov rdx, qword [rsp + 0x58]
lea rax, [rsp + 0x30]
mov rbp, qword [rsp + 0xc0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
mov r8d, 4
xor r9d, r9d
mov rcx, rbp
call fcn.1400a0290
mov r8d, dword [rsp + 0x30]
mov dword [rsp + 0x34], r8d
mov dword [rsp + 0x38], eax
jmp 0x14005c0d7
mov r8, qword [rsp + 0x48]
mov r9, r11
mov r12, qword [rbp]
mov edx, r10d
mov rcx, rbp
call fcn.1400806a0
mov r15, rax
cmp byte [r12 + 0x67], dil
jne 0x14005c0b8
mov rcx, qword [rsp + 0xc0]
movsxd rbp, r14d
shl rbp, 2
mov rcx, qword [rcx]
test rcx, rcx
je 0x14005c052
mov rdx, rbp
call fcn.140096c00
jmp 0x14005c05a
mov rcx, rbp
call fcn.1400ac550
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14005c076
mov r8, rbp
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x40]
mov rbp, qword [rsp + 0xc0]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x28], rcx
xor r9d, r9d
mov rdx, r15
mov qword [rsp + 0x20], rax
mov rcx, rbp
lea r8d, [r9 + 4]
call fcn.1400a0290
mov r8d, dword [rsp + 0x30]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x58]
mov dword [rsp + 0x34], r8d
mov dword [rax + 0x2c], r8d
jmp 0x14005c0bd
mov r8d, dword [rsp + 0x34]
test r15, r15
je 0x14005c0d2
mov rdx, r15
mov rcx, r12
call fcn.14009e350
mov r8d, dword [rsp + 0x34]
mov r12, qword [rsp + 0x48]
cmp dword [rsp + 0x38], 4
jne 0x14005c104
cmp dword [rsp + 0x3c], edi
mov eax, edi
sete al
mov dword [rsp + 0x3c], eax
jmp 0x14005c108
lea rax, [rsp + 0x30]
mov rdx, r11
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
jmp 0x14005bfe8
mov eax, dword [rsp + 0x3c]
test eax, eax
mov ecx, 0x1f
mov edx, 0x23
cmovne edx, ecx
movsxd rcx, dword [rsi + 0x90]
cmp dword [rsi + 0x94], ecx
jg 0x14005c137
xor r9d, r9d
mov dword [rsp + 0x20], edi
mov rcx, rsi
call fcn.14006e5e0
jmp 0x14005c167
lea eax, [rcx + 1]
mov dword [rsi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rsi + 0x88]
mov byte [rax + rcx*8], dl
mov word [rax + rcx*8 + 2], di
mov dword [rax + rcx*8 + 4], r8d
mov qword [rax + rcx*8 + 8], rdi
mov qword [rax + rcx*8 + 0x10], rdi
mov byte [rax + rcx*8 + 1], dil
or dword [r12 + 0x38], 0x800
cmp dword [r13 + 0x50], edi
jne 0x14005c180
dec dword [rbp + 0x44]
mov eax, dword [rbp + 0x44]
mov dword [r13 + 0x10], eax
cmp dword [rsp + 0xd8], edi
jle 0x14005c19d
mov eax, dword [r12 + 0x38]
bt eax, 0x14
jb 0x14005c19d
bts eax, 0x12
mov dword [r12 + 0x38], eax
movsxd r12, dword [r13 + 0x50]
mov rbp, qword [rsp + 0xd0]
lea eax, [r12 + r14]
mov rbp, qword [rbp + 0x58]
mov dword [r13 + 0x50], eax
cdqe
lea r13, [rax + rax*4]
mov rax, qword [rbx + 8]
shl r13, 2
mov r15, qword [rax]
lea rdx, [r13 + 0x10]
mov rcx, qword [r15]
mov rcx, qword [rcx]
call fcn.140096c00
mov r14, rax
test rax, rax
je 0x14005c1f0
mov rax, qword [r15 + 0x70]
mov qword [r14], rax
mov qword [r14 + 8], r13
mov qword [r15 + 0x70], r14
add r14, 0x10
test r14, r14
je 0x14005c217
test rbp, rbp
je 0x14005c217
mov r8, qword [rbp - 8]
mov rdx, rbp
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
mov r13, qword [rsp + 0xd0]
mov qword [r13 + 0x58], r14
jmp 0x14005c22c
mov r13, qword [rsp + 0xd0]
mov qword [r13 + 0x58], r14
test r14, r14
je 0x14005c4aa
mov r10, qword [rsp + 0x48]
lea rcx, [r12 + r12*4]
movsxd r12, dword [rsp + 0xd8]
movzx eax, word [r10 + 0x3c]
cmp r12d, eax
jge 0x14005c440
mov r11, qword [rsp + 0x40]
lea r14, [r14 + rcx*4]
mov ecx, dword [rsp + 0xe8]
lea r8, [r12*8]
mov r15d, dword [rsp + 0x34]
mov edx, ecx
mov r13, qword [rsp + 0x58]
sub edx, r12d
add r14, 0x10
mov dword [rsp + 0x30], edx
mov ebx, r12d
mov qword [rsp + 0x68], r8
sub ebx, ecx
mov qword [rsp + 0x60], r11
mov r9, r11
mov ebp, ecx
nop
mov rax, qword [r10 + 0x48]
mov rcx, qword [r8 + rax]
cmp qword [rcx], r13
jne 0x14005c40f
cmp dword [rsp + 0x38], 1
jne 0x14005c2fa
movsxd rdx, dword [rsi + 0x90]
cmp dword [rsi + 0x94], edx
jg 0x14005c2d5
mov r9d, ebp
mov dword [rsp + 0x20], edi
mov r8d, r15d
mov edx, 0x87
mov rcx, rsi
call fcn.14006e5e0
mov edx, eax
jmp 0x14005c368
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rsi + 0x90], eax
mov rax, qword [rsi + 0x88]
mov dword [rax + rcx*8], 0x87
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], edi
jmp 0x14005c35e
test r11, r11
je 0x14005c30d
mov r8d, dword [r9]
add r9, 4
mov qword [rsp + 0x60], r9
jmp 0x14005c310
mov r8d, edi
movsxd rdx, dword [rsi + 0x90]
cmp dword [rsi + 0x94], edx
jg 0x14005c33a
mov r9d, r8d
mov dword [rsp + 0x20], ebp
mov r8d, r15d
mov edx, 0x5e
mov rcx, rsi
call fcn.14006e5e0
mov edx, eax
jmp 0x14005c368
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rsi + 0x90], eax
mov rax, qword [rsi + 0x88]
mov dword [rax + rcx*8], 0x5e
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rdi
mov dword [rax + rcx*8 + 4], r15d
mov dword [r14 - 0xc], edx
movsxd rcx, dword [rsi + 0x90]
cmp dword [rsi + 0x94], ecx
jg 0x14005c393
xor r9d, r9d
mov dword [rsp + 0x20], edi
mov r8d, ebp
mov rcx, rsi
lea edx, [r9 + 0x32]
call fcn.14006e5e0
jmp 0x14005c3bc
lea eax, [rcx + 1]
mov dword [rsi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rsi + 0x88]
mov dword [rax + rcx*8], 0x32
mov dword [rax + rcx*8 + 4], ebp
mov qword [rax + rcx*8 + 8], rdi
mov qword [rax + rcx*8 + 0x10], rdi
lea ecx, [rbx + rbp]
cmp ecx, r12d
jne 0x14005c3ef
cmp dword [rsp + 0x3c], edi
mov dword [r14 - 0x10], r15d
sete al
add al, 0x25
mov byte [r14], al
test r12d, r12d
jle 0x14005c3e7
mov eax, dword [rsp + 0x30]
mov dword [r14 - 8], eax
mov dword [r14 - 4], ecx
jmp 0x14005c3f3
mov ecx, edi
mov dword [r14 - 4], ecx
jmp 0x14005c3f3
mov byte [r14], 0xb8
mov edx, dword [rsp + 0x30]
add r14, 0x14
mov r9, qword [rsp + 0x60]
mov r8, qword [rsp + 0x68]
mov r10, qword [rsp + 0x48]
mov r11, qword [rsp + 0x40]
movzx eax, word [r10 + 0x3c]
inc ebp
dec edx
add r8, 8
mov dword [rsp + 0x30], edx
mov qword [rsp + 0x68], r8
lea ecx, [rbx + rbp]
cmp ecx, eax
jl 0x14005c290
mov rbx, qword [rsp + 0xc8]
mov r13, qword [rsp + 0xd0]
test r12d, r12d
jle 0x14005c4ae
test dword [r10 + 0x38], 0x100400
jne 0x14005c4ae
movsxd rcx, dword [rsi + 0x90]
mov edx, dword [r13 + 8]
cmp dword [rsi + 0x94], ecx
jg 0x14005c47b
xor r9d, r9d
mov dword [rsp + 0x20], r12d
mov r8d, edx
mov rcx, rsi
lea edx, [r9 + 0x7d]
call fcn.14006e5e0
jmp 0x14005c4ae
lea eax, [rcx + 1]
mov dword [rsi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rsi + 0x88]
mov dword [rax + rcx*8], 0x7d
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], edi
mov dword [rax + rcx*8 + 0xc], r12d
mov qword [rax + rcx*8 + 0x10], rdi
jmp 0x14005c4ae
mov dword [r13 + 0x50], edi
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x14005c4cb
mov rcx, qword [rsp + 0xc0]
mov rdx, rax
mov rcx, qword [rcx]
call fcn.140096a70
mov ebp, dword [rsp + 0xe8]
mov r14d, 0x800
mov r15d, 0x400
mov rcx, qword [r13 + 0x60]
test dword [rcx + 0x38], 0x200000
je 0x14005c4f2
test word [rbx + 0x14], r14w
jne 0x14005c570
test byte [rbx + 0x12], 4
jne 0x14005c570
mov edx, 0x200
nop dword [rax]
cmp dword [r13], 0
je 0x14005c510
mov rax, qword [rbx]
test byte [rax + 4], 1
je 0x14005c570
mov rax, qword [rbx + 0x30]
test qword [r13 + 0x68], rax
jne 0x14005c570
test edi, edi
je 0x14005c546
movzx eax, word [rbx + 0x12]
test r15w, ax
je 0x14005c546
or ax, dx
mov word [rbx + 0x12], ax
jmp 0x14005c54b
mov r8d, dword [rsp + 0xe8]
mov rdx, qword [r11 + 0x18]
call fcn.14009c2d0
mov ebp, eax
jmp 0x14005c4de
or word [rbx + 0x12], 4
movsxd rax, dword [rbx + 0x18]
test eax, eax
js 0x14005c570
imul rcx, rax, 0x38
mov rax, qword [rbx + 8]
add rcx, qword [rax + 0x20]
mov rbx, rcx
add byte [rcx + 0x16], 0xff
jne 0x14005c570
inc edi
test byte [rcx + 0x12], 4
je 0x14005c500
mov eax, ebp
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret