Function at 0x140097590
Capabilities:
Parse pe header
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, 0x5d8
mov rsi, rcx
mov rax, qword [rcx]
cmp byte [rax], 0
jne 0x1400975bc
mov rcx, qword [rsi + 8]
cmp qword [rcx], 0x64
ja 0x140097c13
mov byte [rsp + 0x45], 0
mov byte [rsp + 0x46], 0
mov r13, qword [rsi + 0x10]
mov r14, qword [rsi + 0x18]
mov r12, qword [rsi + 0x20]
lea rcx, [rsp + 0x45]
mov qword [rsp + 0x148], rcx
mov qword [rsp + 0x150], rax
mov qword [rsp + 0x158], r13
lea rax, [rsp + 0x46]
mov qword [rsp + 0x160], rax
mov qword [rsp + 0x168], r14
mov qword [rsp + 0x170], r12
mov qword [rsp + 0x178], rdx
mov r15, qword [rdx + 8]
cmp qword [0x1401c51a8], 0
jne 0x140097beb
mov ecx, 0x3c0
mov edx, 8
call fcn.140098910
test rax, rax
je 0x140097cb1
mov qword [rsp + 0x130], rax
mov qword [rsp + 0x138], 4
mov qword [rsp + 0x140], 0
mov qword [rsp + 0x90], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0x98], xmm0
mov ecx, 8
xor edx, edx
call fcn.1401010e4
cmp rax, 0xffffffffffffffff
je 0x140097ac2
mov rbx, rax
mov qword [rsp + 0x110], r13
mov qword [rsp + 0x118], r12
mov qword [rsp + 0x120], r15
mov qword [rsp + 0x128], r14
lea rdi, [rsp + 0x1a0]
mov r8d, 0x438
mov rcx, rdi
xor edx, edx
call fcn.140101a68
mov dword [rsp + 0x1a0], 0x438
mov rcx, rbx
mov rdx, rdi
call fcn.140100f9c
cmp eax, 1
jne 0x140097a9a
lea r15, [rsp + 0x5d8]
lea r12, [rsp + 0x188]
mov eax, 8
mov qword [rsp + 0xb0], rax
xor eax, eax
mov qword [rsp + 0xb8], rax
lea r13, [rsp + 0x1a0]
jmp 0x140097794
mov rcx, qword [rsp + 0x90]
mov rdx, qword [rsp + 0xa0]
mov rax, rdx
shl rax, 6
movups xmm0, xmmword [rsp + 0x50]
movups xmm1, xmmword [rsp + 0x60]
movups xmm2, xmmword [rsp + 0x70]
movups xmm3, xmmword [rsp + 0x80]
movups xmmword [rcx + rax + 0x30], xmm3
movups xmmword [rcx + rax + 0x20], xmm2
movups xmmword [rcx + rax + 0x10], xmm1
mov qword [rsp + 0xb0], rcx
movups xmmword [rcx + rax], xmm0
inc rdx
mov rax, rdx
mov qword [rsp + 0xb8], rdx
mov qword [rsp + 0xa0], rdx
nop word cs:[rax + rax]
mov rcx, rbx
mov rdx, r13
call fcn.140100f94
cmp eax, 1
jne 0x140097a9a
xor r8d, r8d
nop word [rax + rax]
cmp word [rsp + r8*2 + 0x3d0], 0
je 0x140097800
lea rax, [rsp + r8*2]
add rax, 0x3d0
cmp word [rax + 2], 0
je 0x1400977e7
cmp word [rax + 4], 0
je 0x1400977ec
cmp word [rax + 6], 0
je 0x1400977f2
cmp word [rax + 8], 0
je 0x1400977f8
add r8, 5
add rax, 0xa
cmp rax, r15
jne 0x1400977a0
mov r8d, 0x104
jmp 0x140097800
inc r8
jmp 0x140097800
add r8, 2
jmp 0x140097800
add r8, 3
jmp 0x140097800
add r8, 4
nop dword [rax]
lea rcx, [rsp + 0xc0]
lea rdx, [rsp + 0x3d0]
call fcn.1400944a0
mov rbp, qword [rsp + 0xc0]
mov rdi, qword [rsp + 0xd0]
lea rcx, [rsp + 0x180]
mov rdx, rbp
mov r8, rdi
call fcn.14009fe50
cmp qword [rsp + 0x180], 0
je 0x140097915
mov rax, qword [r12 + 0x10]
mov qword [rsp + 0xf0], rax
movups xmm0, xmmword [r12]
movaps xmmword [rsp + 0xe0], xmm0
mov r14, qword [rsp + 0xe8]
test r14, r14
je 0x140097900
cmp rax, 0x40
jb 0x140097900
movzx ecx, word [r14]
cmp ecx, 0x5a4d
jne 0x140097900
mov edx, dword [r14 + 0x3c]
mov rcx, rax
sub rcx, rdx
setb r8b
lea r9, [r14 + rdx]
cmp rcx, 0x88
setb cl
or cl, r8b
mov ecx, 0
cmove rcx, r9
jne 0x140097900
cmp dword [rcx], 0x4550
jne 0x140097900
movzx r8d, word [rcx + 0x18]
cmp r8d, 0x20b
jne 0x140097900
movzx r8d, word [rcx + 0x14]
cmp r8, 0x70
jb 0x140097900
add rdx, 0x88
sub rax, rdx
jb 0x140097900
add r8, 0xffffffffffffff90
cmp rax, r8
jb 0x140097900
mov eax, dword [rcx + 0x84]
shl rax, 3
cmp rax, r8
jbe 0x14009793a
nop word [rax + rax]
mov rcx, r14
call fcn.140100ed4
mov rcx, qword [rsp + 0xe0]
call fcn.14010110c
cmp qword [rsp + 0xc8], 0
je 0x140097780
mov rcx, qword [0x1401c5170]
xor edx, edx
mov r8, rbp
call fcn.140100fdc
jmp 0x140097780
mov rax, qword [rcx + 0x30]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x1b8]
mov qword [rsp + 0x108], rax
movups xmm0, xmmword [rsp + 0xc0]
movups xmm1, xmmword [rsp + 0xd0]
movaps xmmword [rsp + 0x190], xmm1
movaps xmmword [rsp + 0x180], xmm0
mov ecx, 0x10
mov edx, 8
call fcn.140098910
test rax, rax
je 0x140097cc2
mov edx, dword [rsp + 0x1c0]
mov rcx, qword [rsp + 0xa8]
mov qword [rax], rcx
mov qword [rsp + 0x100], rax
mov qword [rax + 8], rdx
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xf8], rax
movzx eax, byte [rsp + 0xd8]
mov byte [rsp + 0x47], al
lea rcx, [rsp + 0xd9]
mov eax, dword [rcx]
mov ecx, dword [rcx + 3]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x4b], ecx
mov rcx, r14
call fcn.140100ed4
mov rcx, qword [rsp + 0xe0]
call fcn.14010110c
movzx ecx, byte [rsp + 0x47]
cmp cl, 2
je 0x140097780
mov rax, qword [rsp + 0x108]
sub rax, qword [rsp + 0xa8]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 1
mov qword [rsp + 0x68], 1
mov qword [rsp + 0x70], rbp
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], rdi
mov byte [rsp + 0x88], cl
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x4b]
lea rdx, [rsp + 0x89]
mov dword [rdx + 3], ecx
mov dword [rdx], eax
mov rdx, qword [rsp + 0xb8]
cmp rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xb0]
jne 0x140097726
lea rcx, [rsp + 0x90]
call fcn.14007f6c0
jmp 0x140097716
mov rcx, rbx
call fcn.14010110c
mov r14, qword [rsp + 0x128]
mov r15, qword [rsp + 0x120]
mov r12, qword [rsp + 0x118]
mov r13, qword [rsp + 0x110]
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x1b0], rax
movups xmm0, xmmword [rsp + 0x90]
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x1c8], rax
movups xmm1, xmmword [rsp + 0x130]
movups xmmword [rsp + 0x1b8], xmm1
movaps xmmword [rsp + 0x50], xmm0
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x1b8]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x1c0]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x1c8]
mov qword [rsp + 0x78], rax
mov rdi, qword [0x1401c51a8]
test rdi, rdi
je 0x140097bc7
mov rbx, qword [0x1401c51b8]
test rbx, rbx
je 0x140097b9c
add rdi, 0x28
jmp 0x140097b69
add rdi, 0x40
dec rbx
je 0x140097b9c
cmp qword [rdi], 0
je 0x140097b81
mov r8, qword [rdi - 8]
mov rcx, qword [0x1401c5170]
xor edx, edx
call fcn.140100fdc
cmp qword [rdi - 0x18], 0
je 0x140097b60
mov r8, qword [rdi - 0x20]
mov rcx, qword [0x1401c5170]
xor edx, edx
call fcn.140100fdc
jmp 0x140097b60
cmp qword [0x1401c51b0], 0
je 0x140097bbb
mov r8, qword [0x1401c51a8]
mov rcx, qword [0x1401c5170]
xor edx, edx
call fcn.140100fdc
lea rcx, [0x1401c51c0]
call fcn.14007b2f0
movaps xmm0, xmmword [rsp + 0x50]
movaps xmm1, xmmword [rsp + 0x60]
movaps xmm2, xmmword [rsp + 0x70]
movups xmmword [0x1401c51c8], xmm2
movups xmmword [0x1401c51b8], xmm1
movups xmmword [0x1401c51a8], xmm0
xor ecx, ecx
mov rax, r15
sub rax, 1
cmovae rcx, rax
lea r8, [0x1401391d0]
lea rdx, [rsp + 0x148]
call fcn.1400a00c0
cmp byte [rsp + 0x46], 0
je 0x140097c1a
xor ecx, ecx
jmp 0x140097c9b
cmp byte [rsp + 0x45], 0
jne 0x140097c8d
cmp byte [r13], 0
je 0x140097c8d
mov qword [rsp + 0x148], r12
mov qword [rsp + 0x150], 0
mov qword [rsp + 0x1a0], 3
mov qword [rsp + 0x50], 2
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x148]
lea r8, [rsp + 0x1a0]
lea r9, [rsp + 0x50]
mov rdx, r15
call fcn.140099cd0
mov byte [r14], al
mov rax, qword [rsp + 0x148]
inc qword [rax + 0x18]
mov rax, qword [rsi + 8]
inc qword [rax]
cmp byte [r14], 0
sete cl
mov eax, ecx
add rsp, 0x5d8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 8
mov edx, 0x3c0
call fcn.140004320
ud2
mov ecx, 8
mov edx, 0x10
call fcn.140004320
ud2