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

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x58]
sub rsp, 0x130
mov qword [rbp - 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
mov rsi, rdx
mov r14, rcx
xor r13b, r13b
xor eax, eax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
or ebx, 0xffffffff
mov dword [rbp - 0x70], ebx
lea rcx, [rbp - 0x70]
call fcn.1400083b0
mov r15d, eax
xor dil, dil
movzx r12d, byte [rbp + 0x98]
test r12b, r12b
je 0x140011889
call fcn.140034030
mov rcx, rax
test rax, rax
jne 0x1400117e7
mov ecx, 0x80004005
call fcn.140033340
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x60], rax
movzx r9d, byte [rbp + 0x90]
lea r8, [rbp - 0x60]
lea rdx, [rsp + 0x70]
mov ecx, r15d
call fcn.1400112d0
test al, al
je 0x140011862
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140011862
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov r15d, 1
mov dword [rsp + 0x20], r15d
lea r9d, [r15 + 1]
xor r8d, r8d
mov edx, 0x2000000
call fcn.14001f200
test eax, eax
je 0x140011862
xor r8d, r8d
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x60]
call fcn.14001eba0
movzx edi, dil
test eax, eax
cmovne edi, r15d
mov rax, qword [rbp - 0x60]
lea rdx, [rax - 0x18]
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x14001187d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
test dil, dil
jne 0x140011889
xor al, al
jmp 0x140011b22
mov eax, 0x5a4d
cmp word [r14], ax
jne 0x140011ae1
movsxd rdi, dword [r14 + 0x3c]
add rdi, r14
cmp dword [rdi], 0x4550
jne 0x140011ae1
lea rdx, [rbp + 0x98]
mov rcx, rsi
call fcn.140020e00
movzx ecx, word [rdi + 4]
mov edx, 0x14c
mov eax, dword [rbp + 0x98]
cmp cx, dx
jne 0x1400118d2
test eax, eax
jne 0x140011882
mov edx, 0x8664
cmp cx, dx
jne 0x1400118e1
cmp eax, 6
jne 0x140011882
xor eax, eax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
xor edx, edx
lea r8d, [rax + 0x68]
lea rcx, [rbp - 0x40]
call fcn.140045030
mov dword [rbp - 0x40], 0x68
mov dword [rbp - 4], 0x101
xor ebx, ebx
mov word [rbp], bx
lea rax, [rsp + 0x78]
xor r9d, r9d
test r12b, r12b
je 0x140011965
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x48], rax
xor r12d, r12d
mov qword [rsp + 0x40], r12
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x8000404
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
mov r8, qword [rbp + 0x70]
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.1400205c0
jmp 0x14001199c
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x40], rax
xor r12d, r12d
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x8000004
mov dword [rsp + 0x20], r12d
xor r8d, r8d
mov rdx, qword [rbp + 0x70]
mov rcx, rsi
call fcn.1400236a0
test eax, eax
je 0x140011ae1
mov ebx, 4
mov r9d, ebx
lea edx, [rbx + 4]
xor ecx, ecx
mov r8d, 0x1000
call fcn.140025270
mov r15, rax
mov dword [rax + 0x30], 0x100002
mov rdx, rax
mov rcx, qword [rbp - 0x80]
call fcn.140024a90
mov rcx, qword [rsp + 0x78]
test eax, eax
je 0x140011ada
mov rdx, qword [r15 + 0x88]
add rdx, 0x10
mov qword [rsp + 0x20], r12
lea r9d, [rbx + 4]
lea r8, [rbp - 0x50]
call fcn.1400248d0
mov eax, 0x40
cmp byte [rbp + 0x88], 0
cmovne ebx, eax
mov r8d, dword [rdi + 0x50]
mov dword [rsp + 0x20], ebx
xor edx, edx
mov r9d, 0x3000
mov rcx, qword [rsp + 0x78]
call fcn.140024c60
mov qword [rbp - 0x68], rax
mov rcx, qword [rsp + 0x78]
test rax, rax
je 0x140011ada
mov r9d, dword [rdi + 0x54]
mov qword [rsp + 0x20], r12
mov r8, r14
mov rdx, rax
call fcn.140024e60
movzx eax, word [rdi + 0x14]
mov esi, r12d
cmp r12w, word [rdi + 6]
jae 0x140011a8e
lea rbx, [rdi + 0x2c]
add rbx, rax
mov r9d, dword [rbx - 4]
mov r8d, dword [rbx]
add r8, r14
mov edx, dword [rbx - 8]
add rdx, qword [rbp - 0x68]
mov qword [rsp + 0x20], r12
mov rcx, qword [rsp + 0x78]
call fcn.140024e60
lea rbx, [rbx + 0x28]
inc esi
movzx eax, word [rdi + 6]
cmp esi, eax
jl 0x140011a60
mov rdx, qword [r15 + 0x88]
add rdx, 0x10
mov qword [rsp + 0x20], r12
mov r9d, 8
lea r8, [rbp - 0x68]
mov rcx, qword [rsp + 0x78]
call fcn.140024e60
mov eax, dword [rdi + 0x28]
add rax, qword [rbp - 0x68]
mov qword [r15 + 0x80], rax
mov rdx, r15
mov rcx, qword [rbp - 0x80]
call fcn.140025020
mov rcx, qword [rbp - 0x80]
call fcn.1400250f0
mov r13b, 1
jmp 0x140011ae1
xor edx, edx
call fcn.14001ee40
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140011af9
call fcn.140020d00
xor ebx, ebx
mov qword [rsp + 0x60], rbx
jmp 0x140011afb
xor ebx, ebx
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140011b0f
call fcn.140024730
mov qword [rsp + 0x68], rbx
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140011b1e
call fcn.140024730
movzx eax, r13b
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret