Function at 0x14031bc44
Capabilities:
Compress data via zlib inflate or deflate
Resolve function by parsing pe exports

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x78
mov rdi, qword [rcx + 0x28]
xor edx, edx
mov r12, rcx
test rdi, rdi
je 0x14031bd2e
mov r11, qword [rcx + 0x10]
mov qword [rbp - 0x38], r11
test r11, r11
je 0x14031bd2e
mov r15, qword [rcx]
mov qword [rbp - 0x48], r15
test r15, r15
jne 0x14031bc90
cmp dword [rcx + 8], edx
jne 0x14031bd2e
cmp dword [rdi], 0xb
jne 0x14031bcaa
mov dword [rdi], SafeArrayGetDim
mov r11, qword [rcx + 0x10]
mov r15, qword [rcx]
mov qword [rbp - 0x38], r11
mov qword [rbp - 0x48], r15
mov ebx, dword [rcx + 0x18]
mov r10d, ebx
mov r13d, dword [rcx + 8]
mov r14d, dword [rdi + 0x40]
mov esi, dword [rdi + 0x44]
mov dword [rbp + 0x60], ebx
mov dword [rbp - 0x30], r13d
mov dword [rbp + 0x50], ebx
mov dword [rbp + 0x48], edx
lea r8, [rdi + 0x68]
lea r9, [rdi + 0x6c]
mov eax, 7
mov ecx, dword [rdi]
cmp ecx, 0xf
jg 0x14031c665
je 0x14031c441
cmp ecx, eax
jg 0x14031c3ac
je 0x14031c29f
test ecx, ecx
je 0x14031c136
sub ecx, 1
je 0x14031bd44
sub ecx, 1
je 0x14031be1d
sub ecx, 1
je 0x14031be89
sub ecx, 1
je 0x14031bf17
sub ecx, 1
je 0x14031bf3c
cmp ecx, 1
je 0x14031c078
mov eax, 0xfffffffe
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov eax, reloc.OLEAUT32.dll_SafeArrayGetDim
cmp esi, eax
jae 0x14031bd73
test r13d, r13d
je 0x14031d2a5
movzx eax, byte [r15]
mov ecx, esi
shl eax, cl
inc r15
add r14d, eax
mov qword [rbp - 0x48], r15
dec r13d
add esi, 8
cmp esi, 0x10
jb 0x14031bd4d
mov dword [rdi + 0x10], r14d
cmp r14b, 8
je 0x14031bd89
lea rax, str.unknown_compression_method
jmp 0x14031c28f
test r14d, 0xe000
je 0x14031bd9e
lea rax, str.unknown_header_flags_set
jmp 0x14031c28f
mov rdx, qword [rdi + 0x20]
mov ecx, r14d
shr ecx, 8
mov eax, r14d
test rdx, rdx
je 0x14031bdba
mov eax, ecx
and eax, 1
mov dword [rdx], eax
mov eax, dword [rdi + 0x10]
bt eax, 9
jae 0x14031bded
mov byte [rbp + 0x59], cl
lea r8, [rbp - 0x2c]
mov byte [rbp + 0x58], r14b
lea rcx, [rbp + 0x58]
mov eax, dword [rdi + 0x18]
mov edx, 2
mov dword [rbp - 0x2c], eax
mov rax, qword [0x140563f58]
call qword [str.p76_]
mov eax, dword [rbp - 0x2c]
mov dword [rdi + 0x18], eax
xor edx, edx
mov dword [rdi], 2
mov r14d, edx
mov esi, edx
jmp 0x14031be1d
test r13d, r13d
je 0x14031d2a5
movzx eax, byte [r15]
mov ecx, esi
shl eax, cl
inc r15
add r14d, eax
mov qword [rbp - 0x48], r15
dec r13d
add esi, 8
cmp esi, 0x20
jb 0x14031bdfc
mov rax, qword [rdi + 0x20]
test rax, rax
je 0x14031be2f
mov dword [rax + 4], r14d
test dword [rdi + 0x10], 0x200
je 0x14031be7e
mov eax, r14d
mov byte [rbp + 0x58], r14b
shr eax, 8
lea r8, [rbp - 0x28]
mov byte [rbp + 0x59], al
lea rcx, [rbp + 0x58]
mov eax, r14d
mov edx, 4
shr eax, 0x10
mov byte [rbp + 0x5a], al
shr r14d, 0x18
mov byte [rbp + 0x5b], r14b
mov eax, dword [rdi + 0x18]
mov dword [rbp - 0x28], eax
mov rax, qword [0x140563f58]
call qword [str.p76_]
mov eax, dword [rbp - 0x28]
xor edx, edx
mov dword [rdi + 0x18], eax
mov r14d, edx
mov dword [rdi], 3
mov esi, edx
mov ebx, reloc.OLEAUT32.dll_SafeArrayGetDim
jmp 0x14031beb1
test r13d, r13d
je 0x14031d2a5
movzx eax, byte [r15]
mov ecx, esi
shl eax, cl
inc r15
add r14d, eax
mov qword [rbp - 0x48], r15
dec r13d
add esi, 8
cmp esi, ebx
jb 0x14031be90
mov rdx, qword [rdi + 0x20]
mov ecx, r14d
shr ecx, 8
test rdx, rdx
je 0x14031bed2
movzx eax, r14b
mov dword [rdx + 8], eax
mov rax, qword [rdi + 0x20]
mov dword [rax + 0xc], ecx
test dword [rdi + 0x10], 0x200
je 0x14031bf08
mov byte [rbp + 0x59], cl
lea r8, [rbp - 0x24]
mov byte [rbp + 0x58], r14b
lea rcx, [rbp + 0x58]
mov eax, dword [rdi + 0x18]
mov edx, 2
mov dword [rbp - 0x24], eax
mov rax, qword [0x140563f58]
call qword [str.p76_]
mov eax, dword [rbp - 0x24]
mov dword [rdi + 0x18], eax
xor edx, edx
mov dword [rdi], 4
mov r14d, edx
mov esi, edx
jmp 0x14031bf1c
mov ebx, reloc.OLEAUT32.dll_SafeArrayGetDim
test dword [rdi + 0x10], 0x400
jne 0x14031bfdb
mov rax, qword [rdi + 0x20]
test rax, rax
je 0x14031bf36
mov qword [rax + 0x10], rdx
mov dword [rdi], 5
mov eax, dword [rdi + 0x10]
bt eax, 0xa
jae 0x14031c06f
mov ecx, dword [rdi + 0x48]
mov ebx, r13d
cmp ecx, r13d
cmovbe ebx, ecx
test ebx, ebx
je 0x14031c067
mov r8, qword [rdi + 0x20]
test r8, r8
je 0x14031bf9a
mov r9, qword [r8 + 0x10]
test r9, r9
je 0x14031bf9a
mov edx, dword [r8 + 0x18]
sub edx, ecx
mov ecx, dword [r8 + 0x1c]
sub ecx, edx
lea eax, [rbx + rdx]
cmp eax, dword [r8 + 0x1c]
cmovbe ecx, ebx
mov r8d, ecx
mov ecx, edx
mov rdx, r15
add rcx, r9
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov eax, dword [rdi + 0x10]
xor edx, edx
bt eax, 9
jae 0x14031c055
mov eax, dword [rdi + 0x18]
mov dword [rbp - 0x1c], eax
test r15, r15
jne 0x14031c037
mov eax, edx
jmp 0x14031c052
test r13d, r13d
je 0x14031d2a5
movzx eax, byte [r15]
mov ecx, esi
shl eax, cl
inc r15
add r14d, eax
mov qword [rbp - 0x48], r15
dec r13d
add esi, 8
cmp esi, ebx
jb 0x14031bfba
mov rax, qword [rdi + 0x20]
mov dword [rdi + 0x48], r14d
test rax, rax
je 0x14031bff0
mov dword [rax + 0x18], r14d
test dword [rdi + 0x10], 0x200
je 0x14031c02d
mov byte [rbp + 0x58], r14b
lea r8, [rbp - 0x20]
shr r14d, 8
lea rcx, [rbp + 0x58]
mov byte [rbp + 0x59], r14b
mov edx, 2
mov eax, dword [rdi + 0x18]
mov dword [rbp - 0x20], eax
mov rax, qword [0x140563f58]
call qword [str.p76_]
mov eax, dword [rbp - 0x20]
xor edx, edx
mov dword [rdi + 0x18], eax
mov r14d, edx
mov esi, edx
jmp 0x14031bf36
mov rax, qword [0x140563f58]
lea r8, [rbp - 0x1c]
mov edx, ebx
mov rcx, r15
call qword [str.p76_]
mov eax, dword [rbp - 0x1c]
xor edx, edx
mov dword [rdi + 0x18], eax
mov eax, ebx
sub r13d, ebx
add r15, rax
sub dword [rdi + 0x48], ebx
mov ecx, dword [rdi + 0x48]
mov qword [rbp - 0x48], r15
test ecx, ecx
jne 0x14031d2a5
mov dword [rdi + 0x48], edx
mov dword [rdi], 6
test dword [rdi + 0x10], 0x800
mov r9, qword [rbp - 0x48]
je 0x14031c11b
test r13d, r13d
je 0x14031d2a9
mov ebx, edx
mov eax, ebx
inc ebx
movzx r15d, byte [rax + r9]
mov rax, qword [rdi + 0x20]
test rax, rax
je 0x14031c0c0
mov rdx, qword [rax + 0x20]
test rdx, rdx
je 0x14031c0be
mov ecx, dword [rdi + 0x48]
cmp ecx, dword [rax + 0x28]
jae 0x14031c0be
mov byte [rcx + rdx], r15b
inc dword [rdi + 0x48]
xor edx, edx
test r15d, r15d
je 0x14031c0ca
cmp ebx, r13d
jb 0x14031c094
test dword [rdi + 0x10], 0x200
je 0x14031c104
mov eax, dword [rdi + 0x18]
mov dword [rbp - 0x18], eax
test r9, r9
jne 0x14031c0e2
mov eax, edx
jmp 0x14031c0fd
mov rax, qword [0x140563f58]
lea r8, [rbp - 0x18]
mov edx, ebx
mov rcx, r9
call qword [str.p76_]
mov eax, dword [rbp - 0x18]
xor edx, edx
mov r9, qword [rbp - 0x48]
mov dword [rdi + 0x18], eax
mov eax, ebx
sub r13d, ebx
add r9, rax
mov qword [rbp - 0x48], r9
test r15d, r15d
jne 0x14031d2a9
jmp 0x14031c128
mov rax, qword [rdi + 0x20]
test rax, rax
je 0x14031c128
mov qword [rax + 0x20], rdx
mov dword [rdi + 0x48], edx
mov dword [rdi], 7
jmp 0x14031c2a3
cmp dword [rdi + 8], edx
jne 0x14031c167
mov dword [rdi], SafeArrayGetDim
jmp 0x14031bcd0
test r13d, r13d
je 0x14031d2a5
movzx eax, byte [r15]
mov ecx, esi
shl eax, cl
inc r15
add r14d, eax
mov qword [rbp - 0x48], r15
dec r13d
add esi, 8
mov eax, reloc.OLEAUT32.dll_SafeArrayGetDim
cmp esi, eax
jb 0x14031c146
test byte [rdi + 8], 2
je 0x14031c1c7
cmp r14d, 0x8b1f
jne 0x14031c1c7
mov dword [rdi + 0x18], edx
lea r8, [rbp - 0x14]
mov word [rbp + 0x58], r14w
lea rcx, [rbp + 0x58]
mov eax, dword [rdi + 0x18]
mov edx, 2
mov dword [rbp - 0x14], eax
mov rax, qword [0x140563f58]
call qword [str.p76_]
mov eax, dword [rbp - 0x14]
mov dword [rdi + 0x18], eax
mov dword [rdi], 1
xor edx, edx
mov esi, edx
mov r14d, edx
mov r10d, dword [rbp + 0x50]
mov r11, qword [rbp - 0x38]
jmp 0x14031bcc8
mov rax, qword [rdi + 0x20]
mov dword [rdi + 0x10], edx
test rax, rax
je 0x14031c1d7
or dword [rax + 0x40], 0xffffffff
test byte [rdi + 8], 1
je 0x14031c288
movzx ecx, r14b
mov eax, r14d
shr eax, 8
shl ecx, 8
add ecx, eax
mov eax, 0x8421085
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 4
imul eax, eax, 0x1f
cmp ecx, eax
jne 0x14031c286
mov eax, r14d
and al, 0xf
cmp al, 8
je 0x14031c22b
lea rax, str.unknown_compression_method
mov qword [r12 + 0x20], rax
mov dword [rdi], CreateCompressor
xor edx, edx
jmp 0x14031bcd0
shr r14d, 4
add esi, 0xfffffffc
mov ecx, r14d
xor edx, edx
and ecx, 0xf
add ecx, 8
cmp dword [rdi + 0x28], edx
jne 0x14031c278
mov dword [rdi + 0x28], ecx
mov eax, 1
xor r8d, r8d
shl eax, cl
xor ecx, ecx
mov dword [rdi + 0x14], eax
call fcn.14031f884
shr r14d, 8
not r14d
mov dword [rdi + 0x18], eax
and r14d, 2
mov dword [r12 + 0x4c], eax
or r14d, 9
mov dword [rdi], r14d
jmp 0x14031c1b3
cmp ecx, dword [rdi + 0x28]
jbe 0x14031c245
lea rax, str.invalid_window_size
jmp 0x14031c28f
xor edx, edx
lea rax, str.incorrect_header_check
mov qword [r12 + 0x20], rax
mov dword [rdi], CreateCompressor
jmp 0x14031bcd0
mov r9, qword [rbp - 0x48]
test dword [rdi + 0x10], 0x1000
je 0x14031c346
test r13d, r13d
je 0x14031d2a9
mov ebx, edx
mov eax, ebx
inc ebx
movzx r15d, byte [rax + r9]
mov rax, qword [rdi + 0x20]
test rax, rax
je 0x14031c2e7
mov rdx, qword [rax + 0x30]
test rdx, rdx
je 0x14031c2e5
mov ecx, dword [rdi + 0x48]
cmp ecx, dword [rax + 0x38]
jae 0x14031c2e5
mov byte [rcx + rdx], r15b
inc dword [rdi + 0x48]
xor edx, edx
test r15d, r15d
je 0x14031c2f1
cmp ebx, r13d
jb 0x14031c2bb
test dword [rdi + 0x10], 0x200
je 0x14031c32f
mov eax, dword [rdi + 0x18]
mov dword [rbp - 0x10], eax
mov rax, qword [rbp - 0x48]
test rax, rax
jne 0x14031c30d
mov eax, edx
jmp 0x14031c328
mov rcx, rax
lea r8, [rbp - 0x10]
mov rax, qword [0x140563f58]
mov edx, ebx
call qword [str.p76_]
mov eax, dword [rbp - 0x10]
xor edx, edx
mov r9, qword [rbp - 0x48]
mov dword [rdi + 0x18], eax
mov eax, ebx
sub r13d, ebx
add r9, rax
mov qword [rbp - 0x48], r9
test r15d, r15d
jne 0x14031d2a9
jmp 0x14031c353
mov rax, qword [rdi + 0x20]
test rax, rax
je 0x14031c353
mov qword [rax + 0x30], rdx
mov r10d, dword [rbp + 0x50]
lea r8, [rdi + 0x68]
mov ebx, dword [rbp + 0x60]
lea r9, [rdi + 0x6c]
mov dword [rdi], 8
mov edx, dword [rdi + 0x10]
bt edx, 9
jae 0x14031c620
mov r15, qword [rbp - 0x48]
xor r11d, r11d
mov eax, reloc.OLEAUT32.dll_SafeArrayGetDim
cmp esi, eax
jae 0x14031c601
test r13d, r13d
je 0x14031d2a3
movzx eax, byte [r15]
mov ecx, esi
shl eax, cl
inc r15
add r14d, eax
mov qword [rbp - 0x48], r15
dec r13d
add esi, 8
jmp 0x14031c37c
sub ecx, 8
je 0x14031c368
sub ecx, 1
je 0x14031c4cc
sub ecx, 1
je 0x14031c50d
sub ecx, 1
je 0x14031c53e
sub ecx, 1
je 0x14031c53e
sub ecx, 1
je 0x14031c3e5
cmp ecx, 1
jne 0x14031bd2e
jmp 0x14031c43b
mov ecx, esi
and ecx, 7
shr r14d, cl
sub esi, ecx
jmp 0x14031c412
test r13d, r13d
je 0x14031d2a5
movzx eax, byte [r15]
mov ecx, esi
shl eax, cl
inc r15
add r14d, eax
mov qword [rbp - 0x48], r15
dec r13d
add esi, 8
cmp esi, 0x20
jb 0x14031c3f1
mov eax, r14d
movzx ecx, r14w
not eax
shr eax, 0x10
cmp ecx, eax
je 0x14031c433
lea rax, str.invalid_stored_block_lengths
jmp 0x14031c28f
mov dword [rdi + 0x48], ecx
mov r14d, edx
mov esi, edx
mov dword [rdi], SafeArrayLock
mov ecx, dword [rdi + 0x48]
test ecx, ecx
je 0x14031c65a
cmp ecx, r13d
mov eax, r13d
mov r15d, ebx
cmovbe eax, ecx
cmp eax, ebx
cmovbe r15d, eax
test r15d, r15d
je 0x14031d2a5
mov rdx, qword [rbp - 0x48]
mov rcx, r11
mov r8d, r15d
mov ebx, r15d
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add qword [rbp - 0x48], rbx
lea r8, [rdi + 0x68]
sub dword [rbp + 0x60], r15d
lea r9, [rdi + 0x6c]
mov r11, qword [rbp - 0x38]
sub r13d, r15d
mov r10d, dword [rbp + 0x50]
add r11, rbx
sub dword [rdi + 0x48], r15d
mov r15, qword [rbp - 0x48]
mov ebx, dword [rbp + 0x60]
mov qword [rbp - 0x38], r11
jmp 0x14031c224
test r13d, r13d
je 0x14031d2a5
movzx eax, byte [r15]
mov ecx, esi
shl eax, cl
inc r15
add r14d, eax
mov qword [rbp - 0x48], r15
dec r13d
add esi, 8
cmp esi, 0x20
jb 0x14031c4ab
mov ecx, r14d
mov eax, r14d
shl eax, 0x10
mov r8d, 0xff00
and ecx, r8d
mov esi, edx
add ecx, eax
mov eax, r14d
shr eax, 8
and eax, r8d
shl ecx, 8
shr r14d, 0x18
add eax, ecx
add eax, r14d
mov r14d, edx
mov dword [rdi + 0x18], eax
mov dword [r12 + 0x4c], eax
mov dword [rdi], 0xa
cmp dword [rdi + 0xc], edx
je 0x14031d260
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.14031f884
mov r10d, dword [rbp + 0x50]
lea r8, [rdi + 0x68]
mov dword [rdi + 0x18], eax
lea r9, [rdi + 0x6c]
mov dword [r12 + 0x4c], eax
xor edx, edx
mov dword [rdi], SafeArrayGetDim
cmp dword [rdi + 4], edx
je 0x14031c581
mov r11, qword [rbp - 0x38]
mov ecx, esi
mov eax, 7
mov dword [rdi], CreateCompressor
and ecx, eax
shr r14d, cl
sub esi, ecx
jmp 0x14031bcd5
test r13d, r13d
je 0x14031d2a5
movzx eax, byte [r15]
mov ecx, esi
shl eax, cl
inc r15
add r14d, eax
mov qword [rbp - 0x48], r15
dec r13d
add esi, 8
cmp esi, 3
jb 0x14031c560
mov eax, r14d
shr r14d, 1
and eax, 1
mov dword [rdi + 4], eax
mov eax, r14d
and eax, 3
je 0x14031c5f2
sub eax, 1
je 0x14031c5c6
sub eax, 1
je 0x14031c5bd
cmp eax, 1
jne 0x14031c5f8
lea rax, str.invalid_block_type
mov qword [r12 + 0x20], rax
mov dword [rdi], CreateCompressor
jmp 0x14031c5f8
mov eax, reloc.OLEAUT32.dll_SafeArrayGetDim
mov dword [rdi], eax
jmp 0x14031c5f8
lea rax, [0x140418ae0]
mov dword [r8], 9
mov qword [rdi + 0x58], rax
lea rax, [0x140419310]
mov qword [rdi + 0x60], rax
mov dword [r9], 5
mov dword [rdi], reloc.OLEAUT32.dll_SafeArrayGetLBound
jmp 0x14031c5f8
mov dword [rdi], SafeArrayGetDim
shr r14d, 2
add esi, 0xfffffffd
jmp 0x14031c651
movzx eax, word [rdi + 0x18]
cmp r14d, eax
je 0x14031c61a
lea rax, str.header_crc_mismatch
mov r11, qword [rbp - 0x38]
jmp 0x14031c219
mov r14d, r11d
mov esi, r11d
mov rax, qword [rdi + 0x20]
test rax, rax
je 0x14031c63d
sar edx, 9
and edx, 1
mov dword [rax + 0x3c], edx
mov rax, qword [rdi + 0x20]
mov dword [rax + 0x40], 1
mov r15, qword [rbp - 0x48]
xor edx, edx
mov dword [rdi + 0x18], edx
mov dword [r12 + 0x4c], edx
mov dword [rdi], SafeArrayGetDim
mov r11, qword [rbp - 0x38]
jmp 0x14031bcd0
mov dword [rdi], SafeArrayGetDim
jmp 0x14031bcd0
cmp ecx, 0x17
jg 0x14031d030
je 0x14031cf8c
mov edx, ecx
sub edx, 0x10
je 0x14031c6b6
sub edx, 1
je 0x14031c739
sub edx, 1
je 0x14031c82c
sub edx, 1
je 0x14031cb85
sub edx, 1
je 0x14031cb8b
sub edx, 1
je 0x14031cdc8
cmp edx, 1
jne 0x14031bd2e
jmp 0x14031ce21
cmp esi, 0xe
jae 0x14031c6e3
xor edx, edx
test r13d, r13d
je 0x14031d2a5
movzx eax, byte [r15]
mov ecx, esi
shl eax, cl
inc r15
add r14d, eax
mov qword [rbp - 0x48], r15
dec r13d
add esi, 8
cmp esi, 0xe
jb 0x14031c6bd
mov ecx, r14d
add esi, 0xfffffff2
shr r14d, 5
and ecx, 0x1f
mov edx, r14d
add ecx, 0x101
shr r14d, 5
and edx, 0x1f
mov eax, r14d
mov dword [rdi + 0x74], ecx
and eax, 0xf
shr r14d, 4
add eax, 4
inc edx
mov dword [rdi + 0x78], edx
mov dword [rdi + 0x70], eax
cmp ecx, 0x11e
ja 0x14031cf95
cmp edx, 0x1e
ja 0x14031cf95
xor edx, edx
mov dword [rdi + 0x7c], edx
lea eax, [rdx + 0x11]
mov dword [rdi], eax
jmp 0x14031c73b
xor edx, edx
mov r10d, 7
lea r9, [0x1404192e0]
mov eax, dword [rdi + 0x7c]
cmp eax, dword [rdi + 0x70]
jb 0x14031c7ee
cmp eax, 0x13
jae 0x14031c772
mov eax, dword [rdi + 0x7c]
movzx ecx, word [r9 + rax*2]
mov word [rdi + rcx*2 + 0x88], dx
inc dword [rdi + 0x7c]
cmp dword [rdi + 0x7c], 0x13
jb 0x14031c759
lea rax, [rdi + 0x548]
mov dword [r8], r10d
lea r9, [rdi + 0x80]
mov qword [rdi + 0x58], rax
mov qword [r9], rax
lea rdx, [rdi + 0x88]
xor ecx, ecx
lea rax, [rdi + 0x308]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r8
lea r8d, [rcx + 0x13]
call fcn.14031fa78
xor edx, edx
mov dword [rbp + 0x48], eax
test eax, eax
je 0x14031c81a
lea rax, str.invalid_code_lengths_set
mov qword [r12 + 0x20], rax
mov dword [rdi], CreateCompressor
jmp 0x14031c1ba
test r13d, r13d
je 0x14031d2a5
movzx eax, byte [r15]
mov ecx, esi
shl eax, cl
inc r15
add r14d, eax
mov qword [rbp - 0x48], r15
dec r13d
add esi, 8
cmp esi, 3
jb 0x14031c7cd
mov eax, dword [rdi + 0x7c]
movzx ecx, r14w
and cx, r10w
shr r14d, 3
movzx eax, word [r9 + rax*2]
mov word [rdi + rax*2 + 0x88], cx
inc dword [rdi + 0x7c]
add esi, 0xfffffffd
jmp 0x14031c748
mov eax, SafeArrayLock
mov dword [rdi + 0x7c], edx
mov dword [rdi], eax
lea r8, [rdi + 0x68]
mov ecx, eax
jmp 0x14031c82e
xor edx, edx
mov eax, dword [rdi + 0x78]
add eax, dword [rdi + 0x74]
mov r10d, dword [rdi + 0x7c]
cmp r10d, eax
jae 0x14031ca79
or r9d, 0xffffffff
mov ecx, dword [r8]
mov eax, 1
shl eax, cl
lea ecx, [rax - 1]
mov eax, r14d
and rcx, rax
jmp 0x14031c893
test r13d, r13d
je 0x14031d2a5
movzx eax, byte [r15]
mov ecx, esi
shl eax, cl
inc r15
mov ecx, dword [r8]
add r14d, eax
mov eax, 1
mov edx, r14d
shl eax, cl
add r13d, r9d
add esi, 8
mov qword [rbp - 0x48], r15
lea ecx, [rax - 1]
and rcx, rdx
mov edx, 0
mov rax, qword [rdi + 0x58]
mov eax, dword [rax + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [rbp - 0x40], eax
cmp ecx, esi
ja 0x14031c85a
mov ecx, eax
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
shr ecx, 0x10
cmp cx, dx
jae 0x14031c905
shr eax, 8
movzx edx, al
jmp 0x14031c8e1
test r13d, r13d
je 0x14031d2a3
movzx eax, byte [r15]
mov ecx, esi
shl eax, cl
inc r15
add r14d, eax
mov qword [rbp - 0x48], r15
add r13d, r9d
add esi, 8
cmp esi, edx
jb 0x14031c8c0
movzx ecx, byte [rbp - 0x3f]
movzx eax, word [rbp - 0x3e]
sub esi, ecx
shr r14d, cl
mov ecx, r10d
mov word [rdi + rcx*2 + 0x88], ax
inc dword [rdi + 0x7c]
jmp 0x14031ca3c
cmp word [rbp - 0x3e], dx
jne 0x14031c96f
movzx edx, byte [rbp - 0x3f]
lea r8d, [rdx + 2]
jmp 0x14031c936
test r13d, r13d
je 0x14031d2a3
movzx eax, byte [r15]
mov ecx, esi
shl eax, cl
inc r15
add r14d, eax
mov qword [rbp - 0x48], r15
add r13d, r9d
add esi, 8
cmp esi, r8d
jb 0x14031c915
mov ecx, edx
sub esi, edx
shr r14d, cl
xor edx, edx
test r10d, r10d
je 0x14031ca52
mov edx, r14d
lea eax, [r10 - 1]
movzx r8d, word [rdi + rax*2 + 0x88]
and edx, 3
add edx, 3
shr r14d, 2
add esi, 0xfffffffe
jmp 0x14031ca12
movzx r9d, byte [rbp - 0x3f]
mov eax, SafeArrayLock
xor r11d, r11d
cmp word [rbp - 0x3e], ax
jne 0x14031c9c7
lea edx, [r9 + 3]
cmp esi, edx
jae 0x14031c9ad
test r13d, r13d
je 0x14031d2a3
movzx eax, byte [r15]
mov ecx, esi
shl eax, cl
inc r15
add r14d, eax
mov qword [rbp - 0x48], r15
dec r13d
add esi, 8
jmp 0x14031c986
mov ecx, r9d
mov eax, 0xfffffffd
shr r14d, cl
mov edx, r14d
and edx, 7
add edx, 3
shr r14d, 3
jmp 0x14031ca0a
lea edx, [r9 + 7]
cmp esi, edx
jae 0x14031c9f2
test r13d, r13d
je 0x14031d2a3
movzx eax, byte [r15]
mov ecx, esi
shl eax, cl
inc r15
add r14d, eax
mov qword [rbp - 0x48], r15
dec r13d
add esi, 8
jmp 0x14031c9cb
mov ecx, r9d
mov eax, 0xfffffff9
shr r14d, cl
mov edx, r14d
and edx, 0x7f
add edx, 0xb
shr r14d, 7
sub eax, r9d
mov r8d, r11d
add esi, eax
mov eax, dword [rdi + 0x78]
lea ecx, [r10 + rdx]
add eax, dword [rdi + 0x74]
cmp ecx, eax
ja 0x14031ca62
or r9d, 0xffffffff
mov eax, dword [rdi + 0x7c]
mov word [rdi + rax*2 + 0x88], r8w
inc dword [rdi + 0x7c]
add edx, r9d
jne 0x14031ca24
lea r8, [rdi + 0x68]
mov eax, dword [rdi + 0x78]
add eax, dword [rdi + 0x74]
mov r10d, dword [rdi + 0x7c]
cmp r10d, eax
jae 0x14031ca5e
xor edx, edx
jmp 0x14031c845
lea rax, str.invalid_bit_length_repeat
jmp 0x14031c7bd
mov ecx, dword [rdi]
jmp 0x14031ca79
lea rax, str.invalid_bit_length_repeat
mov ecx, CreateCompressor
mov qword [r12 + 0x20], rax
mov dword [rdi], CreateCompressor
mov r10d, dword [rbp + 0x50]
mov edx, 0
mov r11, qword [rbp - 0x38]
lea r8, [rdi + 0x68]
lea r9, [rdi + 0x6c]
lea eax, [rdx + 7]
cmp ecx, 0x1d
je 0x14031bcd5
cmp word [rdi + 0x288], dx
jne 0x14031caba
lea rax, str.invalid_code____missing_end_of_block
mov qword [r12 + 0x20], rax
mov dword [rdi], CreateCompressor
jmp 0x14031bcc8
mov r8d, dword [rdi + 0x74]
lea rax, [rdi + 0x548]
lea rbx, [rdi + 0x80]
mov qword [rdi + 0x58], rax
mov qword [rbx], rax
lea r15, [rdi + 0x308]
lea rax, [rdi + 0x68]
mov qword [rsp + 0x28], r15
lea rdx, [rdi + 0x88]
mov dword [rax], 9
mov r9, rbx
mov qword [rsp + 0x20], rax
mov ecx, 1
call fcn.14031fa78
xor edx, edx
mov dword [rbp + 0x48], eax
test eax, eax
je 0x14031cb31
lea rax, str.invalid_literal_lengths_set
mov r15, qword [rbp - 0x48]
mov r10d, dword [rbp + 0x50]
mov r11, qword [rbp - 0x38]
mov ebx, dword [rbp + 0x60]
mov qword [r12 + 0x20], rax
mov dword [rdi], CreateCompressor
jmp 0x14031bcc8
mov rax, qword [rbx]
lea rcx, [rdi + 0x6c]
mov r8d, dword [rdi + 0x78]
mov r9, rbx
mov qword [rdi + 0x60], rax
mov eax, dword [rdi + 0x74]
add rax, 0x44
mov dword [rcx], 6
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rcx
mov ecx, 2
lea rdx, [rdi + rax*2]
call fcn.14031fa78
xor edx, edx
mov dword [rbp + 0x48], eax
test eax, eax
je 0x14031cb7a
lea rax, str.invalid_distances_set
jmp 0x14031cb12
mov r10d, dword [rbp + 0x50]
lea r8, [rdi + 0x68]
mov ebx, dword [rbp + 0x60]
mov dword [rdi], reloc.OLEAUT32.dll_SafeArrayLock
cmp r13d, 6
jb 0x14031cc18
cmp ebx, 0x102
jb 0x14031cc18
mov rax, qword [rbp - 0x38]
mov edx, r10d
mov r9, qword [rbp - 0x48]
mov rcx, r12
mov qword [r12 + 0x10], rax
mov qword [r12], r9
mov dword [r12 + 0x18], ebx
mov dword [r12 + 8], r13d
mov dword [rdi + 0x40], r14d
mov dword [rdi + 0x44], esi
call fcn.14031ff90
cmp dword [rdi], 0xb
lea r8, [rdi + 0x68]
mov r11, qword [r12 + 0x10]
lea r9, [rdi + 0x6c]
mov r15, qword [r12]
mov edx, 0
mov ebx, dword [r12 + 0x18]
mov r13d, dword [r12 + 8]
mov r14d, dword [rdi + 0x40]
mov esi, dword [rdi + 0x44]
lea eax, [rdx + 7]
mov r10d, dword [rbp + 0x50]
mov qword [rbp - 0x38], r11
mov dword [rbp + 0x60], ebx
mov qword [rbp - 0x48], r15
jne 0x14031bcd5
or dword [rdi + 0x1bdc], 0xffffffff
jmp 0x14031d253
mov ecx, dword [r8]
xor edx, edx
mov r11, qword [rdi + 0x58]
mov r15, qword [rbp - 0x48]
mov dword [rdi + 0x1bdc], edx
lea eax, [rdx + 1]
shl eax, cl
lea ecx, [rax - 1]
mov eax, r14d
and rcx, rax
mov eax, dword [r11 + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
jbe 0x14031cc8b
test r13d, r13d
je 0x14031d2a5
movzx eax, byte [r15]
mov ecx, esi
shl eax, cl
inc r15
mov ecx, dword [r8]
add r14d, eax
mov eax, 1
mov edx, r14d
shl eax, cl
dec r13d
add esi, 8
mov qword [rbp - 0x48], r15
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x58]
and rcx, rdx
mov edx, 0
mov eax, dword [rax + rcx*4]
jmp 0x14031cc3d
test al, al
je 0x14031cd58
test al, 0xf0
jne 0x14031cd58
mov r10d, eax
movzx ecx, al
shr r10d, 8
mov r9d, 1
movzx r8d, r10b
mov edx, eax
add ecx, r8d
mov dword [rbp - 0x40], eax
shl r9d, cl
mov ecx, r8d
dec r9d
shr eax, 0x10
and r9d, r14d
shr r9d, cl
add r9d, eax
mov eax, dword [r11 + r9*4]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
movzx ecx, r10b
add r8d, ecx
jmp 0x14031cd3e
test r13d, r13d
je 0x14031d2a3
movzx eax, byte [r15]
mov ecx, esi
movzx r9d, byte [rbp - 0x3f]
mov r8d, 1
shl eax, cl
inc r15
add r14d, eax
movzx ecx, dl
movzx eax, word [rbp - 0x3e]
add ecx, r9d
shl r8d, cl
dec r13d
dec r8d
mov qword [rbp - 0x48], r15
and r8d, r14d
mov ecx, r9d
shr r8d, cl
add esi, 8
add r8d, eax
mov rax, qword [rdi + 0x58]
mov eax, dword [rax + r8*4]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
add r8d, r9d
cmp r8d, esi
ja 0x14031cce2
movzx ecx, byte [rbp - 0x3f]
lea r8, [rdi + 0x68]
shr r14d, cl
sub esi, ecx
xor edx, edx
mov dword [rdi + 0x1bdc], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [rdi + 0x1bdc], ecx
sub esi, ecx
shr r14d, cl
mov ecx, eax
shr ecx, 0x10
mov dword [rdi + 0x48], ecx
test al, al
jne 0x14031cd8a
mov dword [rdi], CreateCompressor
mov r10d, dword [rbp + 0x50]
mov r11, qword [rbp - 0x38]
jmp 0x14031bccc
test al, 0x20
je 0x14031cd9d
or dword [rdi + 0x1bdc], 0xffffffff
mov dword [rdi], SafeArrayGetDim
jmp 0x14031cd7d
test al, 0x40
je 0x14031cdb5
lea rax, str.invalid_literal_length_code
mov qword [r12 + 0x20], rax
mov dword [rdi], CreateCompressor
jmp 0x14031cd7d
movzx ecx, al
lea r9, [rdi + 0x6c]
and ecx, 0xf
mov dword [rdi], reloc.OLEAUT32.dll_SafeArrayUnlock
mov dword [rdi + 0x50], ecx
mov edx, dword [rdi + 0x50]
test edx, edx
je 0x14031ce12
jmp 0x14031cdf2
test r13d, r13d
je 0x14031d2a3
movzx eax, byte [r15]
mov ecx, esi
shl eax, cl
inc r15
add r14d, eax
mov qword [rbp - 0x48], r15
dec r13d
add esi, 8
cmp esi, edx
jb 0x14031cdd1
mov ecx, edx
mov eax, 1
shl eax, cl
sub esi, edx
dec eax
and eax, r14d
shr r14d, cl
add dword [rdi + 0x48], eax
add dword [rdi + 0x1bdc], edx
mov eax, dword [rdi + 0x48]
mov dword [rdi + 0x1be0], eax
mov dword [rdi], reloc.OLEAUT32.dll_SafeArrayAccessData
mov ecx, dword [r9]
mov eax, 1
mov r11, qword [rdi + 0x60]
shl eax, cl
lea ecx, [rax - 1]
mov eax, r14d
and rcx, rax
mov eax, dword [r11 + rcx*4]
jmp 0x14031ce7b
xor edx, edx
test r13d, r13d
je 0x14031d2a5
movzx eax, byte [r15]
mov ecx, esi
shl eax, cl
inc r15
mov ecx, dword [r9]
add r14d, eax
mov eax, 1
mov edx, r14d
shl eax, cl
dec r13d
add esi, 8
mov qword [rbp - 0x48], r15
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x60]
and rcx, rdx
mov eax, dword [rax + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x14031ce3e
test al, 0xf0
jne 0x14031cf4a
mov r10d, eax
movzx ecx, al
shr r10d, 8
mov r9d, 1
movzx r8d, r10b
mov edx, eax
add ecx, r8d
mov dword [rbp - 0x40], eax
shl r9d, cl
mov ecx, r8d
dec r9d
shr eax, 0x10
and r9d, r14d
shr r9d, cl
add r9d, eax
mov eax, dword [r11 + r9*4]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
movzx ecx, r10b
add r8d, ecx
jmp 0x14031cf32
test r13d, r13d
je 0x14031d2a3
movzx eax, byte [r15]
mov ecx, esi
movzx r9d, byte [rbp - 0x3f]
mov r8d, 1
shl eax, cl
inc r15
add r14d, eax
movzx ecx, dl
movzx eax, word [rbp - 0x3e]
add ecx, r9d
shl r8d, cl
dec r13d
dec r8d
mov qword [rbp - 0x48], r15
and r8d, r14d
mov ecx, r9d
shr r8d, cl
add esi, 8
add r8d, eax
mov rax, qword [rdi + 0x60]
mov eax, dword [rax + r8*4]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
add r8d, r9d
cmp r8d, esi
ja 0x14031ced6
movzx ecx, byte [rbp - 0x3f]
lea r9, [rdi + 0x6c]
shr r14d, cl
sub esi, ecx
add dword [rdi + 0x1bdc], ecx
mov r10d, dword [rbp + 0x50]
lea r8, [rdi + 0x68]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [rdi + 0x1bdc], ecx
sub esi, ecx
shr r14d, cl
test al, 0x40
je 0x14031cf75
lea rax, str.invalid_distance_code
jmp 0x14031c611
mov ecx, eax
mov dword [rdi], DispGetParam
shr ecx, 0x10
mov dword [rdi + 0x4c], ecx
movzx ecx, al
and ecx, 0xf
mov dword [rdi + 0x50], ecx
mov edx, dword [rdi + 0x50]
test edx, edx
je 0x14031cfe2
jmp 0x14031cfc2
lea rax, str.too_many_length_or_distance_symbols
jmp 0x14031c219
test r13d, r13d
je 0x14031d2a3
movzx eax, byte [r15]
mov ecx, esi
shl eax, cl
inc r15
add r14d, eax
mov qword [rbp - 0x48], r15
dec r13d
add esi, 8
cmp esi, edx
jb 0x14031cfa1
mov ecx, edx
mov eax, 1
shl eax, cl
sub esi, edx
dec eax
and eax, r14d
shr r14d, cl
add dword [rdi + 0x4c], eax
add dword [rdi + 0x1bdc], edx
mov dword [rdi], DispGetParam
xor edx, edx
test ebx, ebx
je 0x14031d2a5
mov eax, dword [rdi + 0x4c]
mov ecx, r10d
sub ecx, ebx
cmp eax, ecx
jbe 0x14031d1fb
sub eax, ecx
cmp eax, dword [rdi + 0x30]
jbe 0x14031d1d3
cmp dword [rdi + 0x1bd8], edx
je 0x14031d1d3
lea rax, str.invalid_distance_too_far_back
mov qword [r12 + 0x20], rax
mov dword [rdi], CreateCompressor
jmp 0x14031c651
sub ecx, 0x18
je 0x14031cfea
sub ecx, 1
je 0x14031d1ae
sub ecx, 1
je 0x14031d071
sub ecx, 1
je 0x14031d15e
sub ecx, 1
je 0x14031d29b
sub ecx, 1
je 0x14031d284
cmp ecx, 1
jne 0x14031bd2e
mov eax, 0xfffffffc
jmp 0x14031bd33
cmp dword [rdi + 8], edx
je 0x14031d158
jmp 0x14031d09d
test r13d, r13d
je 0x14031d2a5
movzx eax, byte [r15]
mov ecx, esi
shl eax, cl
inc r15
add r14d, eax
mov qword [rbp - 0x48], r15
dec r13d
add esi, 8
cmp esi, 0x20
jb 0x14031d07c
sub r10d, ebx
add dword [r12 + 0x1c], r10d
add dword [rdi + 0x1c], r10d
test r10d, r10d
je 0x14031d10c
mov eax, r10d
mov rcx, r11
sub rcx, rax
mov eax, dword [rdi + 0x18]
cmp dword [rdi + 0x10], edx
je 0x14031d0e9
mov dword [rbp - 0xc], eax
test rcx, rcx
jne 0x14031d0d0
mov eax, edx
jmp 0x14031d104
mov rax, qword [0x140563f58]
lea r8, [rbp - 0xc]
mov edx, r10d
call qword [str.p76_]
mov eax, dword [rbp - 0xc]
jmp 0x14031d0f6
mov rdx, rcx
mov r8d, r10d
mov ecx, eax
call fcn.14031f884
mov r11, qword [rbp - 0x38]
lea r9, [rdi + 0x6c]
xor edx, edx
lea r8, [rdi + 0x68]
mov dword [rdi + 0x18], eax
mov dword [r12 + 0x4c], eax
mov ecx, r14d
mov dword [rbp + 0x50], ebx
and ecx, 0xff00
mov eax, r14d
shl eax, 0x10
mov r10d, ebx
add ecx, eax
mov eax, r14d
shr eax, 8
and eax, 0xff00
shl ecx, 8
add ecx, eax
mov eax, r14d
shr eax, 0x18
add ecx, eax
cmp dword [rdi + 0x10], edx
cmovne ecx, r14d
cmp ecx, dword [rdi + 0x18]
je 0x14031d153
lea rax, str.incorrect_data_check
jmp 0x14031c28f
mov r14d, edx
mov esi, edx
mov dword [rdi], reloc.OLEAUT32.dll_DispGetParam
cmp dword [rdi + 8], edx
je 0x14031d295
cmp dword [rdi + 0x10], edx
je 0x14031d295
jmp 0x14031d193
test r13d, r13d
je 0x14031d2a5
movzx eax, byte [r15]
mov ecx, esi
shl eax, cl
inc r15
add r14d, eax
mov qword [rbp - 0x48], r15
dec r13d
add esi, 8
cmp esi, 0x20
jb 0x14031d172
cmp r14d, dword [rdi + 0x1c]
je 0x14031d290
lea rax, str.incorrect_length_check
jmp 0x14031c28f
test ebx, ebx
je 0x14031d2a5
mov al, byte [rdi + 0x48]
mov byte [r11], al
inc r11
dec ebx
mov qword [rbp - 0x38], r11
mov dword [rbp + 0x60], ebx
mov dword [rdi], reloc.OLEAUT32.dll_SafeArrayLock
jmp 0x14031bcd0
mov ecx, dword [rdi + 0x34]
cmp eax, ecx
jbe 0x14031d1df
sub eax, ecx
mov ecx, dword [rdi + 0x2c]
mov r8d, dword [rdi + 0x48]
sub ecx, eax
mov r11, qword [rbp - 0x38]
mov r9d, r8d
mov edx, ecx
add rdx, qword [rdi + 0x38]
cmp eax, r8d
cmovbe r9d, eax
jmp 0x14031d20c
mov r11, qword [rbp - 0x38]
mov r8d, dword [rdi + 0x48]
mov rdx, r11
sub rdx, rax
mov r9d, r8d
cmp r9d, ebx
mov ecx, ebx
cmovbe ecx, r9d
sub ebx, ecx
sub r8d, ecx
mov dword [rbp + 0x60], ebx
sub rdx, r11
mov dword [rdi + 0x48], r8d
mov al, byte [rdx + r11]
mov byte [r11], al
inc r11
add ecx, 0xffffffff
jne 0x14031d224
xor edx, edx
mov qword [rbp - 0x38], r11
lea r8, [rdi + 0x68]
lea r9, [rdi + 0x6c]
lea eax, [rcx + 7]
cmp dword [rdi + 0x48], edx
jne 0x14031bcd5
mov dword [rdi], reloc.OLEAUT32.dll_SafeArrayLock
lea r8, [rdi + 0x68]
lea r9, [rdi + 0x6c]
jmp 0x14031bcd5
mov qword [r12 + 0x10], r11
mov eax, 2
mov dword [r12 + 0x18], ebx
mov qword [r12], r15
mov dword [r12 + 8], r13d
mov dword [rdi + 0x40], r14d
mov dword [rdi + 0x44], esi
jmp 0x14031bd33
mov r15d, 0xfffffffd
mov r9, qword [rbp - 0x48]
jmp 0x14031d2ad
mov r14d, edx
mov esi, edx
mov dword [rdi], CreateCompressor
mov r15d, 1
jmp 0x14031d28a
xor edx, edx
mov r9, qword [rbp - 0x48]
mov r15d, dword [rbp + 0x48]
mov rax, qword [rbp - 0x38]
mov ebx, dword [rbp + 0x50]
mov qword [r12 + 0x10], rax
mov eax, dword [rbp + 0x60]
mov dword [r12 + 0x18], eax
mov qword [r12], r9
mov dword [r12 + 8], r13d
mov dword [rdi + 0x40], r14d
mov dword [rdi + 0x44], esi
cmp dword [rdi + 0x2c], edx
jne 0x14031d2e2
cmp dword [rdi], 0x1a
jge 0x14031d2fd
cmp ebx, dword [r12 + 0x18]
je 0x14031d2fd
mov edx, ebx
mov rcx, r12
call fcn.14031bb2c
xor edx, edx
test eax, eax
je 0x14031d2fd
mov dword [rdi], reloc.Cabinet.dll_CreateCompressor
jmp 0x14031d067
sub ebx, dword [r12 + 0x18]
mov r9d, dword [rbp - 0x30]
sub r9d, dword [r12 + 8]
add dword [r12 + 0xc], r9d
add dword [r12 + 0x1c], ebx
add dword [rdi + 0x1c], ebx
mov dword [rbp - 0x30], r9d
cmp dword [rdi + 8], edx
je 0x14031d379
test ebx, ebx
je 0x14031d379
mov rcx, qword [r12 + 0x10]
mov r9d, dword [rdi + 0x18]
mov eax, ebx
sub rcx, rax
cmp dword [rdi + 0x10], edx
je 0x14031d35d
mov dword [rbp + 0x48], r9d
test rcx, rcx
jne 0x14031d345
mov eax, edx
jmp 0x14031d36d
mov rax, qword [0x140563f58]
lea r8, [rbp + 0x48]
mov edx, ebx
call qword [str.p76_]
mov eax, dword [rbp + 0x48]
jmp 0x14031d36b
mov rdx, rcx
mov r8d, ebx
mov ecx, r9d
call fcn.14031f884
xor edx, edx
mov r9d, dword [rbp - 0x30]
mov dword [rdi + 0x18], eax
mov dword [r12 + 0x4c], eax
cmp dword [rdi], 0x13
je 0x14031d386
cmp dword [rdi], 0xe
mov r8d, edx
jne 0x14031d38c
mov r8d, pe_nt_image_headers64
mov eax, dword [rdi + 4]
neg eax
mov eax, 0x80
sbb ecx, ecx
and ecx, 0x40
cmp dword [rdi], 0xb
cmove edx, eax
lea eax, [r8 + rcx]
add edx, eax
add edx, dword [rdi + 0x44]
mov dword [r12 + 0x48], edx
test r9d, r9d
jne 0x14031d3c2
test ebx, ebx
jne 0x14031d3c2
test r15d, r15d
lea eax, [rbx - 5]
cmove r15d, eax
mov eax, r15d
jmp 0x14031bd33