Function at 0x140024d90
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.0x140024de2.69
mov rax, qword [rsi + 0x48]
lea r8d, [rbp - 1]
movzx ecx, byte [rax + r8*8]
add ecx, 0xffffffbd
cmp ecx, 9
ja case.0x140024de2.69
movsxd rax, ecx
mov ecx, dword [r14 + rax*4 + 0x2513c]
add rcx, r14
jmp rcx
mov rax, qword [rsi + 0x18]
test byte [rax + 0xd], 8
je 0x140024dfb
mov edx, 0x80000032
mov rcx, rsi
call fcn.140021f50
mov edx, 0x1004b
mov rcx, rsi
call fcn.140021f50
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.140025510
test byte [rsi + 0x58], 0x40
je case.0x140024e72.50
mov ebx, 1
cmp ebp, ebx
jbe case.0x140024e72.50
nop dword [rax]
mov eax, ebx
lea rdi, [rax*8]
mov rax, qword [rsi + 0x48]
mov edx, dword [rdi + rax]
movzx eax, dl
add eax, 0xffffffce
cmp eax, 0x1a
ja case.0x140024e72.52
cdqe
movzx eax, byte [r14 + rax + 0x25170]
mov ecx, dword [r14 + rax*4 + 0x25164]
add rcx, r14
jmp rcx
mov rcx, rsi
call fcn.140021f50
mov r8, qword [rsi + 0x48]
mov r9d, eax
mov ecx, dword [r8 + rdi + 4]
mov dword [r8 + r9*8 + 4], ecx
mov ecx, 0x7fff
sub ecx, ebx
add r9d, ecx
cmp r9d, 0xffff
ja 0x14002512b
mov rax, qword [rsi + 0x48]
shl r9d, 0x10
or r9d, 0x32
mov dword [rdi + rax], r9d
inc ebx
cmp ebx, ebp
jb 0x140024e40
mov eax, dword [rsi + 0x3c]
xor ebx, ebx
mov edx, dword [rsi + 0x28]
mov ecx, dword [rsi + 0x40]
add rcx, rdx
lea rbp, [rcx*4 + 0x47]
lea rcx, [rax*8]
and rbp, 0xfffffffffffffff8
movzx eax, byte [rsi + 0x5b]
add rcx, rbp
inc rax
mov qword [rsp + 0x70], rcx
and rax, 0xfffffffffffffffe
lea rdi, [rcx + rax*2]
mov ecx, ebx
mov qword [rsp + 0x80], rdi
cmp r12d, 0x100
jl 0x140024f12
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.140025330
add edi, eax
mov rcx, r15
mov edx, edi
call fcn.140014070
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 0x140024fd2
add rdx, 8
lea rcx, [r14 + 0x44]
dec r8d
nop word [rax + rax]
mov eax, dword [rdx]
lea rdx, [rdx + 8]
mov dword [rcx], eax
lea rcx, [rcx + 4]
sub r8, 1
jne 0x140024fc0
lea r8, [r14 + rbp]
mov rdx, r14
mov rcx, rsi
call fcn.140025190
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.1400ac3d0
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 0x140025055
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 0x140025040
jmp 0x140025092
cmp r12d, 0x10000
jge 0x140025080
nop
movzx eax, word [rdx + rbx*8 + 0xc]
sub ax, r10w
mov word [r9 + rbx*2], ax
inc ebx
cmp ebx, r8d
jb 0x140025060
jmp 0x140025092
mov eax, dword [rdx + rbx*8 + 0xc]
sub eax, r10d
mov dword [r9 + rbx*4], eax
inc ebx
cmp ebx, r8d
jb 0x140025080
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.1400ac3d0
mov eax, dword [r15 + 8]
test byte [rax + 0x7f], 1
je 0x1400250f8
mov edx, 0x1c418
mov rcx, r15
call fcn.14004cd00
test rax, rax
je 0x1400250f8
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.14004cc20
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.140022e10
int3