Function at 0x140027ae0
Capabilities:
Enumerate pe sections
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rsi, qword [rsp + 0x88]
mov ebx, edx
xor edx, edx
mov ebp, r8d
mov rdi, rcx
mov rcx, rsi
lea r8d, [rdx + 0x50]
call sub.msvcrt.dll_memset
lea rax, [0x14000c810]
mov qword [rsi], rdi
mov qword [rsi + 0x40], rax
xor r13d, r13d
mov rax, qword [rsp + 0x78]
mov qword [rsi + 0x48], rax
mov dword [rsi + 0x20], ebx
mov dword [rsi + 0x2c], ebp
test rdi, rdi
je 0x140027e72
cmp ebp, ebx
cmovbe ebx, ebp
mov ecx, ebx
lea r15, [rbx + rdi]
cmp r15, rdi
jb 0x140027e72
cmp ecx, 0x40
jb 0x140027c2d
mov eax, 0x5a4d
mov r9d, 0x108
mov r8d, 0x4550
cmp word [rdi], ax
je 0x140027b89
cmp word [rdi], r8w
jne 0x140027c2d
mov qword [rsi + 8], rdi
mov rbx, rdi
jmp 0x140027bc6
mov edx, dword [rdi + 0x3c]
test edx, edx
je 0x140027c2d
cmp edx, ecx
ja 0x140027c2d
mov eax, ecx
sub eax, edx
cmp eax, r9d
jbe 0x140027c2d
lea rbx, [rdi + rdx]
lea rax, [rbx + 0x108]
mov qword [rsi + 8], rbx
cmp rax, r15
ja 0x140027c2d
lea rax, [rdi + 0x40]
cmp rbx, rax
jb 0x140027c2d
mov rax, rbx
sub rax, rdi
add rax, r9
cmp rax, rcx
ja 0x140027e72
cmp dword [rbx], r8d
jne 0x140027c2d
cmp word [rbx + 0x14], r13w
je 0x140027c2d
test byte [rbx + 0x14], 7
jne 0x140027c2d
movzx edx, word [rbx + 4]
mov eax, 0x3a64
mov r8d, 0x14c
cmp dx, ax
jne 0x140027c01
mov edx, r8d
movzx ecx, dx
sub ecx, r8d
je 0x140027c3e
sub ecx, 0x74
je 0x140027c3e
sub ecx, 2
je 0x140027c3e
sub ecx, 2
je 0x140027c3e
sub ecx, 0x3c
je 0x140027c37
sub ecx, 0x8464
je 0x140027c3e
cmp ecx, 0x2400
je 0x140027c3e
mov eax, 0xc000007b
jmp 0x140027e77
mov eax, 0x2000
jmp 0x140027c43
mov eax, 0x1000
mov dword [rsi + 0x28], eax
mov eax, 0x10b
cmp word [rbx + 0x18], ax
je 0x140027cae
mov eax, 0x20b
cmp word [rbx + 0x18], ax
jne 0x140027c2d
mov eax, 0x200
cmp dx, ax
je 0x140027c7a
mov eax, 0x8664
cmp dx, ax
je 0x140027c7a
mov eax, 0xaa64
cmp dx, ax
jne 0x140027c2d
mov rbp, qword [rsp + 0x98]
mov r8d, ebx
mov r14, qword [rsp + 0x90]
sub r8d, edi
add r8d, 0x58
mov r9d, 4
mov rdx, rbp
mov rcx, r14
call fcn.140027a60
lea rdi, [rbx + 0xa8]
jmp 0x140027d05
mov r9d, 4
cmp dx, r8w
je 0x140027cd9
mov eax, 0x1c0
sub dx, ax
cmp dx, r9w
ja 0x140027c2d
lea ecx, [r9 + 0x11]
bt ecx, edx
jae 0x140027c2d
mov rbp, qword [rsp + 0x98]
mov r8d, ebx
mov r14, qword [rsp + 0x90]
sub r8d, edi
add r8d, 0x58
mov rdx, rbp
mov rcx, r14
call fcn.140027a60
lea rdi, [rbx + 0x98]
mov eax, dword [rbx + 0x54]
lea r12, [rsi + 0x10]
mov dword [rsi + 0x24], eax
mov r8, r12
mov edx, dword [rbx + 0x38]
mov ecx, edx
mov dword [r12], edx
mov ecx, dword [rbx + 0x3c]
test eax, eax
je 0x140027c2d
cmp eax, dword [rsi + 0x20]
jae 0x140027c2d
test ecx, ecx
je 0x140027c2d
lea eax, [rcx - 1]
test ecx, eax
jne 0x140027c2d
lea eax, [rdx - 1]
test edx, eax
jne 0x140027c2d
cmp edx, ecx
jb 0x140027c2d
test ecx, 0x1ff
je 0x140027d65
cmp ecx, edx
jne 0x140027c2d
mov rcx, qword [rsi + 8]
movzx r10d, word [rcx + 6]
lea r11, [rcx + 0x18]
mov dword [rsi + 0x14], r10d
movzx eax, word [rcx + 0x14]
add r11, rax
lea edx, [r10 + r10*4]
mov qword [rsi + 0x18], r11
shl edx, 3
add rdx, r11
cmp rdx, r11
jb 0x140027c2d
cmp rdx, r15
ja 0x140027c2d
sub edx, dword [rsi]
mov r8d, r13d
mov ebx, edx
test r10d, r10d
je 0x140027dfe
mov eax, r8d
lea rcx, [rax + rax*4]
mov eax, dword [r11 + rcx*8 + 0x14]
mov r9d, dword [r11 + rcx*8 + 0x10]
test eax, eax
je 0x140027dc6
cmp eax, edx
jb 0x140027c2d
lea ecx, [r9 + rax]
cmp ecx, eax
jb 0x140027c2d
cmp ecx, dword [rsi + 0x20]
ja 0x140027c2d
test r9d, r9d
je 0x140027de5
cmp ecx, ebx
cmova ebx, ecx
lea ecx, [r9 - 1]
add ecx, dword [r12]
cmp ecx, r9d
jb 0x140027c2d
inc r8d
cmp r8d, r10d
jb 0x140027da9
mov r8d, edi
mov r9d, 8
sub r8d, dword [rsi]
mov rdx, rbp
mov rcx, r14
call fcn.140027a60
mov r8d, dword [rdi]
mov r9d, dword [rdi + 4]
test r8d, r8d
je 0x140027e6e
test r9d, r9d
je 0x140027e6e
cmp r8d, ebx
jb 0x140027c2d
cmp r8d, dword [rsi + 0x20]
ja 0x140027c2d
lea eax, [r9 + r8]
cmp eax, dword [rsi + 0x20]
jne 0x140027c2d
cmp eax, r8d
jb 0x140027c2d
cmp r8d, dword [rsi + 0x24]
jb 0x140027c2d
test r8b, 3
jne 0x140027c2d
mov rdx, rbp
mov rcx, r14
call fcn.140027a60
xor eax, eax
jmp 0x140027e77
mov eax, 0xc000000d
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret