Function at 0x1503fa138
Capabilities:
Compress data via zlib inflate or deflate
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov r15, rcx
call fcn.1503f9f58
xor ecx, ecx
test eax, eax
jne case.0x1503fa1f2.16211
cmp qword [r15 + 0x10], rcx
je case.0x1503fa1f2.16211
cmp qword [r15], rcx
jne 0x1503fa17e
cmp dword [r15 + 8], ecx
jne case.0x1503fa1f2.16211
mov rdi, qword [r15 + 0x28]
mov edx, 0x3f40
mov eax, dword [rdi + 8]
cmp eax, 0x3f3f
jne 0x1503fa196
mov dword [rdi + 8], edx
mov eax, edx
mov r11d, dword [r15 + 0x18]
add eax, 0xffffc0cc
mov rbx, qword [r15 + 0x10]
mov r9d, r11d
mov r10, qword [r15]
mov r12d, dword [r15 + 8]
mov esi, dword [rdi + 0x48]
mov r14d, dword [rdi + 0x4c]
mov qword [rbp - 8], rbx
mov dword [rbp + 0x50], r11d
mov qword [rbp - 0x10], r10
mov dword [rbp - 0x18], r12d
mov dword [rbp + 0x48], r11d
mov dword [rbp - 0x20], ecx
cmp eax, 0x1f
ja case.0x1503fa1f2.16211
cdqe
lea rcx, [0x150000000]
lea r13, [rdi + 0x70]
mov ecx, dword [rcx + rax*4 + 0x3fb6c8]
lea rax, [0x150000000]
add rcx, rax
jmp rcx
xor r13d, r13d
cmp dword [rdi + 0x10], r13d
jne 0x1503fa209
mov dword [rdi + 8], 0x3f40
jmp 0x1503fb53e
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetDim
jmp 0x1503fa233
test r12d, r12d
je 0x1503fb59f
movzx eax, byte [r10]
mov ecx, r14d
shl eax, cl
inc r10
add esi, eax
mov qword [rbp - 0x10], r10
dec r12d
add r14d, 8
cmp r14d, r8d
jb 0x1503fa211
test byte [rdi + 0x10], 2
je 0x1503fa2c8
cmp esi, 0x8b1f
jne 0x1503fa2c8
cmp dword [rdi + 0x30], r13d
jne 0x1503fa257
mov dword [rdi + 0x30], reloc.OLEAUT32.dll_SafeArrayDestroy
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.1503fde54
mov byte [rbp + 0x58], sil
lea r9, [rbp + 0x58]
mov edx, eax
shr esi, 8
mov byte [rbp + 0x59], sil
lea rbx, [0x150000000]
not edx
mov dword [rdi + 0x20], eax
mov r8d, 2
movzx eax, byte [r9]
mov ecx, edx
xor rcx, rax
shr edx, 8
movzx eax, cl
inc r9
xor edx, dword [rbx + rax*4 + 0x1730d0]
sub r8, 1
jne 0x1503fa286
mov rbx, qword [rbp - 8]
not edx
mov dword [rdi + 0x20], edx
mov dword [rdi + 8], 0x3f35
mov r10, qword [rbp - 0x10]
mov r14d, r13d
mov r11d, dword [rbp + 0x50]
mov esi, r13d
jmp 0x1503fb53e
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x1503fa2d5
or dword [rax + 0x40], 0xffffffff
test byte [rdi + 0x10], 1
je 0x1503fa381
movzx ecx, sil
mov eax, esi
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 0x1503fa381
mov eax, esi
and al, 0xf
cmp al, 8
je 0x1503fa31a
lea rax, [0x15026ffd8]
jmp 0x1503fb533
mov eax, dword [rdi + 0x30]
add r14d, 0xfffffffc
shr esi, 4
mov ecx, esi
and ecx, 0xf
add ecx, 8
test eax, eax
jne 0x1503fa335
mov dword [rdi + 0x30], ecx
mov eax, ecx
cmp ecx, 0xf
ja 0x1503fa375
cmp ecx, eax
ja 0x1503fa375
mov eax, 1
mov dword [rdi + 0x18], r13d
shl eax, cl
xor r8d, r8d
xor ecx, ecx
mov dword [rdi + 0x1c], eax
xor edx, edx
call fcn.1503fe178
shr esi, 8
not esi
mov dword [rdi + 0x20], eax
and esi, 2
mov dword [r15 + 0x4c], eax
or esi, 0x3f3d
mov dword [rdi + 8], esi
jmp 0x1503fa2b5
lea rax, [0x15026ffc0]
jmp 0x1503fb533
lea rax, [0x15026fff8]
jmp 0x1503fb533
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetDim
xor r13d, r13d
cmp r14d, r8d
jae 0x1503fa3bf
test r12d, r12d
je 0x1503fb59f
movzx eax, byte [r10]
mov ecx, r14d
shl eax, cl
inc r10
add esi, eax
mov qword [rbp - 0x10], r10
dec r12d
add r14d, 8
jmp 0x1503fa396
mov dword [rdi + 0x18], esi
cmp sil, 8
jne 0x1503fa30e
test esi, 0xe000
je 0x1503fa3e0
lea rax, [0x15026ffa0]
jmp 0x1503fb533
mov rdx, qword [rdi + 0x28]
mov ecx, esi
shr ecx, 8
test rdx, rdx
je 0x1503fa3f5
mov eax, ecx
and eax, 1
mov dword [rdx], eax
test dword [rdi + 0x18], 0x200
je 0x1503fa424
test byte [rdi + 0x10], 4
je 0x1503fa424
mov byte [rbp + 0x59], cl
lea rdx, [rbp + 0x58]
mov ecx, dword [rdi + 0x20]
mov r8d, 2
mov byte [rbp + 0x58], sil
call fcn.1503fde54
mov r10, qword [rbp - 0x10]
mov dword [rdi + 0x20], eax
mov esi, r13d
mov dword [rdi + 8], 0x3f36
mov r14d, r13d
jmp 0x1503fa443
mov dword [rbp - 0x1c], esi
xor r13d, r13d
mov qword [rbp - 0x10], r10
cmp r14d, 0x20
jae 0x1503fa463
test r12d, r12d
je 0x1503fb59f
movzx eax, byte [r10]
mov ecx, r14d
shl eax, cl
dec r12d
add esi, eax
inc r10
add r14d, 8
jmp 0x1503fa439
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x1503fa46f
mov dword [rax + 4], esi
test dword [rdi + 0x18], 0x200
je 0x1503fa4d8
test byte [rdi + 0x10], 4
je 0x1503fa4d8
mov edx, dword [rdi + 0x20]
lea r9, [rbp + 0x58]
mov eax, esi
mov byte [rbp + 0x58], sil
shr eax, 8
lea r10, [0x150000000]
mov byte [rbp + 0x59], al
mov r8d, 4
mov eax, esi
not edx
shr eax, 0x10
shr esi, 0x18
mov byte [rbp + 0x5b], sil
mov byte [rbp + 0x5a], al
movzx eax, byte [r9]
mov ecx, edx
xor rcx, rax
shr edx, 8
movzx eax, cl
inc r9
xor edx, dword [r10 + rax*4 + 0x1730d0]
sub r8, 1
jne 0x1503fa4af
mov r10, qword [rbp - 0x10]
not edx
mov dword [rdi + 0x20], edx
mov esi, r13d
mov dword [rdi + 8], 0x3f37
mov r14d, r13d
mov r11d, reloc.OLEAUT32.dll_SafeArrayGetDim
jmp 0x1503fa502
mov dword [rbp - 0x1c], esi
mov r11d, reloc.OLEAUT32.dll_SafeArrayGetDim
xor r13d, r13d
mov qword [rbp - 0x10], r10
cmp r14d, r11d
jae 0x1503fa522
test r12d, r12d
je 0x1503fb59f
movzx eax, byte [r10]
mov ecx, r14d
shl eax, cl
dec r12d
add esi, eax
inc r10
add r14d, 8
jmp 0x1503fa4f9
mov rdx, qword [rdi + 0x28]
mov ecx, esi
shr ecx, 8
test rdx, rdx
je 0x1503fa53e
movzx eax, sil
mov dword [rdx + 8], eax
mov rax, qword [rdi + 0x28]
mov dword [rax + 0xc], ecx
test dword [rdi + 0x18], 0x200
je 0x1503fa593
test byte [rdi + 0x10], 4
je 0x1503fa593
mov edx, dword [rdi + 0x20]
lea r9, [rbp + 0x58]
not edx
mov byte [rbp + 0x58], sil
mov byte [rbp + 0x59], cl
lea r11, [0x150000000]
mov r8d, 2
movzx eax, byte [r9]
mov ecx, edx
xor rcx, rax
shr edx, 8
movzx eax, cl
inc r9
xor edx, dword [r11 + rax*4 + 0x1730d0]
sub r8, 1
jne 0x1503fa56a
not edx
lea r11d, [r8 + 0x10]
mov dword [rdi + 0x20], edx
mov esi, r13d
mov dword [rdi + 8], 0x3f38
mov r14d, r13d
jmp 0x1503fa5a9
xor r13d, r13d
lea r11d, [r13 + 0x10]
test dword [rdi + 0x18], 0x400
jne 0x1503fa5ed
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x1503fa5bf
mov qword [rax + 0x10], r13
mov dword [rdi + 8], 0x3f39
jmp 0x1503fa668
test r12d, r12d
je 0x1503fb59f
movzx eax, byte [r10]
mov ecx, r14d
shl eax, cl
inc r10
add esi, eax
mov qword [rbp - 0x10], r10
dec r12d
add r14d, 8
cmp r14d, r11d
jb 0x1503fa5cb
mov rax, qword [rdi + 0x28]
mov dword [rdi + 0x50], esi
test rax, rax
je 0x1503fa601
mov dword [rax + 0x18], esi
test dword [rdi + 0x18], 0x200
je 0x1503fa65a
test byte [rdi + 0x10], 4
je 0x1503fa65a
mov edx, dword [rdi + 0x20]
lea r9, [rbp + 0x58]
mov byte [rbp + 0x58], sil
lea r10, [0x150000000]
shr esi, 8
mov r8d, 2
mov byte [rbp + 0x59], sil
not edx
movzx eax, byte [r9]
mov ecx, edx
xor rcx, rax
shr edx, 8
movzx eax, cl
inc r9
xor edx, dword [r10 + rax*4 + 0x1730d0]
sub r8, 1
jne 0x1503fa631
mov r10, qword [rbp - 0x10]
not edx
mov dword [rdi + 0x20], edx
mov esi, r13d
mov r14d, r13d
jmp 0x1503fa5bf
xor r13d, r13d
test dword [rdi + 0x18], 0x400
je 0x1503fa712
mov eax, dword [rdi + 0x50]
mov ebx, r12d
cmp eax, r12d
cmovbe ebx, eax
test ebx, ebx
je 0x1503fa70a
mov rcx, qword [rdi + 0x28]
mov r13d, eax
test rcx, rcx
je 0x1503fa6cf
mov r9, qword [rcx + 0x10]
test r9, r9
je 0x1503fa6cf
mov edx, dword [rcx + 0x18]
mov ecx, dword [rcx + 0x1c]
sub edx, eax
cmp edx, ecx
jae 0x1503fa6cf
lea eax, [rbx + rdx]
cmp eax, ecx
jbe 0x1503fa6b5
sub ecx, edx
jmp 0x1503fa6b7
mov ecx, ebx
mov r8d, ecx
mov ecx, edx
mov rdx, r10
add rcx, r9
call fcn.15040d600
mov r10, qword [rbp - 0x10]
mov r13d, dword [rdi + 0x50]
test dword [rdi + 0x18], 0x200
je 0x1503fa6f3
test byte [rdi + 0x10], 4
je 0x1503fa6f3
mov ecx, dword [rdi + 0x20]
mov rdx, r10
mov r8d, ebx
call fcn.1503fde54
mov r10, qword [rbp - 0x10]
mov dword [rdi + 0x20], eax
mov eax, ebx
sub r12d, ebx
add r10, rax
mov eax, r13d
sub eax, ebx
mov qword [rbp - 0x10], r10
mov dword [rdi + 0x50], eax
xor r13d, r13d
test eax, eax
jne 0x1503fb59f
mov dword [rdi + 0x50], r13d
mov dword [rdi + 8], 0x3f3a
jmp 0x1503fa722
xor r13d, r13d
test dword [rdi + 0x18], 0x800
je 0x1503fa7a8
test r12d, r12d
je 0x1503fb59f
mov ebx, r13d
mov eax, ebx
inc ebx
mov r13b, byte [rax + r10]
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x1503fa760
mov rdx, qword [rax + 0x20]
test rdx, rdx
je 0x1503fa760
mov ecx, dword [rdi + 0x50]
cmp ecx, dword [rax + 0x28]
jae 0x1503fa760
mov byte [rcx + rdx], r13b
inc dword [rdi + 0x50]
test r13b, r13b
je 0x1503fa76a
cmp ebx, r12d
jb 0x1503fa737
test dword [rdi + 0x18], 0x200
je 0x1503fa78e
test byte [rdi + 0x10], 4
je 0x1503fa78e
mov ecx, dword [rdi + 0x20]
mov rdx, r10
mov r8d, ebx
call fcn.1503fde54
mov r10, qword [rbp - 0x10]
mov dword [rdi + 0x20], eax
mov eax, ebx
sub r12d, ebx
add r10, rax
mov qword [rbp - 0x10], r10
test r13b, r13b
jne 0x1503fa842
xor r13d, r13d
jmp 0x1503fa7b5
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x1503fa7b5
mov qword [rax + 0x20], r13
mov dword [rdi + 0x50], r13d
mov dword [rdi + 8], 0x3f3b
jmp 0x1503fa7c5
xor r13d, r13d
test dword [rdi + 0x18], 0x1000
je 0x1503fa84a
test r12d, r12d
je 0x1503fb59f
mov ebx, r13d
mov eax, ebx
inc ebx
mov r13b, byte [rax + r10]
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x1503fa803
mov rdx, qword [rax + 0x30]
test rdx, rdx
je 0x1503fa803
mov ecx, dword [rdi + 0x50]
cmp ecx, dword [rax + 0x38]
jae 0x1503fa803
mov byte [rcx + rdx], r13b
inc dword [rdi + 0x50]
test r13b, r13b
je 0x1503fa80d
cmp ebx, r12d
jb 0x1503fa7da
test dword [rdi + 0x18], 0x200
je 0x1503fa831
test byte [rdi + 0x10], 4
je 0x1503fa831
mov ecx, dword [rdi + 0x20]
mov rdx, r10
mov r8d, ebx
call fcn.1503fde54
mov r10, qword [rbp - 0x10]
mov dword [rdi + 0x20], eax
mov eax, ebx
sub r12d, ebx
add r10, rax
mov qword [rbp - 0x10], r10
test r13b, r13b
je 0x1503fa857
mov rbx, r10
jmp 0x1503fb5a3
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x1503fa857
mov qword [rax + 0x30], r13
mov r11d, dword [rbp + 0x50]
mov rbx, qword [rbp - 8]
mov dword [rdi + 8], 0x3f3c
mov edx, dword [rdi + 0x18]
xor r13d, r13d
bt edx, 9
jae 0x1503fa8bf
lea r8d, [r13 + 0x10]
cmp r14d, r8d
jae 0x1503fa89f
test r12d, r12d
je 0x1503fb59f
movzx eax, byte [r10]
mov ecx, r14d
shl eax, cl
inc r10
add esi, eax
mov qword [rbp - 0x10], r10
dec r12d
add r14d, 8
jmp 0x1503fa876
test byte [rdi + 0x10], 4
je 0x1503fa8b9
movzx eax, word [rdi + 0x20]
cmp esi, eax
je 0x1503fa8b9
lea rax, [0x15026ff88]
jmp 0x1503fb533
mov esi, r13d
mov r14d, r13d
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x1503fa8dc
sar edx, 9
and edx, 1
mov dword [rax + 0x3c], edx
mov rax, qword [rdi + 0x28]
mov dword [rax + 0x40], 1
mov dword [rdi + 0x20], r13d
mov dword [r15 + 0x4c], r13d
mov dword [rdi + 8], 0x3f3f
jmp 0x1503fb53e
test r12d, r12d
je 0x1503fb59f
movzx eax, byte [r10]
mov ecx, r14d
shl eax, cl
inc r10
add esi, eax
mov qword [rbp - 0x10], r10
dec r12d
add r14d, 8
cmp r14d, 0x20
jb 0x1503fa8f0
bswap esi
mov dword [rdi + 0x20], esi
xor eax, eax
mov dword [r15 + 0x4c], esi
mov r14d, eax
mov esi, eax
mov dword [rdi + 8], 0x3f3e
jmp 0x1503fa933
xor eax, eax
cmp dword [rdi + 0x14], eax
je 0x1503fb558
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.1503fe178
mov r10, qword [rbp - 0x10]
mov r11d, dword [rbp + 0x50]
mov dword [rdi + 0x20], eax
mov dword [r15 + 0x4c], eax
mov dword [rdi + 8], 0x3f3f
xor r9d, r9d
cmp dword [rdi + 0xc], r9d
je 0x1503fa9a0
mov ecx, r14d
mov dword [rdi + 8], 0x3f4e
and ecx, 7
shr esi, cl
sub r14d, ecx
jmp 0x1503fb53e
test r12d, r12d
je 0x1503fb59f
movzx eax, byte [r10]
mov ecx, r14d
shl eax, cl
inc r10
add esi, eax
mov qword [rbp - 0x10], r10
dec r12d
add r14d, 8
cmp r14d, 3
jb 0x1503fa97e
mov eax, esi
shr esi, 1
and eax, 1
mov dword [rdi + 0xc], eax
mov eax, esi
and eax, 3
je 0x1503faa11
sub eax, 1
je 0x1503fa9e3
sub eax, 1
je 0x1503fa9da
cmp eax, 1
jne 0x1503faa18
lea rax, [0x15026ff70]
mov qword [r15 + 0x20], rax
mov dword [rdi + 8], 0x3f51
jmp 0x1503faa18
mov dword [rdi + 8], 0x3f44
jmp 0x1503faa18
lea rax, [0x1501706f0]
mov dword [r13], 9
mov qword [rdi + 0x60], rax
lea rax, [0x150170ef0]
mov qword [rdi + 0x68], rax
mov dword [rdi + 0x74], 5
mov dword [rdi + 8], 0x3f47
jmp 0x1503faa18
mov dword [rdi + 8], 0x3f41
shr esi, 2
add r14d, 0xfffffffd
jmp 0x1503fb53e
mov ecx, r14d
and ecx, 7
shr esi, cl
sub r14d, ecx
xor r13d, r13d
cmp r14d, 0x20
jae 0x1503faa5c
test r12d, r12d
je 0x1503fb59f
movzx eax, byte [r10]
mov ecx, r14d
shl eax, cl
inc r10
add esi, eax
mov qword [rbp - 0x10], r10
dec r12d
add r14d, 8
jmp 0x1503faa32
mov eax, esi
movzx ecx, si
not eax
shr eax, 0x10
cmp ecx, eax
je 0x1503faa76
lea rax, [0x1502700f8]
jmp 0x1503fb533
mov dword [rdi + 0x50], ecx
mov esi, r13d
mov r14d, r13d
mov dword [rdi + 8], 0x3f43
mov ecx, dword [rdi + 0x50]
test ecx, ecx
je 0x1503fa8e4
cmp ecx, r12d
mov eax, r12d
mov r13d, r11d
cmovbe eax, ecx
cmp eax, r11d
cmovbe r13d, eax
test r13d, r13d
je 0x1503fb59f
mov rcx, qword [rbp - 8]
mov rdx, r10
mov r8d, r13d
mov ebx, r13d
call fcn.15040d600
mov r10, qword [rbp - 0x10]
sub r12d, r13d
mov r11d, dword [rbp + 0x50]
add r10, rbx
add qword [rbp - 8], rbx
sub r11d, r13d
sub dword [rdi + 0x50], r13d
mov qword [rbp - 0x10], r10
mov dword [rbp + 0x50], r11d
mov rbx, qword [rbp - 8]
jmp 0x1503fb53e
xor r9d, r9d
cmp r14d, 0xe
jae 0x1503fab16
test r12d, r12d
je 0x1503fb59f
movzx eax, byte [r10]
mov ecx, r14d
shl eax, cl
inc r10
add esi, eax
mov qword [rbp - 0x10], r10
dec r12d
add r14d, 8
jmp 0x1503faaec
mov ecx, esi
add r14d, 0xfffffff2
shr esi, 5
and ecx, 0x1f
mov edx, esi
add ecx, 0x101
shr esi, 5
and edx, 0x1f
mov eax, esi
mov dword [rdi + 0x7c], ecx
and eax, 0xf
shr esi, 4
add eax, 4
inc edx
mov dword [rdi + 0x80], edx
mov dword [rdi + 0x78], eax
cmp ecx, 0x11e
ja 0x1503fab66
cmp edx, 0x1e
ja 0x1503fab66
mov dword [rdi + 0x84], r9d
mov dword [rdi + 8], 0x3f45
jmp 0x1503fab75
lea rax, [0x1502700d0]
jmp 0x1503fb533
xor r9d, r9d
lea rdx, [0x150000000]
mov r8d, 7
mov eax, dword [rdi + 0x84]
cmp eax, dword [rdi + 0x78]
jae 0x1503fac02
jmp 0x1503fabb1
test r12d, r12d
je 0x1503fb59f
movzx eax, byte [r10]
mov ecx, r14d
shl eax, cl
inc r10
add esi, eax
mov qword [rbp - 0x10], r10
dec r12d
add r14d, 8
cmp r14d, 3
jb 0x1503fab8f
mov eax, dword [rdi + 0x84]
movzx ecx, si
and cx, r8w
shr esi, 3
movzx eax, word [rdx + rax*2 + 0x170f70]
mov word [rdi + rax*2 + 0x90], cx
inc dword [rdi + 0x84]
add r14d, 0xfffffffd
jmp 0x1503fab82
movzx eax, word [rdx + rax*2 + 0x170f70]
mov word [rdi + rax*2 + 0x90], r9w
mov eax, dword [rdi + 0x84]
inc eax
mov dword [rdi + 0x84], eax
cmp eax, 0x13
jb 0x1503fabe3
lea rax, [rdi + 0x550]
mov dword [r13], r8d
lea r9, [rdi + 0x88]
mov qword [rdi + 0x60], rax
xor ecx, ecx
mov qword [r9], rax
lea rax, [rdi + 0x310]
mov qword [rsp + 0x28], rax
lea rdx, [rdi + 0x90]
mov qword [rsp + 0x20], r13
lea r8d, [rcx + 0x13]
call fcn.1503fe460
mov r10, qword [rbp - 0x10]
xor r9d, r9d
mov r11d, dword [rbp + 0x50]
mov dword [rbp - 0x20], eax
test eax, eax
je 0x1503fac61
lea rax, [0x1502700b0]
jmp 0x1503fb533
mov dword [rdi + 0x84], r9d
mov dword [rdi + 8], 0x3f46
jmp 0x1503fac74
xor r9d, r9d
mov eax, dword [rdi + 0x80]
add eax, dword [rdi + 0x7c]
cmp dword [rdi + 0x84], eax
jae 0x1503fae82
mov ecx, dword [r13]
mov edx, 1
mov r8, qword [rdi + 0x60]
shl edx, cl
dec edx
mov eax, esi
mov ecx, edx
and rcx, rax
mov eax, dword [r8 + rcx*4]
jmp 0x1503facd4
test r12d, r12d
je 0x1503fb59f
movzx eax, byte [r10]
mov ecx, r14d
shl eax, cl
inc r10
add esi, eax
mov qword [rbp - 0x10], r10
mov ecx, esi
dec r12d
add r14d, 8
mov eax, edx
and rax, rcx
mov eax, dword [r8 + rax*4]
mov ecx, eax
mov dword [rbp - 0x1c], eax
shr ecx, 8
movzx ecx, cl
cmp ecx, r14d
ja 0x1503faca7
mov edx, eax
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
shr edx, 0x10
cmp dx, cx
jae 0x1503fad1e
shr eax, 8
movzx ecx, al
mov eax, dword [rdi + 0x84]
sub r14d, ecx
shr esi, cl
mov word [rdi + rax*2 + 0x90], dx
inc dword [rdi + 0x84]
mov r8d, dword [rdi + 0x84]
jmp 0x1503fae5a
jne 0x1503fad87
shr eax, 8
movzx edx, al
lea r8d, [rdx + 2]
jmp 0x1503fad4e
test r12d, r12d
je 0x1503fb59f
movzx eax, byte [r10]
mov ecx, r14d
shl eax, cl
inc r10
add esi, eax
mov qword [rbp - 0x10], r10
dec r12d
add r14d, 8
cmp r14d, r8d
jb 0x1503fad2c
mov eax, dword [rdi + 0x84]
mov ecx, edx
shr esi, cl
sub r14d, edx
test eax, eax
je 0x1503fae70
mov edx, esi
add r14d, 0xfffffffe
and edx, 3
shr esi, 2
add edx, 3
dec eax
movzx r9d, word [rdi + rax*2 + 0x90]
jmp 0x1503fae1f
cmp word [rbp - 0x1a], 0x11
movzx r8d, byte [rbp - 0x1b]
jne 0x1503fadd7
lea edx, [r8 + 3]
jmp 0x1503fadbb
test r12d, r12d
je 0x1503fb59f
movzx eax, byte [r10]
mov ecx, r14d
shl eax, cl
inc r10
add esi, eax
mov qword [rbp - 0x10], r10
dec r12d
add r14d, 8
cmp r14d, edx
jb 0x1503fad99
mov ecx, r8d
mov eax, 0xfffffffd
shr esi, cl
mov edx, esi
and edx, 7
add edx, 3
shr esi, 3
jmp 0x1503fae19
lea edx, [r8 + 7]
jmp 0x1503fadff
test r12d, r12d
je 0x1503fb59f
movzx eax, byte [r10]
mov ecx, r14d
shl eax, cl
inc r10
add esi, eax
mov qword [rbp - 0x10], r10
dec r12d
add r14d, 8
cmp r14d, edx
jb 0x1503faddd
mov ecx, r8d
mov eax, 0xfffffff9
shr esi, cl
mov edx, esi
and edx, 0x7f
add edx, 0xb
shr esi, 7
sub eax, r8d
add r14d, eax
mov r8d, dword [rdi + 0x84]
mov ecx, dword [rdi + 0x7c]
add ecx, dword [rdi + 0x80]
lea eax, [r8 + rdx]
cmp eax, ecx
ja 0x1503fae70
mov eax, r8d
mov word [rdi + rax*2 + 0x90], r9w
mov r8d, dword [rdi + 0x84]
lea r8d, [r8 + 1]
mov dword [rdi + 0x84], r8d
add edx, 0xffffffff
jne 0x1503fae37
mov eax, dword [rdi + 0x7c]
add eax, dword [rdi + 0x80]
cmp r8d, eax
jae 0x1503fae82
xor r9d, r9d
jmp 0x1503fac89
lea rax, [0x150270090]
mov qword [r15 + 0x20], rax
mov dword [rdi + 8], 0x3f51
cmp dword [rdi + 8], 0x3f51
je 0x1503fb53e
xor eax, eax
cmp word [rdi + 0x290], ax
jne 0x1503faea6
lea rax, [0x150270068]
jmp 0x1503fb533
mov r8d, dword [rdi + 0x7c]
lea rax, [rdi + 0x550]
lea rbx, [rdi + 0x88]
mov dword [r13], 9
mov qword [rbx], rax
lea r13, [rdi + 0x310]
mov qword [rdi + 0x60], rax
lea rdx, [rdi + 0x90]
lea rax, [rdi + 0x70]
mov qword [rsp + 0x28], r13
mov r9, rbx
mov qword [rsp + 0x20], rax
mov ecx, 1
call fcn.1503fe460
mov dword [rbp - 0x20], eax
mov r11d, eax
test eax, eax
je 0x1503faf12
mov r10, qword [rbp - 0x10]
lea rax, [0x150270048]
mov r11d, dword [rbp + 0x50]
mov rbx, qword [rbp - 8]
jmp 0x1503fb533
mov rax, qword [rbx]
lea rcx, [rdi + 0x74]
mov r8d, dword [rdi + 0x80]
mov r9, rbx
mov qword [rdi + 0x68], rax
mov eax, dword [rdi + 0x7c]
add rax, 0x48
mov dword [rcx], 6
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rcx
mov ecx, 2
lea rdx, [rdi + rax*2]
call fcn.1503fe460
mov r10, qword [rbp - 0x10]
mov ecx, eax
mov r11d, dword [rbp + 0x50]
mov rbx, qword [rbp - 8]
mov dword [rbp - 0x20], eax
test eax, eax
je 0x1503faf6d
lea rax, [0x150270030]
jmp 0x1503fb533
mov r9d, dword [rbp + 0x48]
lea r13, [rdi + 0x70]
mov dword [rdi + 8], 0x3f48
cmp r12d, 6
jb 0x1503fafe7
cmp r11d, 0x102
jb 0x1503fafe7
mov qword [r15 + 0x10], rbx
mov edx, r9d
mov dword [r15 + 0x18], r11d
mov rcx, r15
mov qword [r15], r10
mov dword [r15 + 8], r12d
mov dword [rdi + 0x48], esi
mov dword [rdi + 0x4c], r14d
call fcn.1503fe8f8
cmp dword [rdi + 8], 0x3f3f
mov r10, qword [r15]
mov rbx, qword [r15 + 0x10]
mov r11d, dword [r15 + 0x18]
mov r12d, dword [r15 + 8]
mov esi, dword [rdi + 0x48]
mov r14d, dword [rdi + 0x4c]
mov qword [rbp - 0x10], r10
mov qword [rbp - 8], rbx
mov dword [rbp + 0x50], r11d
jne 0x1503fb53e
or dword [rdi + 0x1be4], 0xffffffff
jmp 0x1503fb53e
mov ecx, dword [r13]
xor eax, eax
mov r9, qword [rdi + 0x60]
mov dword [rdi + 0x1be4], eax
lea edx, [rax + 1]
mov eax, esi
shl edx, cl
dec edx
mov ecx, edx
and rcx, rax
mov eax, dword [r9 + rcx*4]
mov ecx, eax
shr ecx, 8
xor r13d, r13d
movzx ecx, cl
cmp ecx, r14d
jbe 0x1503fb04d
test r12d, r12d
je 0x1503fb59f
movzx eax, byte [r10]
mov ecx, r14d
shl eax, cl
inc r10
add esi, eax
mov qword [rbp - 0x10], r10
mov ecx, esi
dec r12d
mov eax, edx
add r14d, 8
and rax, rcx
mov eax, dword [r9 + rax*4]
mov ecx, eax
shr ecx, 8
jmp 0x1503fb011
test al, al
je 0x1503fb0f2
test al, 0xf0
jne 0x1503fb0f2
mov ecx, eax
mov r10d, 1
shr ecx, 8
movzx r8d, cl
movzx ecx, al
add ecx, r8d
shr eax, 0x10
shl r10d, cl
mov r11d, eax
mov ecx, r8d
lea edx, [r10 - 1]
and edx, esi
shr edx, cl
add edx, eax
mov eax, dword [r9 + rdx*4]
mov ecx, eax
shr ecx, 8
movzx edx, cl
add edx, r8d
cmp edx, r14d
jbe 0x1503fb0e3
mov rbx, qword [rbp - 0x10]
test r12d, r12d
je 0x1503fb5a3
movzx eax, byte [rbx]
mov ecx, r14d
shl eax, cl
inc rbx
add esi, eax
mov qword [rbp - 0x10], rbx
lea eax, [r10 - 1]
mov ecx, r8d
and eax, esi
dec r12d
shr eax, cl
add r14d, 8
add eax, r11d
mov eax, dword [r9 + rax*4]
mov ecx, eax
shr ecx, 8
movzx edx, cl
add edx, r8d
cmp edx, r14d
ja 0x1503fb0a0
mov ecx, r8d
mov dword [rdi + 0x1be4], r8d
shr esi, cl
sub r14d, r8d
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [rdi + 0x1be4], ecx
sub r14d, ecx
shr esi, cl
mov ecx, eax
shr ecx, 0x10
mov dword [rdi + 0x50], ecx
test al, al
jne 0x1503fb125
mov dword [rdi + 8], 0x3f4d
mov r10, qword [rbp - 0x10]
mov r11d, dword [rbp + 0x50]
jmp 0x1503faae0
test al, 0x20
je 0x1503fb139
or dword [rdi + 0x1be4], 0xffffffff
mov dword [rdi + 8], 0x3f3f
jmp 0x1503fb118
mov r10, qword [rbp - 0x10]
test al, 0x40
je 0x1503fb14d
lea rax, [0x150270010]
jmp 0x1503faf05
movzx ecx, al
and ecx, 0xf
mov dword [rdi + 8], 0x3f49
mov dword [rdi + 0x58], ecx
jmp 0x1503fb162
xor r13d, r13d
mov edx, dword [rdi + 0x58]
test edx, edx
je 0x1503fb1ad
jmp 0x1503fb18d
test r12d, r12d
je 0x1503fb59f
movzx eax, byte [r10]
mov ecx, r14d
shl eax, cl
inc r10
add esi, eax
mov qword [rbp - 0x10], r10
dec r12d
add r14d, 8
cmp r14d, edx
jb 0x1503fb16b
mov ecx, edx
mov eax, 1
shl eax, cl
sub r14d, edx
dec eax
and eax, esi
shr esi, cl
add dword [rdi + 0x50], eax
add dword [rdi + 0x1be4], edx
mov eax, dword [rdi + 0x50]
mov dword [rdi + 0x1be8], eax
mov dword [rdi + 8], 0x3f4a
jmp 0x1503fb1c2
xor r13d, r13d
mov ecx, dword [rdi + 0x74]
mov edx, 1
mov r9, qword [rdi + 0x68]
shl edx, cl
dec edx
mov eax, esi
mov ecx, edx
and rcx, rax
mov eax, dword [r9 + rcx*4]
jmp 0x1503fb20c
test r12d, r12d
je 0x1503fb59f
movzx eax, byte [r10]
mov ecx, r14d
shl eax, cl
inc r10
add esi, eax
mov qword [rbp - 0x10], r10
mov ecx, esi
dec r12d
add r14d, 8
mov eax, edx
and rax, rcx
mov eax, dword [r9 + rax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, r14d
ja 0x1503fb1df
test al, 0xf0
jne 0x1503fb2b6
mov ecx, eax
mov r10d, 1
shr ecx, 8
movzx r8d, cl
movzx ecx, al
add ecx, r8d
shr eax, 0x10
shl r10d, cl
mov r11d, eax
mov ecx, r8d
lea edx, [r10 - 1]
and edx, esi
shr edx, cl
add edx, eax
mov eax, dword [r9 + rdx*4]
mov ecx, eax
shr ecx, 8
movzx edx, cl
add edx, r8d
cmp edx, r14d
jbe 0x1503fb2a7
mov rbx, qword [rbp - 0x10]
test r12d, r12d
je 0x1503fb5a3
movzx eax, byte [rbx]
mov ecx, r14d
shl eax, cl
inc rbx
add esi, eax
mov qword [rbp - 0x10], rbx
lea eax, [r10 - 1]
mov ecx, r8d
and eax, esi
dec r12d
shr eax, cl
add r14d, 8
add eax, r11d
mov eax, dword [r9 + rax*4]
mov ecx, eax
shr ecx, 8
movzx edx, cl
add edx, r8d
cmp edx, r14d
ja 0x1503fb264
mov ecx, r8d
sub r14d, r8d
shr esi, cl
add dword [rdi + 0x1be4], r8d
mov r10, qword [rbp - 0x10]
mov ecx, eax
mov r11d, dword [rbp + 0x50]
mov rbx, qword [rbp - 8]
shr ecx, 8
movzx ecx, cl
add dword [rdi + 0x1be4], ecx
sub r14d, ecx
shr esi, cl
test al, 0x40
je 0x1503fb2e5
lea rax, [0x150270168]
jmp 0x1503fb533
mov r9d, dword [rbp + 0x48]
mov ecx, eax
shr ecx, 0x10
mov dword [rdi + 0x54], ecx
movzx ecx, al
and ecx, 0xf
mov dword [rdi + 8], 0x3f4b
mov dword [rdi + 0x58], ecx
jmp 0x1503fb306
xor r13d, r13d
mov edx, dword [rdi + 0x58]
test edx, edx
je 0x1503fb351
jmp 0x1503fb331
test r12d, r12d
je 0x1503fb59f
movzx eax, byte [r10]
mov ecx, r14d
shl eax, cl
inc r10
add esi, eax
mov qword [rbp - 0x10], r10
dec r12d
add r14d, 8
cmp r14d, edx
jb 0x1503fb30f
mov ecx, edx
mov eax, 1
shl eax, cl
sub r14d, edx
dec eax
and eax, esi
shr esi, cl
add dword [rdi + 0x54], eax
add dword [rdi + 0x1be4], edx
mov dword [rdi + 8], 0x3f4c
jmp 0x1503fb35d
xor r13d, r13d
test r11d, r11d
je 0x1503fb59f
mov ecx, dword [rdi + 0x54]
mov eax, r9d
sub eax, r11d
cmp ecx, eax
jbe 0x1503fb3b5
sub ecx, eax
cmp ecx, dword [rdi + 0x38]
jbe 0x1503fb38f
cmp dword [rdi + 0x1be0], r13d
je 0x1503fb38f
lea rax, [0x150270148]
jmp 0x1503fb533
mov eax, dword [rdi + 0x3c]
cmp ecx, eax
jbe 0x1503fb39f
mov edx, dword [rdi + 0x34]
sub ecx, eax
sub edx, ecx
jmp 0x1503fb3a3
sub eax, ecx
mov edx, eax
mov eax, dword [rdi + 0x50]
mov r8d, eax
add rdx, qword [rdi + 0x40]
cmp ecx, eax
cmovbe r8d, ecx
jmp 0x1503fb3c1
mov eax, dword [rdi + 0x50]
mov rdx, rbx
sub rdx, rcx
mov r8d, eax
cmp r8d, r11d
mov ecx, r11d
cmovbe ecx, r8d
sub r11d, ecx
sub eax, ecx
mov dword [rbp + 0x50], r11d
sub rdx, rbx
mov dword [rdi + 0x50], eax
mov al, byte [rdx + rbx]
mov byte [rbx], al
inc rbx
add ecx, 0xffffffff
jne 0x1503fb3da
mov qword [rbp - 8], rbx
cmp dword [rdi + 0x50], r13d
jne 0x1503fb53e
mov dword [rdi + 8], 0x3f48
jmp 0x1503fb53e
test r11d, r11d
je 0x1503fb59f
mov al, byte [rdi + 0x50]
mov byte [rbx], al
inc rbx
dec r11d
mov qword [rbp - 8], rbx
mov dword [rbp + 0x50], r11d
jmp 0x1503fb3f5
xor eax, eax
cmp dword [rdi + 0x10], eax
jne 0x1503fb460
mov r13d, dword [rbp + 0x48]
xor r9d, r9d
mov dword [rdi + 8], 0x3f4f
jmp 0x1503fb4e3
test r12d, r12d
je 0x1503fb59f
movzx eax, byte [r10]
mov ecx, r14d
shl eax, cl
inc r10
add esi, eax
mov qword [rbp - 0x10], r10
dec r12d
mov eax, 0
add r14d, 8
cmp r14d, 0x20
jb 0x1503fb439
sub r9d, r11d
add dword [r15 + 0x1c], r9d
add dword [rdi + 0x24], r9d
test byte [rdi + 0x10], 4
je 0x1503fb4a8
test r9d, r9d
je 0x1503fb4a8
mov ecx, dword [rdi + 0x20]
mov rdx, rbx
mov r8d, r9d
sub rdx, r8
cmp dword [rdi + 0x18], eax
je 0x1503fb494
call fcn.1503fde54
jmp 0x1503fb499
call fcn.1503fe178
mov r10, qword [rbp - 0x10]
mov r11d, dword [rbp + 0x50]
mov dword [rdi + 0x20], eax
mov dword [r15 + 0x4c], eax
xor r9d, r9d
mov dword [rbp + 0x48], r11d
test byte [rdi + 0x10], 4
mov r13d, r11d
je 0x1503fb4d1
cmp dword [rdi + 0x18], r9d
mov eax, esi
bswap eax
cmovne eax, esi
cmp eax, dword [rdi + 0x20]
je 0x1503fb4d1
lea rax, [0x150270130]
jmp 0x1503fb533
mov esi, r9d
mov r14d, r9d
jmp 0x1503fb42d
mov r13d, dword [rbp + 0x48]
xor r9d, r9d
cmp dword [rdi + 0x10], r9d
je 0x1503fb57e
cmp dword [rdi + 0x18], r9d
je 0x1503fb57e
jmp 0x1503fb51b
test r12d, r12d
je 0x1503fb592
movzx eax, byte [r10]
mov ecx, r14d
shl eax, cl
inc r10
add esi, eax
mov qword [rbp - 0x10], r10
dec r12d
add r14d, 8
cmp r14d, 0x20
jb 0x1503fb4f9
test byte [rdi + 0x10], 4
je 0x1503fb578
cmp esi, dword [rdi + 0x24]
je 0x1503fb578
lea rax, [0x150270118]
mov qword [r15 + 0x20], rax
mov dword [rdi + 8], 0x3f51
mov eax, dword [rdi + 8]
sub eax, 0x3f34
cmp eax, 0x1f
ja case.0x1503fa1f2.16211
mov r9d, dword [rbp + 0x48]
jmp 0x1503fa1d4
mov qword [r15 + 0x10], rbx
mov eax, 2
mov dword [r15 + 0x18], r11d
mov qword [r15], r10
mov dword [r15 + 8], r12d
mov dword [rdi + 0x48], esi
mov dword [rdi + 0x4c], r14d
jmp 0x1503fb6b0
mov esi, r9d
mov r14d, r9d
mov dword [rdi + 8], 0x3f50
jmp 0x1503fb58b
mov r13d, dword [rbp + 0x48]
mov dword [rbp - 0x20], 1
mov rbx, qword [rbp - 0x10]
jmp 0x1503fb5a7
mov dword [rbp - 0x20], 0xfffffffd
mov rbx, qword [rbp - 0x10]
mov r13d, dword [rbp + 0x48]
mov rax, qword [rbp - 8]
mov qword [r15 + 0x10], rax
mov eax, dword [rbp + 0x50]
mov qword [r15], rbx
xor ebx, ebx
mov dword [r15 + 0x18], eax
mov dword [r15 + 8], r12d
mov dword [rdi + 0x48], esi
mov dword [rdi + 0x4c], r14d
cmp dword [rdi + 0x34], ebx
jne 0x1503fb5da
cmp r13d, dword [r15 + 0x18]
je 0x1503fb602
cmp dword [rdi + 8], 0x3f51
jge 0x1503fb602
mov rdx, qword [r15 + 0x10]
mov r8d, r13d
sub r8d, dword [r15 + 0x18]
mov rcx, r15
call fcn.1503fa034
test eax, eax
je 0x1503fb602
mov dword [rdi + 8], 0x3f52
mov eax, 0xfffffffc
jmp 0x1503fb6b0
sub r13d, dword [r15 + 0x18]
mov r8d, dword [rbp - 0x18]
sub r8d, dword [r15 + 8]
add dword [r15 + 0xc], r8d
add dword [r15 + 0x1c], r13d
add dword [rdi + 0x24], r13d
test byte [rdi + 0x10], 4
mov dword [rbp - 0x18], r8d
je 0x1503fb652
test r13d, r13d
je 0x1503fb652
mov rdx, qword [r15 + 0x10]
mov ecx, dword [rdi + 0x20]
mov r8d, r13d
sub rdx, r8
cmp dword [rdi + 0x18], ebx
je 0x1503fb642
call fcn.1503fde54
jmp 0x1503fb647
call fcn.1503fe178
mov r8d, dword [rbp - 0x18]
mov dword [rdi + 0x20], eax
mov dword [r15 + 0x4c], eax
cmp dword [rdi + 8], 0x3f47
je 0x1503fb666
cmp dword [rdi + 8], 0x3f42
mov edx, ebx
jne 0x1503fb66b
mov edx, 0x100
mov eax, dword [rdi + 0xc]
mov r9d, 0x80
neg eax
mov eax, ebx
sbb ecx, ecx
and ecx, 0x40
cmp dword [rdi + 8], 0x3f3f
cmove eax, r9d
add ecx, eax
mov eax, dword [rbp - 0x20]
add ecx, dword [rdi + 0x4c]
add ecx, edx
mov dword [r15 + 0x48], ecx
test r8d, r8d
jne 0x1503fb6b0
test r13d, r13d
jne 0x1503fb6b0
test eax, eax
lea ecx, [r8 - 5]
cmove eax, ecx
jmp 0x1503fb6b0
mov eax, 0xfffffffe
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret