Function at 0x1400250c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbp
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x38
mov rsi, qword [rcx]
lea r14, [0x140000000]
mov r15, qword [rcx + 8]
mov r12d, edx
mov r13, rcx
sub r12d, dword [rsi + 0x44]
mov ebp, dword [rsi + 0x28]
cmp ebp, dword [rsi + 0x2c]
jbe case.0x140025110.69
mov rax, qword [rsi + 0x48]
lea ecx, [rbp - 1]
movzx ecx, byte [rax + rcx*8]
add ecx, 0xffffffbd
cmp ecx, 9
ja case.0x140025110.69
movsxd rax, ecx
mov ecx, dword [r14 + rax*4 + 0x2545c]
add rcx, r14
jmp rcx
mov rax, qword [rsi + 0x18]
test byte [rax + 0xd], 8
je 0x140025129
mov edx, 0x80000032
mov rcx, rsi
call fcn.1400213e0
mov edx, 0x1004b
mov rcx, rsi
call fcn.1400213e0
mov rax, qword [rsi + 0x18]
mov rcx, rsi
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x30], rdi
or byte [rax + 0xd], 0x10
call fcn.140025850
test byte [rsi + 0x58], 0x40
je case.0x140025198.50
mov edi, 1
cmp ebp, edi
jbe case.0x140025198.50
mov ebx, 8
nop dword [rax]
mov rax, qword [rsi + 0x48]
mov edx, dword [rbx + rax]
movzx eax, dl
add eax, 0xffffffce
cmp eax, 0x1a
ja case.0x140025198.52
cdqe
movzx eax, byte [r14 + rax + 0x25490]
mov ecx, dword [r14 + rax*4 + 0x25484]
add rcx, r14
jmp rcx
mov rcx, rsi
call fcn.1400213e0
mov r8, qword [rsi + 0x48]
mov r9d, eax
mov ecx, dword [r8 + rbx + 4]
mov dword [r8 + r9*8 + 4], ecx
mov ecx, 0x7fff
sub ecx, edi
add r9d, ecx
cmp r9d, 0xffff
ja 0x14002544b
mov rax, qword [rsi + 0x48]
shl r9d, 0x10
or r9d, 0x32
mov dword [rbx + rax], r9d
inc edi
add rbx, 8
cmp edi, ebp
jb 0x140025170
mov edx, dword [rsi + 0x28]
xor ebx, ebx
mov eax, dword [rsi + 0x40]
add rax, rdx
lea rbp, [rax*4 + 0x47]
mov eax, dword [rsi + 0x3c]
and rbp, 0xfffffffffffffff8
lea rcx, [rax*8]
movzx eax, byte [rsi + 0x5b]
add rcx, rbp
inc rax
and rax, 0xfffffffffffffffe
mov qword [rsp + 0x70], rcx
lea rdi, [rcx + rax*2]
mov ecx, ebx
mov qword [rsp + 0x80], rdi
cmp r12d, 0x100
jl 0x14002523c
cmp r12d, 0x10000
setge cl
inc ecx
lea eax, [rdx - 1]
mov rdx, rsi
shl eax, cl
lea r8, [rsp + 0x20]
add rdi, rax
mov rcx, r13
mov qword [rsp + 0x88], rdi
call fcn.140025660
add edi, eax
mov rcx, r15
mov edx, edi
call fcn.140013a20
mov r14, rax
mov byte [rax + 5], 7
mov dword [rax + 0x20], edi
mov word [rax + 0x26], bx
movzx ecx, byte [rsi + 0x58]
and cl, 0x9f
mov byte [rax + 0x25], cl
movzx ecx, byte [rsi + 0x59]
mov byte [rax + 6], cl
movzx ecx, byte [rsi + 0x5a]
mov byte [rax + 7], cl
mov ecx, dword [r13 + 0x68]
mov dword [rax + 0x28], ecx
mov ecx, dword [rsi + 0x40]
inc ecx
shl rcx, 2
sub rax, rcx
mov ecx, 0x59
mov dword [rax + rbp], ebx
mov eax, 0x5c
mov r8d, dword [rsi + 0x28]
mov rdx, qword [rsi + 0x48]
mov dword [r14 + 8], r8d
test byte [rsi + 0x58], 2
cmovne ecx, eax
movzx eax, byte [rsi + 0x5a]
shl eax, 8
or ecx, eax
mov dword [r14 + 0x40], ecx
cmp r8d, 1
jbe 0x1400252f2
add rdx, 8
lea rcx, [r14 + 0x44]
dec r8d
nop
mov eax, dword [rdx]
lea rdx, [rdx + 8]
mov dword [rcx], eax
lea rcx, [rcx + 4]
sub r8, 1
jne 0x1400252e0
lea r8, [r14 + rbp]
mov rdx, r14
mov rcx, rsi
call fcn.1400254b0
mov rcx, qword [rsp + 0x70]
lea rdx, [rsi + 0x264]
add rcx, r14
mov dword [r14 + 0x14], ecx
movzx eax, byte [rsi + 0x5b]
mov byte [r14 + 0x24], al
movzx r8d, byte [rsi + 0x5b]
add r8, r8
call fcn.140067030
mov r8d, dword [rsi + 0x28]
mov rdx, qword [rsi + 0x48]
dec r8d
mov r10d, dword [rsi + 0x44]
mov r9, qword [rsp + 0x80]
add r9, r14
mov dword [r14 + 0x2c], r10d
mov dword [r14 + 0x30], r12d
mov dword [r14 + 0x34], r9d
cmp r12d, 0x100
jge 0x140025375
nop dword [rax + rax]
movzx eax, byte [rdx + rbx*8 + 0xc]
sub al, r10b
mov byte [rbx + r9], al
inc ebx
cmp ebx, r8d
jb 0x140025360
jmp 0x1400253b2
cmp r12d, 0x10000
jge 0x1400253a0
nop
movzx eax, word [rdx + rbx*8 + 0xc]
sub ax, r10w
mov word [r9 + rbx*2], ax
inc ebx
cmp ebx, r8d
jb 0x140025380
jmp 0x1400253b2
mov eax, dword [rdx + rbx*8 + 0xc]
sub eax, r10d
mov dword [r9 + rbx*4], eax
inc ebx
cmp ebx, r8d
jb 0x1400253a0
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
add rcx, r14
add edx, ecx
mov dword [r14 + 0x38], ecx
mov dword [r14 + 0x3c], edx
mov edx, dword [r13 + 0x44]
mov r8d, dword [r13 + 0x3c]
sub r8d, edx
call fcn.140067030
mov eax, dword [r15 + 8]
test byte [rax + 0x7f], 1
je 0x140025418
mov edx, 0x1c418
mov rcx, r15
call fcn.14004ccc0
test rax, rax
je 0x140025418
mov rdx, qword [r15 + 0x18]
lea rcx, [rdx + 8]
mov qword [r15 + 0x18], rcx
mov rcx, r15
mov dword [rdx], r14d
mov dword [rdx + 4], 0xfffffff8
mov rdx, rax
call fcn.14004cbe0
add qword [r15 + 0x18], 0xfffffffffffffff8
mov eax, dword [rsi + 0x54]
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x78]
mov dword [r13 + 0x8c], eax
mov rax, qword [rsi + 0x20]
mov qword [r13], rax
mov rax, r14
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbp
ret
mov rcx, qword [rsi + 8]
mov edx, 0xa66
call fcn.140022270
int3