Function at 0x140002970
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r13
push r15
sub rsp, 0x50
xor ebx, ebx
mov r13, rcx
mov ebp, edx
lea rcx, [rsp + 0x24]
lea r8d, [rbx + 0x2c]
xor edx, edx
mov rdi, rbx
mov dword [rsp + 0x20], ebx
call fcn.140029fa0
mov r11d, 0xd27
mov r8w, bx
lea r15d, [rbx + 1]
mov word [rsp + 0x88], r11w
test ebp, ebp
jle 0x1400029ec
mov rdx, r13
mov r9, rbp
nop
cmp r15w, r8w
jne 0x1400029c9
mov r8d, ebx
movzx ecx, byte [rdx]
movzx eax, r8w
inc rdx
movzx eax, byte [rsp + rax*2 + 0x88]
add cl, 9
inc r8w
xor al, cl
sub r9, r15
mov byte [rdx - 1], al
jne 0x1400029c0
movsxd rax, dword [r13 + 0x3c]
mov ecx, 0x5a4d
mov qword [rsp + 0x80], r12
mov qword [rsp + 0x90], r14
lea rsi, [rax + r13]
cmp word [r13], cx
jne 0x140002c97
cmp dword [rsi], 0x4550
jne 0x140002c97
cmp ebp, 0x40
jb 0x140002c90
cmp ebp, dword [rsi + 0x54]
jb 0x140002c90
add rax, 0x108
mov r14, rbp
cmp rbp, rax
jb 0x140002c90
mov eax, 0x8664
cmp word [rsi + 4], ax
jne 0x140002c97
movzx eax, word [rsi + 6]
movzx ecx, word [rsi + 0x14]
test eax, eax
je 0x140002a90
lea rdx, [rcx + rsi + 0x24]
mov r8, rax
mov eax, dword [rdx + 4]
test eax, eax
jne 0x140002a78
mov ecx, dword [rsi + 0x38]
mov eax, dword [rdx]
add rcx, rax
jmp 0x140002a80
mov rcx, rax
mov eax, dword [rdx]
add rcx, rax
cmp rcx, rdi
cmova rdi, rcx
add rdx, 0x28
sub r8, r15
jne 0x140002a67
lea rcx, [rsp + 0x20]
call qword [0x1400ff9e0]
mov r11d, dword [rsp + 0x24]
mov eax, dword [rsi + 0x50]
lea edx, [r11 - 1]
lea r12d, [rax + r11 - 1]
lea rcx, [r11 + rdi - 1]
not edx
and r12, rdx
and rcx, rdx
cmp r12, rcx
jne 0x140002c97
mov rcx, qword [rsi + 0x30]
mov r9d, 4
mov r8d, 0x3000
mov rdx, r12
call qword [0x1400ff9e8]
mov rbp, rax
test rax, rax
jne 0x140002b41
lea r9d, [rax + 4]
mov r8d, 0x3000
mov rdx, r12
xor ecx, ecx
call qword [0x1400ff9e8]
mov rbp, rax
test rax, rax
jne 0x140002b41
lea ecx, [rax + 0xe]
call qword [0x1400ff9d8]
test rbp, rbp
je 0x140002b1f
xor edx, edx
mov r8d, 0x8000
mov rcx, rbp
call qword [0x1400ffa00]
test rbx, rbx
je 0x140002ca2
call qword [0x1400ffa18]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [0x1400ffa10]
jmp 0x140002ca2
call qword [0x1400ffa18]
mov edx, 8
lea r8d, [rdx + 0x20]
mov rcx, rax
call qword [0x1400ff9f0]
mov rbx, rax
test rax, rax
jne 0x140002b6c
lea ecx, [rax + 0xe]
call qword [0x1400ff9d8]
jmp 0x140002b09
mov qword [rax + 8], rbp
mov eax, dword [rsp + 0x24]
mov r9d, 4
mov dword [rbx + 0x24], eax
mov edx, dword [rsi + 0x54]
mov r8d, 0x1000
mov rcx, rbp
call qword [0x1400ff9e8]
mov rdi, rax
test rax, rax
jne 0x140002ba5
lea ecx, [rax + 0xe]
call qword [0x1400ff9d8]
jmp 0x140002b09
mov r8d, dword [rsi + 0x54]
mov rdx, r13
mov rcx, rax
call fcn.14002a0a0
movsxd rax, dword [r13 + 0x3c]
mov r9, rbx
add rax, rdi
mov r8, rsi
mov rdx, r14
mov qword [rbx], rax
mov rcx, r13
mov qword [rax + 0x30], rbp
call fcn.140002220
test eax, eax
je 0x140002b09
mov rax, qword [rbx]
mov rdx, qword [rax + 0x30]
sub rdx, qword [rsi + 0x30]
je 0x140002bf5
mov rcx, rbx
call fcn.140002340
mov dword [rbx + 0x20], eax
jmp 0x140002bf9
mov dword [rbx + 0x20], r15d
mov rcx, rbx
call fcn.140002410
test eax, eax
je 0x140002b09
mov rcx, rbx
call fcn.1400026b0
test eax, eax
je 0x140002b09
mov rax, qword [rbx]
mov ecx, dword [rax + 0xd0]
test ecx, ecx
je 0x140002c59
mov rax, qword [rbx + 8]
mov rdi, qword [rcx + rax + 0x18]
test rdi, rdi
je 0x140002c59
mov rax, qword [rdi]
test rax, rax
je 0x140002c59
nop dword [rax]
mov rcx, qword [rbx + 8]
xor r8d, r8d
mov edx, r15d
call rax
mov rax, qword [rdi + 8]
add rdi, 8
test rax, rax
jne 0x140002c40
mov rax, qword [rbx]
mov edx, dword [rax + 0x28]
test edx, edx
je 0x140002c8b
mov rcx, qword [rbx + 8]
xor r8d, r8d
lea rax, [rcx + rdx]
mov edx, r15d
call rax
test eax, eax
jne 0x140002c87
mov ecx, 0x45a
call qword [0x1400ff9d8]
jmp 0x140002b09
mov dword [rbx + 0x1c], r15d
mov rax, rbx
jmp 0x140002ca4
mov ecx, 0xd
jmp 0x140002c9c
mov ecx, 0xc1
call qword [0x1400ff9d8]
xor eax, eax
mov r14, qword [rsp + 0x90]
mov r12, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x98]
add rsp, 0x50
pop r15
pop r13
pop rdi
pop rsi
pop rbp
ret