Function at 0x140078556
Capabilities:
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, 0x308
mov qword [rsp + 0x50], r8
mov rdi, rdx
test r9b, r9b
mov qword [rsp + 0x30], rcx
je 0x1400785a9
lea r14, [rcx + 0xd80]
lea r9, [0x140252f30]
xor esi, esi
mov r8d, 0x90
mov rcx, r14
xor edx, edx
call sym._ZN4core5array88__LT_impl_u20_core..ops..index..IndexMut_LT_I_GT__u20_for_u20__u5b_T_u3b__u20_N_u5d__GT_9index_mut17hb05089d51
cmp rdx, rsi
je 0x140078614
mov byte [rax + rsi], 8
inc rsi
jmp 0x14007859b
mov word [rcx + 0x200], 1
xor r14d, r14d
mov byte [rsp + 0x20], r14b
mov r8d, 0x120
mov r9d, 0xf
xor edx, edx
call sym.miniz_oxide::deflate::core::HuffmanOxide::optimize_table::hdcbdc921b3591844
mov byte [rsp + 0x20], r14b
mov edx, 1
mov r8d, 0x20
mov r9d, 0xf
mov rcx, qword [rsp + 0x30]
call sym.miniz_oxide::deflate::core::HuffmanOxide::optimize_table::hdcbdc921b3591844
mov rcx, qword [rsp + 0x30]
lea rax, [rcx + 0xe9d]
cmp r14, 0x1d
je 0x1400789e2
cmp byte [rax], 0
jne 0x1400789e8
inc r14
dec rax
jmp 0x1400785f9
lea r9, [0x140252f48]
mov edx, 0x90
mov r8d, 0x100
mov rcx, r14
call sym._ZN4core5array88__LT_impl_u20_core..ops..index..IndexMut_LT_I_GT__u20_for_u20__u5b_T_u3b__u20_N_u5d__GT_9index_mut17hb05089d51
xor ecx, ecx
cmp rdx, rcx
je 0x14007863e
mov byte [rax + rcx], 9
inc rcx
jmp 0x140078630
lea r9, [0x140252f60]
mov edx, 0x100
mov r8d, 0x118
mov rcx, r14
call sym._ZN4core5array88__LT_impl_u20_core..ops..index..IndexMut_LT_I_GT__u20_for_u20__u5b_T_u3b__u20_N_u5d__GT_9index_mut17hb05089d51
xor ecx, ecx
cmp rdx, rcx
je 0x140078668
mov byte [rax + rcx], 7
inc rcx
jmp 0x14007865a
lea r9, [0x140252f78]
mov edx, 0x118
mov r8d, 0x120
mov rcx, r14
call sym._ZN4core5array88__LT_impl_u20_core..ops..index..IndexMut_LT_I_GT__u20_for_u20__u5b_T_u3b__u20_N_u5d__GT_9index_mut17hb05089d51
xor ecx, ecx
mov r8, qword [rsp + 0x30]
cmp rdx, rcx
je 0x140078697
mov byte [rax + rcx], 8
inc rcx
jmp 0x140078689
lea rdx, [r8 + 0xea0]
lea r9, [0x140252f90]
mov ecx, 0x20
mov r8d, 0x120
call sym._ZN108__LT_core..ops..range..RangeTo_LT_usize_GT__u20_as_u20_core..slice..index..SliceIndex_LT__u5b_T_u5d__GT__GT_9index_mut17
xor ecx, ecx
cmp rdx, rcx
je 0x1400786c5
mov byte [rax + rcx], 5
inc rcx
jmp 0x1400786b7
mov bl, 1
mov byte [rsp + 0x20], bl
mov r8d, 0x120
mov r9d, 0xf
mov rsi, qword [rsp + 0x30]
mov rcx, rsi
xor edx, edx
call sym.miniz_oxide::deflate::core::HuffmanOxide::optimize_table::hdcbdc921b3591844
mov byte [rsp + 0x20], bl
mov edx, 1
mov r8d, 0x20
mov r9d, 0xf
mov rcx, rsi
call sym.miniz_oxide::deflate::core::HuffmanOxide::optimize_table::hdcbdc921b3591844
mov rcx, rdi
mov edx, 1
mov r8d, 2
call sym.miniz_oxide::deflate::core::OutputBufferOxide::put_bits::h2608ef71b82e7c25
mov r10, qword [rsp + 0x50]
mov r14, qword [r10 + 0x10000]
cmp r14, 0x10001
jae 0x140078f09
mov esi, dword [rdi + 0x18]
mov ebp, dword [rdi + 0x1c]
mov ebx, 1
xor r12d, r12d
mov r9, qword [rsp + 0x30]
mov qword [rsp + 0x80], rdi
cmp r12, r14
jae 0x140078989
cmp ebx, 1
jne 0x14007876b
movzx edi, byte [r10 + r12]
or edi, 0x100
inc r12
mov r11, r12
jmp 0x140078770
mov r11, r12
mov edi, ebx
test dil, 1
jne 0x1400787d9
lea rax, [r11 + 3]
mov edx, 3
mov r12, r11
sub edx, 1
jb 0x140078878
cmp r12, r14
jae 0x140078e55
mov ebx, edi
shr ebx, 1
movzx r8d, byte [r10 + r12]
inc r12
movzx r15d, word [r9 + r8*2 + 0x6c0]
mov ecx, ebp
shl r15, cl
movzx r13d, byte [r9 + r8 + 0xd80]
or r15, rsi
add r13d, ebp
test dil, 2
jne 0x1400788f5
mov ebp, r13d
mov rsi, r15
mov edi, ebx
cmp r12, r14
jb 0x140078782
jmp 0x1400788f5
cmp r11, r14
lea r13, [0x140253158]
jae 0x140078eaa
movzx ebx, byte [r10 + r11]
mov r12, r11
lea r8, [r11 + 1]
mov rcx, r10
mov rdx, r14
call sym.miniz_oxide::deflate::core::read_u16_le::h88e9e14c637d42af
lea rcx, [0x1402531b8]
movzx r9d, word [rcx + rbx*2]
cmp r9, 0x120
jae 0x140078e6e
lea rcx, [0x1402533d0]
movzx r10d, byte [rbx + rcx]
cmp r10, 0x11
mov r11, qword [rsp + 0x30]
jae 0x140078e96
movzx r15d, word [r11 + r9*2 + 0x6c0]
mov ecx, ebp
shl r15, cl
movzx ecx, byte [r11 + r9 + 0xd80]
add ecx, ebp
and ebx, dword [r13 + r10*4]
shl rbx, cl
movzx edx, ax
cmp ax, 0x200
jae 0x140078883
mov rbp, r13
lea rax, [0x140253600]
lea r8, [rax + rdx]
lea rax, [0x140253800]
add rax, rdx
jmp 0x1400788a8
mov r13d, ebp
mov r15, rsi
mov r12, rax
jmp 0x1400788f3
mov eax, edx
shr eax, 8
test dx, dx
js 0x140078edf
mov rbp, r13
lea r8, [0x1402534e8]
add r8, rax
lea r9, [0x140253580]
add rax, r9
movzx r13d, byte [rax]
cmp r13, 0x11
jae 0x140078e82
shr edi, 1
add ecx, r10d
movzx eax, byte [r8]
movzx r8d, word [r11 + rax*2 + 0x900]
shl r8, cl
movzx eax, byte [r11 + rax + 0xea0]
add eax, ecx
and edx, dword [rbp + r13*4]
mov ecx, eax
shl rdx, cl
add r12, 3
or r15, rbx
or r15, r8
or r15, rdx
or r15, rsi
add r13d, eax
mov ebx, edi
mov rdi, qword [rsp + 0x80]
mov rcx, qword [rdi + 0x10]
mov r8, qword [rdi]
mov r9, qword [rdi + 8]
lea rdx, [rcx + 8]
lea rax, [0x140252ca0]
mov qword [rsp + 0x20], rax
call sym._ZN106__LT_core..ops..range..Range_LT_usize_GT__u20_as_u20_core..slice..index..SliceIndex_LT__u5b_T_u5d__GT__GT_9index_mut17h0
mov qword [rsp + 0x88], r15
lea rcx, [0x140252cb8]
mov qword [rsp + 0x20], rcx
mov r9d, 8
mov rcx, rax
lea r8, [rsp + 0x88]
call sym.core::slice::__impl__T__::copy_from_slice::h5320240950f0cbaa
mov edx, r13d
shr edx, 3
mov al, 2
add rdx, qword [rdi + 0x10]
jb 0x140078c9b
cmp rdx, qword [rdi + 8]
ja 0x140078c9b
mov ecx, r13d
and cl, 0x38
shr r15, cl
mov qword [rdi + 0x10], rdx
and r13d, 7
mov ebp, r13d
mov rsi, r15
mov r9, qword [rsp + 0x30]
mov r10, qword [rsp + 0x50]
jmp 0x14007874a
and qword [rdi + 0x18], 0
lea r14, [0x140253158]
test ebp, ebp
je 0x1400789c3
cmp ebp, 0x10
mov ebx, 0x10
cmovb ebx, ebp
mov edx, dword [r14 + rbx*4]
and edx, esi
mov rcx, rdi
mov r8d, ebx
call sym.miniz_oxide::deflate::core::OutputBufferOxide::put_bits::h2608ef71b82e7c25
mov r9, qword [rsp + 0x30]
mov ecx, ebx
shr rsi, cl
sub ebp, ebx
jmp 0x140078995
movzx edx, word [r9 + 0x8c0]
movzx r8d, byte [r9 + 0xe80]
mov rcx, rdi
call sym.miniz_oxide::deflate::core::OutputBufferOxide::put_bits::h2608ef71b82e7c25
mov al, 1
jmp 0x140078c9b
mov r14d, 0x1d
mov eax, 0x11e
sub rax, r14
mov qword [rsp + 0x68], rax
lea rax, [rcx + 0xebd]
xor esi, esi
cmp rsi, 0x1d
je 0x140078a11
cmp byte [rax], 0
jne 0x140078a16
inc rsi
dec rax
jmp 0x1400789fe
mov esi, 0x1d
mov r12d, 0x1e
sub r12, rsi
lea rbx, [rsp + 0x1c8]
mov r8d, 0x140
mov rcx, rbx
xor edx, edx
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x88]
mov r8d, 0x140
xor edx, edx
call sub.msvcrt.dll_memset
mov r13, qword [rsp + 0x68]
lea rax, [r12 + r13]
mov qword [rsp + 0x78], rax
lea r9, [0x140252fa8]
mov r8d, 0x140
mov rcx, r13
mov rdx, rbx
call sym._ZN108__LT_core..ops..range..RangeTo_LT_usize_GT__u20_as_u20_core..slice..index..SliceIndex_LT__u5b_T_u5d__GT__GT_9index_mut17
mov rbp, rax
mov r15, rdx
mov rbx, qword [rsp + 0x30]
lea rcx, [rbx + 0xd80]
lea r8, [0x140252fc0]
mov rdx, r13
call sym.core::array::__impl_core::ops::index::Index_I__for__T__N__::index::hf43fbbf3f4e9acae
mov r9, rdx
lea rcx, [0x140252fd8]
mov qword [rsp + 0x20], rcx
mov rcx, rbp
mov rbp, qword [rsp + 0x78]
mov rdx, r15
mov r8, rax
call sym.core::slice::__impl__T__::copy_from_slice::h5320240950f0cbaa
lea rax, [0x140252ff0]
mov qword [rsp + 0x20], rax
mov r9d, 0x140
mov rcx, r13
mov rdx, rbp
lea r8, [rsp + 0x1c8]
call sym._ZN106__LT_core..ops..range..Range_LT_usize_GT__u20_as_u20_core..slice..index..SliceIndex_LT__u5b_T_u5d__GT__GT_9index_mut17h0
mov r15, rax
mov r13, rdx
lea rcx, [rbx + 0xea0]
lea r8, [0x140253008]
mov qword [rsp + 0x70], r12
mov rdx, r12
call sym.core::array::__impl_core::ops::index::Index_I__for__T__N__::index::hf43fbbf3f4e9acae
mov r9, rdx
lea rcx, [0x140253020]
mov qword [rsp + 0x20], rcx
mov rcx, r15
mov rdx, r13
mov r8, rax
call sym.core::slice::__impl__T__::copy_from_slice::h5320240950f0cbaa
mov r9, rbx
and qword [rsp + 0x3c], 0
mov byte [rsp + 0x44], 0xff
mov eax, 0x480
cmp rax, 0x4a6
je 0x140078b3f
and word [r9 + rax], 0
add rax, 2
jmp 0x140078b2b
and qword [rsp + 0x48], 0
cmp rbp, 0x141
jae 0x140078f1d
mov r15, rdi
add rsi, r14
mov edi, 0x13c
sub rdi, rsi
xor esi, esi
lea r12, [rsp + 0x3c]
lea r13, [rsp + 0x88]
lea rbp, [rsp + 0x48]
lea r14, [rsp + 0x5c]
cmp rdi, rsi
je 0x140078c5e
movzx ebx, byte [rsp + rsi + 0x1c8]
mov rcx, r12
mov rdx, r13
mov r8, rbp
test rbx, rbx
je 0x140078bd3
call sym.miniz_oxide::deflate::core::Rle::zero_code_size::h5d1e17bada6df981
test al, al
jne 0x140078c99
cmp bl, byte [rsp + 0x44]
jne 0x140078c06
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
cmp eax, 6
jne 0x140078c4d
mov rcx, r12
mov rdx, r13
mov r8, rbp
mov r9, qword [rsp + 0x30]
call sym.miniz_oxide::deflate::core::Rle::prev_code_size::h9c213511510093ad
jmp 0x140078c49
call sym.miniz_oxide::deflate::core::Rle::prev_code_size::h9c213511510093ad
test al, al
jne 0x140078c99
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
cmp eax, 0x8a
jne 0x140078c4d
mov rcx, r12
mov rdx, r13
mov r8, rbp
mov r9, qword [rsp + 0x30]
call sym.miniz_oxide::deflate::core::Rle::zero_code_size::h5d1e17bada6df981
jmp 0x140078c49
mov rcx, r12
mov rdx, r13
mov r8, rbp
mov r9, qword [rsp + 0x30]
call sym.miniz_oxide::deflate::core::Rle::prev_code_size::h9c213511510093ad
test al, al
jne 0x140078c99
mov rax, qword [rsp + 0x30]
inc word [rax + rbx*2 + 0x480]
mov byte [rsp + 0x5c], bl
mov qword [rsp + 0x20], rbp
mov edx, 1
mov r9d, 0x140
mov rcx, r14
mov r8, r13
call sym.miniz_oxide::deflate::core::write::h292f60d1ecd78d6d
test al, al
jne 0x140078c99
mov byte [rsp + 0x44], bl
inc rsi
mov r9, qword [rsp + 0x30]
jmp 0x140078b79
cmp dword [rsp + 0x40], 0
je 0x140078c7e
lea rcx, [rsp + 0x3c]
lea rdx, [rsp + 0x88]
lea r8, [rsp + 0x48]
call sym.miniz_oxide::deflate::core::Rle::prev_code_size::h9c213511510093ad
jmp 0x140078c95
lea rcx, [rsp + 0x3c]
lea rdx, [rsp + 0x88]
lea r8, [rsp + 0x48]
call sym.miniz_oxide::deflate::core::Rle::zero_code_size::h5d1e17bada6df981
test al, al
je 0x140078caf
mov al, 2
add rsp, 0x308
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov byte [rsp + 0x20], 0
mov esi, 0x13
mov edx, 2
mov r8d, 0x13
mov r9d, 7
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call sym.miniz_oxide::deflate::core::HuffmanOxide::optimize_table::hdcbdc921b3591844
mov rdi, r15
mov rcx, r15
mov edx, 2
mov r8d, 2
call sym.miniz_oxide::deflate::core::OutputBufferOxide::put_bits::h2608ef71b82e7c25
mov rdx, qword [rsp + 0x68]
add edx, 0xfffffeff
mov rcx, r15
mov r8d, 5
call sym.miniz_oxide::deflate::core::OutputBufferOxide::put_bits::h2608ef71b82e7c25
mov rdx, qword [rsp + 0x70]
dec edx
mov rcx, r15
mov r8d, 5
call sym.miniz_oxide::deflate::core::OutputBufferOxide::put_bits::h2608ef71b82e7c25
lea rcx, [0x140253062]
xor eax, eax
cmp rax, 0x13
je 0x140078d42
movzx edx, byte [rcx]
cmp byte [rbx + rdx + 0xfc0], 0
jne 0x140078d3f
inc rax
dec rcx
jmp 0x140078d24
mov rsi, rax
mov edi, 0x13
mov eax, 0x13
sub rax, rsi
cmp rax, 5
mov r14d, 4
cmovae r14, rax
lea edx, [r14 - 4]
mov rcx, r15
mov r8d, 4
call sym.miniz_oxide::deflate::core::OutputBufferOxide::put_bits::h2608ef71b82e7c25
cmp rdi, rsi
jb 0x140078f31
xor esi, esi
lea rdi, [0x140253050]
mov rcx, qword [rsp + 0x30]
cmp r14, rsi
je 0x140078daf
movzx eax, byte [rsi + rdi]
movzx edx, byte [rcx + rax + 0xfc0]
mov rcx, r15
mov r8d, 3
call sym.miniz_oxide::deflate::core::OutputBufferOxide::put_bits::h2608ef71b82e7c25
mov rcx, qword [rsp + 0x30]
inc rsi
jmp 0x140078d86
xor ebx, ebx
movabs rsi, 0x300000002
cmp rbx, qword [rsp + 0x48]
jae 0x140078e4d
mov r14, rbx
cmp rbx, 0x13f
ja 0x140078eb3
movzx edi, byte [rsp + r14 + 0x88]
cmp rdi, 0x13
mov rax, qword [rsp + 0x30]
jae 0x140078ec7
lea rbx, [r14 + 1]
movzx edx, word [rax + rdi*2 + 0xb40]
movzx r8d, byte [rax + rdi + 0xfc0]
mov rcx, r15
call sym.miniz_oxide::deflate::core::OutputBufferOxide::put_bits::h2608ef71b82e7c25
cmp dil, 0x10
jb 0x140078dbb
cmp r14, 0x13f
je 0x140078ef3
movzx edx, byte [rsp + r14 + 0x89]
mov qword [rsp + 0x5c], rsi
mov dword [rsp + 0x64], 7
mov r8d, dword [rsp + rdi*4 + 0x1c]
mov rcx, r15
call sym.miniz_oxide::deflate::core::OutputBufferOxide::put_bits::h2608ef71b82e7c25
add r14, 2
mov rbx, r14
jmp 0x140078dbb
mov rdi, r15
jmp 0x140078716
cmp r11, r14
cmovbe r11, r14
lea r8, [0x140253a18]
mov rcx, r11
mov rdx, r14
call sym.core::panicking::panic_bounds_check::ha5eba36dbaff2278
lea r8, [0x1402533b8]
mov edx, 0x120
mov rcx, r9
call sym.core::panicking::panic_bounds_check::ha5eba36dbaff2278
lea r8, [0x140253a00]
mov edx, 0x11
mov rcx, r13
call sym.core::panicking::panic_bounds_check::ha5eba36dbaff2278
lea r8, [0x1402534d0]
mov edx, 0x11
mov rcx, r10
call sym.core::panicking::panic_bounds_check::ha5eba36dbaff2278
lea r8, [0x1402531a0]
jmp 0x140078e63
lea r8, [0x140253080]
mov edx, 0x140
mov rcx, r14
call sym.core::panicking::panic_bounds_check::ha5eba36dbaff2278
lea rcx, str.assertion_failed:_code___MAX_HUFF_SYMBOLS_2
lea r8, [0x1402530c8]
mov edx, 0x2b
call sym.core::panicking::panic::h8ea5606244902eff
lea r8, [0x140253568]
mov edx, pe_nt_image_headers64
mov rcx, rax
call sym.core::panicking::panic_bounds_check::ha5eba36dbaff2278
lea r8, [0x1402530e0]
mov ecx, 0x140
mov edx, 0x140
call sym.core::panicking::panic_bounds_check::ha5eba36dbaff2278
lea r8, [0x140253a30]
mov edx, 0x10000
mov rcx, r14
call sym.core::slice::index::slice_end_index_len_fail::h829dac2b01cd87d1
lea r8, [0x140253038]
mov edx, 0x140
mov rcx, rbp
call sym.core::slice::index::slice_end_index_len_fail::h829dac2b01cd87d1
lea r8, [0x140253068]
mov edx, 0x13
jmp 0x140078f15