Function at 0x140012850
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 0x140012aaa
add rax, rcx
movzx r8d, word [rax + 6]
test r8, r8
je 0x140012aaa
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 0x1400128be
add r10, 0x28
add r11, 0xffffffffffffffd8
je 0x140012aaa
mov edi, dword [r10 + 0xc]
mov esi, r9d
sub esi, edi
jb 0x1400128b0
add edi, dword [r10 + 8]
cmp edi, r9d
jbe 0x1400128b0
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 0x1400128fa
add rbx, 0x28
add rdi, 0xffffffffffffffd8
je 0x140012914
mov ebp, dword [rbx + 0xc]
mov r10d, r11d
sub r10d, ebp
jb 0x1400128f0
add ebp, dword [rbx + 8]
cmp ebp, r11d
jbe 0x1400128f0
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 0x14001293a
add r14, 0x28
add rbx, 0xffffffffffffffd8
je 0x140012956
mov r11d, dword [r14 + 0xc]
mov r10d, edi
sub r10d, r11d
jb 0x140012930
add r11d, dword [r14 + 8]
cmp r11d, edi
jbe 0x140012930
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 0x14001297a
add r14, 0x28
add rbx, 0xffffffffffffffd8
je 0x140012996
mov r11d, dword [r14 + 0xc]
mov r10d, edi
sub r10d, r11d
jb 0x140012970
add r11d, dword [r14 + 8]
cmp r11d, edi
jbe 0x140012970
add r10d, dword [r14 + 0x14]
mov rsi, r10
test r9d, r9d
je 0x140012aaa
mov qword [rsp], r12
mov qword [rsp + 8], r15
add rsi, rcx
lea r10, [r8 + r8*4]
xor edi, edi
movabs r14, 0x7268547465477350
jmp 0x1400129cc
inc rdi
cmp rdi, r9
je 0x140012aaa
mov r11d, dword [rsi + rdi*4]
mov rbx, r10
mov r12, rax
jmp 0x1400129ea
add r12, 0x28
add rbx, 0xffffffffffffffd8
je 0x140012a09
mov r15d, dword [r12 + 0xc]
mov r13d, r11d
sub r13d, r15d
jb 0x1400129e0
add r15d, dword [r12 + 8]
cmp r15d, r11d
jbe 0x1400129e0
add r13d, dword [r12 + 0x14]
mov ebp, r13d
mov r11d, ebp
lea r12, [rcx + r11]
cmp byte [rcx + r11], 0
mov r11, r12
je 0x140012a2d
mov rbx, r12
nop dword [rax]
lea r11, [rbx + 1]
cmp byte [rbx + 1], 0
mov rbx, r11
jne 0x140012a20
sub r11, r12
cmp r11, 0x14
jne 0x1400129c0
cmp qword [r12], r14
jne 0x1400129c0
movabs r11, 0x65636f7250646165
cmp qword [r12 + 8], r11
jne 0x1400129c0
cmp dword [r12 + 0x10], 0x64497373
jne 0x1400129c0
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 0x140012a85
add rax, 0x28
xor r8d, r8d
add r10, 0xffffffffffffffd8
je 0x140012aad
mov r11d, dword [rax + 0xc]
mov r8d, r9d
sub r8d, r11d
jb 0x140012a78
add r11d, dword [rax + 8]
cmp r11d, r9d
jbe 0x140012a78
add r8d, dword [rax + 0x14]
movzx eax, word [rcx + r8]
cmp eax, 0x8b48
je 0x140012ac2
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 0x140012aaa
cmp byte [rcx + r8 + 2], 0x81
jne 0x140012aaa
mov eax, dword [r8 + rcx + 3]
mov dword [rdx], eax
mov r8b, 1
jmp 0x140012aad