Function at 0x1400125c0
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 0x14001280f
add rax, rcx
movzx r8d, word [rax + 6]
test r8, r8
je 0x14001280f
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 0x14001262e
add r10, 0x28
add r11, 0xffffffffffffffd8
je 0x14001280f
mov edi, dword [r10 + 0xc]
mov esi, r9d
sub esi, edi
jb 0x140012620
add edi, dword [r10 + 8]
cmp edi, r9d
jbe 0x140012620
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 0x14001266a
add rbx, 0x28
add rdi, 0xffffffffffffffd8
je 0x140012686
mov r10d, dword [rbx + 0xc]
mov r14d, r11d
sub r14d, r10d
jb 0x140012660
add r10d, dword [rbx + 8]
cmp r10d, r11d
jbe 0x140012660
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 0x1400126aa
add r14, 0x28
add rbx, 0xffffffffffffffd8
je 0x1400126c6
mov r10d, dword [r14 + 0xc]
mov r15d, edi
sub r15d, r10d
jb 0x1400126a0
add r10d, dword [r14 + 8]
cmp r10d, edi
jbe 0x1400126a0
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 0x1400126ea
add r14, 0x28
add rbx, 0xffffffffffffffd8
je 0x140012706
mov r10d, dword [r14 + 0xc]
mov r15d, edi
sub r15d, r10d
jb 0x1400126e0
add r10d, dword [r14 + 8]
cmp r10d, edi
jbe 0x1400126e0
add r15d, dword [r14 + 0x14]
mov rsi, r15
test r9d, r9d
je 0x14001280f
mov qword [rsp], r11
mov qword [rsp + 8], r12
add rsi, rcx
lea rbx, [r8 + r8*4]
xor edi, edi
movabs r14, 0x7268547465477350
jmp 0x14001273c
inc rdi
cmp rdi, r9
je 0x14001280f
mov r10d, dword [rsi + rdi*4]
mov r13, rbx
mov r15, rax
jmp 0x14001275a
add r15, 0x28
add r13, 0xffffffffffffffd8
je 0x140012776
mov r11d, dword [r15 + 0xc]
mov r12d, r10d
sub r12d, r11d
jb 0x140012750
add r11d, dword [r15 + 8]
cmp r11d, r10d
jbe 0x140012750
add r12d, dword [r15 + 0x14]
mov ebp, r12d
mov r10d, ebp
lea r15, [rcx + r10]
cmp byte [rcx + r10], 0
mov r10, r15
je 0x14001279e
mov r11, r15
nop word [rax + rax]
lea r10, [r11 + 1]
cmp byte [r11 + 1], 0
mov r11, r10
jne 0x140012790
sub r10, r15
cmp r10, 0xd
jne 0x140012730
cmp qword [r15], r14
jne 0x140012730
cmp dword [r15 + 8], 0x49646165
jne 0x140012730
cmp byte [r15 + 0xc], 0x64
jne 0x140012730
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 0x1400127ea
add rax, 0x28
xor r8d, r8d
add r10, 0xffffffffffffffd8
je 0x140012812
mov r11d, dword [rax + 0xc]
mov r8d, r9d
sub r8d, r11d
jb 0x1400127dd
add r11d, dword [rax + 8]
cmp r11d, r9d
jbe 0x1400127dd
add r8d, dword [rax + 0x14]
movzx eax, word [rcx + r8]
cmp eax, 0x8b48
je 0x140012827
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 0x14001280f
cmp byte [rcx + r8 + 2], 0x81
jne 0x14001280f
mov eax, dword [r8 + rcx + 3]
mov dword [rdx], eax
mov r8b, 1
jmp 0x140012812