Function at 0x140012ae0
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 0x140012d36
add rax, rcx
movzx r8d, word [rax + 6]
test r8, r8
je 0x140012d36
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 0x140012b4e
add r10, 0x28
add r11, 0xffffffffffffffd8
je 0x140012d36
mov edi, dword [r10 + 0xc]
mov esi, r9d
sub esi, edi
jb 0x140012b40
add edi, dword [r10 + 8]
cmp edi, r9d
jbe 0x140012b40
add esi, dword [r10 + 0x14]
mov r9d, dword [rcx + rsi + 0x18]
mov r11d, dword [rcx + rsi + 0x1c]
lea rdi, [r8 + r8*4]
xor r12d, r12d
mov rbx, rax
jmp 0x140012b8a
add rbx, 0x28
add rdi, 0xffffffffffffffd8
je 0x140012ba6
mov r10d, dword [rbx + 0xc]
mov r14d, r11d
sub r14d, r10d
jb 0x140012b80
add r10d, dword [rbx + 8]
cmp r10d, r11d
jbe 0x140012b80
add r14d, dword [rbx + 0x14]
mov r12, r14
add r12, rcx
mov edi, dword [rcx + rsi + 0x24]
lea rbx, [r8 + r8*4]
xor r11d, r11d
mov r14, rax
jmp 0x140012bca
add r14, 0x28
add rbx, 0xffffffffffffffd8
je 0x140012be6
mov r10d, dword [r14 + 0xc]
mov r15d, edi
sub r15d, r10d
jb 0x140012bc0
add r10d, dword [r14 + 8]
cmp r10d, edi
jbe 0x140012bc0
add r15d, dword [r14 + 0x14]
mov r11, r15
add r11, rcx
mov edi, dword [rcx + rsi + 0x20]
lea rbx, [r8 + r8*4]
xor esi, esi
mov r14, rax
jmp 0x140012c0a
add r14, 0x28
add rbx, 0xffffffffffffffd8
je 0x140012c26
mov r10d, dword [r14 + 0xc]
mov r15d, edi
sub r15d, r10d
jb 0x140012c00
add r10d, dword [r14 + 8]
cmp r10d, edi
jbe 0x140012c00
add r15d, dword [r14 + 0x14]
mov rsi, r15
test r9d, r9d
je 0x140012d36
mov qword [rsp], r11
mov qword [rsp + 8], r12
add rsi, rcx
lea rbx, [r8 + r8*4]
xor edi, edi
movabs r14, 0x7268547465477350
jmp 0x140012c5c
inc rdi
cmp rdi, r9
je 0x140012d36
mov r10d, dword [rsi + rdi*4]
mov r13, rbx
mov r15, rax
jmp 0x140012c7a
add r15, 0x28
add r13, 0xffffffffffffffd8
je 0x140012c96
mov r11d, dword [r15 + 0xc]
mov r12d, r10d
sub r12d, r11d
jb 0x140012c70
add r11d, dword [r15 + 8]
cmp r11d, r10d
jbe 0x140012c70
add r12d, dword [r15 + 0x14]
mov ebp, r12d
mov r10d, ebp
lea r15, [rcx + r10]
cmp byte [rcx + r10], 0
mov r10, r15
je 0x140012cbe
mov r11, r15
nop word [rax + rax]
lea r10, [r11 + 1]
cmp byte [r11 + 1], 0
mov r11, r10
jne 0x140012cb0
sub r10, r15
cmp r10, 0xe
jne 0x140012c50
cmp qword [r15], r14
jne 0x140012c50
cmp dword [r15 + 8], 0x54646165
jne 0x140012c50
movzx r10d, word [r15 + 0xc]
cmp r10d, 0x6265
jne 0x140012c50
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 0x140012d11
add rax, 0x28
xor r8d, r8d
add r10, 0xffffffffffffffd8
je 0x140012d39
mov r11d, dword [rax + 0xc]
mov r8d, r9d
sub r8d, r11d
jb 0x140012d04
add r11d, dword [rax + 8]
cmp r11d, r9d
jbe 0x140012d04
add r8d, dword [rax + 0x14]
movzx eax, word [rcx + r8]
cmp eax, 0x8b48
je 0x140012d4e
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 0x140012d36
cmp byte [rcx + r8 + 2], 0x81
jne 0x140012d36
mov eax, dword [r8 + rcx + 3]
mov dword [rdx], eax
mov r8b, 1
jmp 0x140012d39