Function at 0x140012d70
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 0x140012fcb
add rax, rcx
movzx r8d, word [rax + 6]
test r8, r8
je 0x140012fcb
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 0x140012dde
add r10, 0x28
add r11, 0xffffffffffffffd8
je 0x140012fcb
mov edi, dword [r10 + 0xc]
mov esi, r9d
sub esi, edi
jb 0x140012dd0
add edi, dword [r10 + 8]
cmp edi, r9d
jbe 0x140012dd0
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 0x140012e1a
add rbx, 0x28
add rdi, 0xffffffffffffffd8
je 0x140012e34
mov ebp, dword [rbx + 0xc]
mov r10d, r11d
sub r10d, ebp
jb 0x140012e10
add ebp, dword [rbx + 8]
cmp ebp, r11d
jbe 0x140012e10
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 0x140012e5a
add r14, 0x28
add rbx, 0xffffffffffffffd8
je 0x140012e76
mov r11d, dword [r14 + 0xc]
mov r10d, edi
sub r10d, r11d
jb 0x140012e50
add r11d, dword [r14 + 8]
cmp r11d, edi
jbe 0x140012e50
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 0x140012e9a
add r14, 0x28
add rbx, 0xffffffffffffffd8
je 0x140012eb6
mov r11d, dword [r14 + 0xc]
mov r10d, edi
sub r10d, r11d
jb 0x140012e90
add r11d, dword [r14 + 8]
cmp r11d, edi
jbe 0x140012e90
add r10d, dword [r14 + 0x14]
mov rsi, r10
test r9d, r9d
je 0x140012fcb
mov qword [rsp], r12
mov qword [rsp + 8], r15
add rsi, rcx
lea r10, [r8 + r8*4]
xor edi, edi
movabs r14, 0x6572507465477845
jmp 0x140012eec
inc rdi
cmp rdi, r9
je 0x140012fcb
mov r11d, dword [rsi + rdi*4]
mov rbx, r10
mov r12, rax
jmp 0x140012f0a
add r12, 0x28
add rbx, 0xffffffffffffffd8
je 0x140012f29
mov r15d, dword [r12 + 0xc]
mov r13d, r11d
sub r13d, r15d
jb 0x140012f00
add r15d, dword [r12 + 8]
cmp r15d, r11d
jbe 0x140012f00
add r13d, dword [r12 + 0x14]
mov ebp, r13d
mov r11d, ebp
lea r12, [rcx + r11]
cmp byte [rcx + r11], 0
mov r11, r12
je 0x140012f4d
mov rbx, r12
nop dword [rax]
lea r11, [rbx + 1]
cmp byte [rbx + 1], 0
mov rbx, r11
jne 0x140012f40
sub r11, r12
cmp r11, 0x11
jne 0x140012ee0
cmp qword [r12], r14
jne 0x140012ee0
movabs r11, 0x646f4d73756f6976
cmp qword [r12 + 8], r11
jne 0x140012ee0
cmp byte [r12 + 0x10], 0x65
jne 0x140012ee0
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 0x140012fa2
add rax, 0x28
xor r8d, r8d
add r10, 0xffffffffffffffd8
je 0x140012fce
mov r11d, dword [rax + 0xc]
mov r8d, r9d
sub r8d, r11d
jb 0x140012f95
add r11d, dword [rax + 8]
cmp r11d, r9d
jbe 0x140012f95
add r8d, dword [rax + 0x14]
movabs rax, 0x18825048b4865
cmp qword [rcx + r8], rax
je 0x140012fe3
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
mov eax, dword [rcx + r8 + 8]
cmp eax, 0x80b60f00
je 0x140013017
movzx r9d, ax
cmp r9d, 0x8a00
jne 0x140012fcb
cmp byte [rcx + r8 + 0xf], 0xc3
jne 0x140012fcb
and eax, 0xff0000
cmp eax, 0x800000
jne 0x140012fcb
mov eax, 0xb
jmp 0x140013024
cmp byte [rcx + r8 + 0x10], 0xc3
jne 0x140012fcb
mov eax, 0xc
add rax, r8
mov eax, dword [rcx + rax]
mov dword [rdx], eax
mov r8b, 1
jmp 0x140012fce