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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x38
mov eax, dword [rdx + 0x14]
xor ebx, ebx
mov word [rsp + 0x80], bx
mov rbp, r9
mov r15, rcx
mov rcx, qword [rdx + 0x20]
mov r9, r8
mov r10d, ebx
test eax, eax
jle 0x180024713
mov r8d, dword [rbp + 0x44]
add rcx, 0x30
mov edx, eax
nop word [rax + rax]
cmp dword [rcx - 0x14], r8d
jne 0x180024709
test qword [rcx], r9
jne 0x180024709
movzx eax, word [rcx - 0x1c]
test eax, 0xfffff7ff
je 0x180024709
inc r10d
add rcx, 0x40
sub rdx, 1
jne 0x1800246f0
mov rax, qword [rsp + 0xa0]
mov esi, ebx
test rax, rax
je 0x18002475e
movsxd rdi, dword [rax]
mov r9d, ebx
test edi, edi
jle 0x180024758
mov r8, rbx
lea rcx, [rax + 0x18]
mov rdx, qword [rcx - 0x10]
cmp byte [rdx], 0xa4
jne 0x180024758
mov eax, dword [rbp + 0x44]
cmp dword [rdx + 0x2c], eax
jne 0x180024758
test byte [rcx], 2
jne 0x180024758
inc r9d
inc r8
add rcx, 0x20
cmp r8, rdi
jl 0x180024733
cmp r9d, edi
cmove esi, edi
mov rcx, qword [r15]
movsxd rdi, r10d
movsxd r12, esi
mov qword [rsp + 0x28], r12
lea rbp, [rdi + 7]
lea rbp, [rdi + rbp*4]
lea r14, [r12*8]
lea rbp, [r14 + rbp*4]
test rcx, rcx
je 0x18002478f
mov rdx, rbp
call fcn.1800a5800
jmp 0x180024797
mov rcx, rbp
call fcn.1800ca1d0
mov r13, rax
test rax, rax
je 0x180024998
mov r8, rbp
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov r9, qword [rsp + 0x88]
lea rdx, [r13 + 0x70]
lea rax, [rdi + rdi*2]
mov dword [r13 + 0x10], esi
lea rdi, [rdx + rax*4]
mov qword [r13 + 8], rdx
mov qword [r13 + 0x18], rdi
lea rax, [r14 + rdi]
mov qword [r13 + 0x20], rax
mov r10d, ebx
mov qword [r13 + 0x60], r9
mov r11d, ebx
mov qword [r13 + 0x68], r15
mov r8, qword [r9 + 0x20]
mov qword [rsp + 0x20], rdi
cmp dword [r9 + 0x14], ebx
jle 0x180024949
mov rsi, qword [rsp + 0x98]
add rdx, 4
mov r12d, dword [rsp + 0x80]
mov r14d, 0x100
mov rbp, qword [rsp + 0x90]
mov r15d, 0x20
mov edi, 0x180
mov ebx, 0x1fff
nop dword [rax + rax]
mov eax, dword [rsi + 0x44]
cmp dword [r8 + 0x1c], eax
jne 0x180024924
test qword [r8 + 0x30], rbp
jne 0x180024924
movzx eax, word [r8 + 0x14]
test eax, 0xfffff7ff
je 0x180024924
test byte [rsi + 0x3c], 8
je 0x18002486a
mov rax, qword [r8]
test byte [rax + 4], 1
je 0x180024924
mov eax, dword [r8 + 0x28]
mov dword [rdx - 4], eax
mov dword [rdx + 4], r11d
movzx ecx, word [r8 + 0x14]
and cx, bx
cmp cx, 1
jne 0x18002488b
mov byte [rdx], 2
jmp 0x18002491d
cmp cx, 0x40
jne 0x18002489d
movzx eax, byte [r8 + 0x17]
mov byte [rdx], al
jmp 0x18002491d
test di, cx
je 0x1800248af
cmp cx, r14w
setne al
add al, 0x47
mov byte [rdx], al
jmp 0x18002491d
mov byte [rdx], cl
test cl, 0x3c
je 0x18002491d
mov rax, qword [r8]
mov r9, qword [rax + 0x18]
movzx eax, byte [r9]
cmp al, 0xad
jne 0x1800248ca
movzx eax, byte [r9 + 2]
cmp al, 0xae
jne 0x1800248d4
mov rax, qword [r9 + 0x20]
jmp 0x1800248e0
cmp al, 0x88
jne 0x180024915
mov rax, qword [r9 + 0x20]
mov rax, qword [rax + 0x20]
cmp dword [rax], 1
jle 0x180024915
cmp r10d, 0x10
jge 0x1800248f3
movzx r12d, r12w
bts r12d, r10d
mov r9, qword [rsp + 0x88]
cmp cx, 0x10
jne 0x180024906
mov byte [rdx], 8
jmp 0x18002491d
movzx eax, byte [rdx]
cmp cx, 4
cmove eax, r15d
mov byte [rdx], al
jmp 0x18002491d
mov r9, qword [rsp + 0x88]
inc r10d
add rdx, 0xc
inc r11d
add r8, 0x40
cmp r11d, dword [r9 + 0x14]
jl 0x180024830
mov rdi, qword [rsp + 0x20]
xor ebx, ebx
mov dword [rsp + 0x80], r12d
mov r12, qword [rsp + 0x28]
mov dword [r13], r10d
test r12, r12
jle 0x180024981
mov rdx, qword [rsp + 0xa0]
add rdx, 0x18
nop
mov rax, qword [rdx - 0x10]
lea rdx, [rdx + 0x20]
movsx ecx, word [rax + 0x30]
mov dword [rdi + rbx*8], ecx
movzx eax, byte [rdx - 0x20]
and al, 1
mov byte [rdi + rbx*8 + 4], al
inc rbx
cmp rbx, r12
jl 0x180024960
mov rax, qword [rsp + 0xa8]
mov ecx, dword [rsp + 0x80]
mov word [rax], cx
mov rax, r13
jmp 0x1800249a9
lea rdx, str.out_of_memory
mov rcx, r15
call fcn.1800a80e0
xor eax, eax
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret