Function at 0x14004da60
Capabilities:
Inspect section memory permissions

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xe8
mov rdi, rdx
mov r12, rcx
mov rsi, qword [rdx + 0x18]
mov r13, qword [rdx + 0x20]
test rsi, rsi
je 0x14004da8c
mov rax, qword [r13 + 0x30]
jmp 0x14004da90
mov eax, dword [r13 + 0x34]
mov qword [rsp + 0x20], rax
mov eax, dword [r13 + 0x50]
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x20]
lea rdx, [rsp + 0x70]
mov r8d, 0x3000
mov r9d, 4
call fcn.14004d6e0
cmp eax, 0xb
je 0x14004daeb
mov qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
lea rdx, [rsp + 0x70]
mov r8d, 0x3000
mov r9d, 4
call fcn.14004d6e0
cmp eax, 0xb
jne 0x14004e19b
mov qword [rsp + 0x68], rsi
mov rsi, qword [rdi + 0x28]
mov r15, qword [rdi + 0x30]
test r15, r15
je 0x14004db35
mov rdi, qword [rdi + 0x48]
lea rax, [r15*8]
lea rbx, [rax + rax*4]
xor r14d, r14d
mov edx, dword [rsi + r14 + 0x14]
add rdx, rdi
mov ecx, dword [rsi + r14 + 0xc]
mov r8d, dword [rsi + r14 + 0x10]
add rcx, qword [rsp + 0x20]
call fcn.1400a7720
add r14, 0x28
cmp rbx, r14
jne 0x14004db10
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x68]
test rbx, rbx
je 0x14004db5c
lea rdx, [r13 + 0x88]
mov rcx, qword [r13 + 0x30]
mov rax, rdi
sub rax, rcx
jne 0x14004db70
jmp 0x14004dc3f
lea rdx, [r13 + 0x78]
mov ecx, dword [r13 + 0x34]
mov rax, rdi
sub rax, rcx
je 0x14004dc3f
mov ecx, dword [rdx + 0x28]
test rcx, rcx
je 0x14004dc3f
cmp dword [rdx + 0x2c], 0
je 0x14004dc3f
add rcx, rdi
mov edx, 1
mov r8d, dword [rcx + 4]
test r8, r8
jne 0x14004dbb0
jmp 0x14004dc20
mov r8d, dword [rcx + 4]
add rcx, r8
mov r8d, dword [rcx + 4]
test r8, r8
je 0x14004dc20
cmp r8d, 0xa
jb 0x14004dba4
lea r9, [r8 - 8]
shr r9, 0x3f
add r8, r9
add r8, 0xfffffffffffffff8
sar r8, 1
cmp r8, 2
cmovl r8, rdx
xor r9d, r9d
jmp 0x14004dbe8
inc r9
cmp r8, r9
je 0x14004dba0
movzx r10d, word [rcx + r9*2 + 8]
mov r11d, r10d
and r11d, 0xf000
cmp r11d, 0xa000
jne 0x14004dbe0
mov r11d, dword [rcx]
and r10d, 0xfff
add r10, r11
add qword [rdi + r10], rax
jmp 0x14004dbe0
cmp dword [rcx], 0
je 0x14004dc3a
xor r8d, r8d
add rcx, r8
mov r8d, dword [rcx + 4]
test r8, r8
jne 0x14004dbb0
jmp 0x14004dc20
mov rdi, qword [rsp + 0x20]
mov rax, rbx
shl rax, 4
lea rcx, [rax + 0x78]
cmp dword [r13 + rax + 0x84], 0
mov qword [rsp + 0xc0], rcx
je 0x14004df85
mov eax, dword [r13 + rcx + 8]
test rax, rax
je 0x14004df85
mov qword [rsp + 0xb0], r15
mov qword [rsp + 0x28], r12
add rax, rdi
lea rcx, [rdi + 2]
mov qword [rsp + 0xd0], rcx
lea rbp, [rsp + 0x30]
mov rbx, rax
mov qword [rsp + 0xb8], r13
mov r12d, dword [rbx + 0xc]
test r12, r12
jne 0x14004dcc0
cmp dword [rbx + 0x10], 0
jne 0x14004dcc0
cmp dword [rbx], 0
jne 0x14004dcc0
cmp dword [rbx + 4], 0
jne 0x14004dcc0
cmp dword [rbx + 8], 0
je 0x14004df6e
nop
add r12, rdi
mov rcx, r12
call fcn.14009b450
lea r8, [rax + 1]
mov rcx, rbp
mov rdx, r12
call fcn.140093380
cmp qword [rsp + 0x30], 0
jne 0x14004df1c
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rsp + 0xa0], xmm0
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x78], rax
lea rax, [0x140046780]
mov qword [rsp + 0x80], rax
lea rax, [0x1400af3c8]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 2
mov qword [rsp + 0x50], 0
lea rax, [rsp + 0x78]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 1
lea rcx, [rsp + 0x88]
mov rdx, rbp
call fcn.140089e70
mov r13, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x90]
mov rcx, rbp
call sub.kernel32.dll_LoadLibraryA
mov r12, rax
test r13, r13
je 0x14004dd81
mov r8d, 1
mov rcx, rbp
mov rdx, r13
call fcn.14004d6b0
test r12, r12
je 0x14004df4d
mov qword [rsp + 0x60], r12
mov eax, dword [rbx]
mov qword [rsp + 0xc8], rbx
mov ecx, dword [rbx + 0x10]
add rcx, rdi
lea rdx, [rdi + rax]
test rax, rax
mov qword [rsp + 0xe0], rcx
cmove rdx, rcx
mov qword [rsp + 0xd8], rdx
mov r13, qword [rdx]
test r13, r13
je 0x14004ded0
xor ebx, ebx
lea rbp, [rsp + 0x30]
jmp 0x14004de19
movzx edx, r13w
mov rcx, qword [rsp + 0x60]
call sub.kernel32.dll_GetProcAddress
mov r12, r14
mov rcx, rax
test rax, rax
je 0x14004df43
mov rdx, qword [rsp + 0xe0]
mov qword [rdx + rbx], rcx
mov rcx, qword [rsp + 0xd8]
mov r13, qword [rcx + rbx + 8]
add rbx, 8
mov r14, r12
mov r15, rax
test r13, r13
je 0x14004def0
test r13, r13
js 0x14004ddd0
mov rax, qword [rsp + 0xd0]
cmp byte [rax + r13], 0
je 0x14004dedd
add r13, rax
mov rcx, r13
call fcn.14009b450
lea r8, [rax + 1]
mov rcx, rbp
mov rdx, r13
call fcn.140093380
cmp qword [rsp + 0x30], 0
jne 0x14004df1c
mov rdx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x40]
mov rcx, rbp
call fcn.140089c90
mov rdx, qword [rsp + 0x30]
movabs rax, 0x8000000000000000
cmp rdx, rax
jne 0x14004df23
mov r13, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x60]
mov rdx, r13
call sub.kernel32.dll_GetProcAddress
mov r12, rax
mov byte [r13], 0
test rbp, rbp
je 0x14004deb6
mov r8d, 1
mov rcx, r13
mov rdx, rbp
call fcn.14004d6b0
mov rax, r15
mov rcx, r12
test r12, r12
lea rbp, [rsp + 0x30]
jne 0x14004dded
jmp 0x14004df3c
mov rax, r15
mov r12, r14
lea rbp, [rsp + 0x30]
jmp 0x14004def0
mov rax, r15
mov r12, r14
nop word cs:[rax + rax]
mov rbx, qword [rsp + 0xc8]
add rbx, 0x14
mov r15, rax
mov r14, r12
mov r13, qword [rsp + 0xb8]
mov r12d, dword [rbx + 0xc]
test r12, r12
jne 0x14004dcc0
jmp 0x14004dca4
mov eax, 5
jmp 0x14004df57
test rdx, rdx
je 0x14004df38
mov rcx, qword [rsp + 0x38]
mov r8d, 1
call fcn.14004d6b0
xor eax, eax
jmp 0x14004df57
mov eax, 2
jmp 0x14004df57
mov eax, 2
mov r14d, r15d
jmp 0x14004df57
mov eax, 1
mov r14, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x28]
mov dword [rcx + 4], eax
mov dword [rcx + 8], r14d
mov dword [rcx], 1
jmp 0x14004e20b
mov rdi, qword [rsp + 0x20]
mov r12, qword [rsp + 0x28]
mov r15, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0x68]
test rbx, rbx
je 0x14004e0f5
cmp dword [r13 + 0xa4], 0
je 0x14004e0f5
mov rbp, r15
lea rax, [0x1400af41e]
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], 0xc
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x78], rax
lea rax, [0x140046780]
mov qword [rsp + 0x80], rax
lea rax, [0x1400af3c8]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 2
mov qword [rsp + 0x50], 0
lea rax, [rsp + 0x78]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 1
lea rcx, [rsp + 0x88]
lea rdx, [rsp + 0x30]
call fcn.140089e70
mov r14, qword [rsp + 0x88]
mov r15, qword [rsp + 0x90]
mov rcx, r15
call sub.kernel32.dll_LoadLibraryA
mov rbx, rax
test r14, r14
je 0x14004e04a
mov r8d, 1
mov rcx, r15
mov rdx, r14
call fcn.14004d6b0
test rbx, rbx
mov r15, rbp
je 0x14004e0f5
lea rdx, [0x1400af42a]
lea rcx, [rsp + 0x30]
mov r8d, 0x13
call fcn.140089c90
mov rdx, qword [rsp + 0x30]
movabs rax, 0x8000000000000000
cmp rdx, rax
jne 0x14004e0e0
mov r14, qword [rsp + 0x38]
mov r15, qword [rsp + 0x40]
mov rcx, rbx
mov rdx, r14
call sub.kernel32.dll_GetProcAddress
mov rbx, rax
mov byte [r14], 0
test r15, r15
je 0x14004e0b3
mov r8d, 1
mov rcx, r14
mov rdx, r15
call fcn.14004d6b0
test rbx, rbx
mov r15, rbp
je 0x14004e0f5
mov ecx, dword [r13 + 0xa0]
mov eax, dword [r13 + 0xa4]
add rcx, rdi
mov edx, 0xaaaaaaab
imul rdx, rax
shr rdx, 0x23
mov r8, rdi
call rbx
jmp 0x14004e0f5
test rdx, rdx
je 0x14004e0f5
mov rcx, qword [rsp + 0x38]
mov r8d, 1
call fcn.14004d6b0
test r15, r15
je 0x14004e1af
shl r15, 3
lea r14, [r15 + r15*4]
xor r15d, r15d
lea rdi, [rsp + 0x30]
lea rbx, [rsp + 0x88]
jmp 0x14004e139
mov rcx, rdi
mov rdx, rbx
call fcn.14004d8a0
cmp eax, 0xb
jne 0x14004e19b
add r15, 0x28
cmp r14, r15
je 0x14004e1af
mov eax, dword [rsi + r15 + 0x10]
mov qword [rsp + 0x88], rax
test rax, rax
je 0x14004e130
mov eax, dword [rsi + r15 + 0xc]
add rax, qword [rsp + 0x20]
mov qword [rsp + 0x30], rax
mov eax, dword [rsi + r15 + 0x24]
test eax, 0x20000000
jne 0x14004e180
mov r8d, 1
test eax, 0x40000000
je 0x14004e120
shr eax, 0x1f
lea r8d, [rax*2 + 2]
jmp 0x14004e120
mov r8d, 0x10
test eax, 0x40000000
je 0x14004e120
shr eax, 0x1a
and eax, 0xffffffe0
add eax, 0x20
mov r8d, eax
jmp 0x14004e120
mov dword [r12 + 4], eax
mov dword [r12 + 8], edx
mov dword [r12], 1
jmp 0x14004e20b
mov rdi, qword [rsp + 0x20]
mov rax, qword [rsp + 0xc0]
cmp dword [r13 + rax + 0x4c], 0
je 0x14004e1fe
mov eax, dword [r13 + rax + 0x48]
test rax, rax
je 0x14004e1fe
mov rsi, qword [rdi + rax + 0x18]
mov rax, qword [rsi]
test rax, rax
je 0x14004e1fe
add rsi, 8
nop
mov rcx, rdi
mov edx, 2
xor r8d, r8d
call rax
mov rax, qword [rsi]
add rsi, 8
test rax, rax
jne 0x14004e1e0
mov rdi, qword [rsp + 0x20]
mov qword [r12 + 8], rdi
mov dword [r12], 0
add rsp, 0xe8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret