Function at 0x140012630
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 0x14001287f
add rax, rcx
movzx r8d, word [rax + 6]
test r8, r8
je 0x14001287f
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 0x14001269e
add r10, 0x28
add r11, 0xffffffffffffffd8
je 0x14001287f
mov edi, dword [r10 + 0xc]
mov esi, r9d
sub esi, edi
jb 0x140012690
add edi, dword [r10 + 8]
cmp edi, r9d
jbe 0x140012690
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 0x1400126da
add rbx, 0x28
add rdi, 0xffffffffffffffd8
je 0x1400126f6
mov r10d, dword [rbx + 0xc]
mov r14d, r11d
sub r14d, r10d
jb 0x1400126d0
add r10d, dword [rbx + 8]
cmp r10d, r11d
jbe 0x1400126d0
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 0x14001271a
add r14, 0x28
add rbx, 0xffffffffffffffd8
je 0x140012736
mov r10d, dword [r14 + 0xc]
mov r15d, edi
sub r15d, r10d
jb 0x140012710
add r10d, dword [r14 + 8]
cmp r10d, edi
jbe 0x140012710
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 0x14001275a
add r14, 0x28
add rbx, 0xffffffffffffffd8
je 0x140012776
mov r10d, dword [r14 + 0xc]
mov r15d, edi
sub r15d, r10d
jb 0x140012750
add r10d, dword [r14 + 8]
cmp r10d, edi
jbe 0x140012750
add r15d, dword [r14 + 0x14]
mov rsi, r15
test r9d, r9d
je 0x14001287f
mov qword [rsp], r11
mov qword [rsp + 8], r12
add rsi, rcx
lea rbx, [r8 + r8*4]
xor edi, edi
movabs r14, 0x7268547465477350
jmp 0x1400127ac
inc rdi
cmp rdi, r9
je 0x14001287f
mov r10d, dword [rsi + rdi*4]
mov r13, rbx
mov r15, rax
jmp 0x1400127ca
add r15, 0x28
add r13, 0xffffffffffffffd8
je 0x1400127e6
mov r11d, dword [r15 + 0xc]
mov r12d, r10d
sub r12d, r11d
jb 0x1400127c0
add r11d, dword [r15 + 8]
cmp r11d, r10d
jbe 0x1400127c0
add r12d, dword [r15 + 0x14]
mov ebp, r12d
mov r10d, ebp
lea r15, [rcx + r10]
cmp byte [rcx + r10], 0
mov r10, r15
je 0x14001280e
mov r11, r15
nop word [rax + rax]
lea r10, [r11 + 1]
cmp byte [r11 + 1], 0
mov r11, r10
jne 0x140012800
sub r10, r15
cmp r10, 0xd
jne 0x1400127a0
cmp qword [r15], r14
jne 0x1400127a0
cmp dword [r15 + 8], 0x49646165
jne 0x1400127a0
cmp byte [r15 + 0xc], 0x64
jne 0x1400127a0
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 0x14001285a
add rax, 0x28
xor r8d, r8d
add r10, 0xffffffffffffffd8
je 0x140012882
mov r11d, dword [rax + 0xc]
mov r8d, r9d
sub r8d, r11d
jb 0x14001284d
add r11d, dword [rax + 8]
cmp r11d, r9d
jbe 0x14001284d
add r8d, dword [rax + 0x14]
movzx eax, word [rcx + r8]
cmp eax, 0x8b48
je 0x140012897
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 0x14001287f
cmp byte [rcx + r8 + 2], 0x81
jne 0x14001287f
mov eax, dword [r8 + rcx + 3]
mov dword [rdx], eax
mov r8b, 1
jmp 0x140012882