Function at 0x1400128c0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x10
mov eax, dword [rcx + 0x3c]
cmp dword [rcx + rax + 0x8c], 0
je 0x140012b1a
add rax, rcx
movzx r8d, word [rax + 6]
test r8, r8
je 0x140012b1a
mov r9d, dword [rax + 0x88]
movzx r10d, word [rax + 0x14]
add rax, r10
add rax, 0x18
shl r8, 3
lea r11, [r8 + r8*4]
mov r10, rax
jmp 0x14001292e
add r10, 0x28
add r11, 0xffffffffffffffd8
je 0x140012b1a
mov edi, dword [r10 + 0xc]
mov esi, r9d
sub esi, edi
jb 0x140012920
add edi, dword [r10 + 8]
cmp edi, r9d
jbe 0x140012920
add esi, dword [r10 + 0x14]
mov r9d, dword [rcx + rsi + 0x18]
mov r11d, dword [rcx + rsi + 0x1c]
lea rdi, [r8 + r8*4]
xor r15d, r15d
mov rbx, rax
jmp 0x14001296a
add rbx, 0x28
add rdi, 0xffffffffffffffd8
je 0x140012984
mov ebp, dword [rbx + 0xc]
mov r10d, r11d
sub r10d, ebp
jb 0x140012960
add ebp, dword [rbx + 8]
cmp ebp, r11d
jbe 0x140012960
add r10d, dword [rbx + 0x14]
mov r15, r10
add r15, rcx
mov edi, dword [rcx + rsi + 0x24]
lea rbx, [r8 + r8*4]
xor r12d, r12d
mov r14, rax
jmp 0x1400129aa
add r14, 0x28
add rbx, 0xffffffffffffffd8
je 0x1400129c6
mov r11d, dword [r14 + 0xc]
mov r10d, edi
sub r10d, r11d
jb 0x1400129a0
add r11d, dword [r14 + 8]
cmp r11d, edi
jbe 0x1400129a0
add r10d, dword [r14 + 0x14]
mov r12, r10
add r12, rcx
mov edi, dword [rcx + rsi + 0x20]
lea rbx, [r8 + r8*4]
xor esi, esi
mov r14, rax
jmp 0x1400129ea
add r14, 0x28
add rbx, 0xffffffffffffffd8
je 0x140012a06
mov r11d, dword [r14 + 0xc]
mov r10d, edi
sub r10d, r11d
jb 0x1400129e0
add r11d, dword [r14 + 8]
cmp r11d, edi
jbe 0x1400129e0
add r10d, dword [r14 + 0x14]
mov rsi, r10
test r9d, r9d
je 0x140012b1a
mov qword [rsp], r12
mov qword [rsp + 8], r15
add rsi, rcx
lea r10, [r8 + r8*4]
xor edi, edi
movabs r14, 0x7268547465477350
jmp 0x140012a3c
inc rdi
cmp rdi, r9
je 0x140012b1a
mov r11d, dword [rsi + rdi*4]
mov rbx, r10
mov r12, rax
jmp 0x140012a5a
add r12, 0x28
add rbx, 0xffffffffffffffd8
je 0x140012a79
mov r15d, dword [r12 + 0xc]
mov r13d, r11d
sub r13d, r15d
jb 0x140012a50
add r15d, dword [r12 + 8]
cmp r15d, r11d
jbe 0x140012a50
add r13d, dword [r12 + 0x14]
mov ebp, r13d
mov r11d, ebp
lea r12, [rcx + r11]
cmp byte [rcx + r11], 0
mov r11, r12
je 0x140012a9d
mov rbx, r12
nop dword [rax]
lea r11, [rbx + 1]
cmp byte [rbx + 1], 0
mov rbx, r11
jne 0x140012a90
sub r11, r12
cmp r11, 0x14
jne 0x140012a30
cmp qword [r12], r14
jne 0x140012a30
movabs r11, 0x65636f7250646165
cmp qword [r12 + 8], r11
jne 0x140012a30
cmp dword [r12 + 0x10], 0x64497373
jne 0x140012a30
mov r9, qword [rsp]
movzx r9d, word [r9 + rdi*2]
mov r10, qword [rsp + 8]
mov r9d, dword [r10 + r9*4]
lea r10, [r8 + r8*4]
jmp 0x140012af5
add rax, 0x28
xor r8d, r8d
add r10, 0xffffffffffffffd8
je 0x140012b1d
mov r11d, dword [rax + 0xc]
mov r8d, r9d
sub r8d, r11d
jb 0x140012ae8
add r11d, dword [rax + 8]
cmp r11d, r9d
jbe 0x140012ae8
add r8d, dword [rax + 0x14]
movzx eax, word [rcx + r8]
cmp eax, 0x8b48
je 0x140012b32
xor r8d, r8d
mov byte [rdx + 4], r8b
add rsp, 0x10
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp byte [rcx + r8 + 7], 0xc3
jne 0x140012b1a
cmp byte [rcx + r8 + 2], 0x81
jne 0x140012b1a
mov eax, dword [r8 + rcx + 3]
mov dword [rdx], eax
mov r8b, 1
jmp 0x140012b1d